[2026-07-05 00:00:06] local.INFO: TCP Data received {"connection_id":122906,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:00:06] local.INFO: Processing buffer {"connection_id":122906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:00:06] local.INFO: IMEI packet received {"connection_id":122906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":122906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:00:12] local.INFO: TCP Data received {"connection_id":122906,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:00:12] local.INFO: Processing buffer {"connection_id":122906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:00:12] local.INFO: IMEI packet received {"connection_id":122906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":122906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:00:13] local.INFO: TCP Data received {"connection_id":122906,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:00:13] local.INFO: Processing buffer {"connection_id":122906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:00:13] local.INFO: Packet analysis {"connection_id":122906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:00:13] local.INFO: Extracted packet for processing {"connection_id":122906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496477952001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:00:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:00:13] 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-07-05 00:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783189668000,"timestamp_ms":1783189668000,"timestamp_seconds":1783189668,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6300a0"} 
[2026-07-05 00:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:00:13] 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-07-05 00:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496477952001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496477952001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:00:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:00:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496477952001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":122906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:00:13] local.INFO: GPS data processed {"connection_id":122906,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:00:13] local.INFO: Acknowledgment sent {"connection_id":122906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:00:44] local.INFO: TCP Data received {"connection_id":122906,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:00:44] local.INFO: Processing buffer {"connection_id":122906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:00:44] local.INFO: Packet analysis {"connection_id":122906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:00:44] local.INFO: Extracted packet for processing {"connection_id":122906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:00:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496477952001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:00:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:00:44] 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-07-05 00:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783189668000,"timestamp_ms":1783189668000,"timestamp_seconds":1783189668,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6300a0"} 
[2026-07-05 00:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:00: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-07-05 00:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496477952001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496477952001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:00:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:00:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496477952001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":122906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:00:44] local.INFO: GPS data processed {"connection_id":122906,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:00:44] local.INFO: Acknowledgment sent {"connection_id":122906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:01:06] local.INFO: TCP Data received {"connection_id":122908,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:01:06] local.INFO: Processing buffer {"connection_id":122908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:01:06] local.INFO: IMEI packet received {"connection_id":122908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":122908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:01:12] local.INFO: TCP Data received {"connection_id":122908,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:01:12] local.INFO: Processing buffer {"connection_id":122908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:01:12] local.INFO: IMEI packet received {"connection_id":122908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":122908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:01:13] local.INFO: TCP Data received {"connection_id":122908,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:01:13] local.INFO: Processing buffer {"connection_id":122908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:01:13] local.INFO: Packet analysis {"connection_id":122908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:01:13] local.INFO: Extracted packet for processing {"connection_id":122908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:01:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496477952001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:01:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:01:13] 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-07-05 00:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783189668000,"timestamp_ms":1783189668000,"timestamp_seconds":1783189668,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6300a0"} 
[2026-07-05 00:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:01:13] 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-07-05 00:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496477952001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496477952001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:01:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:01:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496477952001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":122908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:01:13] local.INFO: GPS data processed {"connection_id":122908,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:01:13] local.INFO: Acknowledgment sent {"connection_id":122908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:01:44] local.INFO: TCP Data received {"connection_id":122908,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:01:44] local.INFO: Processing buffer {"connection_id":122908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:01:44] local.INFO: Packet analysis {"connection_id":122908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:01:44] local.INFO: Extracted packet for processing {"connection_id":122908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:01:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496477952001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:01:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:01:44] 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-07-05 00:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783189668000,"timestamp_ms":1783189668000,"timestamp_seconds":1783189668,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6300a0"} 
[2026-07-05 00:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:01: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-07-05 00:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496477952001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496477952001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:01:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:01:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:01:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496477952001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":122908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:01:44] local.INFO: GPS data processed {"connection_id":122908,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:01:44] local.INFO: Acknowledgment sent {"connection_id":122908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:02:06] local.INFO: TCP Data received {"connection_id":122192,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:02:06] local.INFO: Processing buffer {"connection_id":122192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:02:06] local.INFO: IMEI packet received {"connection_id":122192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":122192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:02:12] local.INFO: TCP Data received {"connection_id":124066,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:02:12] local.INFO: Processing buffer {"connection_id":124066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:02:12] local.INFO: IMEI packet received {"connection_id":124066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":124066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:02:17] local.INFO: TCP Data received {"connection_id":124066,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:02:17] local.INFO: Processing buffer {"connection_id":124066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:02:17] local.INFO: IMEI packet received {"connection_id":124066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":124066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:02:18] local.INFO: TCP Data received {"connection_id":124066,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:02:18] local.INFO: Processing buffer {"connection_id":124066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:02:18] local.INFO: Packet analysis {"connection_id":124066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:02:18] local.INFO: Extracted packet for processing {"connection_id":124066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:02:18] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496477952001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:02:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:02:18] 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-07-05 00:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783189668000,"timestamp_ms":1783189668000,"timestamp_seconds":1783189668,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6300a0"} 
[2026-07-05 00:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:02:18] 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-07-05 00:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496477952001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496477952001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:02:18] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:02:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:02:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496477952001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":124066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:02:18] local.INFO: GPS data processed {"connection_id":124066,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:02:18] local.INFO: Acknowledgment sent {"connection_id":124066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:02:22] local.INFO: TCP Data received {"connection_id":124066,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:02:22] local.INFO: Processing buffer {"connection_id":124066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:02:22] local.INFO: Packet analysis {"connection_id":124066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:02:22] local.INFO: Extracted packet for processing {"connection_id":124066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:02:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496477952001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:02:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:02:22] 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-07-05 00:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783189668000,"timestamp_ms":1783189668000,"timestamp_seconds":1783189668,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6300a0"} 
[2026-07-05 00:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:02:22] 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-07-05 00:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496477952001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496477952001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:02:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:02:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:02:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496477952001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":124066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:02:22] local.INFO: GPS data processed {"connection_id":124066,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:02:22] local.INFO: Acknowledgment sent {"connection_id":124066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:03:07] local.INFO: TCP Data received {"connection_id":124067,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:03:07] local.INFO: Processing buffer {"connection_id":124067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:03:07] local.INFO: IMEI packet received {"connection_id":124067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":124067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:03:12] local.INFO: TCP Data received {"connection_id":124067,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:03:12] local.INFO: Processing buffer {"connection_id":124067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:03:12] local.INFO: IMEI packet received {"connection_id":124067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":124067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:03:13] local.INFO: TCP Data received {"connection_id":124067,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:03:13] local.INFO: Processing buffer {"connection_id":124067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6300a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:03:13] local.INFO: Packet analysis {"connection_id":124067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:03:13] local.INFO: Extracted packet for processing {"connection_id":124067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e63"} 
[2026-07-05 00:03:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496477952001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:03:13] 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-07-05 00:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783189668000,"timestamp_ms":1783189668000,"timestamp_seconds":1783189668,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6300a0"} 
[2026-07-05 00:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:03:13] 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-07-05 00:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496477952001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496477952001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:03:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496477952001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":124067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:03:13] local.INFO: GPS data processed {"connection_id":124067,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:03:13] local.INFO: Acknowledgment sent {"connection_id":124067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:03:44] local.INFO: TCP Data received {"connection_id":124067,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:03:44] local.INFO: Processing buffer {"connection_id":124067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:03:44] local.INFO: Packet analysis {"connection_id":124067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:03:44] local.INFO: Extracted packet for processing {"connection_id":124067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:03:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 00:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496555008001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:03:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:03:44] 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-07-05 00:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783189969000,"timestamp_ms":1783189969000,"timestamp_seconds":1783189969,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e679868"} 
[2026-07-05 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-07-05 00:03: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-07-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 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-07-05 00:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496555008001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496555008001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:03:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:03:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:03:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496555008001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":124067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:03:44] local.INFO: GPS data processed {"connection_id":124067,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:03:44] local.INFO: Acknowledgment sent {"connection_id":124067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:04:06] local.INFO: TCP Data received {"connection_id":122910,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:04:06] local.INFO: Processing buffer {"connection_id":122910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:04:06] local.INFO: IMEI packet received {"connection_id":122910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":122910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:04:12] local.INFO: TCP Data received {"connection_id":122910,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:04:12] local.INFO: Processing buffer {"connection_id":122910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:04:12] local.INFO: IMEI packet received {"connection_id":122910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":122910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:04:13] local.INFO: TCP Data received {"connection_id":122910,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:04:13] local.INFO: Processing buffer {"connection_id":122910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:04:13] local.INFO: Packet analysis {"connection_id":122910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:04:13] local.INFO: Extracted packet for processing {"connection_id":122910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496555008001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:04:13] 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-07-05 00:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783189969000,"timestamp_ms":1783189969000,"timestamp_seconds":1783189969,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e679868"} 
[2026-07-05 00:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:04:13] 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-07-05 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496555008001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496555008001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:04:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496555008001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":122910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:04:13] local.INFO: GPS data processed {"connection_id":122910,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:04:13] local.INFO: Acknowledgment sent {"connection_id":122910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:04:46] local.INFO: TCP Data received {"connection_id":122910,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:04:46] local.INFO: Processing buffer {"connection_id":122910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:04:46] local.INFO: Packet analysis {"connection_id":122910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:04:46] local.INFO: Extracted packet for processing {"connection_id":122910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:04:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496555008001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:04:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:04:46] 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-07-05 00:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783189969000,"timestamp_ms":1783189969000,"timestamp_seconds":1783189969,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e679868"} 
[2026-07-05 00:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496555008001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496555008001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:04:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:04:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496555008001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":122910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:04:46] local.INFO: GPS data processed {"connection_id":122910,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:04:46] local.INFO: Acknowledgment sent {"connection_id":122910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:05:12] local.INFO: TCP Data received {"connection_id":122194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:12] local.INFO: Processing buffer {"connection_id":122194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:12] local.INFO: IMEI packet received {"connection_id":122194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":122194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:05:21] local.INFO: TCP Data received {"connection_id":122194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:21] local.INFO: Processing buffer {"connection_id":122194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:21] local.INFO: IMEI packet received {"connection_id":122194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":122194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:05:22] local.INFO: TCP Data received {"connection_id":122194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:22] local.INFO: Processing buffer {"connection_id":122194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:22] local.INFO: IMEI packet received {"connection_id":122194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":122194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:05:27] local.INFO: TCP Data received {"connection_id":122194,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:27] local.INFO: Processing buffer {"connection_id":122194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:05:27] local.INFO: IMEI packet received {"connection_id":122194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":122194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:05:28] local.INFO: TCP Data received {"connection_id":122194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:05:28] local.INFO: Processing buffer {"connection_id":122194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:05:28] local.INFO: Packet analysis {"connection_id":122194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:05:28] local.INFO: Extracted packet for processing {"connection_id":122194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:05:28] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496555008001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:05:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:05:28] 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-07-05 00:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783189969000,"timestamp_ms":1783189969000,"timestamp_seconds":1783189969,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e679868"} 
[2026-07-05 00:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:05:28] 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-07-05 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":122194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":122194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":122194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496555008001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496555008001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:05:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:05:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496555008001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":122194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:05:28] local.INFO: GPS data processed {"connection_id":122194,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:05:28] local.INFO: Acknowledgment sent {"connection_id":122194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:05:32] local.INFO: TCP Data received {"connection_id":122194,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:05:32] local.INFO: Processing buffer {"connection_id":122194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:05:32] local.INFO: Packet analysis {"connection_id":122194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:05:32] local.INFO: Extracted packet for processing {"connection_id":122194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:05:32] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 00:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496555008001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:05:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:05:32] 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-07-05 00:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783189969000,"timestamp_ms":1783189969000,"timestamp_seconds":1783189969,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e679868"} 
[2026-07-05 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-07-05 00:05: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-07-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:05: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-07-05 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-07-05 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-07-05 00:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":122194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":122194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":122194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496555008001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496555008001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:05:32] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:05:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496555008001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":122194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:05:33] local.INFO: GPS data processed {"connection_id":122194,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:05:33] local.INFO: Acknowledgment sent {"connection_id":122194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:06:07] local.INFO: TCP Data received {"connection_id":122911,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:06:07] local.INFO: Processing buffer {"connection_id":122911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:06:07] local.INFO: IMEI packet received {"connection_id":122911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":122911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:06:12] local.INFO: TCP Data received {"connection_id":122911,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:06:12] local.INFO: Processing buffer {"connection_id":122911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:06:12] local.INFO: IMEI packet received {"connection_id":122911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":122911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:06:16] local.INFO: TCP Data received {"connection_id":122911,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:06:16] local.INFO: Processing buffer {"connection_id":122911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:06:16] local.INFO: Packet analysis {"connection_id":122911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:06:16] local.INFO: Extracted packet for processing {"connection_id":122911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:06:16] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496555008001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:06:16] 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-07-05 00:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783189969000,"timestamp_ms":1783189969000,"timestamp_seconds":1783189969,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e679868"} 
[2026-07-05 00:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:06:16] 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-07-05 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496555008001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496555008001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:06:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:06:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496555008001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":122911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:06:16] local.INFO: GPS data processed {"connection_id":122911,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:06:16] local.INFO: Acknowledgment sent {"connection_id":122911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:06:20] local.INFO: TCP Data received {"connection_id":122911,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:06:20] local.INFO: Processing buffer {"connection_id":122911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:06:20] local.INFO: Packet analysis {"connection_id":122911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:06:20] local.INFO: Extracted packet for processing {"connection_id":122911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:06:20] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496555008001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:06:20] 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-07-05 00:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783189969000,"timestamp_ms":1783189969000,"timestamp_seconds":1783189969,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e679868"} 
[2026-07-05 00:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:06:20] 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-07-05 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496555008001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496555008001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:06:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496555008001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":122911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:06:20] local.INFO: GPS data processed {"connection_id":122911,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:06:20] local.INFO: Acknowledgment sent {"connection_id":122911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:06:52] local.INFO: TCP Data received {"connection_id":122911,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:06:52] local.INFO: Processing buffer {"connection_id":122911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:06:52] local.INFO: Packet analysis {"connection_id":122911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:06:52] local.INFO: Extracted packet for processing {"connection_id":122911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:06:52] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496555008001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:06:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:06:52] 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-07-05 00:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783189969000,"timestamp_ms":1783189969000,"timestamp_seconds":1783189969,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e679868"} 
[2026-07-05 00:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:06:52] 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-07-05 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":122911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":122911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":122911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496555008001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496555008001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:06:52] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:06:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496555008001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":122911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:06:52] local.INFO: GPS data processed {"connection_id":122911,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:06:52] local.INFO: Acknowledgment sent {"connection_id":122911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:07:07] local.INFO: TCP Data received {"connection_id":122196,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:07:07] local.INFO: Processing buffer {"connection_id":122196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:07:07] local.INFO: IMEI packet received {"connection_id":122196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":122196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:07:12] local.INFO: TCP Data received {"connection_id":122196,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:07:12] local.INFO: Processing buffer {"connection_id":122196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:07:12] local.INFO: IMEI packet received {"connection_id":122196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":122196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:07:13] local.INFO: TCP Data received {"connection_id":122196,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:07:13] local.INFO: Processing buffer {"connection_id":122196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:07:13] local.INFO: Packet analysis {"connection_id":122196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:07:13] local.INFO: Extracted packet for processing {"connection_id":122196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:07:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496555008001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:07:13] 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-07-05 00:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783189969000,"timestamp_ms":1783189969000,"timestamp_seconds":1783189969,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e679868"} 
[2026-07-05 00:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:07:13] 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-07-05 00:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496555008001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496555008001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:07:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496555008001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":122196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:07:13] local.INFO: GPS data processed {"connection_id":122196,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:07:13] local.INFO: Acknowledgment sent {"connection_id":122196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:07:36] local.INFO: TCP Data received {"connection_id":122912,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:07:36] local.INFO: Processing buffer {"connection_id":122912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:07:36] local.INFO: IMEI packet received {"connection_id":122912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":122912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:07:44] local.INFO: TCP Data received {"connection_id":122196,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:07:44] local.INFO: Processing buffer {"connection_id":122196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:07:44] local.INFO: Packet analysis {"connection_id":122196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:07:44] local.INFO: Extracted packet for processing {"connection_id":122196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:07:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496555008001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:07:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:07:44] 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-07-05 00:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783189969000,"timestamp_ms":1783189969000,"timestamp_seconds":1783189969,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e679868"} 
[2026-07-05 00:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:07: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-07-05 00:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496555008001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496555008001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:07:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:07:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496555008001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":122196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:07:44] local.INFO: GPS data processed {"connection_id":122196,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:07:44] local.INFO: Acknowledgment sent {"connection_id":122196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:08:06] local.INFO: TCP Data received {"connection_id":122106,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:08:06] local.INFO: Processing buffer {"connection_id":122106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:08:06] local.INFO: IMEI packet received {"connection_id":122106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":122106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:08:11] local.INFO: TCP Data received {"connection_id":124068,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:08:11] local.INFO: Processing buffer {"connection_id":124068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:08:11] local.INFO: IMEI packet received {"connection_id":124068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":124068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:08:12] local.INFO: TCP Data received {"connection_id":122106,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:08:12] local.INFO: Processing buffer {"connection_id":122106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:08:12] local.INFO: IMEI packet received {"connection_id":122106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":122106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:08:13] local.INFO: TCP Data received {"connection_id":122106,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:08:13] local.INFO: Processing buffer {"connection_id":122106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e679868012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:08:13] local.INFO: Packet analysis {"connection_id":122106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:08:13] local.INFO: Extracted packet for processing {"connection_id":122106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e67"} 
[2026-07-05 00:08:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496555008001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:08:13] 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-07-05 00:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783189969000,"timestamp_ms":1783189969000,"timestamp_seconds":1783189969,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e679868"} 
[2026-07-05 00:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:08:13] 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-07-05 00:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496555008001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496555008001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:08:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496555008001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":122106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:08:13] local.INFO: GPS data processed {"connection_id":122106,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:08:13] local.INFO: Acknowledgment sent {"connection_id":122106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:08:44] local.INFO: TCP Data received {"connection_id":122106,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:08:44] local.INFO: Processing buffer {"connection_id":122106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:08:44] local.INFO: Packet analysis {"connection_id":122106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:08:44] local.INFO: Extracted packet for processing {"connection_id":122106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:08:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496632064001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:08:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:08:44] 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-07-05 00:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783190270000,"timestamp_ms":1783190270000,"timestamp_seconds":1783190270,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6c3030"} 
[2026-07-05 00:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496632064001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496632064001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:08:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:08:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:08:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496632064001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":122106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:08:44] local.INFO: GPS data processed {"connection_id":122106,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:08:44] local.INFO: Acknowledgment sent {"connection_id":122106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:09:11] local.INFO: TCP Data received {"connection_id":124070,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:09:11] local.INFO: Processing buffer {"connection_id":124070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:09:11] local.INFO: IMEI packet received {"connection_id":124070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":124070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:09:16] local.INFO: TCP Data received {"connection_id":124070,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:09:16] local.INFO: Processing buffer {"connection_id":124070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:09:16] local.INFO: IMEI packet received {"connection_id":124070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":124070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:09:17] local.INFO: TCP Data received {"connection_id":124070,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:09:17] local.INFO: Processing buffer {"connection_id":124070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:09:17] local.INFO: Packet analysis {"connection_id":124070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:09:17] local.INFO: Extracted packet for processing {"connection_id":124070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:09:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496632064001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:09:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:09:17] 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-07-05 00:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783190270000,"timestamp_ms":1783190270000,"timestamp_seconds":1783190270,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6c3030"} 
[2026-07-05 00:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496632064001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496632064001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:09:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:09:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:09:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496632064001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":124070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:09:17] local.INFO: GPS data processed {"connection_id":124070,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:09:17] local.INFO: Acknowledgment sent {"connection_id":124070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:09:22] local.INFO: TCP Data received {"connection_id":124070,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:09:22] local.INFO: Processing buffer {"connection_id":124070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:09:22] local.INFO: Packet analysis {"connection_id":124070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:09:22] local.INFO: Extracted packet for processing {"connection_id":124070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:09:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496632064001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:09:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:09:22] 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-07-05 00:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783190270000,"timestamp_ms":1783190270000,"timestamp_seconds":1783190270,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6c3030"} 
[2026-07-05 00:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496632064001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496632064001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:09:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496632064001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":124070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:09:22] local.INFO: GPS data processed {"connection_id":124070,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:09:22] local.INFO: Acknowledgment sent {"connection_id":124070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:10:07] local.INFO: TCP Data received {"connection_id":122197,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:10:07] local.INFO: Processing buffer {"connection_id":122197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:10:07] local.INFO: IMEI packet received {"connection_id":122197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":122197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:10:12] local.INFO: TCP Data received {"connection_id":122197,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:10:12] local.INFO: Processing buffer {"connection_id":122197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:10:12] local.INFO: IMEI packet received {"connection_id":122197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":122197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:10:13] local.INFO: TCP Data received {"connection_id":122197,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:10:13] local.INFO: Processing buffer {"connection_id":122197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:10:13] local.INFO: Packet analysis {"connection_id":122197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:10:13] local.INFO: Extracted packet for processing {"connection_id":122197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:10:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496632064001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:10:13] 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-07-05 00:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783190270000,"timestamp_ms":1783190270000,"timestamp_seconds":1783190270,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6c3030"} 
[2026-07-05 00:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496632064001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496632064001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:10:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496632064001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":122197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:10:13] local.INFO: GPS data processed {"connection_id":122197,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:10:13] local.INFO: Acknowledgment sent {"connection_id":122197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:10:17] local.INFO: TCP Data received {"connection_id":122197,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:10:17] local.INFO: Processing buffer {"connection_id":122197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:10:17] local.INFO: Packet analysis {"connection_id":122197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:10:17] local.INFO: Extracted packet for processing {"connection_id":122197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:10:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496632064001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:10:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:10:17] 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-07-05 00:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783190270000,"timestamp_ms":1783190270000,"timestamp_seconds":1783190270,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6c3030"} 
[2026-07-05 00:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496632064001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496632064001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:10:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:10:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:10:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496632064001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":122197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:10:17] local.INFO: GPS data processed {"connection_id":122197,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:10:17] local.INFO: Acknowledgment sent {"connection_id":122197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:10:48] local.INFO: TCP Data received {"connection_id":122197,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:10:48] local.INFO: Processing buffer {"connection_id":122197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:10:48] local.INFO: Packet analysis {"connection_id":122197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:10:48] local.INFO: Extracted packet for processing {"connection_id":122197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:10:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496632064001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:10:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:10:48] 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-07-05 00:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783190270000,"timestamp_ms":1783190270000,"timestamp_seconds":1783190270,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6c3030"} 
[2026-07-05 00:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496632064001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496632064001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:10:48] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:10:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:10:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496632064001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":122197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:10:48] local.INFO: GPS data processed {"connection_id":122197,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:10:48] local.INFO: Acknowledgment sent {"connection_id":122197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:11:07] local.INFO: TCP Data received {"connection_id":122107,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:11:07] local.INFO: Processing buffer {"connection_id":122107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:11:07] local.INFO: IMEI packet received {"connection_id":122107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":122107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:11:12] local.INFO: TCP Data received {"connection_id":122107,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:11:12] local.INFO: Processing buffer {"connection_id":122107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:11:12] local.INFO: IMEI packet received {"connection_id":122107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":122107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:11:13] local.INFO: TCP Data received {"connection_id":122107,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:11:13] local.INFO: Processing buffer {"connection_id":122107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:11:13] local.INFO: Packet analysis {"connection_id":122107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:11:13] local.INFO: Extracted packet for processing {"connection_id":122107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:11:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496632064001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:11:13] 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-07-05 00:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783190270000,"timestamp_ms":1783190270000,"timestamp_seconds":1783190270,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6c3030"} 
[2026-07-05 00:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496632064001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496632064001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:11:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496632064001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":122107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:11:13] local.INFO: GPS data processed {"connection_id":122107,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:11:13] local.INFO: Acknowledgment sent {"connection_id":122107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:11:44] local.INFO: TCP Data received {"connection_id":122107,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:11:44] local.INFO: Processing buffer {"connection_id":122107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:11:44] local.INFO: Packet analysis {"connection_id":122107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:11:44] local.INFO: Extracted packet for processing {"connection_id":122107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:11:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496632064001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:11:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:11:44] 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-07-05 00:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783190270000,"timestamp_ms":1783190270000,"timestamp_seconds":1783190270,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6c3030"} 
[2026-07-05 00:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496632064001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496632064001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:11:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:11:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496632064001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":122107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:11:44] local.INFO: GPS data processed {"connection_id":122107,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:11:44] local.INFO: Acknowledgment sent {"connection_id":122107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:12:06] local.INFO: TCP Data received {"connection_id":122915,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:12:06] local.INFO: Processing buffer {"connection_id":122915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:12:06] local.INFO: IMEI packet received {"connection_id":122915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":122915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:12:12] local.INFO: TCP Data received {"connection_id":122915,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:12:12] local.INFO: Processing buffer {"connection_id":122915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:12:12] local.INFO: IMEI packet received {"connection_id":122915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":122915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:12:13] local.INFO: TCP Data received {"connection_id":122915,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:12:13] local.INFO: Processing buffer {"connection_id":122915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:12:13] local.INFO: Packet analysis {"connection_id":122915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:12:13] local.INFO: Extracted packet for processing {"connection_id":122915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:12:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496632064001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:12:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:12:13] 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-07-05 00:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783190270000,"timestamp_ms":1783190270000,"timestamp_seconds":1783190270,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6c3030"} 
[2026-07-05 00:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496632064001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496632064001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:12:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496632064001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":122915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:12:13] local.INFO: GPS data processed {"connection_id":122915,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:12:13] local.INFO: Acknowledgment sent {"connection_id":122915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:12:44] local.INFO: TCP Data received {"connection_id":122915,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:12:44] local.INFO: Processing buffer {"connection_id":122915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:12:44] local.INFO: Packet analysis {"connection_id":122915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:12:44] local.INFO: Extracted packet for processing {"connection_id":122915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:12:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496632064001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:12:44] 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-07-05 00:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783190270000,"timestamp_ms":1783190270000,"timestamp_seconds":1783190270,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6c3030"} 
[2026-07-05 00:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496632064001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496632064001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:12:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496632064001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":122915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:12:44] local.INFO: GPS data processed {"connection_id":122915,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:12:44] local.INFO: Acknowledgment sent {"connection_id":122915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:13:06] local.INFO: TCP Data received {"connection_id":122109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:13:06] local.INFO: Processing buffer {"connection_id":122109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:13:06] local.INFO: IMEI packet received {"connection_id":122109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":122109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:13:12] local.INFO: TCP Data received {"connection_id":122109,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:13:12] local.INFO: Processing buffer {"connection_id":122109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:13:12] local.INFO: IMEI packet received {"connection_id":122109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":122109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:13:13] local.INFO: TCP Data received {"connection_id":122109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:13:13] local.INFO: Processing buffer {"connection_id":122109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e6c3030012cb2a2c007823a880041013b30..."} 
[2026-07-05 00:13:13] local.INFO: Packet analysis {"connection_id":122109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:13:13] local.INFO: Extracted packet for processing {"connection_id":122109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e6c"} 
[2026-07-05 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496632064001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:13:13] 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-07-05 00:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783190270000,"timestamp_ms":1783190270000,"timestamp_seconds":1783190270,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e6c3030"} 
[2026-07-05 00:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496632064001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496632064001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:13:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496632064001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":122109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:13:13] local.INFO: GPS data processed {"connection_id":122109,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:13:13] local.INFO: Acknowledgment sent {"connection_id":122109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:13:41] local.INFO: TCP Data received {"connection_id":124071,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:13:41] local.INFO: Processing buffer {"connection_id":124071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:13:41] local.INFO: IMEI packet received {"connection_id":124071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":124071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:13:44] local.INFO: TCP Data received {"connection_id":122109,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:13:44] local.INFO: Processing buffer {"connection_id":122109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:13:44] local.INFO: Packet analysis {"connection_id":122109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:13:44] local.INFO: Extracted packet for processing {"connection_id":122109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:13:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496709120001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:13:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:13:44] 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-07-05 00:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783190571000,"timestamp_ms":1783190571000,"timestamp_seconds":1783190571,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e70c7f8"} 
[2026-07-05 00:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:13: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-07-05 00:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496709120001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496709120001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:13:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:13:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496709120001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":122109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:13:44] local.INFO: GPS data processed {"connection_id":122109,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:13:44] local.INFO: Acknowledgment sent {"connection_id":122109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:14:11] local.INFO: TCP Data received {"connection_id":124072,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:14:11] local.INFO: Processing buffer {"connection_id":124072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:14:11] local.INFO: IMEI packet received {"connection_id":124072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":124072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:14:12] local.INFO: TCP Data received {"connection_id":122198,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:14:12] local.INFO: Processing buffer {"connection_id":122198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:14:12] local.INFO: IMEI packet received {"connection_id":122198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":122198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:14:17] local.INFO: TCP Data received {"connection_id":122198,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:14:17] local.INFO: Processing buffer {"connection_id":122198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:14:17] local.INFO: IMEI packet received {"connection_id":122198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":122198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:14:17] local.INFO: TCP Data received {"connection_id":122198,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:14:17] local.INFO: Processing buffer {"connection_id":122198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:14:17] local.INFO: Packet analysis {"connection_id":122198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:14:17] local.INFO: Extracted packet for processing {"connection_id":122198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:14:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496709120001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:14:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:14:17] 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-07-05 00:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783190571000,"timestamp_ms":1783190571000,"timestamp_seconds":1783190571,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e70c7f8"} 
[2026-07-05 00:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:14:17] 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-07-05 00:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496709120001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496709120001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:14:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:14:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:14:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496709120001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":122198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:14:18] local.INFO: GPS data processed {"connection_id":122198,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:14:18] local.INFO: Acknowledgment sent {"connection_id":122198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:14:22] local.INFO: TCP Data received {"connection_id":122198,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:14:22] local.INFO: Processing buffer {"connection_id":122198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:14:22] local.INFO: Packet analysis {"connection_id":122198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:14:22] local.INFO: Extracted packet for processing {"connection_id":122198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:14:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496709120001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:14:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:14:22] 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-07-05 00:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783190571000,"timestamp_ms":1783190571000,"timestamp_seconds":1783190571,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e70c7f8"} 
[2026-07-05 00:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:14:22] 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-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496709120001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496709120001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:14:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:14:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:14:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496709120001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":122198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:14:22] local.INFO: GPS data processed {"connection_id":122198,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:14:22] local.INFO: Acknowledgment sent {"connection_id":122198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:15:07] local.INFO: TCP Data received {"connection_id":122110,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:07] local.INFO: Processing buffer {"connection_id":122110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:07] local.INFO: IMEI packet received {"connection_id":122110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":122110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:15:16] local.INFO: TCP Data received {"connection_id":122110,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:16] local.INFO: Processing buffer {"connection_id":122110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:16] local.INFO: IMEI packet received {"connection_id":122110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":122110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:15:17] local.INFO: TCP Data received {"connection_id":122110,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:17] local.INFO: Processing buffer {"connection_id":122110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:17] local.INFO: IMEI packet received {"connection_id":122110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":122110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:15:22] local.INFO: TCP Data received {"connection_id":122110,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:22] local.INFO: Processing buffer {"connection_id":122110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:15:22] local.INFO: IMEI packet received {"connection_id":122110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":122110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:15:23] local.INFO: TCP Data received {"connection_id":122110,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:15:23] local.INFO: Processing buffer {"connection_id":122110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:15:23] local.INFO: Packet analysis {"connection_id":122110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:15:23] local.INFO: Extracted packet for processing {"connection_id":122110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:15:23] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496709120001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:15:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:15:23] 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-07-05 00:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783190571000,"timestamp_ms":1783190571000,"timestamp_seconds":1783190571,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e70c7f8"} 
[2026-07-05 00:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:15:23] 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-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":122110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":122110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":122110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496709120001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496709120001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:15:23] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:15:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:15:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496709120001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":122110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:15:23] local.INFO: GPS data processed {"connection_id":122110,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:15:23] local.INFO: Acknowledgment sent {"connection_id":122110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:16:06] local.INFO: TCP Data received {"connection_id":122111,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:16:06] local.INFO: Processing buffer {"connection_id":122111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:16:06] local.INFO: IMEI packet received {"connection_id":122111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":122111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:16:12] local.INFO: TCP Data received {"connection_id":122111,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:16:12] local.INFO: Processing buffer {"connection_id":122111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:16:12] local.INFO: IMEI packet received {"connection_id":122111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":122111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:16:13] local.INFO: TCP Data received {"connection_id":122111,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:16:13] local.INFO: Processing buffer {"connection_id":122111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:16:13] local.INFO: Packet analysis {"connection_id":122111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:16:13] local.INFO: Extracted packet for processing {"connection_id":122111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:16:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496709120001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:16:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:16:13] 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-07-05 00:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783190571000,"timestamp_ms":1783190571000,"timestamp_seconds":1783190571,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e70c7f8"} 
[2026-07-05 00:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:16:13] 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-07-05 00:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496709120001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496709120001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:16:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:16:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:16:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496709120001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":122111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:16:13] local.INFO: GPS data processed {"connection_id":122111,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:16:13] local.INFO: Acknowledgment sent {"connection_id":122111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:16:44] local.INFO: TCP Data received {"connection_id":122111,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:16:44] local.INFO: Processing buffer {"connection_id":122111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:16:44] local.INFO: Packet analysis {"connection_id":122111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:16:44] local.INFO: Extracted packet for processing {"connection_id":122111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:16:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496709120001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:16:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:16:44] 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-07-05 00:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783190571000,"timestamp_ms":1783190571000,"timestamp_seconds":1783190571,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e70c7f8"} 
[2026-07-05 00:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:16: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-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496709120001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496709120001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:16:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:16:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:16:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496709120001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":122111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:16:44] local.INFO: GPS data processed {"connection_id":122111,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:16:44] local.INFO: Acknowledgment sent {"connection_id":122111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:17:06] local.INFO: TCP Data received {"connection_id":124073,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:17:06] local.INFO: Processing buffer {"connection_id":124073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:17:06] local.INFO: IMEI packet received {"connection_id":124073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":124073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:17:12] local.INFO: TCP Data received {"connection_id":124073,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:17:12] local.INFO: Processing buffer {"connection_id":124073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:17:12] local.INFO: IMEI packet received {"connection_id":124073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":124073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:17:13] local.INFO: TCP Data received {"connection_id":124073,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:17:13] local.INFO: Processing buffer {"connection_id":124073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:17:13] local.INFO: Packet analysis {"connection_id":124073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:17:13] local.INFO: Extracted packet for processing {"connection_id":124073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:17:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496709120001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:17:13] 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-07-05 00:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783190571000,"timestamp_ms":1783190571000,"timestamp_seconds":1783190571,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e70c7f8"} 
[2026-07-05 00:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:17:13] 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-07-05 00:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496709120001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496709120001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:17:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:17:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496709120001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":124073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:17:13] local.INFO: GPS data processed {"connection_id":124073,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:17:13] local.INFO: Acknowledgment sent {"connection_id":124073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:17:44] local.INFO: TCP Data received {"connection_id":124073,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:17:44] local.INFO: Processing buffer {"connection_id":124073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:17:44] local.INFO: Packet analysis {"connection_id":124073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:17:44] local.INFO: Extracted packet for processing {"connection_id":124073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:17:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496709120001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:17:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:17:44] 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-07-05 00:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783190571000,"timestamp_ms":1783190571000,"timestamp_seconds":1783190571,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e70c7f8"} 
[2026-07-05 00:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:17: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-07-05 00:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496709120001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496709120001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:17:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:17:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:17:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496709120001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":124073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:17:44] local.INFO: GPS data processed {"connection_id":124073,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:17:44] local.INFO: Acknowledgment sent {"connection_id":124073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:18:06] local.INFO: TCP Data received {"connection_id":122201,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:18:06] local.INFO: Processing buffer {"connection_id":122201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:18:06] local.INFO: IMEI packet received {"connection_id":122201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":122201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:18:12] local.INFO: TCP Data received {"connection_id":122201,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:18:12] local.INFO: Processing buffer {"connection_id":122201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:18:12] local.INFO: IMEI packet received {"connection_id":122201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":122201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:18:13] local.INFO: TCP Data received {"connection_id":122201,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:18:13] local.INFO: Processing buffer {"connection_id":122201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e70c7f8012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:18:13] local.INFO: Packet analysis {"connection_id":122201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:18:13] local.INFO: Extracted packet for processing {"connection_id":122201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e70"} 
[2026-07-05 00:18:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496709120001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:18:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:18:13] 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-07-05 00:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783190571000,"timestamp_ms":1783190571000,"timestamp_seconds":1783190571,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e70c7f8"} 
[2026-07-05 00:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:18:13] 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-07-05 00:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496709120001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496709120001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:18:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:18:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496709120001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":122201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:18:13] local.INFO: GPS data processed {"connection_id":122201,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:18:13] local.INFO: Acknowledgment sent {"connection_id":122201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:18:44] local.INFO: TCP Data received {"connection_id":122201,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:18:44] local.INFO: Processing buffer {"connection_id":122201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:18:44] local.INFO: Packet analysis {"connection_id":122201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:18:44] local.INFO: Extracted packet for processing {"connection_id":122201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:18:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496786176001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:18:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:18:44] 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-07-05 00:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783190872000,"timestamp_ms":1783190872000,"timestamp_seconds":1783190872,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e755fc0"} 
[2026-07-05 00:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:18: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-07-05 00:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496786176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496786176001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:18:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:18:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:18:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496786176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":122201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:18:44] local.INFO: GPS data processed {"connection_id":122201,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:18:44] local.INFO: Acknowledgment sent {"connection_id":122201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:19:07] local.INFO: TCP Data received {"connection_id":124074,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:19:07] local.INFO: Processing buffer {"connection_id":124074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:19:07] local.INFO: IMEI packet received {"connection_id":124074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":124074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:19:12] local.INFO: TCP Data received {"connection_id":124074,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:19:12] local.INFO: Processing buffer {"connection_id":124074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:19:12] local.INFO: IMEI packet received {"connection_id":124074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":124074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:19:13] local.INFO: TCP Data received {"connection_id":124074,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:19:13] local.INFO: Processing buffer {"connection_id":124074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:19:13] local.INFO: Packet analysis {"connection_id":124074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:19:13] local.INFO: Extracted packet for processing {"connection_id":124074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:19:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496786176001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:19:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:19:13] 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-07-05 00:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783190872000,"timestamp_ms":1783190872000,"timestamp_seconds":1783190872,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e755fc0"} 
[2026-07-05 00:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:19:13] 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-07-05 00:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496786176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496786176001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:19:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:19:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496786176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":124074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:19:13] local.INFO: GPS data processed {"connection_id":124074,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:19:13] local.INFO: Acknowledgment sent {"connection_id":124074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:19:36] local.INFO: TCP Data received {"connection_id":122917,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:19:36] local.INFO: Processing buffer {"connection_id":122917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:19:36] local.INFO: IMEI packet received {"connection_id":122917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":122917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:19:44] local.INFO: TCP Data received {"connection_id":124074,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:19:44] local.INFO: Processing buffer {"connection_id":124074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:19:44] local.INFO: Packet analysis {"connection_id":124074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:19:44] local.INFO: Extracted packet for processing {"connection_id":124074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:19:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496786176001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:19:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:19:44] 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-07-05 00:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783190872000,"timestamp_ms":1783190872000,"timestamp_seconds":1783190872,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e755fc0"} 
[2026-07-05 00:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:19: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-07-05 00:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496786176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496786176001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:19:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:19:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:19:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496786176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":124074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:19:44] local.INFO: GPS data processed {"connection_id":124074,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:19:44] local.INFO: Acknowledgment sent {"connection_id":124074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:20:06] local.INFO: TCP Data received {"connection_id":122918,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:20:06] local.INFO: Processing buffer {"connection_id":122918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:20:06] local.INFO: IMEI packet received {"connection_id":122918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":122918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:20:11] local.INFO: TCP Data received {"connection_id":122919,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:20:11] local.INFO: Processing buffer {"connection_id":122919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:20:11] local.INFO: IMEI packet received {"connection_id":122919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":122919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:20:11] local.INFO: TCP Data received {"connection_id":122918,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:20:11] local.INFO: Processing buffer {"connection_id":122918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:20:11] local.INFO: IMEI packet received {"connection_id":122918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":122918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:20:12] local.INFO: TCP Data received {"connection_id":122918,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:20:12] local.INFO: Processing buffer {"connection_id":122918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:20:12] local.INFO: Packet analysis {"connection_id":122918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:20:12] local.INFO: Extracted packet for processing {"connection_id":122918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:20:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496786176001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:20: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-07-05 00:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783190872000,"timestamp_ms":1783190872000,"timestamp_seconds":1783190872,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e755fc0"} 
[2026-07-05 00:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496786176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496786176001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:20:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496786176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":122918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:20:12] local.INFO: GPS data processed {"connection_id":122918,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:20:12] local.INFO: Acknowledgment sent {"connection_id":122918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:20:17] local.INFO: TCP Data received {"connection_id":122918,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:20:17] local.INFO: Processing buffer {"connection_id":122918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:20:17] local.INFO: Packet analysis {"connection_id":122918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:20:17] local.INFO: Extracted packet for processing {"connection_id":122918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:20:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496786176001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:20:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:20:17] 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-07-05 00:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783190872000,"timestamp_ms":1783190872000,"timestamp_seconds":1783190872,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e755fc0"} 
[2026-07-05 00:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:20:17] 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-07-05 00:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496786176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496786176001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:20:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:20:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496786176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":122918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:20:17] local.INFO: GPS data processed {"connection_id":122918,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:20:17] local.INFO: Acknowledgment sent {"connection_id":122918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:20:48] local.INFO: TCP Data received {"connection_id":122918,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:20:48] local.INFO: Processing buffer {"connection_id":122918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:20:48] local.INFO: Packet analysis {"connection_id":122918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:20:48] local.INFO: Extracted packet for processing {"connection_id":122918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:20:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 00:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496786176001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:20:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:20:48] 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-07-05 00:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783190872000,"timestamp_ms":1783190872000,"timestamp_seconds":1783190872,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e755fc0"} 
[2026-07-05 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-07-05 00:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 00:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496786176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496786176001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:20:48] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:20:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:20:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496786176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":122918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:20:48] local.INFO: GPS data processed {"connection_id":122918,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:20:48] local.INFO: Acknowledgment sent {"connection_id":122918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:21:06] local.INFO: TCP Data received {"connection_id":122921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:21:06] local.INFO: Processing buffer {"connection_id":122921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:21:06] local.INFO: IMEI packet received {"connection_id":122921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":122921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:21:11] local.INFO: TCP Data received {"connection_id":122921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:21:11] local.INFO: Processing buffer {"connection_id":122921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:21:11] local.INFO: IMEI packet received {"connection_id":122921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":122921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:21:12] local.INFO: TCP Data received {"connection_id":122921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:21:12] local.INFO: Processing buffer {"connection_id":122921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:21:12] local.INFO: Packet analysis {"connection_id":122921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:21:12] local.INFO: Extracted packet for processing {"connection_id":122921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496786176001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:21: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-07-05 00:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783190872000,"timestamp_ms":1783190872000,"timestamp_seconds":1783190872,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e755fc0"} 
[2026-07-05 00:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496786176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496786176001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:21:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496786176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":122921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:21:12] local.INFO: GPS data processed {"connection_id":122921,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:21:12] local.INFO: Acknowledgment sent {"connection_id":122921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:21:43] local.INFO: TCP Data received {"connection_id":122921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:21:43] local.INFO: Processing buffer {"connection_id":122921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:21:43] local.INFO: Packet analysis {"connection_id":122921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:21:43] local.INFO: Extracted packet for processing {"connection_id":122921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:21:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496786176001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:21:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:21:43] 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-07-05 00:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783190872000,"timestamp_ms":1783190872000,"timestamp_seconds":1783190872,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e755fc0"} 
[2026-07-05 00:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:21: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-07-05 00:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:21: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-07-05 00:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496786176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496786176001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:21:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:21:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496786176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":122921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:21:43] local.INFO: GPS data processed {"connection_id":122921,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:21:43] local.INFO: Acknowledgment sent {"connection_id":122921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:22:12] local.INFO: TCP Data received {"connection_id":122203,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:22:12] local.INFO: Processing buffer {"connection_id":122203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:22:12] local.INFO: IMEI packet received {"connection_id":122203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":122203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:22:17] local.INFO: TCP Data received {"connection_id":122203,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:22:17] local.INFO: Processing buffer {"connection_id":122203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:22:17] local.INFO: IMEI packet received {"connection_id":122203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":122203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:22:18] local.INFO: TCP Data received {"connection_id":122203,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:22:18] local.INFO: Processing buffer {"connection_id":122203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:22:18] local.INFO: Packet analysis {"connection_id":122203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:22:18] local.INFO: Extracted packet for processing {"connection_id":122203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:22:18] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496786176001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:22:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:22:18] 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-07-05 00:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783190872000,"timestamp_ms":1783190872000,"timestamp_seconds":1783190872,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e755fc0"} 
[2026-07-05 00:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:22:18] 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-07-05 00:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496786176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496786176001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:22:18] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:22:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496786176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":122203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:22:18] local.INFO: GPS data processed {"connection_id":122203,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:22:18] local.INFO: Acknowledgment sent {"connection_id":122203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:22:49] local.INFO: TCP Data received {"connection_id":122203,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:22:49] local.INFO: Processing buffer {"connection_id":122203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:22:49] local.INFO: Packet analysis {"connection_id":122203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:22:49] local.INFO: Extracted packet for processing {"connection_id":122203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:22:49] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496786176001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:22:49] 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-07-05 00:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783190872000,"timestamp_ms":1783190872000,"timestamp_seconds":1783190872,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e755fc0"} 
[2026-07-05 00:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:22:49] 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-07-05 00:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496786176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496786176001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:22:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:22:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496786176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":122203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:22:49] local.INFO: GPS data processed {"connection_id":122203,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:22:49] local.INFO: Acknowledgment sent {"connection_id":122203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:23:06] local.INFO: TCP Data received {"connection_id":124075,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:23:06] local.INFO: Processing buffer {"connection_id":124075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:23:06] local.INFO: IMEI packet received {"connection_id":124075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":124075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:23:12] local.INFO: TCP Data received {"connection_id":124075,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:23:12] local.INFO: Processing buffer {"connection_id":124075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:23:12] local.INFO: IMEI packet received {"connection_id":124075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":124075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:23:13] local.INFO: TCP Data received {"connection_id":124075,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:23:13] local.INFO: Processing buffer {"connection_id":124075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e755fc0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:23:13] local.INFO: Packet analysis {"connection_id":124075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:23:13] local.INFO: Extracted packet for processing {"connection_id":124075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e75"} 
[2026-07-05 00:23:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496786176001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:23:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:23:13] 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-07-05 00:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783190872000,"timestamp_ms":1783190872000,"timestamp_seconds":1783190872,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e755fc0"} 
[2026-07-05 00:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:23:13] 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-07-05 00:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496786176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496786176001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:23:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:23:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496786176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":124075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:23:13] local.INFO: GPS data processed {"connection_id":124075,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:23:13] local.INFO: Acknowledgment sent {"connection_id":124075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:23:44] local.INFO: TCP Data received {"connection_id":124075,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:23:44] local.INFO: Processing buffer {"connection_id":124075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:23:44] local.INFO: Packet analysis {"connection_id":124075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:23:44] local.INFO: Extracted packet for processing {"connection_id":124075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:23:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496863232001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:23:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:23:44] 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-07-05 00:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783191172000,"timestamp_ms":1783191172000,"timestamp_seconds":1783191172,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e79f3a0"} 
[2026-07-05 00:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:23: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-07-05 00:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:23: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-07-05 00:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496863232001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496863232001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:23:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:23:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:23:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496863232001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":124075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:23:44] local.INFO: GPS data processed {"connection_id":124075,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:23:44] local.INFO: Acknowledgment sent {"connection_id":124075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:24:06] local.INFO: TCP Data received {"connection_id":122204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:24:06] local.INFO: Processing buffer {"connection_id":122204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:24:06] local.INFO: IMEI packet received {"connection_id":122204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":122204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:24:11] local.INFO: TCP Data received {"connection_id":122204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:24:11] local.INFO: Processing buffer {"connection_id":122204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:24:11] local.INFO: IMEI packet received {"connection_id":122204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":122204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:24:12] local.INFO: TCP Data received {"connection_id":122204,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:24:12] local.INFO: Processing buffer {"connection_id":122204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:24:12] local.INFO: Packet analysis {"connection_id":122204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:24:12] local.INFO: Extracted packet for processing {"connection_id":122204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:24:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496863232001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:24: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-07-05 00:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783191172000,"timestamp_ms":1783191172000,"timestamp_seconds":1783191172,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e79f3a0"} 
[2026-07-05 00:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496863232001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496863232001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:24:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496863232001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":122204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:24:12] local.INFO: GPS data processed {"connection_id":122204,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:24:12] local.INFO: Acknowledgment sent {"connection_id":122204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:24:43] local.INFO: TCP Data received {"connection_id":122204,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:24:43] local.INFO: Processing buffer {"connection_id":122204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:24:43] local.INFO: Packet analysis {"connection_id":122204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:24:43] local.INFO: Extracted packet for processing {"connection_id":122204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:24:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496863232001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:24:43] 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-07-05 00:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783191172000,"timestamp_ms":1783191172000,"timestamp_seconds":1783191172,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e79f3a0"} 
[2026-07-05 00:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:24: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-07-05 00:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:24: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-07-05 00:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496863232001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496863232001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:24:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496863232001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":122204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:24:43] local.INFO: GPS data processed {"connection_id":122204,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:24:43] local.INFO: Acknowledgment sent {"connection_id":122204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:25:11] local.INFO: TCP Data received {"connection_id":122925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:25:11] local.INFO: Processing buffer {"connection_id":122925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:25:11] local.INFO: IMEI packet received {"connection_id":122925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":122925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:25:16] local.INFO: TCP Data received {"connection_id":122925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:25:16] local.INFO: Processing buffer {"connection_id":122925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:25:16] local.INFO: IMEI packet received {"connection_id":122925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":122925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:25:17] local.INFO: TCP Data received {"connection_id":122925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:25:17] local.INFO: Processing buffer {"connection_id":122925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:25:17] local.INFO: Packet analysis {"connection_id":122925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:25:17] local.INFO: Extracted packet for processing {"connection_id":122925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:25:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496863232001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:25:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:25:17] 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-07-05 00:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783191172000,"timestamp_ms":1783191172000,"timestamp_seconds":1783191172,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e79f3a0"} 
[2026-07-05 00:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:25:17] 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-07-05 00:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496863232001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496863232001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:25:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:25:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:25:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496863232001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":122925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:25:17] local.INFO: GPS data processed {"connection_id":122925,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:25:17] local.INFO: Acknowledgment sent {"connection_id":122925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:25:22] local.INFO: TCP Data received {"connection_id":122925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:25:22] local.INFO: Processing buffer {"connection_id":122925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:25:22] local.INFO: Packet analysis {"connection_id":122925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:25:22] local.INFO: Extracted packet for processing {"connection_id":122925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:25:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496863232001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:25:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:25:22] 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-07-05 00:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783191172000,"timestamp_ms":1783191172000,"timestamp_seconds":1783191172,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e79f3a0"} 
[2026-07-05 00:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:25:22] 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-07-05 00:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496863232001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496863232001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:25:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:25:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:25:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496863232001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":122925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:25:22] local.INFO: GPS data processed {"connection_id":122925,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:25:22] local.INFO: Acknowledgment sent {"connection_id":122925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:25:26] local.INFO: TCP Data received {"connection_id":122924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:25:26] local.INFO: Processing buffer {"connection_id":122924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:25:26] local.INFO: IMEI packet received {"connection_id":122924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":122924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:26:06] local.INFO: TCP Data received {"connection_id":124077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:26:06] local.INFO: Processing buffer {"connection_id":124077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:26:06] local.INFO: IMEI packet received {"connection_id":124077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":124077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:26:07] local.INFO: TCP Data received {"connection_id":122113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:26:07] local.INFO: Processing buffer {"connection_id":122113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:26:07] local.INFO: IMEI packet received {"connection_id":122113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":122113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:26:12] local.INFO: TCP Data received {"connection_id":122113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:26:12] local.INFO: Processing buffer {"connection_id":122113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:26:12] local.INFO: IMEI packet received {"connection_id":122113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":122113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:26:12] local.INFO: TCP Data received {"connection_id":122113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:26:12] local.INFO: Processing buffer {"connection_id":122113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:26:12] local.INFO: Packet analysis {"connection_id":122113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:26:12] local.INFO: Extracted packet for processing {"connection_id":122113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:26:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496863232001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:26: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-07-05 00:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783191172000,"timestamp_ms":1783191172000,"timestamp_seconds":1783191172,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e79f3a0"} 
[2026-07-05 00:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496863232001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496863232001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:26:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:26:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:26:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496863232001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":122113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:26:13] local.INFO: GPS data processed {"connection_id":122113,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:26:13] local.INFO: Acknowledgment sent {"connection_id":122113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:26:17] local.INFO: TCP Data received {"connection_id":122113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:26:17] local.INFO: Processing buffer {"connection_id":122113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:26:17] local.INFO: Packet analysis {"connection_id":122113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:26:17] local.INFO: Extracted packet for processing {"connection_id":122113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:26:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496863232001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:26:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:26:17] 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-07-05 00:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783191172000,"timestamp_ms":1783191172000,"timestamp_seconds":1783191172,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e79f3a0"} 
[2026-07-05 00:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:26:17] 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-07-05 00:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496863232001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496863232001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:26:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:26:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:26:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496863232001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":122113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:26:17] local.INFO: GPS data processed {"connection_id":122113,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:26:17] local.INFO: Acknowledgment sent {"connection_id":122113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:26:48] local.INFO: TCP Data received {"connection_id":122113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:26:48] local.INFO: Processing buffer {"connection_id":122113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:26:48] local.INFO: Packet analysis {"connection_id":122113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:26:48] local.INFO: Extracted packet for processing {"connection_id":122113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:26:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496863232001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:26:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:26:48] 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-07-05 00:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783191172000,"timestamp_ms":1783191172000,"timestamp_seconds":1783191172,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e79f3a0"} 
[2026-07-05 00:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496863232001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496863232001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:26:48] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:26:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:26:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496863232001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":122113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:26:48] local.INFO: GPS data processed {"connection_id":122113,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:26:48] local.INFO: Acknowledgment sent {"connection_id":122113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:27:07] local.INFO: TCP Data received {"connection_id":124078,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:27:07] local.INFO: Processing buffer {"connection_id":124078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:27:07] local.INFO: IMEI packet received {"connection_id":124078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":124078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:27:12] local.INFO: TCP Data received {"connection_id":124078,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:27:12] local.INFO: Processing buffer {"connection_id":124078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:27:12] local.INFO: IMEI packet received {"connection_id":124078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":124078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:27:13] local.INFO: TCP Data received {"connection_id":124078,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:27:13] local.INFO: Processing buffer {"connection_id":124078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:27:13] local.INFO: Packet analysis {"connection_id":124078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:27:13] local.INFO: Extracted packet for processing {"connection_id":124078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:27:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496863232001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:27:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:27:13] 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-07-05 00:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783191172000,"timestamp_ms":1783191172000,"timestamp_seconds":1783191172,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e79f3a0"} 
[2026-07-05 00:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:27:13] 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-07-05 00:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496863232001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496863232001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:27:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:27:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496863232001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":124078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":433999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:27:13] local.INFO: GPS data processed {"connection_id":124078,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:27:13] local.INFO: Acknowledgment sent {"connection_id":124078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:27:44] local.INFO: TCP Data received {"connection_id":124078,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:27:44] local.INFO: Processing buffer {"connection_id":124078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:27:44] local.INFO: Packet analysis {"connection_id":124078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:27:44] local.INFO: Extracted packet for processing {"connection_id":124078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:27:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496863232001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:27:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:27:44] 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-07-05 00:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783191172000,"timestamp_ms":1783191172000,"timestamp_seconds":1783191172,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e79f3a0"} 
[2026-07-05 00:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:27: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-07-05 00:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:27: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-07-05 00: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-07-05 00:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496863232001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496863232001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:27:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:27:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496863232001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":124078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:27:44] local.INFO: GPS data processed {"connection_id":124078,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:27:44] local.INFO: Acknowledgment sent {"connection_id":124078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:28:06] local.INFO: TCP Data received {"connection_id":122927,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:28:06] local.INFO: Processing buffer {"connection_id":122927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:28:06] local.INFO: IMEI packet received {"connection_id":122927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":122927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:28:12] local.INFO: TCP Data received {"connection_id":122927,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:28:12] local.INFO: Processing buffer {"connection_id":122927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:28:12] local.INFO: IMEI packet received {"connection_id":122927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":122927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:28:21] local.INFO: TCP Data received {"connection_id":122927,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:28:21] local.INFO: Processing buffer {"connection_id":122927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e79f3a0012cb2a2c007823a880041013b2c..."} 
[2026-07-05 00:28:21] local.INFO: Packet analysis {"connection_id":122927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:28:21] local.INFO: Extracted packet for processing {"connection_id":122927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e79"} 
[2026-07-05 00:28:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496863232001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:28:21] 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-07-05 00:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783191172000,"timestamp_ms":1783191172000,"timestamp_seconds":1783191172,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e79f3a0"} 
[2026-07-05 00:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:28:21] 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-07-05 00:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:28:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496863232001,"66":25375,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496863232001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:28:21] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496863232001,"power":25375,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":122927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:28:21] local.INFO: GPS data processed {"connection_id":122927,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:28:21] local.INFO: Acknowledgment sent {"connection_id":122927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:28:57] local.INFO: TCP Data received {"connection_id":122927,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:28:57] local.INFO: Processing buffer {"connection_id":122927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:28:57] local.INFO: Packet analysis {"connection_id":122927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:28:57] local.INFO: Extracted packet for processing {"connection_id":122927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:28:57] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496940032001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:28:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:28:57] 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-07-05 00:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783191474000,"timestamp_ms":1783191474000,"timestamp_seconds":1783191474,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e7e8f50"} 
[2026-07-05 00:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":122927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":122927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":122927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496940032001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496940032001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:28:57] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:28:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:28:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496940032001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":122927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:28:57] local.INFO: GPS data processed {"connection_id":122927,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:28:57] local.INFO: Acknowledgment sent {"connection_id":122927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:29:12] local.INFO: TCP Data received {"connection_id":124080,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:29:12] local.INFO: Processing buffer {"connection_id":124080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:29:12] local.INFO: IMEI packet received {"connection_id":124080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":124080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:29:19] local.INFO: TCP Data received {"connection_id":124080,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:29:19] local.INFO: Processing buffer {"connection_id":124080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:29:19] local.INFO: IMEI packet received {"connection_id":124080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":124080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:29:20] local.INFO: TCP Data received {"connection_id":124080,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:29:20] local.INFO: Processing buffer {"connection_id":124080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:29:20] local.INFO: Packet analysis {"connection_id":124080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:29:20] local.INFO: Extracted packet for processing {"connection_id":124080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:29:20] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496940032001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:29:20] 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-07-05 00:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783191474000,"timestamp_ms":1783191474000,"timestamp_seconds":1783191474,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e7e8f50"} 
[2026-07-05 00:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496940032001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496940032001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:29:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496940032001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":124080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:29:20] local.INFO: GPS data processed {"connection_id":124080,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:29:20] local.INFO: Acknowledgment sent {"connection_id":124080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:29:22] local.INFO: TCP Data received {"connection_id":124080,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:29:22] local.INFO: Processing buffer {"connection_id":124080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:29:22] local.INFO: Packet analysis {"connection_id":124080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:29:22] local.INFO: Extracted packet for processing {"connection_id":124080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:29:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496940032001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:29:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:29:22] 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-07-05 00:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783191474000,"timestamp_ms":1783191474000,"timestamp_seconds":1783191474,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e7e8f50"} 
[2026-07-05 00:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496940032001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496940032001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:29:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:29:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:29:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496940032001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":124080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:29:22] local.INFO: GPS data processed {"connection_id":124080,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:29:22] local.INFO: Acknowledgment sent {"connection_id":124080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:30:07] local.INFO: TCP Data received {"connection_id":122114,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:30:07] local.INFO: Processing buffer {"connection_id":122114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:30:07] local.INFO: IMEI packet received {"connection_id":122114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":122114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:30:12] local.INFO: TCP Data received {"connection_id":122114,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:30:12] local.INFO: Processing buffer {"connection_id":122114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:30:12] local.INFO: IMEI packet received {"connection_id":122114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":122114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:30:12] local.INFO: TCP Data received {"connection_id":122114,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:30:12] local.INFO: Processing buffer {"connection_id":122114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:30:12] local.INFO: Packet analysis {"connection_id":122114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:30:12] local.INFO: Extracted packet for processing {"connection_id":122114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:30:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496940032001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:30:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:30: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-07-05 00:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783191474000,"timestamp_ms":1783191474000,"timestamp_seconds":1783191474,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e7e8f50"} 
[2026-07-05 00:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496940032001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496940032001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:30:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:30:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496940032001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":122114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:30:13] local.INFO: GPS data processed {"connection_id":122114,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:30:13] local.INFO: Acknowledgment sent {"connection_id":122114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:30:44] local.INFO: TCP Data received {"connection_id":122114,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:30:44] local.INFO: Processing buffer {"connection_id":122114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:30:44] local.INFO: Packet analysis {"connection_id":122114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:30:44] local.INFO: Extracted packet for processing {"connection_id":122114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:30:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496940032001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:30:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:30:44] 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-07-05 00:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783191474000,"timestamp_ms":1783191474000,"timestamp_seconds":1783191474,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e7e8f50"} 
[2026-07-05 00:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496940032001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496940032001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:30:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:30:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496940032001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":122114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:30:44] local.INFO: GPS data processed {"connection_id":122114,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:30:44] local.INFO: Acknowledgment sent {"connection_id":122114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:31:06] local.INFO: TCP Data received {"connection_id":122206,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:31:06] local.INFO: Processing buffer {"connection_id":122206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:31:06] local.INFO: IMEI packet received {"connection_id":122206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":122206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:31:12] local.INFO: TCP Data received {"connection_id":122206,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:31:12] local.INFO: Processing buffer {"connection_id":122206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:31:12] local.INFO: IMEI packet received {"connection_id":122206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":122206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:31:12] local.INFO: TCP Data received {"connection_id":122206,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:31:13] local.INFO: Processing buffer {"connection_id":122206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:31:13] local.INFO: Packet analysis {"connection_id":122206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:31:13] local.INFO: Extracted packet for processing {"connection_id":122206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:31:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496940032001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:31:13] 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-07-05 00:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783191474000,"timestamp_ms":1783191474000,"timestamp_seconds":1783191474,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e7e8f50"} 
[2026-07-05 00:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496940032001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496940032001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:31:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496940032001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":122206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:31:13] local.INFO: GPS data processed {"connection_id":122206,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:31:13] local.INFO: Acknowledgment sent {"connection_id":122206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:31:36] local.INFO: TCP Data received {"connection_id":124081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:31:36] local.INFO: Processing buffer {"connection_id":124081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:31:36] local.INFO: IMEI packet received {"connection_id":124081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":124081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:31:44] local.INFO: TCP Data received {"connection_id":122206,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:31:44] local.INFO: Processing buffer {"connection_id":122206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:31:44] local.INFO: Packet analysis {"connection_id":122206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:31:44] local.INFO: Extracted packet for processing {"connection_id":122206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:31:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496940032001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:31:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:31:44] 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-07-05 00:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783191474000,"timestamp_ms":1783191474000,"timestamp_seconds":1783191474,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e7e8f50"} 
[2026-07-05 00:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496940032001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496940032001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:31:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:31:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496940032001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":122206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:31:44] local.INFO: GPS data processed {"connection_id":122206,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:31:44] local.INFO: Acknowledgment sent {"connection_id":122206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:32:06] local.INFO: TCP Data received {"connection_id":122928,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:32:06] local.INFO: Processing buffer {"connection_id":122928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:32:06] local.INFO: IMEI packet received {"connection_id":122928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":122928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:32:11] local.INFO: TCP Data received {"connection_id":124082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:32:11] local.INFO: Processing buffer {"connection_id":124082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:32:11] local.INFO: IMEI packet received {"connection_id":124082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":124082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:32:12] local.INFO: TCP Data received {"connection_id":122928,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:32:12] local.INFO: Processing buffer {"connection_id":122928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:32:12] local.INFO: IMEI packet received {"connection_id":122928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":122928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:32:13] local.INFO: TCP Data received {"connection_id":122928,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:32:13] local.INFO: Processing buffer {"connection_id":122928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:32:13] local.INFO: Packet analysis {"connection_id":122928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:32:13] local.INFO: Extracted packet for processing {"connection_id":122928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:32:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496940032001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:32:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:32:13] 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-07-05 00:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783191474000,"timestamp_ms":1783191474000,"timestamp_seconds":1783191474,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e7e8f50"} 
[2026-07-05 00:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496940032001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496940032001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:32:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:32:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:32:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496940032001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":122928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:32:13] local.INFO: GPS data processed {"connection_id":122928,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:32:13] local.INFO: Acknowledgment sent {"connection_id":122928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:32:44] local.INFO: TCP Data received {"connection_id":122928,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:32:44] local.INFO: Processing buffer {"connection_id":122928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:32:44] local.INFO: Packet analysis {"connection_id":122928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:32:44] local.INFO: Extracted packet for processing {"connection_id":122928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:32:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496940032001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:32:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:32:44] 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-07-05 00:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783191474000,"timestamp_ms":1783191474000,"timestamp_seconds":1783191474,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e7e8f50"} 
[2026-07-05 00:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496940032001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496940032001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:32:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:32:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:32:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496940032001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":122928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:32:44] local.INFO: GPS data processed {"connection_id":122928,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:32:44] local.INFO: Acknowledgment sent {"connection_id":122928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:33:12] local.INFO: TCP Data received {"connection_id":124083,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:33:12] local.INFO: Processing buffer {"connection_id":124083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:33:12] local.INFO: IMEI packet received {"connection_id":124083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":124083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:33:17] local.INFO: TCP Data received {"connection_id":124083,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:33:17] local.INFO: Processing buffer {"connection_id":124083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:33:17] local.INFO: IMEI packet received {"connection_id":124083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":124083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:33:17] local.INFO: TCP Data received {"connection_id":124083,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:33:17] local.INFO: Processing buffer {"connection_id":124083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:33:17] local.INFO: Packet analysis {"connection_id":124083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:33:17] local.INFO: Extracted packet for processing {"connection_id":124083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:33:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496940032001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:33:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:33:17] 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-07-05 00:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783191474000,"timestamp_ms":1783191474000,"timestamp_seconds":1783191474,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e7e8f50"} 
[2026-07-05 00:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496940032001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496940032001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:33:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:33:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:33:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496940032001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":124083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:33:18] local.INFO: GPS data processed {"connection_id":124083,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:33:18] local.INFO: Acknowledgment sent {"connection_id":124083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:33:22] local.INFO: TCP Data received {"connection_id":124083,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:33:22] local.INFO: Processing buffer {"connection_id":124083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e7e8f50012cb2a2c007823a880041013b2e..."} 
[2026-07-05 00:33:22] local.INFO: Packet analysis {"connection_id":124083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:33:22] local.INFO: Extracted packet for processing {"connection_id":124083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e7e"} 
[2026-07-05 00:33:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456496940032001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:33:22] 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-07-05 00:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783191474000,"timestamp_ms":1783191474000,"timestamp_seconds":1783191474,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e7e8f50"} 
[2026-07-05 00:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 00:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456496940032001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456496940032001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:33:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:33:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456496940032001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":124083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:33:22] local.INFO: GPS data processed {"connection_id":124083,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:33:22] local.INFO: Acknowledgment sent {"connection_id":124083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:34:06] local.INFO: TCP Data received {"connection_id":122117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:34:06] local.INFO: Processing buffer {"connection_id":122117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:34:06] local.INFO: IMEI packet received {"connection_id":122117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":122117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:34:12] local.INFO: TCP Data received {"connection_id":122117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:34:12] local.INFO: Processing buffer {"connection_id":122117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:34:12] local.INFO: IMEI packet received {"connection_id":122117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":122117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:34:12] local.INFO: TCP Data received {"connection_id":122117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:34:12] local.INFO: Processing buffer {"connection_id":122117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:34:12] local.INFO: Packet analysis {"connection_id":122117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:34:12] local.INFO: Extracted packet for processing {"connection_id":122117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:34:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497017344001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:34: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-07-05 00:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783191775000,"timestamp_ms":1783191775000,"timestamp_seconds":1783191775,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e832718"} 
[2026-07-05 00:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497017344001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497017344001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:34:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497017344001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":122117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:34:12] local.INFO: GPS data processed {"connection_id":122117,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:34:12] local.INFO: Acknowledgment sent {"connection_id":122117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:34:44] local.INFO: TCP Data received {"connection_id":122117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:34:44] local.INFO: Processing buffer {"connection_id":122117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:34:44] local.INFO: Packet analysis {"connection_id":122117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:34:44] local.INFO: Extracted packet for processing {"connection_id":122117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:34:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497017344001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:34:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:34:44] 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-07-05 00:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783191775000,"timestamp_ms":1783191775000,"timestamp_seconds":1783191775,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e832718"} 
[2026-07-05 00:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:34: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-07-05 00:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497017344001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497017344001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:34:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:34:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:34:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497017344001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":122117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:34:44] local.INFO: GPS data processed {"connection_id":122117,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:34:44] local.INFO: Acknowledgment sent {"connection_id":122117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:35:06] local.INFO: TCP Data received {"connection_id":122931,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:35:06] local.INFO: Processing buffer {"connection_id":122931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:35:06] local.INFO: IMEI packet received {"connection_id":122931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":122931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:35:12] local.INFO: TCP Data received {"connection_id":122931,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:35:12] local.INFO: Processing buffer {"connection_id":122931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:35:12] local.INFO: IMEI packet received {"connection_id":122931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":122931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:35:12] local.INFO: TCP Data received {"connection_id":122931,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:35:12] local.INFO: Processing buffer {"connection_id":122931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:35:12] local.INFO: Packet analysis {"connection_id":122931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:35:12] local.INFO: Extracted packet for processing {"connection_id":122931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:35:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497017344001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:35: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-07-05 00:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783191775000,"timestamp_ms":1783191775000,"timestamp_seconds":1783191775,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e832718"} 
[2026-07-05 00:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497017344001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497017344001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:35:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497017344001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":122931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:35:12] local.INFO: GPS data processed {"connection_id":122931,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:35:12] local.INFO: Acknowledgment sent {"connection_id":122931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:35:45] local.INFO: TCP Data received {"connection_id":122931,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:35:45] local.INFO: Processing buffer {"connection_id":122931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:35:45] local.INFO: Packet analysis {"connection_id":122931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:35:45] local.INFO: Extracted packet for processing {"connection_id":122931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:35:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:35: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-07-05 00:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497017344001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:35:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:35:45] 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-07-05 00:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783191775000,"timestamp_ms":1783191775000,"timestamp_seconds":1783191775,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e832718"} 
[2026-07-05 00:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:35:45] 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-07-05 00:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:35: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-07-05 00:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497017344001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497017344001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:35:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:35:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:35:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497017344001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":122931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:35:45] local.INFO: GPS data processed {"connection_id":122931,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:35:45] local.INFO: Acknowledgment sent {"connection_id":122931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:36:12] local.INFO: TCP Data received {"connection_id":124084,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:36:12] local.INFO: Processing buffer {"connection_id":124084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:36:12] local.INFO: IMEI packet received {"connection_id":124084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":124084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:36:17] local.INFO: TCP Data received {"connection_id":124084,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:36:17] local.INFO: Processing buffer {"connection_id":124084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:36:17] local.INFO: IMEI packet received {"connection_id":124084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":124084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:36:22] local.INFO: TCP Data received {"connection_id":124084,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:36:22] local.INFO: Processing buffer {"connection_id":124084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:36:22] local.INFO: IMEI packet received {"connection_id":124084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":124084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:36:22] local.INFO: TCP Data received {"connection_id":124084,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:36:22] local.INFO: Processing buffer {"connection_id":124084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:36:22] local.INFO: Packet analysis {"connection_id":124084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:36:22] local.INFO: Extracted packet for processing {"connection_id":124084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:36:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497017344001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:36:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:36:22] 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-07-05 00:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783191775000,"timestamp_ms":1783191775000,"timestamp_seconds":1783191775,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e832718"} 
[2026-07-05 00:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:36:22] 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-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497017344001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497017344001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:36:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:36:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:36:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497017344001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":124084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:36:23] local.INFO: GPS data processed {"connection_id":124084,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:36:23] local.INFO: Acknowledgment sent {"connection_id":124084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:37:07] local.INFO: TCP Data received {"connection_id":122207,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:37:07] local.INFO: Processing buffer {"connection_id":122207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:37:07] local.INFO: IMEI packet received {"connection_id":122207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":122207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:37:12] local.INFO: TCP Data received {"connection_id":122207,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:37:12] local.INFO: Processing buffer {"connection_id":122207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:37:12] local.INFO: IMEI packet received {"connection_id":122207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":122207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:37:13] local.INFO: TCP Data received {"connection_id":122207,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:37:13] local.INFO: Processing buffer {"connection_id":122207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:37:13] local.INFO: Packet analysis {"connection_id":122207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:37:13] local.INFO: Extracted packet for processing {"connection_id":122207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:37:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497017344001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:37:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:37:13] 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-07-05 00:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783191775000,"timestamp_ms":1783191775000,"timestamp_seconds":1783191775,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e832718"} 
[2026-07-05 00:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:37:13] 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-07-05 00:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497017344001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497017344001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:37:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:37:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497017344001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":122207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:37:13] local.INFO: GPS data processed {"connection_id":122207,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:37:13] local.INFO: Acknowledgment sent {"connection_id":122207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:37:42] local.INFO: TCP Data received {"connection_id":122208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:37:42] local.INFO: Processing buffer {"connection_id":122208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:37:42] local.INFO: IMEI packet received {"connection_id":122208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":122208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:37:44] local.INFO: TCP Data received {"connection_id":122207,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:37:44] local.INFO: Processing buffer {"connection_id":122207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:37:44] local.INFO: Packet analysis {"connection_id":122207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:37:44] local.INFO: Extracted packet for processing {"connection_id":122207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:37:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497017344001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:37:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:37:44] 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-07-05 00:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783191775000,"timestamp_ms":1783191775000,"timestamp_seconds":1783191775,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e832718"} 
[2026-07-05 00:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:37: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-07-05 00:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497017344001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497017344001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:37:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:37:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:37:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497017344001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":122207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:37:44] local.INFO: GPS data processed {"connection_id":122207,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:37:44] local.INFO: Acknowledgment sent {"connection_id":122207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:38:06] local.INFO: TCP Data received {"connection_id":122119,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:06] local.INFO: Processing buffer {"connection_id":122119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:06] local.INFO: IMEI packet received {"connection_id":122119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":122119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:38:11] local.INFO: TCP Data received {"connection_id":122120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:38:11] local.INFO: Processing buffer {"connection_id":122120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:38:11] local.INFO: IMEI packet received {"connection_id":122120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":122120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:38:15] local.INFO: TCP Data received {"connection_id":122119,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:15] local.INFO: Processing buffer {"connection_id":122119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:15] local.INFO: IMEI packet received {"connection_id":122119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":122119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:38:16] local.INFO: TCP Data received {"connection_id":122119,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:16] local.INFO: Processing buffer {"connection_id":122119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:16] local.INFO: IMEI packet received {"connection_id":122119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":122119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:38:22] local.INFO: TCP Data received {"connection_id":122119,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:22] local.INFO: Processing buffer {"connection_id":122119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:38:22] local.INFO: IMEI packet received {"connection_id":122119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":122119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:38:22] local.INFO: TCP Data received {"connection_id":122119,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:38:22] local.INFO: Processing buffer {"connection_id":122119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e832718012cb2a2c007823a880041013b2d..."} 
[2026-07-05 00:38:22] local.INFO: Packet analysis {"connection_id":122119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:38:22] local.INFO: Extracted packet for processing {"connection_id":122119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e83"} 
[2026-07-05 00:38:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497017344001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:38:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:38:22] 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-07-05 00:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783191775000,"timestamp_ms":1783191775000,"timestamp_seconds":1783191775,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e832718"} 
[2026-07-05 00:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:38:22] 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-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497017344001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497017344001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:38:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:38:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:38:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497017344001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":122119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:38:22] local.INFO: GPS data processed {"connection_id":122119,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:38:22] local.INFO: Acknowledgment sent {"connection_id":122119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:39:06] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:39:06] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:39:06] local.INFO: IMEI packet received {"connection_id":124085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":124085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:39:12] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:39:12] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:39:12] local.INFO: IMEI packet received {"connection_id":124085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":124085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:39:13] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:39:13] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:39:13] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:39:13] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:39:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497094400001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:39:13] 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-07-05 00:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783192076000,"timestamp_ms":1783192076000,"timestamp_seconds":1783192076,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e87bee0"} 
[2026-07-05 00:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:39:13] 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-07-05 00:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497094400001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497094400001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:39:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497094400001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:39:13] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:39:13] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:39:44] local.INFO: TCP Data received {"connection_id":124085,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:39:44] local.INFO: Processing buffer {"connection_id":124085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:39:44] local.INFO: Packet analysis {"connection_id":124085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:39:44] local.INFO: Extracted packet for processing {"connection_id":124085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:39:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 00:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497094400001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:39:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:39:44] 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-07-05 00:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783192076000,"timestamp_ms":1783192076000,"timestamp_seconds":1783192076,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e87bee0"} 
[2026-07-05 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-07-05 00:39: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-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 00:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497094400001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497094400001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:39:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:39:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:39:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497094400001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":124085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:39:44] local.INFO: GPS data processed {"connection_id":124085,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:39:44] local.INFO: Acknowledgment sent {"connection_id":124085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:40:07] local.INFO: TCP Data received {"connection_id":122122,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:40:07] local.INFO: Processing buffer {"connection_id":122122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:40:07] local.INFO: IMEI packet received {"connection_id":122122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":122122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:40:12] local.INFO: TCP Data received {"connection_id":122122,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:40:12] local.INFO: Processing buffer {"connection_id":122122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:40:12] local.INFO: IMEI packet received {"connection_id":122122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":122122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:40:13] local.INFO: TCP Data received {"connection_id":122122,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:40:13] local.INFO: Processing buffer {"connection_id":122122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:40:13] local.INFO: Packet analysis {"connection_id":122122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:40:13] local.INFO: Extracted packet for processing {"connection_id":122122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:40:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497094400001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:40:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:40:13] 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-07-05 00:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783192076000,"timestamp_ms":1783192076000,"timestamp_seconds":1783192076,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e87bee0"} 
[2026-07-05 00:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:40:13] 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-07-05 00:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497094400001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497094400001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:40:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497094400001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":122122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:40:13] local.INFO: GPS data processed {"connection_id":122122,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:40:13] local.INFO: Acknowledgment sent {"connection_id":122122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:40:44] local.INFO: TCP Data received {"connection_id":122122,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:40:44] local.INFO: Processing buffer {"connection_id":122122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:40:44] local.INFO: Packet analysis {"connection_id":122122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:40:44] local.INFO: Extracted packet for processing {"connection_id":122122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:40:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497094400001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:40:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:40:44] 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-07-05 00:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783192076000,"timestamp_ms":1783192076000,"timestamp_seconds":1783192076,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e87bee0"} 
[2026-07-05 00:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:40: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-07-05 00:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497094400001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497094400001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:40:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:40:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497094400001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":122122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:40:44] local.INFO: GPS data processed {"connection_id":122122,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:40:44] local.INFO: Acknowledgment sent {"connection_id":122122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:41:06] local.INFO: TCP Data received {"connection_id":122123,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:41:06] local.INFO: Processing buffer {"connection_id":122123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:41:06] local.INFO: IMEI packet received {"connection_id":122123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":122123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:41:12] local.INFO: TCP Data received {"connection_id":122123,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:41:12] local.INFO: Processing buffer {"connection_id":122123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:41:12] local.INFO: IMEI packet received {"connection_id":122123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":122123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:41:13] local.INFO: TCP Data received {"connection_id":122123,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:41:13] local.INFO: Processing buffer {"connection_id":122123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:41:13] local.INFO: Packet analysis {"connection_id":122123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:41:13] local.INFO: Extracted packet for processing {"connection_id":122123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:41:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497094400001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:41:13] 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-07-05 00:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783192076000,"timestamp_ms":1783192076000,"timestamp_seconds":1783192076,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e87bee0"} 
[2026-07-05 00:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:41:13] 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-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497094400001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497094400001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:41:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:41:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497094400001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":122123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:41:13] local.INFO: GPS data processed {"connection_id":122123,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:41:13] local.INFO: Acknowledgment sent {"connection_id":122123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:41:44] local.INFO: TCP Data received {"connection_id":122123,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:41:44] local.INFO: Processing buffer {"connection_id":122123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:41:44] local.INFO: Packet analysis {"connection_id":122123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:41:44] local.INFO: Extracted packet for processing {"connection_id":122123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:41:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497094400001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:41:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:41:44] 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-07-05 00:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783192076000,"timestamp_ms":1783192076000,"timestamp_seconds":1783192076,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e87bee0"} 
[2026-07-05 00:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:41: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-07-05 00:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497094400001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497094400001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:41:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:41:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:41:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497094400001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":122123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:41:44] local.INFO: GPS data processed {"connection_id":122123,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:41:44] local.INFO: Acknowledgment sent {"connection_id":122123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:42:12] local.INFO: TCP Data received {"connection_id":122210,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:42:12] local.INFO: Processing buffer {"connection_id":122210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:42:12] local.INFO: IMEI packet received {"connection_id":122210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":122210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:42:17] local.INFO: TCP Data received {"connection_id":122210,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:42:17] local.INFO: Processing buffer {"connection_id":122210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:42:17] local.INFO: IMEI packet received {"connection_id":122210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":122210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:42:17] local.INFO: TCP Data received {"connection_id":122210,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:42:17] local.INFO: Processing buffer {"connection_id":122210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:42:17] local.INFO: Packet analysis {"connection_id":122210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:42:17] local.INFO: Extracted packet for processing {"connection_id":122210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:42:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497094400001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:42:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:42:17] 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-07-05 00:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783192076000,"timestamp_ms":1783192076000,"timestamp_seconds":1783192076,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e87bee0"} 
[2026-07-05 00:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:42:17] 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-07-05 00:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497094400001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497094400001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:42:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:42:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:42:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497094400001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":122210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:42:17] local.INFO: GPS data processed {"connection_id":122210,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:42:17] local.INFO: Acknowledgment sent {"connection_id":122210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:42:22] local.INFO: TCP Data received {"connection_id":122210,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:42:22] local.INFO: Processing buffer {"connection_id":122210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:42:22] local.INFO: Packet analysis {"connection_id":122210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:42:22] local.INFO: Extracted packet for processing {"connection_id":122210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:42:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497094400001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:42:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:42:22] 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-07-05 00:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783192076000,"timestamp_ms":1783192076000,"timestamp_seconds":1783192076,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e87bee0"} 
[2026-07-05 00:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:42:22] 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-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497094400001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497094400001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:42:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:42:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497094400001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":122210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:42:22] local.INFO: GPS data processed {"connection_id":122210,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:42:22] local.INFO: Acknowledgment sent {"connection_id":122210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:43:07] local.INFO: TCP Data received {"connection_id":122933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:43:07] local.INFO: Processing buffer {"connection_id":122933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:43:07] local.INFO: IMEI packet received {"connection_id":122933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":122933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:43:11] local.INFO: TCP Data received {"connection_id":122933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:43:11] local.INFO: Processing buffer {"connection_id":122933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:43:11] local.INFO: IMEI packet received {"connection_id":122933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":122933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:43:12] local.INFO: TCP Data received {"connection_id":122933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:43:12] local.INFO: Processing buffer {"connection_id":122933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e87bee0012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:43:12] local.INFO: Packet analysis {"connection_id":122933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:43:12] local.INFO: Extracted packet for processing {"connection_id":122933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e87"} 
[2026-07-05 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497094400001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:43: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-07-05 00:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783192076000,"timestamp_ms":1783192076000,"timestamp_seconds":1783192076,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e87bee0"} 
[2026-07-05 00:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497094400001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497094400001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:43:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497094400001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":122933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:43:12] local.INFO: GPS data processed {"connection_id":122933,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:43:12] local.INFO: Acknowledgment sent {"connection_id":122933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:43:36] local.INFO: TCP Data received {"connection_id":122932,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:43:36] local.INFO: Processing buffer {"connection_id":122932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:43:36] local.INFO: IMEI packet received {"connection_id":122932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":122932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:43:43] local.INFO: TCP Data received {"connection_id":122933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:43:43] local.INFO: Processing buffer {"connection_id":122933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:43:43] local.INFO: Packet analysis {"connection_id":122933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:43:43] local.INFO: Extracted packet for processing {"connection_id":122933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:43:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497171456001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:43:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:43:43] 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-07-05 00:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783192377000,"timestamp_ms":1783192377000,"timestamp_seconds":1783192377,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e8c56a8"} 
[2026-07-05 00:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:43: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-07-05 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497171456001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497171456001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:43:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:43:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497171456001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":122933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:43:44] local.INFO: GPS data processed {"connection_id":122933,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:43:44] local.INFO: Acknowledgment sent {"connection_id":122933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:44:06] local.INFO: TCP Data received {"connection_id":122211,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:44:06] local.INFO: Processing buffer {"connection_id":122211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:44:06] local.INFO: IMEI packet received {"connection_id":122211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":122211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:44:06] local.INFO: TCP Data received {"connection_id":124088,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:44:06] local.INFO: Processing buffer {"connection_id":124088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:44:06] local.INFO: IMEI packet received {"connection_id":124088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":124088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:44:12] local.INFO: TCP Data received {"connection_id":124088,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:44:12] local.INFO: Processing buffer {"connection_id":124088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:44:12] local.INFO: IMEI packet received {"connection_id":124088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":124088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:44:12] local.INFO: TCP Data received {"connection_id":124088,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:44:12] local.INFO: Processing buffer {"connection_id":124088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:44:12] local.INFO: Packet analysis {"connection_id":124088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:44:12] local.INFO: Extracted packet for processing {"connection_id":124088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:44:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497171456001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:44: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-07-05 00:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783192377000,"timestamp_ms":1783192377000,"timestamp_seconds":1783192377,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e8c56a8"} 
[2026-07-05 00:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497171456001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497171456001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:44:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497171456001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":124088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:44:12] local.INFO: GPS data processed {"connection_id":124088,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:44:12] local.INFO: Acknowledgment sent {"connection_id":124088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:44:43] local.INFO: TCP Data received {"connection_id":124088,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:44:43] local.INFO: Processing buffer {"connection_id":124088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:44:43] local.INFO: Packet analysis {"connection_id":124088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:44:43] local.INFO: Extracted packet for processing {"connection_id":124088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:44:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497171456001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:44:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:44:43] 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-07-05 00:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783192377000,"timestamp_ms":1783192377000,"timestamp_seconds":1783192377,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e8c56a8"} 
[2026-07-05 00:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:44: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-07-05 00:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:44: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-07-05 00:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497171456001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497171456001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:44:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:44:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:44:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497171456001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":124088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:44:44] local.INFO: GPS data processed {"connection_id":124088,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:44:44] local.INFO: Acknowledgment sent {"connection_id":124088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:45:06] local.INFO: TCP Data received {"connection_id":122935,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:45:06] local.INFO: Processing buffer {"connection_id":122935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:45:06] local.INFO: IMEI packet received {"connection_id":122935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":122935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:45:12] local.INFO: TCP Data received {"connection_id":122935,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:45:12] local.INFO: Processing buffer {"connection_id":122935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:45:12] local.INFO: IMEI packet received {"connection_id":122935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":122935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:45:15] local.INFO: TCP Data received {"connection_id":122935,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:45:15] local.INFO: Processing buffer {"connection_id":122935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:45:15] local.INFO: Packet analysis {"connection_id":122935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:45:15] local.INFO: Extracted packet for processing {"connection_id":122935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:45:15] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:45: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-07-05 00:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497171456001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:45:15] 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-07-05 00:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783192377000,"timestamp_ms":1783192377000,"timestamp_seconds":1783192377,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e8c56a8"} 
[2026-07-05 00:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:45: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-07-05 00:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497171456001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497171456001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:45:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:45:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497171456001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":122935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:45:15] local.INFO: GPS data processed {"connection_id":122935,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:45:15] local.INFO: Acknowledgment sent {"connection_id":122935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:45:46] local.INFO: TCP Data received {"connection_id":122935,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:45:46] local.INFO: Processing buffer {"connection_id":122935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:45:46] local.INFO: Packet analysis {"connection_id":122935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:45:46] local.INFO: Extracted packet for processing {"connection_id":122935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:45:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497171456001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:45:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:45:46] 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-07-05 00:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783192377000,"timestamp_ms":1783192377000,"timestamp_seconds":1783192377,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e8c56a8"} 
[2026-07-05 00:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497171456001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497171456001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:45:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:45:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:45:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497171456001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":122935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:45:46] local.INFO: GPS data processed {"connection_id":122935,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:45:46] local.INFO: Acknowledgment sent {"connection_id":122935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:46:12] local.INFO: TCP Data received {"connection_id":122125,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:46:12] local.INFO: Processing buffer {"connection_id":122125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:46:12] local.INFO: IMEI packet received {"connection_id":122125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":122125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:46:17] local.INFO: TCP Data received {"connection_id":122125,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:46:17] local.INFO: Processing buffer {"connection_id":122125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:46:17] local.INFO: IMEI packet received {"connection_id":122125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":122125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:46:17] local.INFO: TCP Data received {"connection_id":122125,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:46:17] local.INFO: Processing buffer {"connection_id":122125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:46:17] local.INFO: Packet analysis {"connection_id":122125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:46:17] local.INFO: Extracted packet for processing {"connection_id":122125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:46:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497171456001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:46:17] 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-07-05 00:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783192377000,"timestamp_ms":1783192377000,"timestamp_seconds":1783192377,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e8c56a8"} 
[2026-07-05 00:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497171456001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497171456001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:46:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:46:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:46:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497171456001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":122125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:46:17] local.INFO: GPS data processed {"connection_id":122125,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:46:17] local.INFO: Acknowledgment sent {"connection_id":122125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:46:22] local.INFO: TCP Data received {"connection_id":122125,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:46:22] local.INFO: Processing buffer {"connection_id":122125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:46:22] local.INFO: Packet analysis {"connection_id":122125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:46:22] local.INFO: Extracted packet for processing {"connection_id":122125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:46:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497171456001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:46:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:46:22] 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-07-05 00:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783192377000,"timestamp_ms":1783192377000,"timestamp_seconds":1783192377,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e8c56a8"} 
[2026-07-05 00:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497171456001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497171456001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:46:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:46:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:46:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497171456001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":122125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:46:22] local.INFO: GPS data processed {"connection_id":122125,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:46:22] local.INFO: Acknowledgment sent {"connection_id":122125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:47:07] local.INFO: TCP Data received {"connection_id":122212,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:47:07] local.INFO: Processing buffer {"connection_id":122212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:47:07] local.INFO: IMEI packet received {"connection_id":122212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":122212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:47:12] local.INFO: TCP Data received {"connection_id":122212,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:47:12] local.INFO: Processing buffer {"connection_id":122212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:47:12] local.INFO: IMEI packet received {"connection_id":122212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":122212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:47:12] local.INFO: TCP Data received {"connection_id":122212,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:47:12] local.INFO: Processing buffer {"connection_id":122212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:47:12] local.INFO: Packet analysis {"connection_id":122212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:47:12] local.INFO: Extracted packet for processing {"connection_id":122212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:47:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497171456001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:47: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-07-05 00:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783192377000,"timestamp_ms":1783192377000,"timestamp_seconds":1783192377,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e8c56a8"} 
[2026-07-05 00:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497171456001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497171456001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:47:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497171456001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":122212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:47:13] local.INFO: GPS data processed {"connection_id":122212,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:47:13] local.INFO: Acknowledgment sent {"connection_id":122212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:47:44] local.INFO: TCP Data received {"connection_id":122212,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:47:44] local.INFO: Processing buffer {"connection_id":122212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:47:44] local.INFO: Packet analysis {"connection_id":122212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:47:44] local.INFO: Extracted packet for processing {"connection_id":122212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:47:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497171456001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:47:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:47:44] 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-07-05 00:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783192377000,"timestamp_ms":1783192377000,"timestamp_seconds":1783192377,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e8c56a8"} 
[2026-07-05 00:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497171456001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497171456001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:47:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:47:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497171456001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":122212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:47:44] local.INFO: GPS data processed {"connection_id":122212,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:47:44] local.INFO: Acknowledgment sent {"connection_id":122212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:48:06] local.INFO: TCP Data received {"connection_id":122126,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:48:06] local.INFO: Processing buffer {"connection_id":122126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:48:06] local.INFO: IMEI packet received {"connection_id":122126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":122126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:48:12] local.INFO: TCP Data received {"connection_id":122126,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:48:12] local.INFO: Processing buffer {"connection_id":122126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:48:12] local.INFO: IMEI packet received {"connection_id":122126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":122126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:48:12] local.INFO: TCP Data received {"connection_id":122126,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:48:12] local.INFO: Processing buffer {"connection_id":122126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e8c56a8012cb2a2c007823a880041013b29..."} 
[2026-07-05 00:48:12] local.INFO: Packet analysis {"connection_id":122126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:48:12] local.INFO: Extracted packet for processing {"connection_id":122126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e8c"} 
[2026-07-05 00:48:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":65,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497171456001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:48: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-07-05 00:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783192377000,"timestamp_ms":1783192377000,"timestamp_seconds":1783192377,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e8c56a8"} 
[2026-07-05 00:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497171456001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497171456001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:48:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497171456001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":122126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:48:13] local.INFO: GPS data processed {"connection_id":122126,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:48:13] local.INFO: Acknowledgment sent {"connection_id":122126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:48:44] local.INFO: TCP Data received {"connection_id":122126,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:48:44] local.INFO: Processing buffer {"connection_id":122126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:48:44] local.INFO: Packet analysis {"connection_id":122126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:48:44] local.INFO: Extracted packet for processing {"connection_id":122126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:48:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497248512001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:48:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:48:44] 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-07-05 00:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783192678000,"timestamp_ms":1783192678000,"timestamp_seconds":1783192678,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e90ee70"} 
[2026-07-05 00:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497248512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497248512001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:48:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:48:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497248512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":122126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:48:44] local.INFO: GPS data processed {"connection_id":122126,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:48:44] local.INFO: Acknowledgment sent {"connection_id":122126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:49:12] local.INFO: TCP Data received {"connection_id":122127,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:49:12] local.INFO: Processing buffer {"connection_id":122127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:49:12] local.INFO: IMEI packet received {"connection_id":122127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":122127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:49:17] local.INFO: TCP Data received {"connection_id":122127,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:49:17] local.INFO: Processing buffer {"connection_id":122127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:49:17] local.INFO: IMEI packet received {"connection_id":122127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":122127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:49:17] local.INFO: TCP Data received {"connection_id":122127,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:49:17] local.INFO: Processing buffer {"connection_id":122127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:49:17] local.INFO: Packet analysis {"connection_id":122127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:49:17] local.INFO: Extracted packet for processing {"connection_id":122127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:49:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497248512001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:49:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:49:17] 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-07-05 00:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783192678000,"timestamp_ms":1783192678000,"timestamp_seconds":1783192678,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e90ee70"} 
[2026-07-05 00:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497248512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497248512001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:49:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:49:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:49:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497248512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":122127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:49:17] local.INFO: GPS data processed {"connection_id":122127,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:49:17] local.INFO: Acknowledgment sent {"connection_id":122127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:49:22] local.INFO: TCP Data received {"connection_id":122127,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:49:22] local.INFO: Processing buffer {"connection_id":122127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:49:22] local.INFO: Packet analysis {"connection_id":122127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:49:22] local.INFO: Extracted packet for processing {"connection_id":122127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:49:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497248512001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:49:22] 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-07-05 00:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783192678000,"timestamp_ms":1783192678000,"timestamp_seconds":1783192678,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e90ee70"} 
[2026-07-05 00:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497248512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497248512001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:49:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:49:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497248512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":122127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:49:22] local.INFO: GPS data processed {"connection_id":122127,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:49:22] local.INFO: Acknowledgment sent {"connection_id":122127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:49:26] local.INFO: TCP Data received {"connection_id":124089,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:49:26] local.INFO: Processing buffer {"connection_id":124089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:49:26] local.INFO: IMEI packet received {"connection_id":124089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":124089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:50:06] local.INFO: TCP Data received {"connection_id":122936,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:50:06] local.INFO: Processing buffer {"connection_id":122936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:50:06] local.INFO: IMEI packet received {"connection_id":122936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":122936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:50:07] local.INFO: TCP Data received {"connection_id":124090,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:50:07] local.INFO: Processing buffer {"connection_id":124090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:50:07] local.INFO: IMEI packet received {"connection_id":124090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":124090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:50:12] local.INFO: TCP Data received {"connection_id":124090,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:50:12] local.INFO: Processing buffer {"connection_id":124090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:50:12] local.INFO: IMEI packet received {"connection_id":124090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":124090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:50:13] local.INFO: TCP Data received {"connection_id":124090,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:50:13] local.INFO: Processing buffer {"connection_id":124090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:50:13] local.INFO: Packet analysis {"connection_id":124090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:50:13] local.INFO: Extracted packet for processing {"connection_id":124090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:50:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497248512001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:50:13] 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-07-05 00:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783192678000,"timestamp_ms":1783192678000,"timestamp_seconds":1783192678,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e90ee70"} 
[2026-07-05 00:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497248512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497248512001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:50:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497248512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":124090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:50:13] local.INFO: GPS data processed {"connection_id":124090,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:50:13] local.INFO: Acknowledgment sent {"connection_id":124090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:50:44] local.INFO: TCP Data received {"connection_id":124090,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:50:44] local.INFO: Processing buffer {"connection_id":124090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:50:44] local.INFO: Packet analysis {"connection_id":124090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:50:44] local.INFO: Extracted packet for processing {"connection_id":124090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:50:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497248512001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:50:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:50:44] 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-07-05 00:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783192678000,"timestamp_ms":1783192678000,"timestamp_seconds":1783192678,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e90ee70"} 
[2026-07-05 00:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497248512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497248512001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:50:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:50:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497248512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":124090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:50:44] local.INFO: GPS data processed {"connection_id":124090,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:50:44] local.INFO: Acknowledgment sent {"connection_id":124090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:51:07] local.INFO: TCP Data received {"connection_id":122128,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:51:07] local.INFO: Processing buffer {"connection_id":122128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:51:07] local.INFO: IMEI packet received {"connection_id":122128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":122128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:51:12] local.INFO: TCP Data received {"connection_id":122128,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:51:12] local.INFO: Processing buffer {"connection_id":122128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:51:12] local.INFO: IMEI packet received {"connection_id":122128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":122128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:51:12] local.INFO: TCP Data received {"connection_id":122128,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:51:12] local.INFO: Processing buffer {"connection_id":122128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:51:12] local.INFO: Packet analysis {"connection_id":122128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:51:12] local.INFO: Extracted packet for processing {"connection_id":122128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:51:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497248512001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:51: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-07-05 00:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783192678000,"timestamp_ms":1783192678000,"timestamp_seconds":1783192678,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e90ee70"} 
[2026-07-05 00:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497248512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497248512001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:51:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497248512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":122128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:51:12] local.INFO: GPS data processed {"connection_id":122128,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:51:12] local.INFO: Acknowledgment sent {"connection_id":122128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:51:44] local.INFO: TCP Data received {"connection_id":122128,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:51:44] local.INFO: Processing buffer {"connection_id":122128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:51:44] local.INFO: Packet analysis {"connection_id":122128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:51:44] local.INFO: Extracted packet for processing {"connection_id":122128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:51:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497248512001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:51:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:51:44] 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-07-05 00:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783192678000,"timestamp_ms":1783192678000,"timestamp_seconds":1783192678,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e90ee70"} 
[2026-07-05 00:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497248512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497248512001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:51:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:51:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497248512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":122128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:51:44] local.INFO: GPS data processed {"connection_id":122128,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:51:44] local.INFO: Acknowledgment sent {"connection_id":122128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:52:06] local.INFO: TCP Data received {"connection_id":122938,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:52:06] local.INFO: Processing buffer {"connection_id":122938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:52:06] local.INFO: IMEI packet received {"connection_id":122938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":122938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:52:11] local.INFO: TCP Data received {"connection_id":122938,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:52:11] local.INFO: Processing buffer {"connection_id":122938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:52:11] local.INFO: IMEI packet received {"connection_id":122938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":122938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:52:12] local.INFO: TCP Data received {"connection_id":122938,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:52:12] local.INFO: Processing buffer {"connection_id":122938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:52:12] local.INFO: Packet analysis {"connection_id":122938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:52:12] local.INFO: Extracted packet for processing {"connection_id":122938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:52:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497248512001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:52: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-07-05 00:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783192678000,"timestamp_ms":1783192678000,"timestamp_seconds":1783192678,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e90ee70"} 
[2026-07-05 00:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497248512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497248512001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:52:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497248512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":122938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:52:12] local.INFO: GPS data processed {"connection_id":122938,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:52:12] local.INFO: Acknowledgment sent {"connection_id":122938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:52:43] local.INFO: TCP Data received {"connection_id":122938,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:52:43] local.INFO: Processing buffer {"connection_id":122938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:52:43] local.INFO: Packet analysis {"connection_id":122938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:52:43] local.INFO: Extracted packet for processing {"connection_id":122938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:52:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:52: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-07-05 00:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497248512001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:52:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:52:44] 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-07-05 00:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783192678000,"timestamp_ms":1783192678000,"timestamp_seconds":1783192678,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e90ee70"} 
[2026-07-05 00:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497248512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497248512001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:52:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:52:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497248512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":122938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:52:44] local.INFO: GPS data processed {"connection_id":122938,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:52:44] local.INFO: Acknowledgment sent {"connection_id":122938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:53:06] local.INFO: TCP Data received {"connection_id":122129,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:53:06] local.INFO: Processing buffer {"connection_id":122129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:53:06] local.INFO: IMEI packet received {"connection_id":122129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":122129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:53:12] local.INFO: TCP Data received {"connection_id":122129,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:53:12] local.INFO: Processing buffer {"connection_id":122129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:53:12] local.INFO: IMEI packet received {"connection_id":122129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":122129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:53:12] local.INFO: TCP Data received {"connection_id":122129,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:53:12] local.INFO: Processing buffer {"connection_id":122129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e90ee70012cb2a2c007823a880050013b2c..."} 
[2026-07-05 00:53:12] local.INFO: Packet analysis {"connection_id":122129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:53:12] local.INFO: Extracted packet for processing {"connection_id":122129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e90"} 
[2026-07-05 00:53:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497248512001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:53: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-07-05 00:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783192678000,"timestamp_ms":1783192678000,"timestamp_seconds":1783192678,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e90ee70"} 
[2026-07-05 00:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497248512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497248512001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:53:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497248512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":122129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:53:12] local.INFO: GPS data processed {"connection_id":122129,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:53:12] local.INFO: Acknowledgment sent {"connection_id":122129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:53:44] local.INFO: TCP Data received {"connection_id":122129,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:53:44] local.INFO: Processing buffer {"connection_id":122129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:53:44] local.INFO: Packet analysis {"connection_id":122129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:53:44] local.INFO: Extracted packet for processing {"connection_id":122129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:53:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497325568001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:53:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:53:44] 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-07-05 00:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783192979000,"timestamp_ms":1783192979000,"timestamp_seconds":1783192979,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e958638"} 
[2026-07-05 00:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:53: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-07-05 00:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497325568001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497325568001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:53:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:53:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:53:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497325568001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":122129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:53:44] local.INFO: GPS data processed {"connection_id":122129,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:53:44] local.INFO: Acknowledgment sent {"connection_id":122129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:54:11] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:54:11] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:54:11] local.INFO: IMEI packet received {"connection_id":124092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":124092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:54:16] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:54:16] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:54:16] local.INFO: IMEI packet received {"connection_id":124092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":124092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:54:22] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:54:22] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:54:22] local.INFO: IMEI packet received {"connection_id":124092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":124092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:54:22] local.INFO: TCP Data received {"connection_id":124092,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:54:22] local.INFO: Processing buffer {"connection_id":124092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:54:22] local.INFO: Packet analysis {"connection_id":124092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:54:22] local.INFO: Extracted packet for processing {"connection_id":124092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:54:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497325568001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:54:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:54:22] 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-07-05 00:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783192979000,"timestamp_ms":1783192979000,"timestamp_seconds":1783192979,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e958638"} 
[2026-07-05 00:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497325568001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497325568001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:54:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:54:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:54:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497325568001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":124092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:54:22] local.INFO: GPS data processed {"connection_id":124092,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:54:22] local.INFO: Acknowledgment sent {"connection_id":124092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:55:06] local.INFO: TCP Data received {"connection_id":124093,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:55:06] local.INFO: Processing buffer {"connection_id":124093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:55:06] local.INFO: IMEI packet received {"connection_id":124093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":124093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:55:12] local.INFO: TCP Data received {"connection_id":124093,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:55:12] local.INFO: Processing buffer {"connection_id":124093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:55:12] local.INFO: IMEI packet received {"connection_id":124093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":124093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:55:12] local.INFO: TCP Data received {"connection_id":124093,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:55:12] local.INFO: Processing buffer {"connection_id":124093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:55:12] local.INFO: Packet analysis {"connection_id":124093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:55:12] local.INFO: Extracted packet for processing {"connection_id":124093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497325568001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:55: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-07-05 00:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783192979000,"timestamp_ms":1783192979000,"timestamp_seconds":1783192979,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e958638"} 
[2026-07-05 00:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497325568001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497325568001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:55:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497325568001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":124093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:55:12] local.INFO: GPS data processed {"connection_id":124093,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:55:12] local.INFO: Acknowledgment sent {"connection_id":124093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:55:21] local.INFO: TCP Data received {"connection_id":122940,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:55:21] local.INFO: Processing buffer {"connection_id":122940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:55:21] local.INFO: IMEI packet received {"connection_id":122940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":122940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:55:46] local.INFO: TCP Data received {"connection_id":124093,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:55:46] local.INFO: Processing buffer {"connection_id":124093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:55:46] local.INFO: Packet analysis {"connection_id":124093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:55:46] local.INFO: Extracted packet for processing {"connection_id":124093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:55:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497325568001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:55:46] 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-07-05 00:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783192979000,"timestamp_ms":1783192979000,"timestamp_seconds":1783192979,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e958638"} 
[2026-07-05 00:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:55: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-07-05 00:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497325568001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497325568001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:55:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:55:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497325568001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":124093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:55:46] local.INFO: GPS data processed {"connection_id":124093,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:55:46] local.INFO: Acknowledgment sent {"connection_id":124093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:56:06] local.INFO: TCP Data received {"connection_id":122130,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:56:06] local.INFO: Processing buffer {"connection_id":122130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 00:56:06] local.INFO: IMEI packet received {"connection_id":122130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 00:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":122130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:56:06] local.INFO: TCP Data received {"connection_id":122216,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:56:06] local.INFO: Processing buffer {"connection_id":122216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:56:06] local.INFO: IMEI packet received {"connection_id":122216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":122216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:56:12] local.INFO: TCP Data received {"connection_id":122216,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:56:12] local.INFO: Processing buffer {"connection_id":122216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:56:12] local.INFO: IMEI packet received {"connection_id":122216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":122216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:56:13] local.INFO: TCP Data received {"connection_id":122216,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:56:13] local.INFO: Processing buffer {"connection_id":122216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:56:13] local.INFO: Packet analysis {"connection_id":122216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:56:13] local.INFO: Extracted packet for processing {"connection_id":122216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:56:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497325568001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:56:13] 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-07-05 00:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783192979000,"timestamp_ms":1783192979000,"timestamp_seconds":1783192979,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e958638"} 
[2026-07-05 00:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497325568001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497325568001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:56:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:56:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497325568001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":122216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:56:13] local.INFO: GPS data processed {"connection_id":122216,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:56:13] local.INFO: Acknowledgment sent {"connection_id":122216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:56:44] local.INFO: TCP Data received {"connection_id":122216,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:56:44] local.INFO: Processing buffer {"connection_id":122216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:56:44] local.INFO: Packet analysis {"connection_id":122216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:56:44] local.INFO: Extracted packet for processing {"connection_id":122216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:56:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497325568001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:56:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:56:44] 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-07-05 00:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783192979000,"timestamp_ms":1783192979000,"timestamp_seconds":1783192979,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e958638"} 
[2026-07-05 00:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:56: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-07-05 00:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497325568001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497325568001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:56:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:56:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:56:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497325568001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":122216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:56:44] local.INFO: GPS data processed {"connection_id":122216,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:56:44] local.INFO: Acknowledgment sent {"connection_id":122216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:57:06] local.INFO: TCP Data received {"connection_id":124094,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:57:06] local.INFO: Processing buffer {"connection_id":124094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:57:06] local.INFO: IMEI packet received {"connection_id":124094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":124094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:57:12] local.INFO: TCP Data received {"connection_id":124094,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:57:12] local.INFO: Processing buffer {"connection_id":124094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:57:12] local.INFO: IMEI packet received {"connection_id":124094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":124094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:57:12] local.INFO: TCP Data received {"connection_id":124094,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:57:12] local.INFO: Processing buffer {"connection_id":124094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:57:12] local.INFO: Packet analysis {"connection_id":124094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:57:12] local.INFO: Extracted packet for processing {"connection_id":124094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:57:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497325568001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:57:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:57: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-07-05 00:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783192979000,"timestamp_ms":1783192979000,"timestamp_seconds":1783192979,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e958638"} 
[2026-07-05 00:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497325568001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497325568001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:57:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:57:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497325568001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":124094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:57:12] local.INFO: GPS data processed {"connection_id":124094,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:57:12] local.INFO: Acknowledgment sent {"connection_id":124094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:57:44] local.INFO: TCP Data received {"connection_id":124094,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:57:44] local.INFO: Processing buffer {"connection_id":124094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:57:44] local.INFO: Packet analysis {"connection_id":124094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:57:44] local.INFO: Extracted packet for processing {"connection_id":124094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:57:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497325568001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:57:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:57:44] 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-07-05 00:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783192979000,"timestamp_ms":1783192979000,"timestamp_seconds":1783192979,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e958638"} 
[2026-07-05 00:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:57: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-07-05 00:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497325568001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497325568001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:57:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:57:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:57:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497325568001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":124094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:57:44] local.INFO: GPS data processed {"connection_id":124094,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:57:44] local.INFO: Acknowledgment sent {"connection_id":124094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:58:06] local.INFO: TCP Data received {"connection_id":124097,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:58:06] local.INFO: Processing buffer {"connection_id":124097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:58:06] local.INFO: IMEI packet received {"connection_id":124097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":124097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:58:12] local.INFO: TCP Data received {"connection_id":124097,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:58:12] local.INFO: Processing buffer {"connection_id":124097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:58:12] local.INFO: IMEI packet received {"connection_id":124097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":124097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:58:12] local.INFO: TCP Data received {"connection_id":124097,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:58:13] local.INFO: Processing buffer {"connection_id":124097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e958638012cb2a2c007823a880050013b2a..."} 
[2026-07-05 00:58:13] local.INFO: Packet analysis {"connection_id":124097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:58:13] local.INFO: Extracted packet for processing {"connection_id":124097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e95"} 
[2026-07-05 00:58:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497325568001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:58:13] 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-07-05 00:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783192979000,"timestamp_ms":1783192979000,"timestamp_seconds":1783192979,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e958638"} 
[2026-07-05 00:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 00:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497325568001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497325568001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:58:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497325568001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":124097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:58:13] local.INFO: GPS data processed {"connection_id":124097,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:58:13] local.INFO: Acknowledgment sent {"connection_id":124097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:58:44] local.INFO: TCP Data received {"connection_id":124097,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 00:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 00:58:44] local.INFO: Processing buffer {"connection_id":124097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 00:58:44] local.INFO: Packet analysis {"connection_id":124097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 00:58:44] local.INFO: Extracted packet for processing {"connection_id":124097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 00:58:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 00:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497402624001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:58:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:58:44] 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-07-05 00:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783193280000,"timestamp_ms":1783193280000,"timestamp_seconds":1783193280,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9a1e00"} 
[2026-07-05 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-07-05 00:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 00:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497402624001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497402624001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:58:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:58:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497402624001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":124097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:58:44] local.INFO: GPS data processed {"connection_id":124097,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:58:44] local.INFO: Acknowledgment sent {"connection_id":124097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:59:12] local.INFO: TCP Data received {"connection_id":124099,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:59:12] local.INFO: Processing buffer {"connection_id":124099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:59:12] local.INFO: IMEI packet received {"connection_id":124099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 00:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":124099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 00:59:18] local.INFO: TCP Data received {"connection_id":124099,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:59:18] local.INFO: Processing buffer {"connection_id":124099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 00:59:18] local.INFO: IMEI packet received {"connection_id":124099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 00:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":124099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 00:59:18] local.INFO: TCP Data received {"connection_id":124099,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 00:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 00:59:18] local.INFO: Processing buffer {"connection_id":124099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 00:59:18] local.INFO: Packet analysis {"connection_id":124099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 00:59:18] local.INFO: Extracted packet for processing {"connection_id":124099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 00:59:18] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 00:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497402624001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:59:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:59:18] 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-07-05 00:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783193280000,"timestamp_ms":1783193280000,"timestamp_seconds":1783193280,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9a1e00"} 
[2026-07-05 00:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 00:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497402624001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497402624001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:59:18] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:59:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:59:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497402624001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":124099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:59:18] local.INFO: GPS data processed {"connection_id":124099,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:59:18] local.INFO: Acknowledgment sent {"connection_id":124099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 00:59:49] local.INFO: TCP Data received {"connection_id":124099,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 00:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 00:59:49] local.INFO: Processing buffer {"connection_id":124099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 00:59:49] local.INFO: Packet analysis {"connection_id":124099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 00:59:49] local.INFO: Extracted packet for processing {"connection_id":124099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 00:59:49] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 00: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-07-05 00:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497402624001,"note":"Value kept but may cause issues"} 
[2026-07-05 00:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 00:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 00:59:49] 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-07-05 00:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783193280000,"timestamp_ms":1783193280000,"timestamp_seconds":1783193280,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9a1e00"} 
[2026-07-05 00:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 00:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 00:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 00: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-07-05 00:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 00:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 00:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 00:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 00:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 00:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 00:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 00:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497402624001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 00:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 00:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 00:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497402624001,"description":"Unknown IO ID 0"} 
[2026-07-05 00:59:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 00:59:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 00:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 00:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 00:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497402624001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 00:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":124099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 00:59:49] local.INFO: GPS data processed {"connection_id":124099,"processed":1,"errors":0,"total":1} 
[2026-07-05 00:59:49] local.INFO: Acknowledgment sent {"connection_id":124099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:00:06] local.INFO: TCP Data received {"connection_id":122217,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:00:06] local.INFO: Processing buffer {"connection_id":122217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:00:06] local.INFO: IMEI packet received {"connection_id":122217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":122217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:00:12] local.INFO: TCP Data received {"connection_id":122217,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:00:12] local.INFO: Processing buffer {"connection_id":122217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:00:12] local.INFO: IMEI packet received {"connection_id":122217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":122217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:00:12] local.INFO: TCP Data received {"connection_id":122217,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:00:12] local.INFO: Processing buffer {"connection_id":122217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:00:12] local.INFO: Packet analysis {"connection_id":122217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:00:12] local.INFO: Extracted packet for processing {"connection_id":122217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:00:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497402624001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:00: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-07-05 01:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783193280000,"timestamp_ms":1783193280000,"timestamp_seconds":1783193280,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9a1e00"} 
[2026-07-05 01:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497402624001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497402624001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:00:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497402624001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":122217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:00:12] local.INFO: GPS data processed {"connection_id":122217,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:00:12] local.INFO: Acknowledgment sent {"connection_id":122217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:00:44] local.INFO: TCP Data received {"connection_id":122217,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:00:44] local.INFO: Processing buffer {"connection_id":122217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:00:44] local.INFO: Packet analysis {"connection_id":122217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:00:44] local.INFO: Extracted packet for processing {"connection_id":122217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:00:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497402624001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:00:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:00:44] 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-07-05 01:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783193280000,"timestamp_ms":1783193280000,"timestamp_seconds":1783193280,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9a1e00"} 
[2026-07-05 01:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497402624001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497402624001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:00:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:00:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497402624001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":122217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:00:44] local.INFO: GPS data processed {"connection_id":122217,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:00:44] local.INFO: Acknowledgment sent {"connection_id":122217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:01:06] local.INFO: TCP Data received {"connection_id":122133,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:01:06] local.INFO: Processing buffer {"connection_id":122133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:01:06] local.INFO: IMEI packet received {"connection_id":122133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":122133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:01:12] local.INFO: TCP Data received {"connection_id":122133,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:01:12] local.INFO: Processing buffer {"connection_id":122133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:01:12] local.INFO: IMEI packet received {"connection_id":122133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":122133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:01:15] local.INFO: TCP Data received {"connection_id":122133,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:01:15] local.INFO: Processing buffer {"connection_id":122133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:01:15] local.INFO: Packet analysis {"connection_id":122133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:01:15] local.INFO: Extracted packet for processing {"connection_id":122133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:01:15] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497402624001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:01:15] 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-07-05 01:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783193280000,"timestamp_ms":1783193280000,"timestamp_seconds":1783193280,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9a1e00"} 
[2026-07-05 01:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497402624001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497402624001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:01:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497402624001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":122133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:01:15] local.INFO: GPS data processed {"connection_id":122133,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:01:15] local.INFO: Acknowledgment sent {"connection_id":122133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:01:26] local.INFO: TCP Data received {"connection_id":122132,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:01:26] local.INFO: Processing buffer {"connection_id":122132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:01:26] local.INFO: IMEI packet received {"connection_id":122132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":122132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:01:49] local.INFO: TCP Data received {"connection_id":122133,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:01:49] local.INFO: Processing buffer {"connection_id":122133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:01:49] local.INFO: Packet analysis {"connection_id":122133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:01:49] local.INFO: Extracted packet for processing {"connection_id":122133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:01:49] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497402624001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:01:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:01:49] 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-07-05 01:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783193280000,"timestamp_ms":1783193280000,"timestamp_seconds":1783193280,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9a1e00"} 
[2026-07-05 01:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497402624001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497402624001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:01:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:01:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:01:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497402624001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":122133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:01:49] local.INFO: GPS data processed {"connection_id":122133,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:01:49] local.INFO: Acknowledgment sent {"connection_id":122133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:02:06] local.INFO: TCP Data received {"connection_id":122218,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:02:06] local.INFO: Processing buffer {"connection_id":122218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:02:06] local.INFO: IMEI packet received {"connection_id":122218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":122218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:02:12] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:02:12] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:02:12] local.INFO: IMEI packet received {"connection_id":124100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":124100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:02:17] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:02:17] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:02:17] local.INFO: IMEI packet received {"connection_id":124100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":124100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:02:17] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:02:17] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:02:17] local.INFO: Packet analysis {"connection_id":124100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:02:17] local.INFO: Extracted packet for processing {"connection_id":124100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:02:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497402624001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:02:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:02:17] 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-07-05 01:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783193280000,"timestamp_ms":1783193280000,"timestamp_seconds":1783193280,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9a1e00"} 
[2026-07-05 01:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497402624001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497402624001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:02:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:02:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:02:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497402624001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":124100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:02:17] local.INFO: GPS data processed {"connection_id":124100,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:02:17] local.INFO: Acknowledgment sent {"connection_id":124100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:02:22] local.INFO: TCP Data received {"connection_id":124100,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:02:22] local.INFO: Processing buffer {"connection_id":124100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:02:22] local.INFO: Packet analysis {"connection_id":124100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:02:22] local.INFO: Extracted packet for processing {"connection_id":124100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:02:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497402624001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:02:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:02:22] 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-07-05 01:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783193280000,"timestamp_ms":1783193280000,"timestamp_seconds":1783193280,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9a1e00"} 
[2026-07-05 01:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497402624001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497402624001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:02:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:02:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:02:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497402624001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":124100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:02:22] local.INFO: GPS data processed {"connection_id":124100,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:02:22] local.INFO: Acknowledgment sent {"connection_id":124100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:03:07] local.INFO: TCP Data received {"connection_id":122134,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:03:07] local.INFO: Processing buffer {"connection_id":122134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:03:07] local.INFO: IMEI packet received {"connection_id":122134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":122134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:03:12] local.INFO: TCP Data received {"connection_id":122134,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:03:12] local.INFO: Processing buffer {"connection_id":122134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:03:12] local.INFO: IMEI packet received {"connection_id":122134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":122134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:03:12] local.INFO: TCP Data received {"connection_id":122134,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:03:12] local.INFO: Processing buffer {"connection_id":122134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9a1e00012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:03:12] local.INFO: Packet analysis {"connection_id":122134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:03:12] local.INFO: Extracted packet for processing {"connection_id":122134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9a"} 
[2026-07-05 01:03:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497402624001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:03: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-07-05 01:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783193280000,"timestamp_ms":1783193280000,"timestamp_seconds":1783193280,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9a1e00"} 
[2026-07-05 01:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497402624001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497402624001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:03:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497402624001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":122134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:03:12] local.INFO: GPS data processed {"connection_id":122134,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:03:12] local.INFO: Acknowledgment sent {"connection_id":122134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:03:44] local.INFO: TCP Data received {"connection_id":122134,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:03:44] local.INFO: Processing buffer {"connection_id":122134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:03:44] local.INFO: Packet analysis {"connection_id":122134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:03:44] local.INFO: Extracted packet for processing {"connection_id":122134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:03:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497479680001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:03:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:03:44] 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-07-05 01:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783193581000,"timestamp_ms":1783193581000,"timestamp_seconds":1783193581,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9eb5c8"} 
[2026-07-05 01:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497479680001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497479680001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:03:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:03:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:03:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497479680001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":122134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:03:44] local.INFO: GPS data processed {"connection_id":122134,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:03:44] local.INFO: Acknowledgment sent {"connection_id":122134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:04:06] local.INFO: TCP Data received {"connection_id":122942,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:04:06] local.INFO: Processing buffer {"connection_id":122942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:04:06] local.INFO: IMEI packet received {"connection_id":122942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":122942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:04:12] local.INFO: TCP Data received {"connection_id":122942,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:04:12] local.INFO: Processing buffer {"connection_id":122942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:04:12] local.INFO: IMEI packet received {"connection_id":122942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":122942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:04:12] local.INFO: TCP Data received {"connection_id":122942,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:04:12] local.INFO: Processing buffer {"connection_id":122942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:04:12] local.INFO: Packet analysis {"connection_id":122942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:04:12] local.INFO: Extracted packet for processing {"connection_id":122942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:04:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 01:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497479680001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:04: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-07-05 01:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783193581000,"timestamp_ms":1783193581000,"timestamp_seconds":1783193581,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9eb5c8"} 
[2026-07-05 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-07-05 01:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 01:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497479680001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497479680001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:04:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497479680001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":122942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:04:12] local.INFO: GPS data processed {"connection_id":122942,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:04:12] local.INFO: Acknowledgment sent {"connection_id":122942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:04:46] local.INFO: TCP Data received {"connection_id":122942,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:04:46] local.INFO: Processing buffer {"connection_id":122942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:04:46] local.INFO: Packet analysis {"connection_id":122942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:04:46] local.INFO: Extracted packet for processing {"connection_id":122942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:04:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497479680001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:04:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:04:46] 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-07-05 01:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783193581000,"timestamp_ms":1783193581000,"timestamp_seconds":1783193581,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9eb5c8"} 
[2026-07-05 01:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497479680001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497479680001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:04:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:04:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:04:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497479680001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":122942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:04:46] local.INFO: GPS data processed {"connection_id":122942,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:04:46] local.INFO: Acknowledgment sent {"connection_id":122942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:05:06] local.INFO: TCP Data received {"connection_id":122136,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:05:06] local.INFO: Processing buffer {"connection_id":122136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:05:06] local.INFO: IMEI packet received {"connection_id":122136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":122136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:05:12] local.INFO: TCP Data received {"connection_id":122136,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:05:12] local.INFO: Processing buffer {"connection_id":122136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:05:12] local.INFO: IMEI packet received {"connection_id":122136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":122136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:05:13] local.INFO: TCP Data received {"connection_id":122136,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:05:13] local.INFO: Processing buffer {"connection_id":122136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:05:13] local.INFO: Packet analysis {"connection_id":122136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:05:13] local.INFO: Extracted packet for processing {"connection_id":122136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:05:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497479680001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:05:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:05:13] 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-07-05 01:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783193581000,"timestamp_ms":1783193581000,"timestamp_seconds":1783193581,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9eb5c8"} 
[2026-07-05 01:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497479680001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497479680001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:05:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:05:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497479680001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":122136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:05:13] local.INFO: GPS data processed {"connection_id":122136,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:05:13] local.INFO: Acknowledgment sent {"connection_id":122136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:05:44] local.INFO: TCP Data received {"connection_id":122136,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:05:44] local.INFO: Processing buffer {"connection_id":122136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:05:44] local.INFO: Packet analysis {"connection_id":122136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:05:44] local.INFO: Extracted packet for processing {"connection_id":122136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:05:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497479680001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:05:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:05:44] 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-07-05 01:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783193581000,"timestamp_ms":1783193581000,"timestamp_seconds":1783193581,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9eb5c8"} 
[2026-07-05 01:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497479680001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497479680001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:05:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:05:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497479680001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":122136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:05:44] local.INFO: GPS data processed {"connection_id":122136,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:05:44] local.INFO: Acknowledgment sent {"connection_id":122136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:06:06] local.INFO: TCP Data received {"connection_id":122222,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:06:06] local.INFO: Processing buffer {"connection_id":122222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:06:06] local.INFO: IMEI packet received {"connection_id":122222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":122222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:06:12] local.INFO: TCP Data received {"connection_id":122222,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:06:12] local.INFO: Processing buffer {"connection_id":122222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:06:12] local.INFO: IMEI packet received {"connection_id":122222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":122222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:06:12] local.INFO: TCP Data received {"connection_id":122222,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:06:12] local.INFO: Processing buffer {"connection_id":122222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:06:12] local.INFO: Packet analysis {"connection_id":122222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:06:12] local.INFO: Extracted packet for processing {"connection_id":122222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:06:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497479680001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:06: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-07-05 01:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783193581000,"timestamp_ms":1783193581000,"timestamp_seconds":1783193581,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9eb5c8"} 
[2026-07-05 01:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497479680001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497479680001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:06:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497479680001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":122222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:06:12] local.INFO: GPS data processed {"connection_id":122222,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:06:12] local.INFO: Acknowledgment sent {"connection_id":122222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:06:44] local.INFO: TCP Data received {"connection_id":122222,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:06:44] local.INFO: Processing buffer {"connection_id":122222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:06:44] local.INFO: Packet analysis {"connection_id":122222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:06:44] local.INFO: Extracted packet for processing {"connection_id":122222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:06:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497479680001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:06:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:06:44] 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-07-05 01:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783193581000,"timestamp_ms":1783193581000,"timestamp_seconds":1783193581,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9eb5c8"} 
[2026-07-05 01:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497479680001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497479680001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:06:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:06:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:06:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497479680001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":122222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:06:44] local.INFO: GPS data processed {"connection_id":122222,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:06:44] local.INFO: Acknowledgment sent {"connection_id":122222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:07:12] local.INFO: TCP Data received {"connection_id":122943,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:07:12] local.INFO: Processing buffer {"connection_id":122943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:07:12] local.INFO: IMEI packet received {"connection_id":122943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":122943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:07:17] local.INFO: TCP Data received {"connection_id":122943,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:07:17] local.INFO: Processing buffer {"connection_id":122943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:07:17] local.INFO: IMEI packet received {"connection_id":122943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":122943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:07:18] local.INFO: TCP Data received {"connection_id":122943,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:07:18] local.INFO: Processing buffer {"connection_id":122943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:07:18] local.INFO: Packet analysis {"connection_id":122943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:07:18] local.INFO: Extracted packet for processing {"connection_id":122943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:07:18] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497479680001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:07:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:07:18] 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-07-05 01:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783193581000,"timestamp_ms":1783193581000,"timestamp_seconds":1783193581,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9eb5c8"} 
[2026-07-05 01:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497479680001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497479680001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:07:18] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:07:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:07:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497479680001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":122943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:07:18] local.INFO: GPS data processed {"connection_id":122943,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:07:18] local.INFO: Acknowledgment sent {"connection_id":122943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:07:22] local.INFO: TCP Data received {"connection_id":122943,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:07:22] local.INFO: Processing buffer {"connection_id":122943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:07:22] local.INFO: Packet analysis {"connection_id":122943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:07:22] local.INFO: Extracted packet for processing {"connection_id":122943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:07:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497479680001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:07:22] 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-07-05 01:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783193581000,"timestamp_ms":1783193581000,"timestamp_seconds":1783193581,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9eb5c8"} 
[2026-07-05 01:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497479680001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497479680001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:07:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497479680001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":122943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:07:22] local.INFO: GPS data processed {"connection_id":122943,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:07:22] local.INFO: Acknowledgment sent {"connection_id":122943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:07:31] local.INFO: TCP Data received {"connection_id":122223,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:07:31] local.INFO: Processing buffer {"connection_id":122223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:07:31] local.INFO: IMEI packet received {"connection_id":122223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":122223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:08:07] local.INFO: TCP Data received {"connection_id":122944,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:08:07] local.INFO: Processing buffer {"connection_id":122944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:08:07] local.INFO: IMEI packet received {"connection_id":122944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":122944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:08:11] local.INFO: TCP Data received {"connection_id":122137,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:08:11] local.INFO: Processing buffer {"connection_id":122137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:08:11] local.INFO: IMEI packet received {"connection_id":122137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":122137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:08:12] local.INFO: TCP Data received {"connection_id":122944,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:08:12] local.INFO: Processing buffer {"connection_id":122944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:08:12] local.INFO: IMEI packet received {"connection_id":122944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":122944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:08:13] local.INFO: TCP Data received {"connection_id":122944,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:08:13] local.INFO: Processing buffer {"connection_id":122944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2e9eb5c8012cb2a2c007823a880050013b2d..."} 
[2026-07-05 01:08:13] local.INFO: Packet analysis {"connection_id":122944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:08:13] local.INFO: Extracted packet for processing {"connection_id":122944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2e9e"} 
[2026-07-05 01:08:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497479680001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:08:13] 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-07-05 01:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783193581000,"timestamp_ms":1783193581000,"timestamp_seconds":1783193581,"priority":1,"record_length":96,"hex_timestamp":"0000019f2e9eb5c8"} 
[2026-07-05 01:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497479680001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497479680001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:08:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497479680001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":122944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:08:13] local.INFO: GPS data processed {"connection_id":122944,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:08:13] local.INFO: Acknowledgment sent {"connection_id":122944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:08:44] local.INFO: TCP Data received {"connection_id":122944,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:08:44] local.INFO: Processing buffer {"connection_id":122944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:08:44] local.INFO: Packet analysis {"connection_id":122944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:08:44] local.INFO: Extracted packet for processing {"connection_id":122944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:08:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497556736001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:08:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:08:44] 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-07-05 01:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783193882000,"timestamp_ms":1783193882000,"timestamp_seconds":1783193882,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea34d90"} 
[2026-07-05 01:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497556736001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497556736001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:08:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:08:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:08:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497556736001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":122944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:08:44] local.INFO: GPS data processed {"connection_id":122944,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:08:44] local.INFO: Acknowledgment sent {"connection_id":122944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:09:06] local.INFO: TCP Data received {"connection_id":124101,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:09:06] local.INFO: Processing buffer {"connection_id":124101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:09:06] local.INFO: IMEI packet received {"connection_id":124101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":124101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:09:12] local.INFO: TCP Data received {"connection_id":124101,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:09:12] local.INFO: Processing buffer {"connection_id":124101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:09:12] local.INFO: IMEI packet received {"connection_id":124101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":124101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:09:12] local.INFO: TCP Data received {"connection_id":124101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:09:12] local.INFO: Processing buffer {"connection_id":124101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:09:12] local.INFO: Packet analysis {"connection_id":124101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:09:12] local.INFO: Extracted packet for processing {"connection_id":124101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:09:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497556736001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:09: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-07-05 01:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783193882000,"timestamp_ms":1783193882000,"timestamp_seconds":1783193882,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea34d90"} 
[2026-07-05 01:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497556736001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497556736001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:09:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497556736001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":124101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:09:12] local.INFO: GPS data processed {"connection_id":124101,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:09:12] local.INFO: Acknowledgment sent {"connection_id":124101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:09:44] local.INFO: TCP Data received {"connection_id":124101,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:09:44] local.INFO: Processing buffer {"connection_id":124101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:09:44] local.INFO: Packet analysis {"connection_id":124101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:09:44] local.INFO: Extracted packet for processing {"connection_id":124101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:09:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497556736001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:09:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:09:44] 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-07-05 01:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783193882000,"timestamp_ms":1783193882000,"timestamp_seconds":1783193882,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea34d90"} 
[2026-07-05 01:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497556736001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497556736001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:09:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:09:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497556736001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":124101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:09:44] local.INFO: GPS data processed {"connection_id":124101,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:09:44] local.INFO: Acknowledgment sent {"connection_id":124101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:10:06] local.INFO: TCP Data received {"connection_id":122138,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:10:06] local.INFO: Processing buffer {"connection_id":122138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:10:06] local.INFO: IMEI packet received {"connection_id":122138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":122138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:10:13] local.INFO: TCP Data received {"connection_id":122138,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:10:13] local.INFO: Processing buffer {"connection_id":122138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:10:13] local.INFO: IMEI packet received {"connection_id":122138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":122138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:10:14] local.INFO: TCP Data received {"connection_id":122138,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:10:14] local.INFO: Processing buffer {"connection_id":122138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:10:14] local.INFO: Packet analysis {"connection_id":122138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:10:14] local.INFO: Extracted packet for processing {"connection_id":122138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:10:14] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497556736001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:10:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:10:14] 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-07-05 01:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783193882000,"timestamp_ms":1783193882000,"timestamp_seconds":1783193882,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea34d90"} 
[2026-07-05 01:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497556736001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497556736001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:10:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:10:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497556736001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":122138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:10:14] local.INFO: GPS data processed {"connection_id":122138,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:10:14] local.INFO: Acknowledgment sent {"connection_id":122138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:10:18] local.INFO: TCP Data received {"connection_id":122138,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:10:18] local.INFO: Processing buffer {"connection_id":122138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:10:18] local.INFO: Packet analysis {"connection_id":122138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:10:18] local.INFO: Extracted packet for processing {"connection_id":122138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:10:18] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:10: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-07-05 01:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497556736001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:10:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:10:18] 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-07-05 01:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783193882000,"timestamp_ms":1783193882000,"timestamp_seconds":1783193882,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea34d90"} 
[2026-07-05 01:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:10: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-07-05 01:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497556736001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497556736001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:10:18] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:10:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:10:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497556736001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":122138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:10:18] local.INFO: GPS data processed {"connection_id":122138,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:10:18] local.INFO: Acknowledgment sent {"connection_id":122138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:10:52] local.INFO: TCP Data received {"connection_id":122138,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:10:52] local.INFO: Processing buffer {"connection_id":122138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:10:52] local.INFO: Packet analysis {"connection_id":122138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:10:52] local.INFO: Extracted packet for processing {"connection_id":122138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:10:52] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497556736001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:10:52] 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-07-05 01:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783193882000,"timestamp_ms":1783193882000,"timestamp_seconds":1783193882,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea34d90"} 
[2026-07-05 01:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":122138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":122138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":122138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497556736001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497556736001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:10:52] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497556736001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":122138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:10:52] local.INFO: GPS data processed {"connection_id":122138,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:10:52] local.INFO: Acknowledgment sent {"connection_id":122138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:11:06] local.INFO: TCP Data received {"connection_id":122140,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:11:06] local.INFO: Processing buffer {"connection_id":122140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:11:06] local.INFO: IMEI packet received {"connection_id":122140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":122140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:11:12] local.INFO: TCP Data received {"connection_id":122140,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:11:12] local.INFO: Processing buffer {"connection_id":122140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:11:12] local.INFO: IMEI packet received {"connection_id":122140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":122140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:11:13] local.INFO: TCP Data received {"connection_id":122140,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:11:13] local.INFO: Processing buffer {"connection_id":122140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:11:13] local.INFO: Packet analysis {"connection_id":122140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:11:13] local.INFO: Extracted packet for processing {"connection_id":122140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:11:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497556736001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:11:13] 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-07-05 01:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783193882000,"timestamp_ms":1783193882000,"timestamp_seconds":1783193882,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea34d90"} 
[2026-07-05 01:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497556736001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497556736001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:11:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497556736001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":122140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:11:13] local.INFO: GPS data processed {"connection_id":122140,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:11:13] local.INFO: Acknowledgment sent {"connection_id":122140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:11:44] local.INFO: TCP Data received {"connection_id":122140,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:11:44] local.INFO: Processing buffer {"connection_id":122140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:11:44] local.INFO: Packet analysis {"connection_id":122140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:11:44] local.INFO: Extracted packet for processing {"connection_id":122140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:11:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497556736001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:11:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:11:44] 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-07-05 01:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783193882000,"timestamp_ms":1783193882000,"timestamp_seconds":1783193882,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea34d90"} 
[2026-07-05 01:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497556736001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497556736001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:11:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:11:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497556736001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":122140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:11:44] local.INFO: GPS data processed {"connection_id":122140,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:11:44] local.INFO: Acknowledgment sent {"connection_id":122140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:12:12] local.INFO: TCP Data received {"connection_id":122141,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:12:12] local.INFO: Processing buffer {"connection_id":122141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:12:12] local.INFO: IMEI packet received {"connection_id":122141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":122141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:12:17] local.INFO: TCP Data received {"connection_id":122141,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:12:17] local.INFO: Processing buffer {"connection_id":122141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:12:17] local.INFO: IMEI packet received {"connection_id":122141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":122141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:12:17] local.INFO: TCP Data received {"connection_id":122141,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:12:17] local.INFO: Processing buffer {"connection_id":122141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:12:17] local.INFO: Packet analysis {"connection_id":122141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:12:17] local.INFO: Extracted packet for processing {"connection_id":122141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:12:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497556736001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:12:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:12:17] 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-07-05 01:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783193882000,"timestamp_ms":1783193882000,"timestamp_seconds":1783193882,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea34d90"} 
[2026-07-05 01:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497556736001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497556736001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:12:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:12:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:12:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497556736001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":122141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:12:17] local.INFO: GPS data processed {"connection_id":122141,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:12:17] local.INFO: Acknowledgment sent {"connection_id":122141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:12:22] local.INFO: TCP Data received {"connection_id":122141,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:12:22] local.INFO: Processing buffer {"connection_id":122141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:12:22] local.INFO: Packet analysis {"connection_id":122141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:12:22] local.INFO: Extracted packet for processing {"connection_id":122141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:12:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497556736001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:12:22] 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-07-05 01:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783193882000,"timestamp_ms":1783193882000,"timestamp_seconds":1783193882,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea34d90"} 
[2026-07-05 01:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497556736001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497556736001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:12:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497556736001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":122141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:12:22] local.INFO: GPS data processed {"connection_id":122141,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:12:22] local.INFO: Acknowledgment sent {"connection_id":122141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:13:07] local.INFO: TCP Data received {"connection_id":122227,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:13:07] local.INFO: Processing buffer {"connection_id":122227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:13:07] local.INFO: IMEI packet received {"connection_id":122227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":122227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:13:12] local.INFO: TCP Data received {"connection_id":122227,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:13:12] local.INFO: Processing buffer {"connection_id":122227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:13:12] local.INFO: IMEI packet received {"connection_id":122227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":122227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:13:12] local.INFO: TCP Data received {"connection_id":122227,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:13:12] local.INFO: Processing buffer {"connection_id":122227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea34d90012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:13:12] local.INFO: Packet analysis {"connection_id":122227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:13:12] local.INFO: Extracted packet for processing {"connection_id":122227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea3"} 
[2026-07-05 01:13:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497556736001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:13: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-07-05 01:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783193882000,"timestamp_ms":1783193882000,"timestamp_seconds":1783193882,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea34d90"} 
[2026-07-05 01:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497556736001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 01:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497556736001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:13:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 01:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 01:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497556736001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":122227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:13:13] local.INFO: GPS data processed {"connection_id":122227,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:13:13] local.INFO: Acknowledgment sent {"connection_id":122227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:13:41] local.INFO: TCP Data received {"connection_id":122228,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:13:41] local.INFO: Processing buffer {"connection_id":122228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:13:41] local.INFO: IMEI packet received {"connection_id":122228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":122228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:13:44] local.INFO: TCP Data received {"connection_id":122227,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:13:44] local.INFO: Processing buffer {"connection_id":122227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:13:44] local.INFO: Packet analysis {"connection_id":122227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:13:44] local.INFO: Extracted packet for processing {"connection_id":122227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:13:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497633792001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:13:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783194182000,"timestamp_ms":1783194182000,"timestamp_seconds":1783194182,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea7e170"} 
[2026-07-05 01:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497633792001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497633792001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:13:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:13:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497633792001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":122227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:13:44] local.INFO: GPS data processed {"connection_id":122227,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:13:44] local.INFO: Acknowledgment sent {"connection_id":122227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:14:06] local.INFO: TCP Data received {"connection_id":124102,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:14:06] local.INFO: Processing buffer {"connection_id":124102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:14:06] local.INFO: IMEI packet received {"connection_id":124102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":124102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:14:07] local.INFO: TCP Data received {"connection_id":124103,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:14:07] local.INFO: Processing buffer {"connection_id":124103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:14:07] local.INFO: IMEI packet received {"connection_id":124103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":124103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:14:12] local.INFO: TCP Data received {"connection_id":124103,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:14:12] local.INFO: Processing buffer {"connection_id":124103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:14:12] local.INFO: IMEI packet received {"connection_id":124103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":124103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:14:13] local.INFO: TCP Data received {"connection_id":124103,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:14:13] local.INFO: Processing buffer {"connection_id":124103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:14:13] local.INFO: Packet analysis {"connection_id":124103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:14:13] local.INFO: Extracted packet for processing {"connection_id":124103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:14:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497633792001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:14:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783194182000,"timestamp_ms":1783194182000,"timestamp_seconds":1783194182,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea7e170"} 
[2026-07-05 01:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497633792001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497633792001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:14:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:14:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497633792001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":124103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:14:13] local.INFO: GPS data processed {"connection_id":124103,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:14:13] local.INFO: Acknowledgment sent {"connection_id":124103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:14:44] local.INFO: TCP Data received {"connection_id":124103,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:14:44] local.INFO: Processing buffer {"connection_id":124103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:14:44] local.INFO: Packet analysis {"connection_id":124103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:14:44] local.INFO: Extracted packet for processing {"connection_id":124103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:14:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 01:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497633792001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:14:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783194182000,"timestamp_ms":1783194182000,"timestamp_seconds":1783194182,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea7e170"} 
[2026-07-05 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-07-05 01:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 01:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497633792001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497633792001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:14:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:14:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497633792001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":124103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:14:44] local.INFO: GPS data processed {"connection_id":124103,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:14:44] local.INFO: Acknowledgment sent {"connection_id":124103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:15:06] local.INFO: TCP Data received {"connection_id":122945,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:15:06] local.INFO: Processing buffer {"connection_id":122945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:15:06] local.INFO: IMEI packet received {"connection_id":122945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":122945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:15:12] local.INFO: TCP Data received {"connection_id":122945,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:15:12] local.INFO: Processing buffer {"connection_id":122945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:15:12] local.INFO: IMEI packet received {"connection_id":122945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":122945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:15:13] local.INFO: TCP Data received {"connection_id":122945,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:15:13] local.INFO: Processing buffer {"connection_id":122945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:15:13] local.INFO: Packet analysis {"connection_id":122945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:15:13] local.INFO: Extracted packet for processing {"connection_id":122945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:15:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497633792001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783194182000,"timestamp_ms":1783194182000,"timestamp_seconds":1783194182,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea7e170"} 
[2026-07-05 01:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497633792001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497633792001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:15:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497633792001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":122945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:15:13] local.INFO: GPS data processed {"connection_id":122945,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:15:13] local.INFO: Acknowledgment sent {"connection_id":122945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:15:44] local.INFO: TCP Data received {"connection_id":122945,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:15:44] local.INFO: Processing buffer {"connection_id":122945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:15:44] local.INFO: Packet analysis {"connection_id":122945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:15:44] local.INFO: Extracted packet for processing {"connection_id":122945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:15:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497633792001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:15:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783194182000,"timestamp_ms":1783194182000,"timestamp_seconds":1783194182,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea7e170"} 
[2026-07-05 01:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497633792001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497633792001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:15:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:15:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497633792001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":122945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:15:44] local.INFO: GPS data processed {"connection_id":122945,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:15:44] local.INFO: Acknowledgment sent {"connection_id":122945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:16:06] local.INFO: TCP Data received {"connection_id":122142,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:16:06] local.INFO: Processing buffer {"connection_id":122142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:16:06] local.INFO: IMEI packet received {"connection_id":122142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":122142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:16:12] local.INFO: TCP Data received {"connection_id":122142,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:16:12] local.INFO: Processing buffer {"connection_id":122142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:16:12] local.INFO: IMEI packet received {"connection_id":122142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":122142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:16:12] local.INFO: TCP Data received {"connection_id":122142,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:16:12] local.INFO: Processing buffer {"connection_id":122142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:16:12] local.INFO: Packet analysis {"connection_id":122142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:16:12] local.INFO: Extracted packet for processing {"connection_id":122142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:16:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497633792001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783194182000,"timestamp_ms":1783194182000,"timestamp_seconds":1783194182,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea7e170"} 
[2026-07-05 01:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497633792001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497633792001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:16:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497633792001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":122142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:16:12] local.INFO: GPS data processed {"connection_id":122142,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:16:12] local.INFO: Acknowledgment sent {"connection_id":122142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:16:44] local.INFO: TCP Data received {"connection_id":122142,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:16:44] local.INFO: Processing buffer {"connection_id":122142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:16:44] local.INFO: Packet analysis {"connection_id":122142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:16:44] local.INFO: Extracted packet for processing {"connection_id":122142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:16:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497633792001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:16:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783194182000,"timestamp_ms":1783194182000,"timestamp_seconds":1783194182,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea7e170"} 
[2026-07-05 01:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497633792001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497633792001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:16:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:16:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:16:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497633792001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":122142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:16:44] local.INFO: GPS data processed {"connection_id":122142,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:16:44] local.INFO: Acknowledgment sent {"connection_id":122142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:17:12] local.INFO: TCP Data received {"connection_id":124104,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:17:12] local.INFO: Processing buffer {"connection_id":124104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:17:12] local.INFO: IMEI packet received {"connection_id":124104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":124104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:17:17] local.INFO: TCP Data received {"connection_id":124104,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:17:17] local.INFO: Processing buffer {"connection_id":124104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:17:17] local.INFO: IMEI packet received {"connection_id":124104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":124104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:17:18] local.INFO: TCP Data received {"connection_id":124104,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:17:18] local.INFO: Processing buffer {"connection_id":124104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:17:18] local.INFO: Packet analysis {"connection_id":124104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:17:18] local.INFO: Extracted packet for processing {"connection_id":124104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:17:18] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497633792001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:17:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783194182000,"timestamp_ms":1783194182000,"timestamp_seconds":1783194182,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea7e170"} 
[2026-07-05 01:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497633792001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497633792001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:17:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:17:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:17:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497633792001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":124104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:17:18] local.INFO: GPS data processed {"connection_id":124104,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:17:18] local.INFO: Acknowledgment sent {"connection_id":124104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:17:26] local.INFO: TCP Data received {"connection_id":124104,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:17:26] local.INFO: Processing buffer {"connection_id":124104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:17:26] local.INFO: Packet analysis {"connection_id":124104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:17:26] local.INFO: Extracted packet for processing {"connection_id":124104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:17:26] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497633792001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783194182000,"timestamp_ms":1783194182000,"timestamp_seconds":1783194182,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea7e170"} 
[2026-07-05 01:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497633792001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497633792001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:17:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497633792001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":124104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:17:26] local.INFO: GPS data processed {"connection_id":124104,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:17:26] local.INFO: Acknowledgment sent {"connection_id":124104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:18:07] local.INFO: TCP Data received {"connection_id":122143,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:18:07] local.INFO: Processing buffer {"connection_id":122143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:18:07] local.INFO: IMEI packet received {"connection_id":122143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":122143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:18:12] local.INFO: TCP Data received {"connection_id":122143,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:18:12] local.INFO: Processing buffer {"connection_id":122143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:18:12] local.INFO: IMEI packet received {"connection_id":122143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":122143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:18:12] local.INFO: TCP Data received {"connection_id":122143,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:18:12] local.INFO: Processing buffer {"connection_id":122143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ea7e170012cb2a2c007823a880050013b2e..."} 
[2026-07-05 01:18:12] local.INFO: Packet analysis {"connection_id":122143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:18:12] local.INFO: Extracted packet for processing {"connection_id":122143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ea7"} 
[2026-07-05 01:18:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497633792001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783194182000,"timestamp_ms":1783194182000,"timestamp_seconds":1783194182,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ea7e170"} 
[2026-07-05 01:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497633792001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497633792001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:18:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497633792001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":122143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:18:12] local.INFO: GPS data processed {"connection_id":122143,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:18:12] local.INFO: Acknowledgment sent {"connection_id":122143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:18:44] local.INFO: TCP Data received {"connection_id":122143,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:18:44] local.INFO: Processing buffer {"connection_id":122143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:18:44] local.INFO: Packet analysis {"connection_id":122143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:18:44] local.INFO: Extracted packet for processing {"connection_id":122143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:18:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497710592001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:18:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783194483000,"timestamp_ms":1783194483000,"timestamp_seconds":1783194483,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eac7938"} 
[2026-07-05 01:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497710592001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497710592001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:18:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:18:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:18:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497710592001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":122143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:18:44] local.INFO: GPS data processed {"connection_id":122143,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:18:44] local.INFO: Acknowledgment sent {"connection_id":122143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:19:12] local.INFO: TCP Data received {"connection_id":122144,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:19:12] local.INFO: Processing buffer {"connection_id":122144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:19:12] local.INFO: IMEI packet received {"connection_id":122144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":122144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:19:17] local.INFO: TCP Data received {"connection_id":122144,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:19:17] local.INFO: Processing buffer {"connection_id":122144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:19:17] local.INFO: IMEI packet received {"connection_id":122144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":122144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:19:18] local.INFO: TCP Data received {"connection_id":122144,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:19:18] local.INFO: Processing buffer {"connection_id":122144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:19:18] local.INFO: Packet analysis {"connection_id":122144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:19:18] local.INFO: Extracted packet for processing {"connection_id":122144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:19:18] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497710592001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:19:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783194483000,"timestamp_ms":1783194483000,"timestamp_seconds":1783194483,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eac7938"} 
[2026-07-05 01:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497710592001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497710592001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:19:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:19:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497710592001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":122144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:19:18] local.INFO: GPS data processed {"connection_id":122144,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:19:18] local.INFO: Acknowledgment sent {"connection_id":122144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:19:31] local.INFO: TCP Data received {"connection_id":124106,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:19:31] local.INFO: Processing buffer {"connection_id":124106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:19:31] local.INFO: IMEI packet received {"connection_id":124106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":124106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:19:49] local.INFO: TCP Data received {"connection_id":122144,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:19:49] local.INFO: Processing buffer {"connection_id":122144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:19:49] local.INFO: Packet analysis {"connection_id":122144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:19:49] local.INFO: Extracted packet for processing {"connection_id":122144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:19:49] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497710592001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:19:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783194483000,"timestamp_ms":1783194483000,"timestamp_seconds":1783194483,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eac7938"} 
[2026-07-05 01:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497710592001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497710592001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:19:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:19:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:19:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497710592001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":122144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:19:49] local.INFO: GPS data processed {"connection_id":122144,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:19:49] local.INFO: Acknowledgment sent {"connection_id":122144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:20:07] local.INFO: TCP Data received {"connection_id":122145,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:20:07] local.INFO: Processing buffer {"connection_id":122145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:20:07] local.INFO: IMEI packet received {"connection_id":122145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":122145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:20:11] local.INFO: TCP Data received {"connection_id":124107,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:20:11] local.INFO: Processing buffer {"connection_id":124107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:20:11] local.INFO: IMEI packet received {"connection_id":124107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":124107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:20:12] local.INFO: TCP Data received {"connection_id":122145,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:20:12] local.INFO: Processing buffer {"connection_id":122145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:20:12] local.INFO: IMEI packet received {"connection_id":122145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":122145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:20:13] local.INFO: TCP Data received {"connection_id":122145,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:20:13] local.INFO: Processing buffer {"connection_id":122145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:20:13] local.INFO: Packet analysis {"connection_id":122145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:20:13] local.INFO: Extracted packet for processing {"connection_id":122145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:20:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497710592001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783194483000,"timestamp_ms":1783194483000,"timestamp_seconds":1783194483,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eac7938"} 
[2026-07-05 01:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497710592001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497710592001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:20:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497710592001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":122145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:20:13] local.INFO: GPS data processed {"connection_id":122145,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:20:13] local.INFO: Acknowledgment sent {"connection_id":122145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:20:44] local.INFO: TCP Data received {"connection_id":122145,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:20:44] local.INFO: Processing buffer {"connection_id":122145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:20:44] local.INFO: Packet analysis {"connection_id":122145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:20:44] local.INFO: Extracted packet for processing {"connection_id":122145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:20:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497710592001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:20:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783194483000,"timestamp_ms":1783194483000,"timestamp_seconds":1783194483,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eac7938"} 
[2026-07-05 01:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497710592001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497710592001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:20:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:20:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:20:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497710592001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":122145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:20:44] local.INFO: GPS data processed {"connection_id":122145,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:20:44] local.INFO: Acknowledgment sent {"connection_id":122145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:21:06] local.INFO: TCP Data received {"connection_id":124108,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:21:06] local.INFO: Processing buffer {"connection_id":124108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:21:06] local.INFO: IMEI packet received {"connection_id":124108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":124108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:21:12] local.INFO: TCP Data received {"connection_id":124108,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:21:12] local.INFO: Processing buffer {"connection_id":124108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:21:12] local.INFO: IMEI packet received {"connection_id":124108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":124108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:21:13] local.INFO: TCP Data received {"connection_id":124108,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:21:13] local.INFO: Processing buffer {"connection_id":124108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:21:13] local.INFO: Packet analysis {"connection_id":124108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:21:13] local.INFO: Extracted packet for processing {"connection_id":124108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:21:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497710592001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:21:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783194483000,"timestamp_ms":1783194483000,"timestamp_seconds":1783194483,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eac7938"} 
[2026-07-05 01:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497710592001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497710592001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:21:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:21:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:21:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497710592001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":124108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:21:13] local.INFO: GPS data processed {"connection_id":124108,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:21:13] local.INFO: Acknowledgment sent {"connection_id":124108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:21:44] local.INFO: TCP Data received {"connection_id":124108,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:21:44] local.INFO: Processing buffer {"connection_id":124108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:21:44] local.INFO: Packet analysis {"connection_id":124108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:21:44] local.INFO: Extracted packet for processing {"connection_id":124108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:21:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497710592001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:21:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783194483000,"timestamp_ms":1783194483000,"timestamp_seconds":1783194483,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eac7938"} 
[2026-07-05 01:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497710592001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497710592001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:21:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:21:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:21:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497710592001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":124108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:21:44] local.INFO: GPS data processed {"connection_id":124108,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:21:44] local.INFO: Acknowledgment sent {"connection_id":124108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:22:06] local.INFO: TCP Data received {"connection_id":122147,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:22:06] local.INFO: Processing buffer {"connection_id":122147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:22:06] local.INFO: IMEI packet received {"connection_id":122147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":122147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:22:12] local.INFO: TCP Data received {"connection_id":122147,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:22:12] local.INFO: Processing buffer {"connection_id":122147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:22:12] local.INFO: IMEI packet received {"connection_id":122147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":122147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:22:13] local.INFO: TCP Data received {"connection_id":122147,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:22:13] local.INFO: Processing buffer {"connection_id":122147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:22:13] local.INFO: Packet analysis {"connection_id":122147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:22:13] local.INFO: Extracted packet for processing {"connection_id":122147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:22:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497710592001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:22:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783194483000,"timestamp_ms":1783194483000,"timestamp_seconds":1783194483,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eac7938"} 
[2026-07-05 01:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497710592001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497710592001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:22:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:22:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497710592001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":122147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:22:14] local.INFO: GPS data processed {"connection_id":122147,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:22:14] local.INFO: Acknowledgment sent {"connection_id":122147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:22:45] local.INFO: TCP Data received {"connection_id":122147,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:22:45] local.INFO: Processing buffer {"connection_id":122147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:22:45] local.INFO: Packet analysis {"connection_id":122147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:22:45] local.INFO: Extracted packet for processing {"connection_id":122147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:22:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497710592001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:22:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783194483000,"timestamp_ms":1783194483000,"timestamp_seconds":1783194483,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eac7938"} 
[2026-07-05 01:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497710592001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497710592001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:22:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:22:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:22:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497710592001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":122147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:22:45] local.INFO: GPS data processed {"connection_id":122147,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:22:45] local.INFO: Acknowledgment sent {"connection_id":122147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:23:12] local.INFO: TCP Data received {"connection_id":124110,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:23:12] local.INFO: Processing buffer {"connection_id":124110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:23:12] local.INFO: IMEI packet received {"connection_id":124110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":124110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:23:17] local.INFO: TCP Data received {"connection_id":124110,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:23:17] local.INFO: Processing buffer {"connection_id":124110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:23:17] local.INFO: IMEI packet received {"connection_id":124110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":124110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:23:17] local.INFO: TCP Data received {"connection_id":124110,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:23:17] local.INFO: Processing buffer {"connection_id":124110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:23:17] local.INFO: Packet analysis {"connection_id":124110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:23:17] local.INFO: Extracted packet for processing {"connection_id":124110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:23:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497710592001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:23:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783194483000,"timestamp_ms":1783194483000,"timestamp_seconds":1783194483,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eac7938"} 
[2026-07-05 01:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497710592001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497710592001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:23:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:23:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497710592001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":124110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:23:17] local.INFO: GPS data processed {"connection_id":124110,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:23:17] local.INFO: Acknowledgment sent {"connection_id":124110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:23:22] local.INFO: TCP Data received {"connection_id":124110,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:23:22] local.INFO: Processing buffer {"connection_id":124110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eac7938012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:23:22] local.INFO: Packet analysis {"connection_id":124110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:23:22] local.INFO: Extracted packet for processing {"connection_id":124110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eac"} 
[2026-07-05 01:23:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497710592001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783194483000,"timestamp_ms":1783194483000,"timestamp_seconds":1783194483,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eac7938"} 
[2026-07-05 01:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497710592001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497710592001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:23:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:23:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497710592001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":124110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:23:22] local.INFO: GPS data processed {"connection_id":124110,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:23:22] local.INFO: Acknowledgment sent {"connection_id":124110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:24:07] local.INFO: TCP Data received {"connection_id":122148,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:24:07] local.INFO: Processing buffer {"connection_id":122148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:24:07] local.INFO: IMEI packet received {"connection_id":122148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":122148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:24:12] local.INFO: TCP Data received {"connection_id":122148,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:24:12] local.INFO: Processing buffer {"connection_id":122148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:24:12] local.INFO: IMEI packet received {"connection_id":122148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":122148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:24:12] local.INFO: TCP Data received {"connection_id":122148,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:24:12] local.INFO: Processing buffer {"connection_id":122148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:24:12] local.INFO: Packet analysis {"connection_id":122148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:24:12] local.INFO: Extracted packet for processing {"connection_id":122148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:24:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497787648001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783194784000,"timestamp_ms":1783194784000,"timestamp_seconds":1783194784,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb11100"} 
[2026-07-05 01:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497787648001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497787648001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:24:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497787648001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":122148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:24:12] local.INFO: GPS data processed {"connection_id":122148,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:24:12] local.INFO: Acknowledgment sent {"connection_id":122148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:24:43] local.INFO: TCP Data received {"connection_id":122148,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:24:43] local.INFO: Processing buffer {"connection_id":122148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:24:43] local.INFO: Packet analysis {"connection_id":122148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:24:43] local.INFO: Extracted packet for processing {"connection_id":122148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:24:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497787648001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783194784000,"timestamp_ms":1783194784000,"timestamp_seconds":1783194784,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb11100"} 
[2026-07-05 01:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:24: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-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497787648001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497787648001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:24:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497787648001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":122148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:24:43] local.INFO: GPS data processed {"connection_id":122148,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:24:43] local.INFO: Acknowledgment sent {"connection_id":122148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:25:07] local.INFO: TCP Data received {"connection_id":122951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:25:07] local.INFO: Processing buffer {"connection_id":122951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:25:07] local.INFO: IMEI packet received {"connection_id":122951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":122951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:25:12] local.INFO: TCP Data received {"connection_id":122951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:25:12] local.INFO: Processing buffer {"connection_id":122951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:25:12] local.INFO: IMEI packet received {"connection_id":122951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":122951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:25:15] local.INFO: TCP Data received {"connection_id":122951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:25:15] local.INFO: Processing buffer {"connection_id":122951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:25:15] local.INFO: Packet analysis {"connection_id":122951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:25:15] local.INFO: Extracted packet for processing {"connection_id":122951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:25:15] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497787648001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783194784000,"timestamp_ms":1783194784000,"timestamp_seconds":1783194784,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb11100"} 
[2026-07-05 01:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497787648001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497787648001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:25:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497787648001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":122951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:25:15] local.INFO: GPS data processed {"connection_id":122951,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:25:15] local.INFO: Acknowledgment sent {"connection_id":122951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:25:26] local.INFO: TCP Data received {"connection_id":122950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:25:26] local.INFO: Processing buffer {"connection_id":122950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:25:26] local.INFO: IMEI packet received {"connection_id":122950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":122950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:25:46] local.INFO: TCP Data received {"connection_id":122951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:25:46] local.INFO: Processing buffer {"connection_id":122951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:25:46] local.INFO: Packet analysis {"connection_id":122951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:25:46] local.INFO: Extracted packet for processing {"connection_id":122951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:25:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497787648001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:25:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783194784000,"timestamp_ms":1783194784000,"timestamp_seconds":1783194784,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb11100"} 
[2026-07-05 01:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:25: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-07-05 01:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497787648001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497787648001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:25:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:25:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:25:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497787648001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":122951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:25:46] local.INFO: GPS data processed {"connection_id":122951,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:25:46] local.INFO: Acknowledgment sent {"connection_id":122951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:26:06] local.INFO: TCP Data received {"connection_id":122953,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:26:06] local.INFO: Processing buffer {"connection_id":122953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:26:06] local.INFO: IMEI packet received {"connection_id":122953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":122953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:26:07] local.INFO: TCP Data received {"connection_id":122952,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:26:07] local.INFO: Processing buffer {"connection_id":122952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:26:07] local.INFO: IMEI packet received {"connection_id":122952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":122952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:26:12] local.INFO: TCP Data received {"connection_id":122953,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:26:12] local.INFO: Processing buffer {"connection_id":122953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:26:12] local.INFO: IMEI packet received {"connection_id":122953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":122953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:26:12] local.INFO: TCP Data received {"connection_id":122953,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:26:12] local.INFO: Processing buffer {"connection_id":122953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:26:12] local.INFO: Packet analysis {"connection_id":122953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:26:12] local.INFO: Extracted packet for processing {"connection_id":122953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:26:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497787648001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783194784000,"timestamp_ms":1783194784000,"timestamp_seconds":1783194784,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb11100"} 
[2026-07-05 01:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497787648001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497787648001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:26:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497787648001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":122953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:26:12] local.INFO: GPS data processed {"connection_id":122953,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:26:12] local.INFO: Acknowledgment sent {"connection_id":122953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:26:44] local.INFO: TCP Data received {"connection_id":122953,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:26:44] local.INFO: Processing buffer {"connection_id":122953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:26:44] local.INFO: Packet analysis {"connection_id":122953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:26:44] local.INFO: Extracted packet for processing {"connection_id":122953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 01:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497787648001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:26:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783194784000,"timestamp_ms":1783194784000,"timestamp_seconds":1783194784,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb11100"} 
[2026-07-05 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-07-05 01:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 01:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497787648001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497787648001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:26:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:26:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497787648001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":122953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:26:44] local.INFO: GPS data processed {"connection_id":122953,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:26:44] local.INFO: Acknowledgment sent {"connection_id":122953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:27:12] local.INFO: TCP Data received {"connection_id":122150,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:27:12] local.INFO: Processing buffer {"connection_id":122150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:27:12] local.INFO: IMEI packet received {"connection_id":122150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":122150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:27:17] local.INFO: TCP Data received {"connection_id":122150,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:27:17] local.INFO: Processing buffer {"connection_id":122150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:27:17] local.INFO: IMEI packet received {"connection_id":122150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":122150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:27:17] local.INFO: TCP Data received {"connection_id":122150,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:27:17] local.INFO: Processing buffer {"connection_id":122150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:27:17] local.INFO: Packet analysis {"connection_id":122150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:27:17] local.INFO: Extracted packet for processing {"connection_id":122150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:27:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497787648001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:27:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783194784000,"timestamp_ms":1783194784000,"timestamp_seconds":1783194784,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb11100"} 
[2026-07-05 01:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497787648001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497787648001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:27:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:27:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:27:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497787648001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":122150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:27:17] local.INFO: GPS data processed {"connection_id":122150,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:27:17] local.INFO: Acknowledgment sent {"connection_id":122150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:27:22] local.INFO: TCP Data received {"connection_id":122150,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:27:22] local.INFO: Processing buffer {"connection_id":122150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:27:22] local.INFO: Packet analysis {"connection_id":122150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:27:22] local.INFO: Extracted packet for processing {"connection_id":122150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:27:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497787648001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:27:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783194784000,"timestamp_ms":1783194784000,"timestamp_seconds":1783194784,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb11100"} 
[2026-07-05 01:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497787648001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497787648001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:27:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:27:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:27:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497787648001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":122150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:27:22] local.INFO: GPS data processed {"connection_id":122150,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:27:22] local.INFO: Acknowledgment sent {"connection_id":122150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:28:06] local.INFO: TCP Data received {"connection_id":122230,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:28:06] local.INFO: Processing buffer {"connection_id":122230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:28:06] local.INFO: IMEI packet received {"connection_id":122230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":122230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:28:11] local.INFO: TCP Data received {"connection_id":122230,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:28:12] local.INFO: Processing buffer {"connection_id":122230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:28:12] local.INFO: IMEI packet received {"connection_id":122230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":122230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:28:18] local.INFO: TCP Data received {"connection_id":122230,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:28:18] local.INFO: Processing buffer {"connection_id":122230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb11100012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:28:18] local.INFO: Packet analysis {"connection_id":122230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:28:18] local.INFO: Extracted packet for processing {"connection_id":122230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb1"} 
[2026-07-05 01:28:18] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497787648001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:28:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783194784000,"timestamp_ms":1783194784000,"timestamp_seconds":1783194784,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb11100"} 
[2026-07-05 01:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497787648001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497787648001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:28:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:28:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:28:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497787648001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":122230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:28:18] local.INFO: GPS data processed {"connection_id":122230,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:28:18] local.INFO: Acknowledgment sent {"connection_id":122230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:28:49] local.INFO: TCP Data received {"connection_id":122230,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:28:49] local.INFO: Processing buffer {"connection_id":122230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:28:49] local.INFO: Packet analysis {"connection_id":122230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:28:49] local.INFO: Extracted packet for processing {"connection_id":122230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:28:49] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497864704001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:28:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783195085000,"timestamp_ms":1783195085000,"timestamp_seconds":1783195085,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb5a8c8"} 
[2026-07-05 01:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 01:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497864704001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497864704001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:28:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:28:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:28:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497864704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":122230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:28:49] local.INFO: GPS data processed {"connection_id":122230,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:28:49] local.INFO: Acknowledgment sent {"connection_id":122230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:29:08] local.INFO: TCP Data received {"connection_id":122152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:29:08] local.INFO: Processing buffer {"connection_id":122152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:29:08] local.INFO: IMEI packet received {"connection_id":122152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":122152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:29:12] local.INFO: TCP Data received {"connection_id":122152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:29:12] local.INFO: Processing buffer {"connection_id":122152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:29:12] local.INFO: IMEI packet received {"connection_id":122152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":122152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:29:12] local.INFO: TCP Data received {"connection_id":122152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:29:12] local.INFO: Processing buffer {"connection_id":122152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:29:12] local.INFO: Packet analysis {"connection_id":122152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:29:12] local.INFO: Extracted packet for processing {"connection_id":122152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:29:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497864704001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783195085000,"timestamp_ms":1783195085000,"timestamp_seconds":1783195085,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb5a8c8"} 
[2026-07-05 01:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 01:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497864704001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497864704001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:29:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497864704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":122152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:29:12] local.INFO: GPS data processed {"connection_id":122152,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:29:12] local.INFO: Acknowledgment sent {"connection_id":122152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:29:44] local.INFO: TCP Data received {"connection_id":122152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:29:44] local.INFO: Processing buffer {"connection_id":122152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:29:44] local.INFO: Packet analysis {"connection_id":122152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:29:44] local.INFO: Extracted packet for processing {"connection_id":122152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:29:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497864704001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:29:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783195085000,"timestamp_ms":1783195085000,"timestamp_seconds":1783195085,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb5a8c8"} 
[2026-07-05 01:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 01:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497864704001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497864704001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:29:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:29:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:29:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497864704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":122152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:29:44] local.INFO: GPS data processed {"connection_id":122152,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:29:44] local.INFO: Acknowledgment sent {"connection_id":122152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:30:06] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:30:06] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:30:06] local.INFO: IMEI packet received {"connection_id":124113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":124113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:30:11] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:30:12] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:30:12] local.INFO: IMEI packet received {"connection_id":124113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":124113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:30:12] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:30:12] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:30:12] local.INFO: Packet analysis {"connection_id":124113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:30:12] local.INFO: Extracted packet for processing {"connection_id":124113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:30:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497864704001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:30:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783195085000,"timestamp_ms":1783195085000,"timestamp_seconds":1783195085,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb5a8c8"} 
[2026-07-05 01:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 01:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497864704001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497864704001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:30:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:30:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497864704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":124113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:30:12] local.INFO: GPS data processed {"connection_id":124113,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:30:12] local.INFO: Acknowledgment sent {"connection_id":124113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:30:46] local.INFO: TCP Data received {"connection_id":124113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:30:46] local.INFO: Processing buffer {"connection_id":124113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:30:46] local.INFO: Packet analysis {"connection_id":124113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:30:46] local.INFO: Extracted packet for processing {"connection_id":124113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:30:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497864704001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:30:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783195085000,"timestamp_ms":1783195085000,"timestamp_seconds":1783195085,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb5a8c8"} 
[2026-07-05 01:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 01:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497864704001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497864704001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:30:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:30:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:30:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497864704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":124113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:30:46] local.INFO: GPS data processed {"connection_id":124113,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:30:46] local.INFO: Acknowledgment sent {"connection_id":124113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:31:06] local.INFO: TCP Data received {"connection_id":122153,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:31:06] local.INFO: Processing buffer {"connection_id":122153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:31:06] local.INFO: IMEI packet received {"connection_id":122153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":122153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:31:11] local.INFO: TCP Data received {"connection_id":122153,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:31:12] local.INFO: Processing buffer {"connection_id":122153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:31:12] local.INFO: IMEI packet received {"connection_id":122153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":122153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:31:12] local.INFO: TCP Data received {"connection_id":122153,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:31:12] local.INFO: Processing buffer {"connection_id":122153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:31:12] local.INFO: Packet analysis {"connection_id":122153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:31:12] local.INFO: Extracted packet for processing {"connection_id":122153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:31:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497864704001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783195085000,"timestamp_ms":1783195085000,"timestamp_seconds":1783195085,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb5a8c8"} 
[2026-07-05 01:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 01:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497864704001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497864704001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:31:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497864704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":122153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:31:12] local.INFO: GPS data processed {"connection_id":122153,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:31:12] local.INFO: Acknowledgment sent {"connection_id":122153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:31:41] local.INFO: TCP Data received {"connection_id":122231,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:31:41] local.INFO: Processing buffer {"connection_id":122231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:31:41] local.INFO: IMEI packet received {"connection_id":122231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":122231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:31:43] local.INFO: TCP Data received {"connection_id":122153,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:31:43] local.INFO: Processing buffer {"connection_id":122153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:31:43] local.INFO: Packet analysis {"connection_id":122153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:31:43] local.INFO: Extracted packet for processing {"connection_id":122153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:31:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497864704001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:31:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783195085000,"timestamp_ms":1783195085000,"timestamp_seconds":1783195085,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb5a8c8"} 
[2026-07-05 01:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:31: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-07-05 01:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 01:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497864704001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497864704001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:31:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:31:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497864704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":122153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:31:44] local.INFO: GPS data processed {"connection_id":122153,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:31:44] local.INFO: Acknowledgment sent {"connection_id":122153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:32:11] local.INFO: TCP Data received {"connection_id":122155,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:32:11] local.INFO: Processing buffer {"connection_id":122155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:32:11] local.INFO: IMEI packet received {"connection_id":122155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":122155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:32:12] local.INFO: TCP Data received {"connection_id":122154,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:32:12] local.INFO: Processing buffer {"connection_id":122154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:32:12] local.INFO: IMEI packet received {"connection_id":122154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":122154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:32:17] local.INFO: TCP Data received {"connection_id":122154,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:32:17] local.INFO: Processing buffer {"connection_id":122154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:32:17] local.INFO: IMEI packet received {"connection_id":122154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":122154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:32:18] local.INFO: TCP Data received {"connection_id":122154,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:32:18] local.INFO: Processing buffer {"connection_id":122154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:32:18] local.INFO: Packet analysis {"connection_id":122154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:32:18] local.INFO: Extracted packet for processing {"connection_id":122154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:32:18] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497864704001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:32:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783195085000,"timestamp_ms":1783195085000,"timestamp_seconds":1783195085,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb5a8c8"} 
[2026-07-05 01:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 01:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497864704001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497864704001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:32:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:32:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:32:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497864704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":122154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:32:18] local.INFO: GPS data processed {"connection_id":122154,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:32:18] local.INFO: Acknowledgment sent {"connection_id":122154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:32:26] local.INFO: TCP Data received {"connection_id":122154,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:32:26] local.INFO: Processing buffer {"connection_id":122154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:32:26] local.INFO: Packet analysis {"connection_id":122154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:32:26] local.INFO: Extracted packet for processing {"connection_id":122154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:32:26] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497864704001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:32:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783195085000,"timestamp_ms":1783195085000,"timestamp_seconds":1783195085,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb5a8c8"} 
[2026-07-05 01:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 01:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":122154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":122154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":122154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497864704001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497864704001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:32:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:32:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497864704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":122154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:32:26] local.INFO: GPS data processed {"connection_id":122154,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:32:26] local.INFO: Acknowledgment sent {"connection_id":122154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:33:07] local.INFO: TCP Data received {"connection_id":122954,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:33:07] local.INFO: Processing buffer {"connection_id":122954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:33:07] local.INFO: IMEI packet received {"connection_id":122954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":122954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:33:12] local.INFO: TCP Data received {"connection_id":122954,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:33:12] local.INFO: Processing buffer {"connection_id":122954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:33:12] local.INFO: IMEI packet received {"connection_id":122954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":122954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:33:13] local.INFO: TCP Data received {"connection_id":122954,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:33:13] local.INFO: Processing buffer {"connection_id":122954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:33:13] local.INFO: Packet analysis {"connection_id":122954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:33:13] local.INFO: Extracted packet for processing {"connection_id":122954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:33:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497864704001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783195085000,"timestamp_ms":1783195085000,"timestamp_seconds":1783195085,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb5a8c8"} 
[2026-07-05 01:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 01:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497864704001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497864704001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:33:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497864704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":122954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:33:13] local.INFO: GPS data processed {"connection_id":122954,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:33:13] local.INFO: Acknowledgment sent {"connection_id":122954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:33:44] local.INFO: TCP Data received {"connection_id":122954,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:33:44] local.INFO: Processing buffer {"connection_id":122954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eb5a8c8012cb2a2c007823a880050013b26..."} 
[2026-07-05 01:33:44] local.INFO: Packet analysis {"connection_id":122954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:33:44] local.INFO: Extracted packet for processing {"connection_id":122954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eb5"} 
[2026-07-05 01:33:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497864704001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:33:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783195085000,"timestamp_ms":1783195085000,"timestamp_seconds":1783195085,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eb5a8c8"} 
[2026-07-05 01:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 01:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497864704001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497864704001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:33:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:33:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497864704001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":122954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:33:44] local.INFO: GPS data processed {"connection_id":122954,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:33:44] local.INFO: Acknowledgment sent {"connection_id":122954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:34:06] local.INFO: TCP Data received {"connection_id":122233,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:34:06] local.INFO: Processing buffer {"connection_id":122233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:34:06] local.INFO: IMEI packet received {"connection_id":122233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":122233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:34:11] local.INFO: TCP Data received {"connection_id":122233,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:34:12] local.INFO: Processing buffer {"connection_id":122233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:34:12] local.INFO: IMEI packet received {"connection_id":122233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":122233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:34:12] local.INFO: TCP Data received {"connection_id":122233,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:34:12] local.INFO: Processing buffer {"connection_id":122233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:34:12] local.INFO: Packet analysis {"connection_id":122233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:34:12] local.INFO: Extracted packet for processing {"connection_id":122233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:34:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497941760001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783195386000,"timestamp_ms":1783195386000,"timestamp_seconds":1783195386,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eba4090"} 
[2026-07-05 01:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497941760001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497941760001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:34:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497941760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":122233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:34:12] local.INFO: GPS data processed {"connection_id":122233,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:34:12] local.INFO: Acknowledgment sent {"connection_id":122233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:34:44] local.INFO: TCP Data received {"connection_id":122233,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:34:44] local.INFO: Processing buffer {"connection_id":122233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:34:44] local.INFO: Packet analysis {"connection_id":122233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:34:44] local.INFO: Extracted packet for processing {"connection_id":122233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:34:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497941760001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:34:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783195386000,"timestamp_ms":1783195386000,"timestamp_seconds":1783195386,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eba4090"} 
[2026-07-05 01:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497941760001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497941760001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:34:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:34:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:34:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497941760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":122233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:34:44] local.INFO: GPS data processed {"connection_id":122233,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:34:44] local.INFO: Acknowledgment sent {"connection_id":122233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:35:12] local.INFO: TCP Data received {"connection_id":124115,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:35:12] local.INFO: Processing buffer {"connection_id":124115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:35:12] local.INFO: IMEI packet received {"connection_id":124115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":124115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:35:16] local.INFO: TCP Data received {"connection_id":124115,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:35:16] local.INFO: Processing buffer {"connection_id":124115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:35:16] local.INFO: IMEI packet received {"connection_id":124115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":124115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:35:17] local.INFO: TCP Data received {"connection_id":124115,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:35:17] local.INFO: Processing buffer {"connection_id":124115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:35:17] local.INFO: Packet analysis {"connection_id":124115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:35:17] local.INFO: Extracted packet for processing {"connection_id":124115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:35:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497941760001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:35:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783195386000,"timestamp_ms":1783195386000,"timestamp_seconds":1783195386,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eba4090"} 
[2026-07-05 01:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497941760001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497941760001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:35:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:35:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497941760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":124115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:35:17] local.INFO: GPS data processed {"connection_id":124115,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:35:17] local.INFO: Acknowledgment sent {"connection_id":124115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:35:22] local.INFO: TCP Data received {"connection_id":124115,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:35:22] local.INFO: Processing buffer {"connection_id":124115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:35:22] local.INFO: Packet analysis {"connection_id":124115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:35:22] local.INFO: Extracted packet for processing {"connection_id":124115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:35:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497941760001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:35:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783195386000,"timestamp_ms":1783195386000,"timestamp_seconds":1783195386,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eba4090"} 
[2026-07-05 01:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497941760001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497941760001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:35:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:35:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:35:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497941760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":124115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:35:22] local.INFO: GPS data processed {"connection_id":124115,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:35:22] local.INFO: Acknowledgment sent {"connection_id":124115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:36:06] local.INFO: TCP Data received {"connection_id":122957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:36:06] local.INFO: Processing buffer {"connection_id":122957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:36:06] local.INFO: IMEI packet received {"connection_id":122957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":122957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:36:12] local.INFO: TCP Data received {"connection_id":122957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:36:12] local.INFO: Processing buffer {"connection_id":122957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:36:12] local.INFO: IMEI packet received {"connection_id":122957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":122957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:36:12] local.INFO: TCP Data received {"connection_id":122957,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:36:12] local.INFO: Processing buffer {"connection_id":122957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:36:12] local.INFO: Packet analysis {"connection_id":122957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:36:12] local.INFO: Extracted packet for processing {"connection_id":122957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:36:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497941760001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783195386000,"timestamp_ms":1783195386000,"timestamp_seconds":1783195386,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eba4090"} 
[2026-07-05 01:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497941760001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497941760001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:36:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497941760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":122957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:36:12] local.INFO: GPS data processed {"connection_id":122957,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:36:12] local.INFO: Acknowledgment sent {"connection_id":122957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:36:46] local.INFO: TCP Data received {"connection_id":122234,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:36:46] local.INFO: Processing buffer {"connection_id":122234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:36:46] local.INFO: IMEI packet received {"connection_id":122234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":122234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:37:21] local.INFO: TCP Data received {"connection_id":122156,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:37:21] local.INFO: Processing buffer {"connection_id":122156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:37:21] local.INFO: IMEI packet received {"connection_id":122156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":122156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:37:26] local.INFO: TCP Data received {"connection_id":122156,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:37:26] local.INFO: Processing buffer {"connection_id":122156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:37:26] local.INFO: IMEI packet received {"connection_id":122156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":122156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:37:27] local.INFO: TCP Data received {"connection_id":122156,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:37:27] local.INFO: Processing buffer {"connection_id":122156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:37:27] local.INFO: Packet analysis {"connection_id":122156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:37:27] local.INFO: Extracted packet for processing {"connection_id":122156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:37:27] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497941760001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:37:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783195386000,"timestamp_ms":1783195386000,"timestamp_seconds":1783195386,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eba4090"} 
[2026-07-05 01:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497941760001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497941760001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:37:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:37:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497941760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":122156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:37:27] local.INFO: GPS data processed {"connection_id":122156,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:37:27] local.INFO: Acknowledgment sent {"connection_id":122156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:37:31] local.INFO: TCP Data received {"connection_id":124116,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:37:31] local.INFO: Processing buffer {"connection_id":124116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:37:31] local.INFO: IMEI packet received {"connection_id":124116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":124116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:37:32] local.INFO: TCP Data received {"connection_id":122156,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:37:32] local.INFO: Processing buffer {"connection_id":122156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:37:32] local.INFO: Packet analysis {"connection_id":122156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:37:32] local.INFO: Extracted packet for processing {"connection_id":122156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:37:32] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497941760001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:37:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783195386000,"timestamp_ms":1783195386000,"timestamp_seconds":1783195386,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eba4090"} 
[2026-07-05 01:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:37: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-07-05 01:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:37: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-07-05 01:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":122156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":122156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":122156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497941760001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497941760001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:37:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:37:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497941760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":122156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:37:32] local.INFO: GPS data processed {"connection_id":122156,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:37:32] local.INFO: Acknowledgment sent {"connection_id":122156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:38:06] local.INFO: TCP Data received {"connection_id":122959,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:38:06] local.INFO: Processing buffer {"connection_id":122959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:38:06] local.INFO: IMEI packet received {"connection_id":122959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":122959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:38:07] local.INFO: TCP Data received {"connection_id":122958,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:38:07] local.INFO: Processing buffer {"connection_id":122958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:38:07] local.INFO: IMEI packet received {"connection_id":122958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":122958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:38:11] local.INFO: TCP Data received {"connection_id":122958,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:38:11] local.INFO: Processing buffer {"connection_id":122958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:38:11] local.INFO: IMEI packet received {"connection_id":122958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":122958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:38:14] local.INFO: TCP Data received {"connection_id":122958,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:38:14] local.INFO: Processing buffer {"connection_id":122958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:38:14] local.INFO: Packet analysis {"connection_id":122958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:38:14] local.INFO: Extracted packet for processing {"connection_id":122958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:38:14] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:38: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-07-05 01:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497941760001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:38:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783195386000,"timestamp_ms":1783195386000,"timestamp_seconds":1783195386,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eba4090"} 
[2026-07-05 01:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:38: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-07-05 01:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497941760001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497941760001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:38:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:38:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497941760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":122958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:38:14] local.INFO: GPS data processed {"connection_id":122958,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:38:14] local.INFO: Acknowledgment sent {"connection_id":122958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:38:45] local.INFO: TCP Data received {"connection_id":122958,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:38:45] local.INFO: Processing buffer {"connection_id":122958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eba4090012cb2a2c007823a880050013b29..."} 
[2026-07-05 01:38:45] local.INFO: Packet analysis {"connection_id":122958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:38:45] local.INFO: Extracted packet for processing {"connection_id":122958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eba"} 
[2026-07-05 01:38:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456497941760001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:38:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783195386000,"timestamp_ms":1783195386000,"timestamp_seconds":1783195386,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eba4090"} 
[2026-07-05 01:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456497941760001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456497941760001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:38:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:38:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:38:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456497941760001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":122958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:38:45] local.INFO: GPS data processed {"connection_id":122958,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:38:45] local.INFO: Acknowledgment sent {"connection_id":122958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:39:07] local.INFO: TCP Data received {"connection_id":124117,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:39:07] local.INFO: Processing buffer {"connection_id":124117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:39:07] local.INFO: IMEI packet received {"connection_id":124117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":124117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:39:11] local.INFO: TCP Data received {"connection_id":124117,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:39:11] local.INFO: Processing buffer {"connection_id":124117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:39:11] local.INFO: IMEI packet received {"connection_id":124117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":124117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:39:12] local.INFO: TCP Data received {"connection_id":124117,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:39:12] local.INFO: Processing buffer {"connection_id":124117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:39:12] local.INFO: Packet analysis {"connection_id":124117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:39:12] local.INFO: Extracted packet for processing {"connection_id":124117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:39:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498018816001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783195687000,"timestamp_ms":1783195687000,"timestamp_seconds":1783195687,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ebed858"} 
[2026-07-05 01:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498018816001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498018816001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:39:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498018816001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":124117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:39:12] local.INFO: GPS data processed {"connection_id":124117,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:39:12] local.INFO: Acknowledgment sent {"connection_id":124117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:39:44] local.INFO: TCP Data received {"connection_id":124117,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:39:44] local.INFO: Processing buffer {"connection_id":124117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:39:44] local.INFO: Packet analysis {"connection_id":124117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:39:44] local.INFO: Extracted packet for processing {"connection_id":124117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:39:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498018816001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:39:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783195687000,"timestamp_ms":1783195687000,"timestamp_seconds":1783195687,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ebed858"} 
[2026-07-05 01:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498018816001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498018816001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:39:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:39:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:39:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498018816001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":124117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:39:44] local.INFO: GPS data processed {"connection_id":124117,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:39:44] local.INFO: Acknowledgment sent {"connection_id":124117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:40:06] local.INFO: TCP Data received {"connection_id":122235,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:40:06] local.INFO: Processing buffer {"connection_id":122235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:40:06] local.INFO: IMEI packet received {"connection_id":122235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":122235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:40:11] local.INFO: TCP Data received {"connection_id":122235,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:40:11] local.INFO: Processing buffer {"connection_id":122235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:40:11] local.INFO: IMEI packet received {"connection_id":122235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":122235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:40:12] local.INFO: TCP Data received {"connection_id":122235,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:40:12] local.INFO: Processing buffer {"connection_id":122235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:40:12] local.INFO: Packet analysis {"connection_id":122235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:40:12] local.INFO: Extracted packet for processing {"connection_id":122235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:40:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498018816001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783195687000,"timestamp_ms":1783195687000,"timestamp_seconds":1783195687,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ebed858"} 
[2026-07-05 01:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498018816001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498018816001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:40:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498018816001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":122235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:40:12] local.INFO: GPS data processed {"connection_id":122235,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:40:12] local.INFO: Acknowledgment sent {"connection_id":122235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:40:43] local.INFO: TCP Data received {"connection_id":122235,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:40:43] local.INFO: Processing buffer {"connection_id":122235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:40:43] local.INFO: Packet analysis {"connection_id":122235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:40:43] local.INFO: Extracted packet for processing {"connection_id":122235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:40:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498018816001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:40:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783195687000,"timestamp_ms":1783195687000,"timestamp_seconds":1783195687,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ebed858"} 
[2026-07-05 01:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:40: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-07-05 01:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498018816001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498018816001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:40:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:40:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498018816001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":122235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:40:44] local.INFO: GPS data processed {"connection_id":122235,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:40:44] local.INFO: Acknowledgment sent {"connection_id":122235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:41:06] local.INFO: TCP Data received {"connection_id":124120,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:41:06] local.INFO: Processing buffer {"connection_id":124120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:41:06] local.INFO: IMEI packet received {"connection_id":124120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":124120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:41:11] local.INFO: TCP Data received {"connection_id":124120,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:41:11] local.INFO: Processing buffer {"connection_id":124120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:41:11] local.INFO: IMEI packet received {"connection_id":124120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":124120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:41:12] local.INFO: TCP Data received {"connection_id":124120,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:41:12] local.INFO: Processing buffer {"connection_id":124120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:41:12] local.INFO: Packet analysis {"connection_id":124120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:41:12] local.INFO: Extracted packet for processing {"connection_id":124120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:41:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498018816001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783195687000,"timestamp_ms":1783195687000,"timestamp_seconds":1783195687,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ebed858"} 
[2026-07-05 01:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498018816001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498018816001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:41:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498018816001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":124120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:41:12] local.INFO: GPS data processed {"connection_id":124120,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:41:12] local.INFO: Acknowledgment sent {"connection_id":124120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:41:44] local.INFO: TCP Data received {"connection_id":124120,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:41:44] local.INFO: Processing buffer {"connection_id":124120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:41:44] local.INFO: Packet analysis {"connection_id":124120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:41:44] local.INFO: Extracted packet for processing {"connection_id":124120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:41:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498018816001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:41:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783195687000,"timestamp_ms":1783195687000,"timestamp_seconds":1783195687,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ebed858"} 
[2026-07-05 01:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498018816001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498018816001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:41:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:41:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:41:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498018816001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":124120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:41:44] local.INFO: GPS data processed {"connection_id":124120,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:41:44] local.INFO: Acknowledgment sent {"connection_id":124120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:42:12] local.INFO: TCP Data received {"connection_id":122237,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:42:12] local.INFO: Processing buffer {"connection_id":122237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:42:12] local.INFO: IMEI packet received {"connection_id":122237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":122237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:42:17] local.INFO: TCP Data received {"connection_id":122237,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:42:17] local.INFO: Processing buffer {"connection_id":122237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:42:17] local.INFO: IMEI packet received {"connection_id":122237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":122237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:42:17] local.INFO: TCP Data received {"connection_id":122237,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:42:17] local.INFO: Processing buffer {"connection_id":122237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:42:17] local.INFO: Packet analysis {"connection_id":122237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:42:17] local.INFO: Extracted packet for processing {"connection_id":122237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:42:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498018816001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:42:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783195687000,"timestamp_ms":1783195687000,"timestamp_seconds":1783195687,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ebed858"} 
[2026-07-05 01:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498018816001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498018816001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:42:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:42:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:42:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498018816001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":122237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:42:17] local.INFO: GPS data processed {"connection_id":122237,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:42:17] local.INFO: Acknowledgment sent {"connection_id":122237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:42:22] local.INFO: TCP Data received {"connection_id":122237,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:42:22] local.INFO: Processing buffer {"connection_id":122237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:42:22] local.INFO: Packet analysis {"connection_id":122237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:42:22] local.INFO: Extracted packet for processing {"connection_id":122237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:42:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498018816001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:42:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783195687000,"timestamp_ms":1783195687000,"timestamp_seconds":1783195687,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ebed858"} 
[2026-07-05 01:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498018816001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498018816001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:42:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:42:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:42:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498018816001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":122237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:42:22] local.INFO: GPS data processed {"connection_id":122237,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:42:22] local.INFO: Acknowledgment sent {"connection_id":122237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:43:07] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:43:07] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:43:07] local.INFO: IMEI packet received {"connection_id":124121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":124121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:43:12] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:43:12] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:43:12] local.INFO: IMEI packet received {"connection_id":124121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":124121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:43:13] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:43:13] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:43:13] local.INFO: Packet analysis {"connection_id":124121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:43:13] local.INFO: Extracted packet for processing {"connection_id":124121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:43:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498018816001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:43:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783195687000,"timestamp_ms":1783195687000,"timestamp_seconds":1783195687,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ebed858"} 
[2026-07-05 01:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498018816001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498018816001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:43:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:43:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498018816001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":124121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:43:13] local.INFO: GPS data processed {"connection_id":124121,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:43:13] local.INFO: Acknowledgment sent {"connection_id":124121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:43:21] local.INFO: TCP Data received {"connection_id":122158,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:43:21] local.INFO: Processing buffer {"connection_id":122158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:43:21] local.INFO: IMEI packet received {"connection_id":122158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":122158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:43:44] local.INFO: TCP Data received {"connection_id":124121,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:43:44] local.INFO: Processing buffer {"connection_id":124121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ebed858012cb2a2c007823a880050013b2a..."} 
[2026-07-05 01:43:44] local.INFO: Packet analysis {"connection_id":124121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:43:44] local.INFO: Extracted packet for processing {"connection_id":124121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ebe"} 
[2026-07-05 01:43:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":80,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 01:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498018816001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:43:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783195687000,"timestamp_ms":1783195687000,"timestamp_seconds":1783195687,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ebed858"} 
[2026-07-05 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-07-05 01:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 01:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498018816001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498018816001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:43:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:43:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498018816001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":124121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:43:44] local.INFO: GPS data processed {"connection_id":124121,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:43:44] local.INFO: Acknowledgment sent {"connection_id":124121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:44:06] local.INFO: TCP Data received {"connection_id":124122,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:44:06] local.INFO: Processing buffer {"connection_id":124122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:44:06] local.INFO: IMEI packet received {"connection_id":124122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":124122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:44:06] local.INFO: TCP Data received {"connection_id":122960,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:44:06] local.INFO: Processing buffer {"connection_id":122960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:44:06] local.INFO: IMEI packet received {"connection_id":122960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":122960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:44:11] local.INFO: TCP Data received {"connection_id":122960,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:44:11] local.INFO: Processing buffer {"connection_id":122960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:44:11] local.INFO: IMEI packet received {"connection_id":122960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":122960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:44:12] local.INFO: TCP Data received {"connection_id":122960,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:44:12] local.INFO: Processing buffer {"connection_id":122960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:44:12] local.INFO: Packet analysis {"connection_id":122960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:44:12] local.INFO: Extracted packet for processing {"connection_id":122960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:44:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498095872001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783195988000,"timestamp_ms":1783195988000,"timestamp_seconds":1783195988,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec37020"} 
[2026-07-05 01:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 01:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498095872001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498095872001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:44:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498095872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":122960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:44:12] local.INFO: GPS data processed {"connection_id":122960,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:44:12] local.INFO: Acknowledgment sent {"connection_id":122960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:44:44] local.INFO: TCP Data received {"connection_id":122960,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:44:44] local.INFO: Processing buffer {"connection_id":122960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:44:44] local.INFO: Packet analysis {"connection_id":122960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:44:44] local.INFO: Extracted packet for processing {"connection_id":122960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:44:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498095872001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:44:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783195988000,"timestamp_ms":1783195988000,"timestamp_seconds":1783195988,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec37020"} 
[2026-07-05 01:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:44: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-07-05 01:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 01:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498095872001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498095872001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:44:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:44:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498095872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":122960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:44:44] local.INFO: GPS data processed {"connection_id":122960,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:44:44] local.INFO: Acknowledgment sent {"connection_id":122960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:45:06] local.INFO: TCP Data received {"connection_id":124123,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:45:06] local.INFO: Processing buffer {"connection_id":124123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:45:06] local.INFO: IMEI packet received {"connection_id":124123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":124123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:45:11] local.INFO: TCP Data received {"connection_id":124123,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:45:11] local.INFO: Processing buffer {"connection_id":124123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:45:11] local.INFO: IMEI packet received {"connection_id":124123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":124123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:45:23] local.INFO: TCP Data received {"connection_id":124123,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:45:23] local.INFO: Processing buffer {"connection_id":124123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:45:23] local.INFO: Packet analysis {"connection_id":124123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:45:23] local.INFO: Extracted packet for processing {"connection_id":124123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:45:23] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498095872001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:45:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783195988000,"timestamp_ms":1783195988000,"timestamp_seconds":1783195988,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec37020"} 
[2026-07-05 01:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 01:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":124123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":124123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":124123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498095872001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498095872001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:45:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:45:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:45:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498095872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":124123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:45:23] local.INFO: GPS data processed {"connection_id":124123,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:45:23] local.INFO: Acknowledgment sent {"connection_id":124123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:46:12] local.INFO: TCP Data received {"connection_id":122239,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:46:12] local.INFO: Processing buffer {"connection_id":122239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:46:12] local.INFO: IMEI packet received {"connection_id":122239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":122239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:46:17] local.INFO: TCP Data received {"connection_id":122239,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:46:17] local.INFO: Processing buffer {"connection_id":122239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:46:17] local.INFO: IMEI packet received {"connection_id":122239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":122239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:46:17] local.INFO: TCP Data received {"connection_id":122239,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:46:17] local.INFO: Processing buffer {"connection_id":122239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:46:17] local.INFO: Packet analysis {"connection_id":122239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:46:17] local.INFO: Extracted packet for processing {"connection_id":122239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:46:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498095872001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783195988000,"timestamp_ms":1783195988000,"timestamp_seconds":1783195988,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec37020"} 
[2026-07-05 01:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 01:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498095872001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498095872001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:46:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:46:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:46:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498095872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":122239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:46:17] local.INFO: GPS data processed {"connection_id":122239,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:46:17] local.INFO: Acknowledgment sent {"connection_id":122239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:46:51] local.INFO: TCP Data received {"connection_id":122239,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:46:51] local.INFO: Processing buffer {"connection_id":122239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:46:51] local.INFO: Packet analysis {"connection_id":122239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:46:51] local.INFO: Extracted packet for processing {"connection_id":122239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:46:51] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498095872001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783195988000,"timestamp_ms":1783195988000,"timestamp_seconds":1783195988,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec37020"} 
[2026-07-05 01:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 01:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":122239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":122239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":122239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498095872001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498095872001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:46:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498095872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":122239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:46:51] local.INFO: GPS data processed {"connection_id":122239,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:46:51] local.INFO: Acknowledgment sent {"connection_id":122239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:47:08] local.INFO: TCP Data received {"connection_id":122240,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:47:08] local.INFO: Processing buffer {"connection_id":122240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:47:08] local.INFO: IMEI packet received {"connection_id":122240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":122240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:47:11] local.INFO: TCP Data received {"connection_id":122240,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:47:11] local.INFO: Processing buffer {"connection_id":122240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:47:11] local.INFO: IMEI packet received {"connection_id":122240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":122240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:47:13] local.INFO: TCP Data received {"connection_id":122240,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:47:13] local.INFO: Processing buffer {"connection_id":122240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:47:13] local.INFO: Packet analysis {"connection_id":122240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:47:13] local.INFO: Extracted packet for processing {"connection_id":122240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:47:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498095872001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:47:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783195988000,"timestamp_ms":1783195988000,"timestamp_seconds":1783195988,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec37020"} 
[2026-07-05 01:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 01:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498095872001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498095872001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:47:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:47:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498095872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":122240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:47:13] local.INFO: GPS data processed {"connection_id":122240,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:47:13] local.INFO: Acknowledgment sent {"connection_id":122240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:47:44] local.INFO: TCP Data received {"connection_id":122240,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:47:44] local.INFO: Processing buffer {"connection_id":122240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:47:44] local.INFO: Packet analysis {"connection_id":122240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:47:44] local.INFO: Extracted packet for processing {"connection_id":122240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:47:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498095872001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:47:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783195988000,"timestamp_ms":1783195988000,"timestamp_seconds":1783195988,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec37020"} 
[2026-07-05 01:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:47: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-07-05 01:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 01:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498095872001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498095872001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:47:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:47:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498095872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":122240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:47:44] local.INFO: GPS data processed {"connection_id":122240,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:47:44] local.INFO: Acknowledgment sent {"connection_id":122240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:48:06] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:48:06] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:48:06] local.INFO: IMEI packet received {"connection_id":124124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":124124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:48:11] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:48:11] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:48:11] local.INFO: IMEI packet received {"connection_id":124124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":124124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:48:12] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:48:12] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:48:12] local.INFO: Packet analysis {"connection_id":124124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:48:12] local.INFO: Extracted packet for processing {"connection_id":124124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:48:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498095872001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783195988000,"timestamp_ms":1783195988000,"timestamp_seconds":1783195988,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec37020"} 
[2026-07-05 01:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 01:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498095872001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498095872001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:48:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498095872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":124124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:48:12] local.INFO: GPS data processed {"connection_id":124124,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:48:12] local.INFO: Acknowledgment sent {"connection_id":124124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:48:44] local.INFO: TCP Data received {"connection_id":124124,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:48:44] local.INFO: Processing buffer {"connection_id":124124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec37020012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:48:44] local.INFO: Packet analysis {"connection_id":124124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:48:44] local.INFO: Extracted packet for processing {"connection_id":124124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec3"} 
[2026-07-05 01:48:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498095872001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:48:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783195988000,"timestamp_ms":1783195988000,"timestamp_seconds":1783195988,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec37020"} 
[2026-07-05 01:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:48: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-07-05 01:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 01:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498095872001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498095872001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:48:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:48:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498095872001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":124124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:48:44] local.INFO: GPS data processed {"connection_id":124124,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:48:44] local.INFO: Acknowledgment sent {"connection_id":124124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:49:11] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:49:11] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:49:11] local.INFO: IMEI packet received {"connection_id":124126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":124126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:49:16] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:49:16] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:49:16] local.INFO: IMEI packet received {"connection_id":124126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":124126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:49:17] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:49:17] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:49:17] local.INFO: Packet analysis {"connection_id":124126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:49:17] local.INFO: Extracted packet for processing {"connection_id":124126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:49:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498172928001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:49:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783196289000,"timestamp_ms":1783196289000,"timestamp_seconds":1783196289,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec807e8"} 
[2026-07-05 01:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498172928001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498172928001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:49:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:49:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:49:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498172928001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":124126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:49:17] local.INFO: GPS data processed {"connection_id":124126,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:49:17] local.INFO: Acknowledgment sent {"connection_id":124126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:49:21] local.INFO: TCP Data received {"connection_id":124125,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:49:21] local.INFO: Processing buffer {"connection_id":124125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:49:21] local.INFO: IMEI packet received {"connection_id":124125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":124125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:49:22] local.INFO: TCP Data received {"connection_id":124126,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:49:22] local.INFO: Processing buffer {"connection_id":124126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:49:22] local.INFO: Packet analysis {"connection_id":124126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:49:22] local.INFO: Extracted packet for processing {"connection_id":124126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:49:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498172928001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783196289000,"timestamp_ms":1783196289000,"timestamp_seconds":1783196289,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec807e8"} 
[2026-07-05 01:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498172928001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498172928001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:49:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:49:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498172928001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":124126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:49:22] local.INFO: GPS data processed {"connection_id":124126,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:49:22] local.INFO: Acknowledgment sent {"connection_id":124126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:50:07] local.INFO: TCP Data received {"connection_id":124127,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:50:07] local.INFO: Processing buffer {"connection_id":124127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:50:07] local.INFO: IMEI packet received {"connection_id":124127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":124127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:50:11] local.INFO: TCP Data received {"connection_id":122962,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:50:11] local.INFO: Processing buffer {"connection_id":122962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:50:11] local.INFO: IMEI packet received {"connection_id":122962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":122962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:50:11] local.INFO: TCP Data received {"connection_id":124127,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:50:11] local.INFO: Processing buffer {"connection_id":124127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:50:11] local.INFO: IMEI packet received {"connection_id":124127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":124127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:50:13] local.INFO: TCP Data received {"connection_id":124127,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:50:13] local.INFO: Processing buffer {"connection_id":124127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:50:13] local.INFO: Packet analysis {"connection_id":124127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:50:13] local.INFO: Extracted packet for processing {"connection_id":124127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:50:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498172928001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:50:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783196289000,"timestamp_ms":1783196289000,"timestamp_seconds":1783196289,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec807e8"} 
[2026-07-05 01:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498172928001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498172928001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:50:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:50:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498172928001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":124127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:50:13] local.INFO: GPS data processed {"connection_id":124127,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:50:13] local.INFO: Acknowledgment sent {"connection_id":124127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:50:44] local.INFO: TCP Data received {"connection_id":124127,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:50:44] local.INFO: Processing buffer {"connection_id":124127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:50:44] local.INFO: Packet analysis {"connection_id":124127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:50:44] local.INFO: Extracted packet for processing {"connection_id":124127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:50:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498172928001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:50:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783196289000,"timestamp_ms":1783196289000,"timestamp_seconds":1783196289,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec807e8"} 
[2026-07-05 01:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:50: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-07-05 01:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498172928001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498172928001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:50:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:50:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:50:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498172928001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":124127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:50:44] local.INFO: GPS data processed {"connection_id":124127,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:50:44] local.INFO: Acknowledgment sent {"connection_id":124127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:51:07] local.INFO: TCP Data received {"connection_id":122963,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:51:07] local.INFO: Processing buffer {"connection_id":122963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:51:07] local.INFO: IMEI packet received {"connection_id":122963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":122963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:51:11] local.INFO: TCP Data received {"connection_id":122963,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:51:11] local.INFO: Processing buffer {"connection_id":122963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:51:11] local.INFO: IMEI packet received {"connection_id":122963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":122963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:51:12] local.INFO: TCP Data received {"connection_id":122963,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:51:12] local.INFO: Processing buffer {"connection_id":122963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:51:12] local.INFO: Packet analysis {"connection_id":122963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:51:12] local.INFO: Extracted packet for processing {"connection_id":122963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:51:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498172928001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783196289000,"timestamp_ms":1783196289000,"timestamp_seconds":1783196289,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec807e8"} 
[2026-07-05 01:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498172928001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498172928001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:51:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498172928001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":122963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:51:12] local.INFO: GPS data processed {"connection_id":122963,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:51:12] local.INFO: Acknowledgment sent {"connection_id":122963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:51:44] local.INFO: TCP Data received {"connection_id":122963,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:51:44] local.INFO: Processing buffer {"connection_id":122963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:51:44] local.INFO: Packet analysis {"connection_id":122963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:51:44] local.INFO: Extracted packet for processing {"connection_id":122963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:51:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 01:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498172928001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:51:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783196289000,"timestamp_ms":1783196289000,"timestamp_seconds":1783196289,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec807e8"} 
[2026-07-05 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-07-05 01:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:51: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-07-05 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-07-05 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-07-05 01:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498172928001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498172928001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:51:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:51:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498172928001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":122963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:51:44] local.INFO: GPS data processed {"connection_id":122963,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:51:44] local.INFO: Acknowledgment sent {"connection_id":122963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:52:06] local.INFO: TCP Data received {"connection_id":124128,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:52:06] local.INFO: Processing buffer {"connection_id":124128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:52:06] local.INFO: IMEI packet received {"connection_id":124128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":124128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:52:11] local.INFO: TCP Data received {"connection_id":124128,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:52:11] local.INFO: Processing buffer {"connection_id":124128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:52:11] local.INFO: IMEI packet received {"connection_id":124128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":124128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:52:12] local.INFO: TCP Data received {"connection_id":124128,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:52:12] local.INFO: Processing buffer {"connection_id":124128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:52:12] local.INFO: Packet analysis {"connection_id":124128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:52:12] local.INFO: Extracted packet for processing {"connection_id":124128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:52:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498172928001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783196289000,"timestamp_ms":1783196289000,"timestamp_seconds":1783196289,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec807e8"} 
[2026-07-05 01:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498172928001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498172928001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:52:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498172928001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":124128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:52:12] local.INFO: GPS data processed {"connection_id":124128,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:52:12] local.INFO: Acknowledgment sent {"connection_id":124128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:52:43] local.INFO: TCP Data received {"connection_id":124128,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:52:43] local.INFO: Processing buffer {"connection_id":124128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:52:43] local.INFO: Packet analysis {"connection_id":124128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:52:43] local.INFO: Extracted packet for processing {"connection_id":124128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:52:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:52: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-07-05 01:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498172928001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:52:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783196289000,"timestamp_ms":1783196289000,"timestamp_seconds":1783196289,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec807e8"} 
[2026-07-05 01:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:52: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-07-05 01:52: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-07-05 01:52: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-07-05 01:52: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-07-05 01:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498172928001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498172928001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:52:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:52:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:52:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498172928001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":124128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:52:43] local.INFO: GPS data processed {"connection_id":124128,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:52:43] local.INFO: Acknowledgment sent {"connection_id":124128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:53:12] local.INFO: TCP Data received {"connection_id":122242,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:53:12] local.INFO: Processing buffer {"connection_id":122242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:53:12] local.INFO: IMEI packet received {"connection_id":122242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":122242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:53:17] local.INFO: TCP Data received {"connection_id":122242,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:53:17] local.INFO: Processing buffer {"connection_id":122242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:53:17] local.INFO: IMEI packet received {"connection_id":122242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":122242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:53:17] local.INFO: TCP Data received {"connection_id":122242,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:53:17] local.INFO: Processing buffer {"connection_id":122242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:53:17] local.INFO: Packet analysis {"connection_id":122242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:53:17] local.INFO: Extracted packet for processing {"connection_id":122242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:53:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498172928001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:53:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783196289000,"timestamp_ms":1783196289000,"timestamp_seconds":1783196289,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec807e8"} 
[2026-07-05 01:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498172928001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498172928001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:53:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:53:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:53:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498172928001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":122242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:53:17] local.INFO: GPS data processed {"connection_id":122242,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:53:17] local.INFO: Acknowledgment sent {"connection_id":122242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:53:22] local.INFO: TCP Data received {"connection_id":122242,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:53:22] local.INFO: Processing buffer {"connection_id":122242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ec807e8012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:53:22] local.INFO: Packet analysis {"connection_id":122242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:53:22] local.INFO: Extracted packet for processing {"connection_id":122242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ec8"} 
[2026-07-05 01:53:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01: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-07-05 01:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498172928001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:53:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783196289000,"timestamp_ms":1783196289000,"timestamp_seconds":1783196289,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ec807e8"} 
[2026-07-05 01:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01: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-07-05 01:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498172928001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498172928001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:53:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:53:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:53:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498172928001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":122242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:53:22] local.INFO: GPS data processed {"connection_id":122242,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:53:22] local.INFO: Acknowledgment sent {"connection_id":122242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:54:06] local.INFO: TCP Data received {"connection_id":124129,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:54:06] local.INFO: Processing buffer {"connection_id":124129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:54:06] local.INFO: IMEI packet received {"connection_id":124129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":124129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:54:11] local.INFO: TCP Data received {"connection_id":124129,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:54:11] local.INFO: Processing buffer {"connection_id":124129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:54:11] local.INFO: IMEI packet received {"connection_id":124129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":124129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:54:12] local.INFO: TCP Data received {"connection_id":124129,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:54:12] local.INFO: Processing buffer {"connection_id":124129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:54:12] local.INFO: Packet analysis {"connection_id":124129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:54:12] local.INFO: Extracted packet for processing {"connection_id":124129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:54:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498249984001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783196590000,"timestamp_ms":1783196590000,"timestamp_seconds":1783196590,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ecc9fb0"} 
[2026-07-05 01:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498249984001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498249984001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:54:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498249984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":124129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:54:12] local.INFO: GPS data processed {"connection_id":124129,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:54:12] local.INFO: Acknowledgment sent {"connection_id":124129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:54:43] local.INFO: TCP Data received {"connection_id":124129,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:54:43] local.INFO: Processing buffer {"connection_id":124129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:54:43] local.INFO: Packet analysis {"connection_id":124129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:54:43] local.INFO: Extracted packet for processing {"connection_id":124129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:54:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498249984001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783196590000,"timestamp_ms":1783196590000,"timestamp_seconds":1783196590,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ecc9fb0"} 
[2026-07-05 01:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:54: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-07-05 01:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:54: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-07-05 01:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498249984001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498249984001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:54:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498249984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":124129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:54:43] local.INFO: GPS data processed {"connection_id":124129,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:54:43] local.INFO: Acknowledgment sent {"connection_id":124129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:55:07] local.INFO: TCP Data received {"connection_id":122244,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:55:07] local.INFO: Processing buffer {"connection_id":122244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:55:07] local.INFO: IMEI packet received {"connection_id":122244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":122244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:55:11] local.INFO: TCP Data received {"connection_id":122244,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:55:11] local.INFO: Processing buffer {"connection_id":122244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:55:11] local.INFO: IMEI packet received {"connection_id":122244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":122244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:55:12] local.INFO: TCP Data received {"connection_id":122244,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:55:12] local.INFO: Processing buffer {"connection_id":122244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:55:12] local.INFO: Packet analysis {"connection_id":122244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:55:12] local.INFO: Extracted packet for processing {"connection_id":122244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:55:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498249984001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783196590000,"timestamp_ms":1783196590000,"timestamp_seconds":1783196590,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ecc9fb0"} 
[2026-07-05 01:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498249984001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498249984001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:55:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498249984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":122244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:55:12] local.INFO: GPS data processed {"connection_id":122244,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:55:12] local.INFO: Acknowledgment sent {"connection_id":122244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:55:31] local.INFO: TCP Data received {"connection_id":122243,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:55:31] local.INFO: Processing buffer {"connection_id":122243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:55:31] local.INFO: IMEI packet received {"connection_id":122243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":122243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:55:43] local.INFO: TCP Data received {"connection_id":122244,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:55:43] local.INFO: Processing buffer {"connection_id":122244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:55:43] local.INFO: Packet analysis {"connection_id":122244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:55:43] local.INFO: Extracted packet for processing {"connection_id":122244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:55:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498249984001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:55:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783196590000,"timestamp_ms":1783196590000,"timestamp_seconds":1783196590,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ecc9fb0"} 
[2026-07-05 01:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:55: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-07-05 01:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:55: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-07-05 01:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498249984001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498249984001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:55:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:55:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498249984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":122244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:55:43] local.INFO: GPS data processed {"connection_id":122244,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:55:43] local.INFO: Acknowledgment sent {"connection_id":122244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:56:06] local.INFO: TCP Data received {"connection_id":122245,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:56:06] local.INFO: Processing buffer {"connection_id":122245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 01:56:06] local.INFO: IMEI packet received {"connection_id":122245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 01:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":122245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:56:06] local.INFO: TCP Data received {"connection_id":122965,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:56:06] local.INFO: Processing buffer {"connection_id":122965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:56:06] local.INFO: IMEI packet received {"connection_id":122965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":122965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:56:11] local.INFO: TCP Data received {"connection_id":122965,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:56:11] local.INFO: Processing buffer {"connection_id":122965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:56:11] local.INFO: IMEI packet received {"connection_id":122965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":122965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:56:12] local.INFO: TCP Data received {"connection_id":122965,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:56:12] local.INFO: Processing buffer {"connection_id":122965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:56:12] local.INFO: Packet analysis {"connection_id":122965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:56:12] local.INFO: Extracted packet for processing {"connection_id":122965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:56:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498249984001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783196590000,"timestamp_ms":1783196590000,"timestamp_seconds":1783196590,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ecc9fb0"} 
[2026-07-05 01:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498249984001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498249984001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:56:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498249984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":122965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:56:12] local.INFO: GPS data processed {"connection_id":122965,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:56:12] local.INFO: Acknowledgment sent {"connection_id":122965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:56:43] local.INFO: TCP Data received {"connection_id":122965,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:56:43] local.INFO: Processing buffer {"connection_id":122965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:56:43] local.INFO: Packet analysis {"connection_id":122965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:56:43] local.INFO: Extracted packet for processing {"connection_id":122965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:56:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498249984001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:56:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783196590000,"timestamp_ms":1783196590000,"timestamp_seconds":1783196590,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ecc9fb0"} 
[2026-07-05 01:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:56: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-07-05 01:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498249984001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498249984001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:56:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:56:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498249984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":122965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:56:43] local.INFO: GPS data processed {"connection_id":122965,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:56:43] local.INFO: Acknowledgment sent {"connection_id":122965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:57:11] local.INFO: TCP Data received {"connection_id":124130,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:57:11] local.INFO: Processing buffer {"connection_id":124130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:57:11] local.INFO: IMEI packet received {"connection_id":124130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":124130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:57:16] local.INFO: TCP Data received {"connection_id":124130,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:57:16] local.INFO: Processing buffer {"connection_id":124130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:57:16] local.INFO: IMEI packet received {"connection_id":124130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":124130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:57:17] local.INFO: TCP Data received {"connection_id":124130,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:57:17] local.INFO: Processing buffer {"connection_id":124130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:57:17] local.INFO: Packet analysis {"connection_id":124130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:57:17] local.INFO: Extracted packet for processing {"connection_id":124130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:57:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498249984001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783196590000,"timestamp_ms":1783196590000,"timestamp_seconds":1783196590,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ecc9fb0"} 
[2026-07-05 01:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498249984001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498249984001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:57:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:57:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498249984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":124130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:57:17] local.INFO: GPS data processed {"connection_id":124130,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:57:17] local.INFO: Acknowledgment sent {"connection_id":124130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:57:22] local.INFO: TCP Data received {"connection_id":124130,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:57:22] local.INFO: Processing buffer {"connection_id":124130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:57:22] local.INFO: Packet analysis {"connection_id":124130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:57:22] local.INFO: Extracted packet for processing {"connection_id":124130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:57:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498249984001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:57:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783196590000,"timestamp_ms":1783196590000,"timestamp_seconds":1783196590,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ecc9fb0"} 
[2026-07-05 01:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498249984001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498249984001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:57:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:57:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:57:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498249984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":124130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:57:22] local.INFO: GPS data processed {"connection_id":124130,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:57:22] local.INFO: Acknowledgment sent {"connection_id":124130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:58:06] local.INFO: TCP Data received {"connection_id":122165,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:58:06] local.INFO: Processing buffer {"connection_id":122165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:58:06] local.INFO: IMEI packet received {"connection_id":122165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":122165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:58:11] local.INFO: TCP Data received {"connection_id":122165,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:58:11] local.INFO: Processing buffer {"connection_id":122165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:58:11] local.INFO: IMEI packet received {"connection_id":122165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":122165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:58:12] local.INFO: TCP Data received {"connection_id":122165,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:58:12] local.INFO: Processing buffer {"connection_id":122165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:58:12] local.INFO: Packet analysis {"connection_id":122165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:58:12] local.INFO: Extracted packet for processing {"connection_id":122165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:58:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498249984001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783196590000,"timestamp_ms":1783196590000,"timestamp_seconds":1783196590,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ecc9fb0"} 
[2026-07-05 01:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498249984001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498249984001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:58:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:58:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498249984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":122165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:58:12] local.INFO: GPS data processed {"connection_id":122165,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:58:12] local.INFO: Acknowledgment sent {"connection_id":122165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:58:43] local.INFO: TCP Data received {"connection_id":122165,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:58:43] local.INFO: Processing buffer {"connection_id":122165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ecc9fb0012cb2a2c007823a880048013b28..."} 
[2026-07-05 01:58:43] local.INFO: Packet analysis {"connection_id":122165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:58:43] local.INFO: Extracted packet for processing {"connection_id":122165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ecc"} 
[2026-07-05 01:58:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498249984001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:58:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783196590000,"timestamp_ms":1783196590000,"timestamp_seconds":1783196590,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ecc9fb0"} 
[2026-07-05 01:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:58: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-07-05 01:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 01:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498249984001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498249984001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:58:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:58:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498249984001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":122165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:58:43] local.INFO: GPS data processed {"connection_id":122165,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:58:43] local.INFO: Acknowledgment sent {"connection_id":122165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:59:06] local.INFO: TCP Data received {"connection_id":124131,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:59:06] local.INFO: Processing buffer {"connection_id":124131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:59:06] local.INFO: IMEI packet received {"connection_id":124131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 01:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":124131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 01:59:11] local.INFO: TCP Data received {"connection_id":124131,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:59:11] local.INFO: Processing buffer {"connection_id":124131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 01:59:11] local.INFO: IMEI packet received {"connection_id":124131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 01:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":124131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 01:59:12] local.INFO: TCP Data received {"connection_id":124131,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 01:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 01:59:12] local.INFO: Processing buffer {"connection_id":124131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 01:59:12] local.INFO: Packet analysis {"connection_id":124131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 01:59:12] local.INFO: Extracted packet for processing {"connection_id":124131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 01:59:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498327040001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783196891000,"timestamp_ms":1783196891000,"timestamp_seconds":1783196891,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed13778"} 
[2026-07-05 01:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 01:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498327040001,"66":24995,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498327040001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:59:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498327040001,"power":24995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":124131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:59:12] local.INFO: GPS data processed {"connection_id":124131,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:59:12] local.INFO: Acknowledgment sent {"connection_id":124131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 01:59:43] local.INFO: TCP Data received {"connection_id":124131,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 01:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 01:59:43] local.INFO: Processing buffer {"connection_id":124131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 01:59:43] local.INFO: Packet analysis {"connection_id":124131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 01:59:43] local.INFO: Extracted packet for processing {"connection_id":124131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 01:59:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 01:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 01:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498327040001,"note":"Value kept but may cause issues"} 
[2026-07-05 01:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 01:59:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 01:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 01:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783196891000,"timestamp_ms":1783196891000,"timestamp_seconds":1783196891,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed13778"} 
[2026-07-05 01:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 01:59: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-07-05 01:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 01:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 01:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 01:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 01:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 01:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 01:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 01:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 01:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 01:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 01:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498327040001,"66":24995,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 01:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 01:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 01:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498327040001,"description":"Unknown IO ID 0"} 
[2026-07-05 01:59:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 01:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 01:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 01:59:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 01:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498327040001,"power":24995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 01:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":124131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 01:59:43] local.INFO: GPS data processed {"connection_id":124131,"processed":1,"errors":0,"total":1} 
[2026-07-05 01:59:43] local.INFO: Acknowledgment sent {"connection_id":124131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:00:07] local.INFO: TCP Data received {"connection_id":122967,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:00:07] local.INFO: Processing buffer {"connection_id":122967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:00:07] local.INFO: IMEI packet received {"connection_id":122967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":122967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:00:11] local.INFO: TCP Data received {"connection_id":122967,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:00:11] local.INFO: Processing buffer {"connection_id":122967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:00:11] local.INFO: IMEI packet received {"connection_id":122967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":122967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:00:12] local.INFO: TCP Data received {"connection_id":122967,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:00:12] local.INFO: Processing buffer {"connection_id":122967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:00:12] local.INFO: Packet analysis {"connection_id":122967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:00:12] local.INFO: Extracted packet for processing {"connection_id":122967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:00:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498327040001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783196891000,"timestamp_ms":1783196891000,"timestamp_seconds":1783196891,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed13778"} 
[2026-07-05 02:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498327040001,"66":24995,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498327040001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:00:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498327040001,"power":24995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":122967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:00:12] local.INFO: GPS data processed {"connection_id":122967,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:00:12] local.INFO: Acknowledgment sent {"connection_id":122967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:00:43] local.INFO: TCP Data received {"connection_id":122967,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:00:43] local.INFO: Processing buffer {"connection_id":122967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:00:43] local.INFO: Packet analysis {"connection_id":122967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:00:43] local.INFO: Extracted packet for processing {"connection_id":122967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:00:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498327040001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783196891000,"timestamp_ms":1783196891000,"timestamp_seconds":1783196891,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed13778"} 
[2026-07-05 02:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:00: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-07-05 02:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498327040001,"66":24995,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498327040001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:00:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498327040001,"power":24995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":122967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:00:43] local.INFO: GPS data processed {"connection_id":122967,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:00:43] local.INFO: Acknowledgment sent {"connection_id":122967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:01:06] local.INFO: TCP Data received {"connection_id":122166,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:01:06] local.INFO: Processing buffer {"connection_id":122166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:01:06] local.INFO: IMEI packet received {"connection_id":122166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":122166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:01:11] local.INFO: TCP Data received {"connection_id":122166,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:01:11] local.INFO: Processing buffer {"connection_id":122166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:01:11] local.INFO: IMEI packet received {"connection_id":122166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":122166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:01:12] local.INFO: TCP Data received {"connection_id":122166,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:01:12] local.INFO: Processing buffer {"connection_id":122166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:01:12] local.INFO: Packet analysis {"connection_id":122166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:01:12] local.INFO: Extracted packet for processing {"connection_id":122166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:01:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498327040001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783196891000,"timestamp_ms":1783196891000,"timestamp_seconds":1783196891,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed13778"} 
[2026-07-05 02:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498327040001,"66":24995,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498327040001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:01:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498327040001,"power":24995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":122166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:01:12] local.INFO: GPS data processed {"connection_id":122166,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:01:12] local.INFO: Acknowledgment sent {"connection_id":122166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:01:33] local.INFO: TCP Data received {"connection_id":122247,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:01:33] local.INFO: Processing buffer {"connection_id":122247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:01:33] local.INFO: IMEI packet received {"connection_id":122247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":122247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:01:43] local.INFO: TCP Data received {"connection_id":122166,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:01:43] local.INFO: Processing buffer {"connection_id":122166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:01:43] local.INFO: Packet analysis {"connection_id":122166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:01:43] local.INFO: Extracted packet for processing {"connection_id":122166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:01:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498327040001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:01:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783196891000,"timestamp_ms":1783196891000,"timestamp_seconds":1783196891,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed13778"} 
[2026-07-05 02:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:01: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-07-05 02:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498327040001,"66":24995,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498327040001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:01:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:01:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498327040001,"power":24995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":122166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:01:43] local.INFO: GPS data processed {"connection_id":122166,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:01:43] local.INFO: Acknowledgment sent {"connection_id":122166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:02:06] local.INFO: TCP Data received {"connection_id":122167,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:02:06] local.INFO: Processing buffer {"connection_id":122167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:02:06] local.INFO: IMEI packet received {"connection_id":122167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":122167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:02:11] local.INFO: TCP Data received {"connection_id":124134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:02:11] local.INFO: Processing buffer {"connection_id":124134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:02:11] local.INFO: IMEI packet received {"connection_id":124134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":124134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:02:16] local.INFO: TCP Data received {"connection_id":124134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:02:16] local.INFO: Processing buffer {"connection_id":124134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:02:16] local.INFO: IMEI packet received {"connection_id":124134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":124134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:02:17] local.INFO: TCP Data received {"connection_id":124134,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:02:17] local.INFO: Processing buffer {"connection_id":124134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:02:17] local.INFO: Packet analysis {"connection_id":124134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:02:17] local.INFO: Extracted packet for processing {"connection_id":124134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:02:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498327040001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:02:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783196891000,"timestamp_ms":1783196891000,"timestamp_seconds":1783196891,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed13778"} 
[2026-07-05 02:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498327040001,"66":24995,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498327040001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:02:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:02:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:02:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498327040001,"power":24995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":124134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:02:17] local.INFO: GPS data processed {"connection_id":124134,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:02:17] local.INFO: Acknowledgment sent {"connection_id":124134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:02:22] local.INFO: TCP Data received {"connection_id":124134,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:02:22] local.INFO: Processing buffer {"connection_id":124134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:02:22] local.INFO: Packet analysis {"connection_id":124134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:02:22] local.INFO: Extracted packet for processing {"connection_id":124134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:02:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498327040001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:02:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783196891000,"timestamp_ms":1783196891000,"timestamp_seconds":1783196891,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed13778"} 
[2026-07-05 02:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498327040001,"66":24995,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498327040001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:02:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:02:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:02:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498327040001,"power":24995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":124134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:02:22] local.INFO: GPS data processed {"connection_id":124134,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:02:22] local.INFO: Acknowledgment sent {"connection_id":124134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:03:06] local.INFO: TCP Data received {"connection_id":122968,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:03:07] local.INFO: Processing buffer {"connection_id":122968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:03:07] local.INFO: IMEI packet received {"connection_id":122968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":122968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:03:11] local.INFO: TCP Data received {"connection_id":122968,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:03:11] local.INFO: Processing buffer {"connection_id":122968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:03:11] local.INFO: IMEI packet received {"connection_id":122968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":122968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:03:12] local.INFO: TCP Data received {"connection_id":122968,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:03:12] local.INFO: Processing buffer {"connection_id":122968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:03:12] local.INFO: Packet analysis {"connection_id":122968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:03:12] local.INFO: Extracted packet for processing {"connection_id":122968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:03:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498327040001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783196891000,"timestamp_ms":1783196891000,"timestamp_seconds":1783196891,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed13778"} 
[2026-07-05 02:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498327040001,"66":24995,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498327040001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:03:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498327040001,"power":24995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":122968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:03:12] local.INFO: GPS data processed {"connection_id":122968,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:03:12] local.INFO: Acknowledgment sent {"connection_id":122968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:03:43] local.INFO: TCP Data received {"connection_id":122968,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:03:43] local.INFO: Processing buffer {"connection_id":122968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed13778012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:03:43] local.INFO: Packet analysis {"connection_id":122968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:03:43] local.INFO: Extracted packet for processing {"connection_id":122968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed1"} 
[2026-07-05 02:03:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498327040001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:03:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783196891000,"timestamp_ms":1783196891000,"timestamp_seconds":1783196891,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed13778"} 
[2026-07-05 02:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:03: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-07-05 02:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498327040001,"66":24995,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498327040001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:03:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:03:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498327040001,"power":24995,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":122968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:03:43] local.INFO: GPS data processed {"connection_id":122968,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:03:43] local.INFO: Acknowledgment sent {"connection_id":122968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:04:08] local.INFO: TCP Data received {"connection_id":122248,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:04:08] local.INFO: Processing buffer {"connection_id":122248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:04:08] local.INFO: IMEI packet received {"connection_id":122248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":122248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:04:11] local.INFO: TCP Data received {"connection_id":122248,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:04:11] local.INFO: Processing buffer {"connection_id":122248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:04:11] local.INFO: IMEI packet received {"connection_id":122248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":122248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:04:12] local.INFO: TCP Data received {"connection_id":122248,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:04:12] local.INFO: Processing buffer {"connection_id":122248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:04:12] local.INFO: Packet analysis {"connection_id":122248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:04:12] local.INFO: Extracted packet for processing {"connection_id":122248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:04:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498404096001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783197192000,"timestamp_ms":1783197192000,"timestamp_seconds":1783197192,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed5cf40"} 
[2026-07-05 02:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-05 02:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498404096001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498404096001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:04:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498404096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":122248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:04:12] local.INFO: GPS data processed {"connection_id":122248,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:04:12] local.INFO: Acknowledgment sent {"connection_id":122248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:04:43] local.INFO: TCP Data received {"connection_id":122248,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:04:43] local.INFO: Processing buffer {"connection_id":122248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:04:43] local.INFO: Packet analysis {"connection_id":122248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:04:43] local.INFO: Extracted packet for processing {"connection_id":122248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:04:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498404096001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783197192000,"timestamp_ms":1783197192000,"timestamp_seconds":1783197192,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed5cf40"} 
[2026-07-05 02:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02: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-07-05 02: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-05 02:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498404096001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498404096001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:04:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498404096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":122248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:04:43] local.INFO: GPS data processed {"connection_id":122248,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:04:43] local.INFO: Acknowledgment sent {"connection_id":122248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:05:06] local.INFO: TCP Data received {"connection_id":122169,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:05:06] local.INFO: Processing buffer {"connection_id":122169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:05:06] local.INFO: IMEI packet received {"connection_id":122169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":122169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:05:11] local.INFO: TCP Data received {"connection_id":122169,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:05:11] local.INFO: Processing buffer {"connection_id":122169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:05:11] local.INFO: IMEI packet received {"connection_id":122169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":122169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:05:12] local.INFO: TCP Data received {"connection_id":122169,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:05:12] local.INFO: Processing buffer {"connection_id":122169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:05:12] local.INFO: Packet analysis {"connection_id":122169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:05:12] local.INFO: Extracted packet for processing {"connection_id":122169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:05:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498404096001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783197192000,"timestamp_ms":1783197192000,"timestamp_seconds":1783197192,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed5cf40"} 
[2026-07-05 02:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-05 02:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498404096001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498404096001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:05:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498404096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":122169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:05:12] local.INFO: GPS data processed {"connection_id":122169,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:05:12] local.INFO: Acknowledgment sent {"connection_id":122169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:05:44] local.INFO: TCP Data received {"connection_id":122169,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:05:44] local.INFO: Processing buffer {"connection_id":122169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:05:44] local.INFO: Packet analysis {"connection_id":122169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:05:44] local.INFO: Extracted packet for processing {"connection_id":122169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:05:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 02:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498404096001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:05:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783197192000,"timestamp_ms":1783197192000,"timestamp_seconds":1783197192,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed5cf40"} 
[2026-07-05 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-07-05 02:05: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-07-05 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-05 02:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 02:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498404096001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498404096001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:05:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:05:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498404096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":122169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:05:44] local.INFO: GPS data processed {"connection_id":122169,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:05:44] local.INFO: Acknowledgment sent {"connection_id":122169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:06:11] local.INFO: TCP Data received {"connection_id":124136,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:06:12] local.INFO: Processing buffer {"connection_id":124136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:06:12] local.INFO: IMEI packet received {"connection_id":124136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":124136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:06:16] local.INFO: TCP Data received {"connection_id":124136,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:06:16] local.INFO: Processing buffer {"connection_id":124136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:06:16] local.INFO: IMEI packet received {"connection_id":124136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":124136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:06:17] local.INFO: TCP Data received {"connection_id":124136,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:06:17] local.INFO: Processing buffer {"connection_id":124136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:06:17] local.INFO: Packet analysis {"connection_id":124136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:06:17] local.INFO: Extracted packet for processing {"connection_id":124136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:06:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498404096001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:06:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783197192000,"timestamp_ms":1783197192000,"timestamp_seconds":1783197192,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed5cf40"} 
[2026-07-05 02:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-05 02:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498404096001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498404096001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:06:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:06:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:06:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498404096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":124136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:06:17] local.INFO: GPS data processed {"connection_id":124136,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:06:17] local.INFO: Acknowledgment sent {"connection_id":124136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:06:22] local.INFO: TCP Data received {"connection_id":124136,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:06:22] local.INFO: Processing buffer {"connection_id":124136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:06:22] local.INFO: Packet analysis {"connection_id":124136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:06:22] local.INFO: Extracted packet for processing {"connection_id":124136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:06:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498404096001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:06:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783197192000,"timestamp_ms":1783197192000,"timestamp_seconds":1783197192,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed5cf40"} 
[2026-07-05 02:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-05 02:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498404096001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498404096001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:06:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:06:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:06:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498404096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":124136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:06:22] local.INFO: GPS data processed {"connection_id":124136,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:06:22] local.INFO: Acknowledgment sent {"connection_id":124136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:07:06] local.INFO: TCP Data received {"connection_id":122171,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:07:06] local.INFO: Processing buffer {"connection_id":122171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:07:06] local.INFO: IMEI packet received {"connection_id":122171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":122171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:07:11] local.INFO: TCP Data received {"connection_id":122171,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:07:11] local.INFO: Processing buffer {"connection_id":122171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:07:11] local.INFO: IMEI packet received {"connection_id":122171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":122171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:07:13] local.INFO: TCP Data received {"connection_id":122171,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:07:13] local.INFO: Processing buffer {"connection_id":122171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:07:13] local.INFO: Packet analysis {"connection_id":122171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:07:13] local.INFO: Extracted packet for processing {"connection_id":122171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:07:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498404096001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783197192000,"timestamp_ms":1783197192000,"timestamp_seconds":1783197192,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed5cf40"} 
[2026-07-05 02:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-05 02:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498404096001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498404096001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:07:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498404096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":122171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:07:13] local.INFO: GPS data processed {"connection_id":122171,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:07:13] local.INFO: Acknowledgment sent {"connection_id":122171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:07:36] local.INFO: TCP Data received {"connection_id":122172,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:07:36] local.INFO: Processing buffer {"connection_id":122172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:07:36] local.INFO: IMEI packet received {"connection_id":122172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":122172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:07:44] local.INFO: TCP Data received {"connection_id":122171,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:07:44] local.INFO: Processing buffer {"connection_id":122171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:07:44] local.INFO: Packet analysis {"connection_id":122171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:07:44] local.INFO: Extracted packet for processing {"connection_id":122171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:07:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498404096001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:07:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783197192000,"timestamp_ms":1783197192000,"timestamp_seconds":1783197192,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed5cf40"} 
[2026-07-05 02:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:07: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-07-05 02:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-05 02:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498404096001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498404096001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:07:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:07:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498404096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":122171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:07:44] local.INFO: GPS data processed {"connection_id":122171,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:07:44] local.INFO: Acknowledgment sent {"connection_id":122171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:08:06] local.INFO: TCP Data received {"connection_id":122970,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:08:06] local.INFO: Processing buffer {"connection_id":122970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:08:06] local.INFO: IMEI packet received {"connection_id":122970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":122970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:08:06] local.INFO: TCP Data received {"connection_id":122969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:08:06] local.INFO: Processing buffer {"connection_id":122969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:08:06] local.INFO: IMEI packet received {"connection_id":122969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":122969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:08:11] local.INFO: TCP Data received {"connection_id":122969,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:08:11] local.INFO: Processing buffer {"connection_id":122969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:08:11] local.INFO: IMEI packet received {"connection_id":122969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":122969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:08:13] local.INFO: TCP Data received {"connection_id":122969,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:08:13] local.INFO: Processing buffer {"connection_id":122969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:08:13] local.INFO: Packet analysis {"connection_id":122969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:08:13] local.INFO: Extracted packet for processing {"connection_id":122969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:08:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498404096001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783197192000,"timestamp_ms":1783197192000,"timestamp_seconds":1783197192,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed5cf40"} 
[2026-07-05 02:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-05 02:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498404096001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498404096001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:08:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498404096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":122969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:08:13] local.INFO: GPS data processed {"connection_id":122969,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:08:13] local.INFO: Acknowledgment sent {"connection_id":122969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:08:44] local.INFO: TCP Data received {"connection_id":122969,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:08:44] local.INFO: Processing buffer {"connection_id":122969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ed5cf40012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:08:44] local.INFO: Packet analysis {"connection_id":122969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:08:44] local.INFO: Extracted packet for processing {"connection_id":122969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ed5"} 
[2026-07-05 02:08:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498404096001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:08:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783197192000,"timestamp_ms":1783197192000,"timestamp_seconds":1783197192,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ed5cf40"} 
[2026-07-05 02:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:08: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-07-05 02:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-05 02:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498404096001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498404096001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:08:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:08:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:08:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498404096001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":122969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:08:44] local.INFO: GPS data processed {"connection_id":122969,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:08:44] local.INFO: Acknowledgment sent {"connection_id":122969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:09:06] local.INFO: TCP Data received {"connection_id":122173,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:09:06] local.INFO: Processing buffer {"connection_id":122173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:09:06] local.INFO: IMEI packet received {"connection_id":122173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":122173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:09:11] local.INFO: TCP Data received {"connection_id":122173,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:09:11] local.INFO: Processing buffer {"connection_id":122173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:09:11] local.INFO: IMEI packet received {"connection_id":122173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":122173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:09:12] local.INFO: TCP Data received {"connection_id":122173,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:09:12] local.INFO: Processing buffer {"connection_id":122173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:09:12] local.INFO: Packet analysis {"connection_id":122173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:09:12] local.INFO: Extracted packet for processing {"connection_id":122173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:09:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498481152001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783197493000,"timestamp_ms":1783197493000,"timestamp_seconds":1783197493,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eda6708"} 
[2026-07-05 02:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498481152001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498481152001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:09:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498481152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":122173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:09:12] local.INFO: GPS data processed {"connection_id":122173,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:09:12] local.INFO: Acknowledgment sent {"connection_id":122173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:09:43] local.INFO: TCP Data received {"connection_id":122173,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:09:43] local.INFO: Processing buffer {"connection_id":122173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:09:43] local.INFO: Packet analysis {"connection_id":122173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:09:43] local.INFO: Extracted packet for processing {"connection_id":122173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:09:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498481152001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783197493000,"timestamp_ms":1783197493000,"timestamp_seconds":1783197493,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eda6708"} 
[2026-07-05 02:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:09: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-07-05 02:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498481152001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498481152001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:09:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498481152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":122173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:09:43] local.INFO: GPS data processed {"connection_id":122173,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:09:43] local.INFO: Acknowledgment sent {"connection_id":122173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:10:07] local.INFO: TCP Data received {"connection_id":122174,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:10:07] local.INFO: Processing buffer {"connection_id":122174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:10:07] local.INFO: IMEI packet received {"connection_id":122174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":122174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:10:11] local.INFO: TCP Data received {"connection_id":122174,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:10:11] local.INFO: Processing buffer {"connection_id":122174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:10:11] local.INFO: IMEI packet received {"connection_id":122174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":122174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:10:12] local.INFO: TCP Data received {"connection_id":122174,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:10:12] local.INFO: Processing buffer {"connection_id":122174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:10:12] local.INFO: Packet analysis {"connection_id":122174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:10:12] local.INFO: Extracted packet for processing {"connection_id":122174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:10:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498481152001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783197493000,"timestamp_ms":1783197493000,"timestamp_seconds":1783197493,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eda6708"} 
[2026-07-05 02:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498481152001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498481152001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:10:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498481152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":122174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:10:12] local.INFO: GPS data processed {"connection_id":122174,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:10:12] local.INFO: Acknowledgment sent {"connection_id":122174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:10:55] local.INFO: TCP Data received {"connection_id":122174,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:10:55] local.INFO: Processing buffer {"connection_id":122174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:10:55] local.INFO: Packet analysis {"connection_id":122174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:10:55] local.INFO: Extracted packet for processing {"connection_id":122174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:10:55] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498481152001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:10:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783197493000,"timestamp_ms":1783197493000,"timestamp_seconds":1783197493,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eda6708"} 
[2026-07-05 02:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":122174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":122174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":122174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498481152001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498481152001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:10:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:10:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:10:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498481152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":122174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:10:55] local.INFO: GPS data processed {"connection_id":122174,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:10:55] local.INFO: Acknowledgment sent {"connection_id":122174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:11:06] local.INFO: TCP Data received {"connection_id":122972,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:11:06] local.INFO: Processing buffer {"connection_id":122972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:11:06] local.INFO: IMEI packet received {"connection_id":122972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":122972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:11:11] local.INFO: TCP Data received {"connection_id":122972,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:11:11] local.INFO: Processing buffer {"connection_id":122972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:11:11] local.INFO: IMEI packet received {"connection_id":122972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":122972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:11:12] local.INFO: TCP Data received {"connection_id":122972,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:11:12] local.INFO: Processing buffer {"connection_id":122972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:11:12] local.INFO: Packet analysis {"connection_id":122972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:11:12] local.INFO: Extracted packet for processing {"connection_id":122972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:11:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498481152001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783197493000,"timestamp_ms":1783197493000,"timestamp_seconds":1783197493,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eda6708"} 
[2026-07-05 02:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498481152001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498481152001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:11:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498481152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":122972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:11:12] local.INFO: GPS data processed {"connection_id":122972,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:11:12] local.INFO: Acknowledgment sent {"connection_id":122972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:11:44] local.INFO: TCP Data received {"connection_id":122972,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:11:44] local.INFO: Processing buffer {"connection_id":122972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:11:44] local.INFO: Packet analysis {"connection_id":122972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:11:44] local.INFO: Extracted packet for processing {"connection_id":122972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:11:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 02:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498481152001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:11:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783197493000,"timestamp_ms":1783197493000,"timestamp_seconds":1783197493,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eda6708"} 
[2026-07-05 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-07-05 02:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:11: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-07-05 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-07-05 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-07-05 02:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498481152001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498481152001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:11:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:11:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498481152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":122972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:11:44] local.INFO: GPS data processed {"connection_id":122972,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:11:44] local.INFO: Acknowledgment sent {"connection_id":122972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:12:11] local.INFO: TCP Data received {"connection_id":122175,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:12:11] local.INFO: Processing buffer {"connection_id":122175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:12:11] local.INFO: IMEI packet received {"connection_id":122175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":122175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:12:16] local.INFO: TCP Data received {"connection_id":122175,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:12:16] local.INFO: Processing buffer {"connection_id":122175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:12:16] local.INFO: IMEI packet received {"connection_id":122175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":122175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:12:18] local.INFO: TCP Data received {"connection_id":122175,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:12:18] local.INFO: Processing buffer {"connection_id":122175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:12:18] local.INFO: Packet analysis {"connection_id":122175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:12:18] local.INFO: Extracted packet for processing {"connection_id":122175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:12:18] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498481152001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:12:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783197493000,"timestamp_ms":1783197493000,"timestamp_seconds":1783197493,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eda6708"} 
[2026-07-05 02:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498481152001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498481152001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:12:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:12:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:12:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498481152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":122175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:12:18] local.INFO: GPS data processed {"connection_id":122175,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:12:18] local.INFO: Acknowledgment sent {"connection_id":122175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:12:22] local.INFO: TCP Data received {"connection_id":122175,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:12:22] local.INFO: Processing buffer {"connection_id":122175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:12:22] local.INFO: Packet analysis {"connection_id":122175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:12:22] local.INFO: Extracted packet for processing {"connection_id":122175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:12:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498481152001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783197493000,"timestamp_ms":1783197493000,"timestamp_seconds":1783197493,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eda6708"} 
[2026-07-05 02:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498481152001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498481152001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:12:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498481152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":122175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:12:22] local.INFO: GPS data processed {"connection_id":122175,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:12:22] local.INFO: Acknowledgment sent {"connection_id":122175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:13:07] local.INFO: TCP Data received {"connection_id":124140,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:13:07] local.INFO: Processing buffer {"connection_id":124140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:13:07] local.INFO: IMEI packet received {"connection_id":124140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":124140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:13:11] local.INFO: TCP Data received {"connection_id":124140,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:13:11] local.INFO: Processing buffer {"connection_id":124140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:13:11] local.INFO: IMEI packet received {"connection_id":124140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":124140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:13:12] local.INFO: TCP Data received {"connection_id":124140,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:13:12] local.INFO: Processing buffer {"connection_id":124140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:13:12] local.INFO: Packet analysis {"connection_id":124140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:13:12] local.INFO: Extracted packet for processing {"connection_id":124140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:13:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498481152001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783197493000,"timestamp_ms":1783197493000,"timestamp_seconds":1783197493,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eda6708"} 
[2026-07-05 02:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498481152001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498481152001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:13:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498481152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":124140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:13:12] local.INFO: GPS data processed {"connection_id":124140,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:13:12] local.INFO: Acknowledgment sent {"connection_id":124140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:13:41] local.INFO: TCP Data received {"connection_id":122973,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:13:41] local.INFO: Processing buffer {"connection_id":122973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:13:41] local.INFO: IMEI packet received {"connection_id":122973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":122973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:13:44] local.INFO: TCP Data received {"connection_id":124140,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:13:44] local.INFO: Processing buffer {"connection_id":124140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eda6708012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:13:44] local.INFO: Packet analysis {"connection_id":124140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:13:44] local.INFO: Extracted packet for processing {"connection_id":124140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eda"} 
[2026-07-05 02:13:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498481152001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:13:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783197493000,"timestamp_ms":1783197493000,"timestamp_seconds":1783197493,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eda6708"} 
[2026-07-05 02:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498481152001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498481152001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:13:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:13:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498481152001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":124140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:13:44] local.INFO: GPS data processed {"connection_id":124140,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:13:44] local.INFO: Acknowledgment sent {"connection_id":124140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:14:07] local.INFO: TCP Data received {"connection_id":124141,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:14:07] local.INFO: Processing buffer {"connection_id":124141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:14:07] local.INFO: IMEI packet received {"connection_id":124141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":124141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:14:11] local.INFO: TCP Data received {"connection_id":122176,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:14:11] local.INFO: Processing buffer {"connection_id":122176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:14:11] local.INFO: IMEI packet received {"connection_id":122176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":122176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:14:12] local.INFO: TCP Data received {"connection_id":124141,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:14:12] local.INFO: Processing buffer {"connection_id":124141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:14:12] local.INFO: IMEI packet received {"connection_id":124141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":124141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:14:13] local.INFO: TCP Data received {"connection_id":124141,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:14:13] local.INFO: Processing buffer {"connection_id":124141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:14:13] local.INFO: Packet analysis {"connection_id":124141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:14:13] local.INFO: Extracted packet for processing {"connection_id":124141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:14:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498558208001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:14:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783197794000,"timestamp_ms":1783197794000,"timestamp_seconds":1783197794,"priority":1,"record_length":96,"hex_timestamp":"0000019f2edefed0"} 
[2026-07-05 02:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498558208001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498558208001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:14:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:14:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498558208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":124141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:14:13] local.INFO: GPS data processed {"connection_id":124141,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:14:13] local.INFO: Acknowledgment sent {"connection_id":124141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:14:44] local.INFO: TCP Data received {"connection_id":124141,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:14:44] local.INFO: Processing buffer {"connection_id":124141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:14:44] local.INFO: Packet analysis {"connection_id":124141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:14:44] local.INFO: Extracted packet for processing {"connection_id":124141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:14:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498558208001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:14:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783197794000,"timestamp_ms":1783197794000,"timestamp_seconds":1783197794,"priority":1,"record_length":96,"hex_timestamp":"0000019f2edefed0"} 
[2026-07-05 02:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:14: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-07-05 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498558208001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498558208001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:14:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:14:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498558208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":124141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:14:44] local.INFO: GPS data processed {"connection_id":124141,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:14:44] local.INFO: Acknowledgment sent {"connection_id":124141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:15:06] local.INFO: TCP Data received {"connection_id":124142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:15:06] local.INFO: Processing buffer {"connection_id":124142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:15:06] local.INFO: IMEI packet received {"connection_id":124142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":124142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:15:11] local.INFO: TCP Data received {"connection_id":124142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:15:11] local.INFO: Processing buffer {"connection_id":124142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:15:11] local.INFO: IMEI packet received {"connection_id":124142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":124142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:15:12] local.INFO: TCP Data received {"connection_id":124142,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:15:12] local.INFO: Processing buffer {"connection_id":124142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:15:12] local.INFO: Packet analysis {"connection_id":124142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:15:12] local.INFO: Extracted packet for processing {"connection_id":124142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:15:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498558208001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783197794000,"timestamp_ms":1783197794000,"timestamp_seconds":1783197794,"priority":1,"record_length":96,"hex_timestamp":"0000019f2edefed0"} 
[2026-07-05 02:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498558208001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498558208001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:15:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498558208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":124142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:15:12] local.INFO: GPS data processed {"connection_id":124142,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:15:12] local.INFO: Acknowledgment sent {"connection_id":124142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:15:43] local.INFO: TCP Data received {"connection_id":124142,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:15:43] local.INFO: Processing buffer {"connection_id":124142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:15:43] local.INFO: Packet analysis {"connection_id":124142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:15:43] local.INFO: Extracted packet for processing {"connection_id":124142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:15:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498558208001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:15:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783197794000,"timestamp_ms":1783197794000,"timestamp_seconds":1783197794,"priority":1,"record_length":96,"hex_timestamp":"0000019f2edefed0"} 
[2026-07-05 02:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:15: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-07-05 02:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498558208001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498558208001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:15:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:15:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498558208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":124142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:15:43] local.INFO: GPS data processed {"connection_id":124142,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:15:43] local.INFO: Acknowledgment sent {"connection_id":124142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:16:11] local.INFO: TCP Data received {"connection_id":122975,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:16:11] local.INFO: Processing buffer {"connection_id":122975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:16:11] local.INFO: IMEI packet received {"connection_id":122975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":122975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:16:16] local.INFO: TCP Data received {"connection_id":122975,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:16:16] local.INFO: Processing buffer {"connection_id":122975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:16:16] local.INFO: IMEI packet received {"connection_id":122975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":122975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:16:19] local.INFO: TCP Data received {"connection_id":122975,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:16:19] local.INFO: Processing buffer {"connection_id":122975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:16:19] local.INFO: Packet analysis {"connection_id":122975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:16:19] local.INFO: Extracted packet for processing {"connection_id":122975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:16:19] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498558208001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:16:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783197794000,"timestamp_ms":1783197794000,"timestamp_seconds":1783197794,"priority":1,"record_length":96,"hex_timestamp":"0000019f2edefed0"} 
[2026-07-05 02:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498558208001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498558208001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:16:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:16:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498558208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":122975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:16:19] local.INFO: GPS data processed {"connection_id":122975,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:16:19] local.INFO: Acknowledgment sent {"connection_id":122975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:16:23] local.INFO: TCP Data received {"connection_id":122975,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:16:23] local.INFO: Processing buffer {"connection_id":122975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:16:23] local.INFO: Packet analysis {"connection_id":122975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:16:23] local.INFO: Extracted packet for processing {"connection_id":122975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:16:23] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498558208001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:16:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783197794000,"timestamp_ms":1783197794000,"timestamp_seconds":1783197794,"priority":1,"record_length":96,"hex_timestamp":"0000019f2edefed0"} 
[2026-07-05 02:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":122975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":122975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":122975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498558208001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498558208001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:16:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:16:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:16:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498558208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":122975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:16:23] local.INFO: GPS data processed {"connection_id":122975,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:16:23] local.INFO: Acknowledgment sent {"connection_id":122975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:17:06] local.INFO: TCP Data received {"connection_id":122976,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:17:06] local.INFO: Processing buffer {"connection_id":122976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:17:06] local.INFO: IMEI packet received {"connection_id":122976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":122976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:17:11] local.INFO: TCP Data received {"connection_id":122976,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:17:11] local.INFO: Processing buffer {"connection_id":122976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:17:11] local.INFO: IMEI packet received {"connection_id":122976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":122976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:17:12] local.INFO: TCP Data received {"connection_id":122976,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:17:12] local.INFO: Processing buffer {"connection_id":122976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:17:12] local.INFO: Packet analysis {"connection_id":122976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:17:12] local.INFO: Extracted packet for processing {"connection_id":122976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:17:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498558208001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783197794000,"timestamp_ms":1783197794000,"timestamp_seconds":1783197794,"priority":1,"record_length":96,"hex_timestamp":"0000019f2edefed0"} 
[2026-07-05 02:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498558208001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498558208001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:17:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498558208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":122976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:17:12] local.INFO: GPS data processed {"connection_id":122976,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:17:12] local.INFO: Acknowledgment sent {"connection_id":122976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:17:43] local.INFO: TCP Data received {"connection_id":122976,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:17:43] local.INFO: Processing buffer {"connection_id":122976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:17:43] local.INFO: Packet analysis {"connection_id":122976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:17:43] local.INFO: Extracted packet for processing {"connection_id":122976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:17:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498558208001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783197794000,"timestamp_ms":1783197794000,"timestamp_seconds":1783197794,"priority":1,"record_length":96,"hex_timestamp":"0000019f2edefed0"} 
[2026-07-05 02:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02: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-07-05 02: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498558208001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498558208001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:17:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:17:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498558208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":122976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:17:43] local.INFO: GPS data processed {"connection_id":122976,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:17:43] local.INFO: Acknowledgment sent {"connection_id":122976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:18:07] local.INFO: TCP Data received {"connection_id":124144,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:18:07] local.INFO: Processing buffer {"connection_id":124144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:18:07] local.INFO: IMEI packet received {"connection_id":124144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":124144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:18:12] local.INFO: TCP Data received {"connection_id":124144,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:18:12] local.INFO: Processing buffer {"connection_id":124144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:18:12] local.INFO: IMEI packet received {"connection_id":124144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":124144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:18:13] local.INFO: TCP Data received {"connection_id":124144,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:18:13] local.INFO: Processing buffer {"connection_id":124144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:18:13] local.INFO: Packet analysis {"connection_id":124144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:18:13] local.INFO: Extracted packet for processing {"connection_id":124144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:18:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498558208001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:18:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783197794000,"timestamp_ms":1783197794000,"timestamp_seconds":1783197794,"priority":1,"record_length":96,"hex_timestamp":"0000019f2edefed0"} 
[2026-07-05 02:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498558208001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498558208001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:18:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:18:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498558208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":124144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:18:14] local.INFO: GPS data processed {"connection_id":124144,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:18:14] local.INFO: Acknowledgment sent {"connection_id":124144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:19:00] local.INFO: TCP Data received {"connection_id":124144,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:19:00] local.INFO: Processing buffer {"connection_id":124144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2edefed0012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:19:00] local.INFO: Packet analysis {"connection_id":124144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:19:00] local.INFO: Extracted packet for processing {"connection_id":124144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ede"} 
[2026-07-05 02:19:00] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498558208001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783197794000,"timestamp_ms":1783197794000,"timestamp_seconds":1783197794,"priority":1,"record_length":96,"hex_timestamp":"0000019f2edefed0"} 
[2026-07-05 02:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498558208001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498558208001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:19:00] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498558208001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":124144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:19:00] local.INFO: GPS data processed {"connection_id":124144,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:19:00] local.INFO: Acknowledgment sent {"connection_id":124144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:19:06] local.INFO: TCP Data received {"connection_id":122977,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:19:06] local.INFO: Processing buffer {"connection_id":122977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:19:06] local.INFO: IMEI packet received {"connection_id":122977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":122977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:19:11] local.INFO: TCP Data received {"connection_id":122977,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:19:11] local.INFO: Processing buffer {"connection_id":122977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:19:11] local.INFO: IMEI packet received {"connection_id":122977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":122977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:19:12] local.INFO: TCP Data received {"connection_id":122977,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:19:12] local.INFO: Processing buffer {"connection_id":122977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:19:12] local.INFO: Packet analysis {"connection_id":122977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:19:12] local.INFO: Extracted packet for processing {"connection_id":122977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:19:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498635264001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198095000,"timestamp_ms":1783198095000,"timestamp_seconds":1783198095,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee39698"} 
[2026-07-05 02:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498635264001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498635264001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:19:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498635264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":122977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:19:12] local.INFO: GPS data processed {"connection_id":122977,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:19:12] local.INFO: Acknowledgment sent {"connection_id":122977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:19:41] local.INFO: TCP Data received {"connection_id":122178,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:19:41] local.INFO: Processing buffer {"connection_id":122178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:19:41] local.INFO: IMEI packet received {"connection_id":122178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":122178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:19:43] local.INFO: TCP Data received {"connection_id":122977,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:19:43] local.INFO: Processing buffer {"connection_id":122977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:19:43] local.INFO: Packet analysis {"connection_id":122977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:19:43] local.INFO: Extracted packet for processing {"connection_id":122977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:19:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498635264001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:19:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783198095000,"timestamp_ms":1783198095000,"timestamp_seconds":1783198095,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee39698"} 
[2026-07-05 02:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:19: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-07-05 02:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498635264001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498635264001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:19:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:19:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:19:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498635264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":122977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:19:43] local.INFO: GPS data processed {"connection_id":122977,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:19:43] local.INFO: Acknowledgment sent {"connection_id":122977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:20:06] local.INFO: TCP Data received {"connection_id":122978,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:20:06] local.INFO: Processing buffer {"connection_id":122978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:20:06] local.INFO: IMEI packet received {"connection_id":122978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":122978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:20:06] local.INFO: TCP Data received {"connection_id":122179,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:20:06] local.INFO: Processing buffer {"connection_id":122179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:20:06] local.INFO: IMEI packet received {"connection_id":122179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":122179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:20:11] local.INFO: TCP Data received {"connection_id":122179,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:20:11] local.INFO: Processing buffer {"connection_id":122179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:20:11] local.INFO: IMEI packet received {"connection_id":122179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":122179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:20:12] local.INFO: TCP Data received {"connection_id":122179,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:20:12] local.INFO: Processing buffer {"connection_id":122179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:20:12] local.INFO: Packet analysis {"connection_id":122179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:20:12] local.INFO: Extracted packet for processing {"connection_id":122179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:20:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498635264001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198095000,"timestamp_ms":1783198095000,"timestamp_seconds":1783198095,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee39698"} 
[2026-07-05 02:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498635264001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498635264001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:20:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498635264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":122179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:20:12] local.INFO: GPS data processed {"connection_id":122179,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:20:12] local.INFO: Acknowledgment sent {"connection_id":122179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:20:44] local.INFO: TCP Data received {"connection_id":122179,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:20:44] local.INFO: Processing buffer {"connection_id":122179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:20:44] local.INFO: Packet analysis {"connection_id":122179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:20:44] local.INFO: Extracted packet for processing {"connection_id":122179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:20:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498635264001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:20:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783198095000,"timestamp_ms":1783198095000,"timestamp_seconds":1783198095,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee39698"} 
[2026-07-05 02:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:20: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-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:20: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-07-05 02: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-07-05 02:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498635264001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498635264001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:20:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:20:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:20:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498635264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":122179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:20:44] local.INFO: GPS data processed {"connection_id":122179,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:20:44] local.INFO: Acknowledgment sent {"connection_id":122179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:21:06] local.INFO: TCP Data received {"connection_id":122252,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:21:06] local.INFO: Processing buffer {"connection_id":122252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:21:06] local.INFO: IMEI packet received {"connection_id":122252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":122252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:21:11] local.INFO: TCP Data received {"connection_id":122252,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:21:11] local.INFO: Processing buffer {"connection_id":122252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:21:11] local.INFO: IMEI packet received {"connection_id":122252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":122252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:21:12] local.INFO: TCP Data received {"connection_id":122252,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:21:12] local.INFO: Processing buffer {"connection_id":122252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:21:12] local.INFO: Packet analysis {"connection_id":122252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:21:12] local.INFO: Extracted packet for processing {"connection_id":122252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:21:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498635264001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198095000,"timestamp_ms":1783198095000,"timestamp_seconds":1783198095,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee39698"} 
[2026-07-05 02:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498635264001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498635264001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:21:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498635264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":122252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:21:12] local.INFO: GPS data processed {"connection_id":122252,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:21:12] local.INFO: Acknowledgment sent {"connection_id":122252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:21:43] local.INFO: TCP Data received {"connection_id":122252,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:21:43] local.INFO: Processing buffer {"connection_id":122252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:21:43] local.INFO: Packet analysis {"connection_id":122252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:21:43] local.INFO: Extracted packet for processing {"connection_id":122252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:21:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498635264001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:21:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783198095000,"timestamp_ms":1783198095000,"timestamp_seconds":1783198095,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee39698"} 
[2026-07-05 02:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:21: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-07-05 02:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:21: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-07-05 02:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498635264001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498635264001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:21:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:21:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498635264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":122252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:21:43] local.INFO: GPS data processed {"connection_id":122252,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:21:43] local.INFO: Acknowledgment sent {"connection_id":122252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:22:11] local.INFO: TCP Data received {"connection_id":122253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:22:11] local.INFO: Processing buffer {"connection_id":122253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:22:11] local.INFO: IMEI packet received {"connection_id":122253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":122253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:22:16] local.INFO: TCP Data received {"connection_id":122253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:22:16] local.INFO: Processing buffer {"connection_id":122253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:22:16] local.INFO: IMEI packet received {"connection_id":122253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":122253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:22:17] local.INFO: TCP Data received {"connection_id":122253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:22:17] local.INFO: Processing buffer {"connection_id":122253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:22:17] local.INFO: Packet analysis {"connection_id":122253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:22:17] local.INFO: Extracted packet for processing {"connection_id":122253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:22:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498635264001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:22:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783198095000,"timestamp_ms":1783198095000,"timestamp_seconds":1783198095,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee39698"} 
[2026-07-05 02:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498635264001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498635264001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:22:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:22:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:22:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498635264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":122253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:22:17] local.INFO: GPS data processed {"connection_id":122253,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:22:17] local.INFO: Acknowledgment sent {"connection_id":122253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:22:22] local.INFO: TCP Data received {"connection_id":122253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:22:22] local.INFO: Processing buffer {"connection_id":122253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:22:22] local.INFO: Packet analysis {"connection_id":122253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:22:22] local.INFO: Extracted packet for processing {"connection_id":122253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:22:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498635264001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:22:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783198095000,"timestamp_ms":1783198095000,"timestamp_seconds":1783198095,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee39698"} 
[2026-07-05 02:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498635264001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498635264001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:22:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:22:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:22:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498635264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":122253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:22:22] local.INFO: GPS data processed {"connection_id":122253,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:22:22] local.INFO: Acknowledgment sent {"connection_id":122253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:23:06] local.INFO: TCP Data received {"connection_id":122180,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:23:06] local.INFO: Processing buffer {"connection_id":122180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:23:06] local.INFO: IMEI packet received {"connection_id":122180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":122180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:23:11] local.INFO: TCP Data received {"connection_id":122180,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:23:11] local.INFO: Processing buffer {"connection_id":122180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:23:11] local.INFO: IMEI packet received {"connection_id":122180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":122180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:23:12] local.INFO: TCP Data received {"connection_id":122180,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:23:12] local.INFO: Processing buffer {"connection_id":122180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:23:12] local.INFO: Packet analysis {"connection_id":122180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:23:12] local.INFO: Extracted packet for processing {"connection_id":122180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:23:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498635264001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198095000,"timestamp_ms":1783198095000,"timestamp_seconds":1783198095,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee39698"} 
[2026-07-05 02:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498635264001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498635264001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:23:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498635264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":122180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:23:12] local.INFO: GPS data processed {"connection_id":122180,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:23:12] local.INFO: Acknowledgment sent {"connection_id":122180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:23:43] local.INFO: TCP Data received {"connection_id":122180,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:23:43] local.INFO: Processing buffer {"connection_id":122180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee39698012cb2a2c007823a880048013b27..."} 
[2026-07-05 02:23:43] local.INFO: Packet analysis {"connection_id":122180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:23:43] local.INFO: Extracted packet for processing {"connection_id":122180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee3"} 
[2026-07-05 02:23:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498635264001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783198095000,"timestamp_ms":1783198095000,"timestamp_seconds":1783198095,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee39698"} 
[2026-07-05 02:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:23: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-07-05 02:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:23: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-07-05 02:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498635264001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498635264001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:23:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:23:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498635264001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":122180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:23:43] local.INFO: GPS data processed {"connection_id":122180,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:23:43] local.INFO: Acknowledgment sent {"connection_id":122180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:24:06] local.INFO: TCP Data received {"connection_id":122182,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:24:06] local.INFO: Processing buffer {"connection_id":122182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:24:06] local.INFO: IMEI packet received {"connection_id":122182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":122182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:24:12] local.INFO: TCP Data received {"connection_id":122182,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:24:12] local.INFO: Processing buffer {"connection_id":122182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:24:12] local.INFO: IMEI packet received {"connection_id":122182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":122182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:24:13] local.INFO: TCP Data received {"connection_id":122182,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:24:13] local.INFO: Processing buffer {"connection_id":122182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:24:13] local.INFO: Packet analysis {"connection_id":122182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:24:13] local.INFO: Extracted packet for processing {"connection_id":122182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:24:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498712320001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:24:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783198396000,"timestamp_ms":1783198396000,"timestamp_seconds":1783198396,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee82e60"} 
[2026-07-05 02:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498712320001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498712320001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:24:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:24:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498712320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":122182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:24:13] local.INFO: GPS data processed {"connection_id":122182,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:24:13] local.INFO: Acknowledgment sent {"connection_id":122182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:24:44] local.INFO: TCP Data received {"connection_id":122182,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:24:44] local.INFO: Processing buffer {"connection_id":122182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:24:44] local.INFO: Packet analysis {"connection_id":122182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:24:44] local.INFO: Extracted packet for processing {"connection_id":122182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:24:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498712320001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:24:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783198396000,"timestamp_ms":1783198396000,"timestamp_seconds":1783198396,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee82e60"} 
[2026-07-05 02:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:24: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-07-05 02:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:24: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-07-05 02:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498712320001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498712320001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:24:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:24:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498712320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":122182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:24:44] local.INFO: GPS data processed {"connection_id":122182,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:24:44] local.INFO: Acknowledgment sent {"connection_id":122182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:25:06] local.INFO: TCP Data received {"connection_id":122254,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:25:06] local.INFO: Processing buffer {"connection_id":122254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:25:06] local.INFO: IMEI packet received {"connection_id":122254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":122254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:25:11] local.INFO: TCP Data received {"connection_id":122254,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:25:11] local.INFO: Processing buffer {"connection_id":122254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:25:11] local.INFO: IMEI packet received {"connection_id":122254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":122254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:25:23] local.INFO: TCP Data received {"connection_id":122254,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:25:23] local.INFO: Processing buffer {"connection_id":122254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:25:23] local.INFO: Packet analysis {"connection_id":122254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:25:23] local.INFO: Extracted packet for processing {"connection_id":122254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:25:23] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498712320001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:25:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783198396000,"timestamp_ms":1783198396000,"timestamp_seconds":1783198396,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee82e60"} 
[2026-07-05 02:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":122254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":122254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":122254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498712320001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498712320001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:25:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:25:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:25:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498712320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":122254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:25:23] local.INFO: GPS data processed {"connection_id":122254,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:25:23] local.INFO: Acknowledgment sent {"connection_id":122254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:25:36] local.INFO: TCP Data received {"connection_id":124146,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:25:36] local.INFO: Processing buffer {"connection_id":124146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:25:36] local.INFO: IMEI packet received {"connection_id":124146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":124146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:26:07] local.INFO: TCP Data received {"connection_id":122183,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:26:07] local.INFO: Processing buffer {"connection_id":122183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:26:07] local.INFO: IMEI packet received {"connection_id":122183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":122183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:26:11] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:26:11] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:26:11] local.INFO: IMEI packet received {"connection_id":124147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":124147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:26:16] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:26:16] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:26:16] local.INFO: IMEI packet received {"connection_id":124147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":124147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:26:17] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:26:17] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:26:17] local.INFO: Packet analysis {"connection_id":124147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:26:17] local.INFO: Extracted packet for processing {"connection_id":124147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:26:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498712320001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:26:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783198396000,"timestamp_ms":1783198396000,"timestamp_seconds":1783198396,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee82e60"} 
[2026-07-05 02:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498712320001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498712320001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:26:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:26:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:26:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498712320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":124147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:26:17] local.INFO: GPS data processed {"connection_id":124147,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:26:17] local.INFO: Acknowledgment sent {"connection_id":124147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:26:22] local.INFO: TCP Data received {"connection_id":124147,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:26:22] local.INFO: Processing buffer {"connection_id":124147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:26:22] local.INFO: Packet analysis {"connection_id":124147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:26:22] local.INFO: Extracted packet for processing {"connection_id":124147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:26:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498712320001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:26:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783198396000,"timestamp_ms":1783198396000,"timestamp_seconds":1783198396,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee82e60"} 
[2026-07-05 02:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498712320001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498712320001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:26:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:26:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:26:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498712320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":124147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:26:22] local.INFO: GPS data processed {"connection_id":124147,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:26:22] local.INFO: Acknowledgment sent {"connection_id":124147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:27:06] local.INFO: TCP Data received {"connection_id":124148,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:27:06] local.INFO: Processing buffer {"connection_id":124148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:27:06] local.INFO: IMEI packet received {"connection_id":124148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":124148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:27:11] local.INFO: TCP Data received {"connection_id":124148,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:27:11] local.INFO: Processing buffer {"connection_id":124148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:27:11] local.INFO: IMEI packet received {"connection_id":124148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":124148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:27:12] local.INFO: TCP Data received {"connection_id":124148,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:27:12] local.INFO: Processing buffer {"connection_id":124148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:27:12] local.INFO: Packet analysis {"connection_id":124148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:27:12] local.INFO: Extracted packet for processing {"connection_id":124148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:27:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498712320001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198396000,"timestamp_ms":1783198396000,"timestamp_seconds":1783198396,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee82e60"} 
[2026-07-05 02:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498712320001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498712320001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:27:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498712320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":124148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:27:13] local.INFO: GPS data processed {"connection_id":124148,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:27:13] local.INFO: Acknowledgment sent {"connection_id":124148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:27:44] local.INFO: TCP Data received {"connection_id":124148,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:27:44] local.INFO: Processing buffer {"connection_id":124148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:27:44] local.INFO: Packet analysis {"connection_id":124148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:27:44] local.INFO: Extracted packet for processing {"connection_id":124148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:27:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498712320001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:27:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783198396000,"timestamp_ms":1783198396000,"timestamp_seconds":1783198396,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee82e60"} 
[2026-07-05 02:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:27: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-07-05 02:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:27: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-07-05 02: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-07-05 02:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498712320001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498712320001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:27:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:27:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498712320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":124148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:27:44] local.INFO: GPS data processed {"connection_id":124148,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:27:44] local.INFO: Acknowledgment sent {"connection_id":124148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:28:06] local.INFO: TCP Data received {"connection_id":122981,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:28:06] local.INFO: Processing buffer {"connection_id":122981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:28:06] local.INFO: IMEI packet received {"connection_id":122981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":122981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:28:11] local.INFO: TCP Data received {"connection_id":122981,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:28:11] local.INFO: Processing buffer {"connection_id":122981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:28:11] local.INFO: IMEI packet received {"connection_id":122981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":122981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:28:12] local.INFO: TCP Data received {"connection_id":122981,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:28:12] local.INFO: Processing buffer {"connection_id":122981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:28:12] local.INFO: Packet analysis {"connection_id":122981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:28:12] local.INFO: Extracted packet for processing {"connection_id":122981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:28:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498712320001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198396000,"timestamp_ms":1783198396000,"timestamp_seconds":1783198396,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee82e60"} 
[2026-07-05 02:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498712320001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498712320001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:28:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498712320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":122981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:28:12] local.INFO: GPS data processed {"connection_id":122981,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:28:12] local.INFO: Acknowledgment sent {"connection_id":122981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:28:43] local.INFO: TCP Data received {"connection_id":122981,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:28:43] local.INFO: Processing buffer {"connection_id":122981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ee82e60012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:28:43] local.INFO: Packet analysis {"connection_id":122981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:28:43] local.INFO: Extracted packet for processing {"connection_id":122981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ee8"} 
[2026-07-05 02:28:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498712320001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783198396000,"timestamp_ms":1783198396000,"timestamp_seconds":1783198396,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ee82e60"} 
[2026-07-05 02:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:28: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-07-05 02:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:28: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-07-05 02:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498712320001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498712320001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:28:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498712320001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":122981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:28:43] local.INFO: GPS data processed {"connection_id":122981,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:28:43] local.INFO: Acknowledgment sent {"connection_id":122981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:29:07] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:29:07] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:29:07] local.INFO: IMEI packet received {"connection_id":124149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":124149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:29:11] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:29:11] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:29:11] local.INFO: IMEI packet received {"connection_id":124149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":124149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:29:12] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:29:12] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:29:12] local.INFO: Packet analysis {"connection_id":124149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:29:12] local.INFO: Extracted packet for processing {"connection_id":124149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:29:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498789376001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198697000,"timestamp_ms":1783198697000,"timestamp_seconds":1783198697,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eecc628"} 
[2026-07-05 02:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498789376001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498789376001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:29:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498789376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":124149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:29:12] local.INFO: GPS data processed {"connection_id":124149,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:29:12] local.INFO: Acknowledgment sent {"connection_id":124149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:29:43] local.INFO: TCP Data received {"connection_id":124149,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:29:43] local.INFO: Processing buffer {"connection_id":124149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:29:43] local.INFO: Packet analysis {"connection_id":124149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:29:43] local.INFO: Extracted packet for processing {"connection_id":124149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:29:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498789376001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783198697000,"timestamp_ms":1783198697000,"timestamp_seconds":1783198697,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eecc628"} 
[2026-07-05 02:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:29: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-07-05 02:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498789376001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498789376001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:29:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498789376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":124149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:29:43] local.INFO: GPS data processed {"connection_id":124149,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:29:43] local.INFO: Acknowledgment sent {"connection_id":124149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:30:11] local.INFO: TCP Data received {"connection_id":122184,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:30:11] local.INFO: Processing buffer {"connection_id":122184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:30:11] local.INFO: IMEI packet received {"connection_id":122184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":122184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:30:16] local.INFO: TCP Data received {"connection_id":122184,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:30:16] local.INFO: Processing buffer {"connection_id":122184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:30:16] local.INFO: IMEI packet received {"connection_id":122184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":122184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:30:17] local.INFO: TCP Data received {"connection_id":122184,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:30:17] local.INFO: Processing buffer {"connection_id":122184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:30:17] local.INFO: Packet analysis {"connection_id":122184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:30:17] local.INFO: Extracted packet for processing {"connection_id":122184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:30:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498789376001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783198697000,"timestamp_ms":1783198697000,"timestamp_seconds":1783198697,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eecc628"} 
[2026-07-05 02:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498789376001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498789376001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:30:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:30:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:30:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498789376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":122184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:30:17] local.INFO: GPS data processed {"connection_id":122184,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:30:17] local.INFO: Acknowledgment sent {"connection_id":122184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:30:22] local.INFO: TCP Data received {"connection_id":122184,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:30:22] local.INFO: Processing buffer {"connection_id":122184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:30:22] local.INFO: Packet analysis {"connection_id":122184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:30:22] local.INFO: Extracted packet for processing {"connection_id":122184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:30:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498789376001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783198697000,"timestamp_ms":1783198697000,"timestamp_seconds":1783198697,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eecc628"} 
[2026-07-05 02:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498789376001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498789376001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:30:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:30:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498789376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":122184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:30:22] local.INFO: GPS data processed {"connection_id":122184,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:30:22] local.INFO: Acknowledgment sent {"connection_id":122184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:31:06] local.INFO: TCP Data received {"connection_id":122983,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:31:06] local.INFO: Processing buffer {"connection_id":122983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:31:06] local.INFO: IMEI packet received {"connection_id":122983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":122983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:31:11] local.INFO: TCP Data received {"connection_id":122983,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:31:11] local.INFO: Processing buffer {"connection_id":122983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:31:11] local.INFO: IMEI packet received {"connection_id":122983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":122983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:31:12] local.INFO: TCP Data received {"connection_id":122983,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:31:12] local.INFO: Processing buffer {"connection_id":122983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:31:12] local.INFO: Packet analysis {"connection_id":122983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:31:12] local.INFO: Extracted packet for processing {"connection_id":122983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:31:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498789376001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198697000,"timestamp_ms":1783198697000,"timestamp_seconds":1783198697,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eecc628"} 
[2026-07-05 02:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498789376001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498789376001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:31:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498789376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":122983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:31:12] local.INFO: GPS data processed {"connection_id":122983,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:31:12] local.INFO: Acknowledgment sent {"connection_id":122983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:31:26] local.INFO: TCP Data received {"connection_id":124150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:31:26] local.INFO: Processing buffer {"connection_id":124150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:31:26] local.INFO: IMEI packet received {"connection_id":124150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":124150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:31:44] local.INFO: TCP Data received {"connection_id":122983,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:31:44] local.INFO: Processing buffer {"connection_id":122983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:31:44] local.INFO: Packet analysis {"connection_id":122983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:31:44] local.INFO: Extracted packet for processing {"connection_id":122983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:31:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498789376001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:31:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783198697000,"timestamp_ms":1783198697000,"timestamp_seconds":1783198697,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eecc628"} 
[2026-07-05 02:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:31: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-07-05 02:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:31: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-07-05 02:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498789376001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498789376001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:31:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:31:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498789376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":122983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:31:44] local.INFO: GPS data processed {"connection_id":122983,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:31:44] local.INFO: Acknowledgment sent {"connection_id":122983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:32:07] local.INFO: TCP Data received {"connection_id":122257,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:32:07] local.INFO: Processing buffer {"connection_id":122257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:32:07] local.INFO: IMEI packet received {"connection_id":122257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":122257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:32:11] local.INFO: TCP Data received {"connection_id":122185,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:32:11] local.INFO: Processing buffer {"connection_id":122185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:32:11] local.INFO: IMEI packet received {"connection_id":122185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":122185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:32:11] local.INFO: TCP Data received {"connection_id":122257,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:32:11] local.INFO: Processing buffer {"connection_id":122257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:32:11] local.INFO: IMEI packet received {"connection_id":122257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":122257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:32:12] local.INFO: TCP Data received {"connection_id":122257,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:32:12] local.INFO: Processing buffer {"connection_id":122257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:32:12] local.INFO: Packet analysis {"connection_id":122257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:32:12] local.INFO: Extracted packet for processing {"connection_id":122257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:32:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498789376001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198697000,"timestamp_ms":1783198697000,"timestamp_seconds":1783198697,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eecc628"} 
[2026-07-05 02:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498789376001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498789376001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:32:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498789376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":122257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:32:12] local.INFO: GPS data processed {"connection_id":122257,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:32:12] local.INFO: Acknowledgment sent {"connection_id":122257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:32:43] local.INFO: TCP Data received {"connection_id":122257,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:32:43] local.INFO: Processing buffer {"connection_id":122257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:32:43] local.INFO: Packet analysis {"connection_id":122257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:32:43] local.INFO: Extracted packet for processing {"connection_id":122257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:32:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498789376001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783198697000,"timestamp_ms":1783198697000,"timestamp_seconds":1783198697,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eecc628"} 
[2026-07-05 02:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:32: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-07-05 02:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498789376001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498789376001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:32:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498789376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":122257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:32:43] local.INFO: GPS data processed {"connection_id":122257,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:32:43] local.INFO: Acknowledgment sent {"connection_id":122257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:33:06] local.INFO: TCP Data received {"connection_id":122186,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:33:06] local.INFO: Processing buffer {"connection_id":122186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:33:06] local.INFO: IMEI packet received {"connection_id":122186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":122186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:33:11] local.INFO: TCP Data received {"connection_id":122186,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:33:11] local.INFO: Processing buffer {"connection_id":122186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:33:11] local.INFO: IMEI packet received {"connection_id":122186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":122186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:33:12] local.INFO: TCP Data received {"connection_id":122186,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:33:12] local.INFO: Processing buffer {"connection_id":122186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:33:12] local.INFO: Packet analysis {"connection_id":122186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:33:12] local.INFO: Extracted packet for processing {"connection_id":122186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:33:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498789376001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198697000,"timestamp_ms":1783198697000,"timestamp_seconds":1783198697,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eecc628"} 
[2026-07-05 02:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498789376001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498789376001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:33:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498789376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":122186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:33:12] local.INFO: GPS data processed {"connection_id":122186,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:33:12] local.INFO: Acknowledgment sent {"connection_id":122186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:33:43] local.INFO: TCP Data received {"connection_id":122186,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:33:43] local.INFO: Processing buffer {"connection_id":122186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eecc628012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:33:43] local.INFO: Packet analysis {"connection_id":122186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:33:43] local.INFO: Extracted packet for processing {"connection_id":122186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eec"} 
[2026-07-05 02:33:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498789376001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:33:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783198697000,"timestamp_ms":1783198697000,"timestamp_seconds":1783198697,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eecc628"} 
[2026-07-05 02:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:33: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-07-05 02:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:33: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-07-05 02:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498789376001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498789376001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:33:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:33:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498789376001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":122186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:33:43] local.INFO: GPS data processed {"connection_id":122186,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:33:43] local.INFO: Acknowledgment sent {"connection_id":122186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:34:06] local.INFO: TCP Data received {"connection_id":122985,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:34:06] local.INFO: Processing buffer {"connection_id":122985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:34:06] local.INFO: IMEI packet received {"connection_id":122985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":122985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:34:11] local.INFO: TCP Data received {"connection_id":122985,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:34:11] local.INFO: Processing buffer {"connection_id":122985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:34:11] local.INFO: IMEI packet received {"connection_id":122985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":122985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:34:16] local.INFO: TCP Data received {"connection_id":122985,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:34:16] local.INFO: Processing buffer {"connection_id":122985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:34:16] local.INFO: IMEI packet received {"connection_id":122985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":122985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:34:17] local.INFO: TCP Data received {"connection_id":122985,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:34:17] local.INFO: Processing buffer {"connection_id":122985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:34:17] local.INFO: Packet analysis {"connection_id":122985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:34:17] local.INFO: Extracted packet for processing {"connection_id":122985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:34:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498866432001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:34:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783198998000,"timestamp_ms":1783198998000,"timestamp_seconds":1783198998,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef15df0"} 
[2026-07-05 02:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498866432001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498866432001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:34:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:34:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:34:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498866432001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":122985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:34:17] local.INFO: GPS data processed {"connection_id":122985,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:34:17] local.INFO: Acknowledgment sent {"connection_id":122985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:34:22] local.INFO: TCP Data received {"connection_id":122985,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:34:22] local.INFO: Processing buffer {"connection_id":122985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:34:22] local.INFO: Packet analysis {"connection_id":122985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:34:22] local.INFO: Extracted packet for processing {"connection_id":122985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:34:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498866432001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783198998000,"timestamp_ms":1783198998000,"timestamp_seconds":1783198998,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef15df0"} 
[2026-07-05 02:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498866432001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498866432001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:34:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:34:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:34:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498866432001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":122985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:34:22] local.INFO: GPS data processed {"connection_id":122985,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:34:22] local.INFO: Acknowledgment sent {"connection_id":122985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:35:06] local.INFO: TCP Data received {"connection_id":124152,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:35:06] local.INFO: Processing buffer {"connection_id":124152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:35:06] local.INFO: IMEI packet received {"connection_id":124152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":124152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:35:11] local.INFO: TCP Data received {"connection_id":124152,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:35:11] local.INFO: Processing buffer {"connection_id":124152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:35:11] local.INFO: IMEI packet received {"connection_id":124152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":124152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:35:12] local.INFO: TCP Data received {"connection_id":124152,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:35:12] local.INFO: Processing buffer {"connection_id":124152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:35:12] local.INFO: Packet analysis {"connection_id":124152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:35:12] local.INFO: Extracted packet for processing {"connection_id":124152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:35:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498866432001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198998000,"timestamp_ms":1783198998000,"timestamp_seconds":1783198998,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef15df0"} 
[2026-07-05 02:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498866432001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498866432001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:35:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498866432001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":124152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:35:12] local.INFO: GPS data processed {"connection_id":124152,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:35:12] local.INFO: Acknowledgment sent {"connection_id":124152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:35:43] local.INFO: TCP Data received {"connection_id":124152,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:35:43] local.INFO: Processing buffer {"connection_id":124152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:35:43] local.INFO: Packet analysis {"connection_id":124152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:35:43] local.INFO: Extracted packet for processing {"connection_id":124152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:35:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498866432001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783198998000,"timestamp_ms":1783198998000,"timestamp_seconds":1783198998,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef15df0"} 
[2026-07-05 02:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:35: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-07-05 02:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498866432001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498866432001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:35:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498866432001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":124152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:35:43] local.INFO: GPS data processed {"connection_id":124152,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:35:43] local.INFO: Acknowledgment sent {"connection_id":124152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:36:07] local.INFO: TCP Data received {"connection_id":122187,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:36:07] local.INFO: Processing buffer {"connection_id":122187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:36:07] local.INFO: IMEI packet received {"connection_id":122187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":122187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:36:11] local.INFO: TCP Data received {"connection_id":122187,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:36:11] local.INFO: Processing buffer {"connection_id":122187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:36:11] local.INFO: IMEI packet received {"connection_id":122187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":122187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:36:12] local.INFO: TCP Data received {"connection_id":122187,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:36:12] local.INFO: Processing buffer {"connection_id":122187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:36:12] local.INFO: Packet analysis {"connection_id":122187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:36:12] local.INFO: Extracted packet for processing {"connection_id":122187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:36:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498866432001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198998000,"timestamp_ms":1783198998000,"timestamp_seconds":1783198998,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef15df0"} 
[2026-07-05 02:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498866432001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498866432001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:36:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498866432001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":122187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:36:12] local.INFO: GPS data processed {"connection_id":122187,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:36:12] local.INFO: Acknowledgment sent {"connection_id":122187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:36:43] local.INFO: TCP Data received {"connection_id":122187,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:36:43] local.INFO: Processing buffer {"connection_id":122187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:36:43] local.INFO: Packet analysis {"connection_id":122187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:36:43] local.INFO: Extracted packet for processing {"connection_id":122187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:36:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498866432001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:36:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783198998000,"timestamp_ms":1783198998000,"timestamp_seconds":1783198998,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef15df0"} 
[2026-07-05 02:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:36: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-07-05 02:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:36: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-07-05 02:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498866432001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498866432001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:36:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:36:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498866432001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":122187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:36:43] local.INFO: GPS data processed {"connection_id":122187,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:36:43] local.INFO: Acknowledgment sent {"connection_id":122187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:37:06] local.INFO: TCP Data received {"connection_id":122258,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:37:06] local.INFO: Processing buffer {"connection_id":122258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:37:06] local.INFO: IMEI packet received {"connection_id":122258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":122258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:37:11] local.INFO: TCP Data received {"connection_id":122258,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:37:11] local.INFO: Processing buffer {"connection_id":122258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:37:11] local.INFO: IMEI packet received {"connection_id":122258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":122258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:37:16] local.INFO: TCP Data received {"connection_id":122258,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:37:16] local.INFO: Processing buffer {"connection_id":122258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:37:16] local.INFO: Packet analysis {"connection_id":122258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:37:16] local.INFO: Extracted packet for processing {"connection_id":122258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:37:16] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498866432001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:37:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783198998000,"timestamp_ms":1783198998000,"timestamp_seconds":1783198998,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef15df0"} 
[2026-07-05 02:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498866432001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498866432001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:37:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:37:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498866432001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":122258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:37:16] local.INFO: GPS data processed {"connection_id":122258,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:37:16] local.INFO: Acknowledgment sent {"connection_id":122258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:37:31] local.INFO: TCP Data received {"connection_id":124154,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:37:31] local.INFO: Processing buffer {"connection_id":124154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:37:31] local.INFO: IMEI packet received {"connection_id":124154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":124154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:38:06] local.INFO: TCP Data received {"connection_id":122189,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:38:06] local.INFO: Processing buffer {"connection_id":122189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:38:06] local.INFO: IMEI packet received {"connection_id":122189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":122189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:38:12] local.INFO: TCP Data received {"connection_id":122190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:38:12] local.INFO: Processing buffer {"connection_id":122190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:38:12] local.INFO: IMEI packet received {"connection_id":122190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":122190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:38:12] local.INFO: TCP Data received {"connection_id":122258,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:38:12] local.INFO: Processing buffer {"connection_id":122258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:38:12] local.INFO: Packet analysis {"connection_id":122258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:38:12] local.INFO: Extracted packet for processing {"connection_id":122258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:38:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498866432001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783198998000,"timestamp_ms":1783198998000,"timestamp_seconds":1783198998,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef15df0"} 
[2026-07-05 02:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498866432001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498866432001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:38:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498866432001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":122258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:38:12] local.INFO: GPS data processed {"connection_id":122258,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:38:12] local.INFO: Acknowledgment sent {"connection_id":122258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:38:16] local.INFO: TCP Data received {"connection_id":122190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:38:16] local.INFO: Processing buffer {"connection_id":122190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:38:16] local.INFO: IMEI packet received {"connection_id":122190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":122190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:38:17] local.INFO: TCP Data received {"connection_id":122190,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:38:17] local.INFO: Processing buffer {"connection_id":122190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:38:17] local.INFO: Packet analysis {"connection_id":122190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:38:17] local.INFO: Extracted packet for processing {"connection_id":122190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:38:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498866432001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:38:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783198998000,"timestamp_ms":1783198998000,"timestamp_seconds":1783198998,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef15df0"} 
[2026-07-05 02:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498866432001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498866432001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:38:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:38:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:38:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498866432001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":122190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:38:17] local.INFO: GPS data processed {"connection_id":122190,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:38:17] local.INFO: Acknowledgment sent {"connection_id":122190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:38:22] local.INFO: TCP Data received {"connection_id":122190,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:38:22] local.INFO: Processing buffer {"connection_id":122190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef15df0012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:38:22] local.INFO: Packet analysis {"connection_id":122190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:38:22] local.INFO: Extracted packet for processing {"connection_id":122190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef1"} 
[2026-07-05 02:38:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498866432001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:38:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783198998000,"timestamp_ms":1783198998000,"timestamp_seconds":1783198998,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef15df0"} 
[2026-07-05 02:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498866432001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498866432001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:38:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:38:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:38:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498866432001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":122190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:38:22] local.INFO: GPS data processed {"connection_id":122190,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:38:22] local.INFO: Acknowledgment sent {"connection_id":122190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:39:06] local.INFO: TCP Data received {"connection_id":124155,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:39:06] local.INFO: Processing buffer {"connection_id":124155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:39:06] local.INFO: IMEI packet received {"connection_id":124155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":124155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:39:11] local.INFO: TCP Data received {"connection_id":124155,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:39:11] local.INFO: Processing buffer {"connection_id":124155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:39:11] local.INFO: IMEI packet received {"connection_id":124155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":124155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:39:12] local.INFO: TCP Data received {"connection_id":124155,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:39:12] local.INFO: Processing buffer {"connection_id":124155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:39:12] local.INFO: Packet analysis {"connection_id":124155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:39:12] local.INFO: Extracted packet for processing {"connection_id":124155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:39:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498943488001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783199299000,"timestamp_ms":1783199299000,"timestamp_seconds":1783199299,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef5f5b8"} 
[2026-07-05 02:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498943488001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498943488001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:39:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498943488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":124155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:39:12] local.INFO: GPS data processed {"connection_id":124155,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:39:12] local.INFO: Acknowledgment sent {"connection_id":124155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:39:44] local.INFO: TCP Data received {"connection_id":124155,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:39:44] local.INFO: Processing buffer {"connection_id":124155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:39:44] local.INFO: Packet analysis {"connection_id":124155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:39:44] local.INFO: Extracted packet for processing {"connection_id":124155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:39:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498943488001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:39:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783199299000,"timestamp_ms":1783199299000,"timestamp_seconds":1783199299,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef5f5b8"} 
[2026-07-05 02:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:39: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-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:39: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-07-05 02: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-07-05 02:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498943488001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498943488001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:39:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:39:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:39:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498943488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":124155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:39:44] local.INFO: GPS data processed {"connection_id":124155,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:39:44] local.INFO: Acknowledgment sent {"connection_id":124155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:40:07] local.INFO: TCP Data received {"connection_id":122259,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:40:07] local.INFO: Processing buffer {"connection_id":122259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:40:07] local.INFO: IMEI packet received {"connection_id":122259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":122259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:40:11] local.INFO: TCP Data received {"connection_id":122259,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:40:11] local.INFO: Processing buffer {"connection_id":122259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:40:11] local.INFO: IMEI packet received {"connection_id":122259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":122259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:40:12] local.INFO: TCP Data received {"connection_id":122259,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:40:12] local.INFO: Processing buffer {"connection_id":122259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:40:12] local.INFO: Packet analysis {"connection_id":122259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:40:12] local.INFO: Extracted packet for processing {"connection_id":122259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:40:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498943488001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783199299000,"timestamp_ms":1783199299000,"timestamp_seconds":1783199299,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef5f5b8"} 
[2026-07-05 02:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498943488001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498943488001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:40:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498943488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":122259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:40:12] local.INFO: GPS data processed {"connection_id":122259,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:40:12] local.INFO: Acknowledgment sent {"connection_id":122259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:40:44] local.INFO: TCP Data received {"connection_id":122259,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:40:44] local.INFO: Processing buffer {"connection_id":122259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:40:44] local.INFO: Packet analysis {"connection_id":122259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:40:44] local.INFO: Extracted packet for processing {"connection_id":122259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:40:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498943488001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:40:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783199299000,"timestamp_ms":1783199299000,"timestamp_seconds":1783199299,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef5f5b8"} 
[2026-07-05 02:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:40: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-07-05 02:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:40: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-07-05 02:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498943488001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498943488001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:40:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:40:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498943488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":122259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:40:44] local.INFO: GPS data processed {"connection_id":122259,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:40:44] local.INFO: Acknowledgment sent {"connection_id":122259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:41:06] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:41:06] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:41:06] local.INFO: IMEI packet received {"connection_id":124157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":124157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:41:11] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:41:11] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:41:11] local.INFO: IMEI packet received {"connection_id":124157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":124157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:41:15] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:41:15] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:41:15] local.INFO: Packet analysis {"connection_id":124157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:41:15] local.INFO: Extracted packet for processing {"connection_id":124157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:41:15] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498943488001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783199299000,"timestamp_ms":1783199299000,"timestamp_seconds":1783199299,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef5f5b8"} 
[2026-07-05 02:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:41: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-07-05 02:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498943488001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498943488001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:41:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498943488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":124157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:41:15] local.INFO: GPS data processed {"connection_id":124157,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:41:15] local.INFO: Acknowledgment sent {"connection_id":124157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:41:48] local.INFO: TCP Data received {"connection_id":124157,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:41:48] local.INFO: Processing buffer {"connection_id":124157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:41:48] local.INFO: Packet analysis {"connection_id":124157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:41:48] local.INFO: Extracted packet for processing {"connection_id":124157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:41:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498943488001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:41:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783199299000,"timestamp_ms":1783199299000,"timestamp_seconds":1783199299,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef5f5b8"} 
[2026-07-05 02:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498943488001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498943488001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:41:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:41:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:41:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498943488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":124157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:41:48] local.INFO: GPS data processed {"connection_id":124157,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:41:48] local.INFO: Acknowledgment sent {"connection_id":124157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:42:06] local.INFO: TCP Data received {"connection_id":124159,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:42:06] local.INFO: Processing buffer {"connection_id":124159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:42:06] local.INFO: IMEI packet received {"connection_id":124159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":124159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:42:11] local.INFO: TCP Data received {"connection_id":124159,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:42:11] local.INFO: Processing buffer {"connection_id":124159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:42:11] local.INFO: IMEI packet received {"connection_id":124159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":124159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:42:12] local.INFO: TCP Data received {"connection_id":124159,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:42:12] local.INFO: Processing buffer {"connection_id":124159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:42:12] local.INFO: Packet analysis {"connection_id":124159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:42:12] local.INFO: Extracted packet for processing {"connection_id":124159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:42:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498943488001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783199299000,"timestamp_ms":1783199299000,"timestamp_seconds":1783199299,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef5f5b8"} 
[2026-07-05 02:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498943488001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498943488001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:42:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498943488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":124159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:42:12] local.INFO: GPS data processed {"connection_id":124159,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:42:12] local.INFO: Acknowledgment sent {"connection_id":124159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:42:43] local.INFO: TCP Data received {"connection_id":124159,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:42:44] local.INFO: Processing buffer {"connection_id":124159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:42:44] local.INFO: Packet analysis {"connection_id":124159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:42:44] local.INFO: Extracted packet for processing {"connection_id":124159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:42:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498943488001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:42:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783199299000,"timestamp_ms":1783199299000,"timestamp_seconds":1783199299,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef5f5b8"} 
[2026-07-05 02:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:42: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-07-05 02:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498943488001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498943488001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:42:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:42:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498943488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":124159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:42:44] local.INFO: GPS data processed {"connection_id":124159,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:42:44] local.INFO: Acknowledgment sent {"connection_id":124159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:43:12] local.INFO: TCP Data received {"connection_id":122262,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:43:12] local.INFO: Processing buffer {"connection_id":122262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:43:12] local.INFO: IMEI packet received {"connection_id":122262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":122262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:43:16] local.INFO: TCP Data received {"connection_id":122262,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:43:16] local.INFO: Processing buffer {"connection_id":122262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:43:16] local.INFO: IMEI packet received {"connection_id":122262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":122262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:43:17] local.INFO: TCP Data received {"connection_id":122262,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:43:17] local.INFO: Processing buffer {"connection_id":122262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:43:17] local.INFO: Packet analysis {"connection_id":122262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:43:17] local.INFO: Extracted packet for processing {"connection_id":122262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:43:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498943488001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:43:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783199299000,"timestamp_ms":1783199299000,"timestamp_seconds":1783199299,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef5f5b8"} 
[2026-07-05 02:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498943488001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498943488001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:43:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:43:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498943488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":122262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:43:17] local.INFO: GPS data processed {"connection_id":122262,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:43:17] local.INFO: Acknowledgment sent {"connection_id":122262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:43:36] local.INFO: TCP Data received {"connection_id":122191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:43:36] local.INFO: Processing buffer {"connection_id":122191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:43:36] local.INFO: IMEI packet received {"connection_id":122191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":122191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:43:48] local.INFO: TCP Data received {"connection_id":122262,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:43:48] local.INFO: Processing buffer {"connection_id":122262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ef5f5b8012cb2a2c007823a880048013b26..."} 
[2026-07-05 02:43:48] local.INFO: Packet analysis {"connection_id":122262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:43:48] local.INFO: Extracted packet for processing {"connection_id":122262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ef5"} 
[2026-07-05 02:43:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456498943488001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:43:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783199299000,"timestamp_ms":1783199299000,"timestamp_seconds":1783199299,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ef5f5b8"} 
[2026-07-05 02:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456498943488001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456498943488001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:43:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:43:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:43:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456498943488001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":122262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:43:48] local.INFO: GPS data processed {"connection_id":122262,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:43:48] local.INFO: Acknowledgment sent {"connection_id":122262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:44:05] local.INFO: TCP Data received {"connection_id":122264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:44:05] local.INFO: Processing buffer {"connection_id":122264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:44:05] local.INFO: IMEI packet received {"connection_id":122264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":122264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:44:06] local.INFO: TCP Data received {"connection_id":122263,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:44:06] local.INFO: Processing buffer {"connection_id":122263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:44:06] local.INFO: IMEI packet received {"connection_id":122263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":122263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:44:11] local.INFO: TCP Data received {"connection_id":122263,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:44:11] local.INFO: Processing buffer {"connection_id":122263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:44:11] local.INFO: IMEI packet received {"connection_id":122263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":122263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:44:12] local.INFO: TCP Data received {"connection_id":122263,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:44:12] local.INFO: Processing buffer {"connection_id":122263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:44:12] local.INFO: Packet analysis {"connection_id":122263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:44:12] local.INFO: Extracted packet for processing {"connection_id":122263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:44:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499020544001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783199600000,"timestamp_ms":1783199600000,"timestamp_seconds":1783199600,"priority":1,"record_length":96,"hex_timestamp":"0000019f2efa8d80"} 
[2026-07-05 02:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499020544001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499020544001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:44:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499020544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":122263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:44:12] local.INFO: GPS data processed {"connection_id":122263,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:44:12] local.INFO: Acknowledgment sent {"connection_id":122263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:44:43] local.INFO: TCP Data received {"connection_id":122263,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:44:43] local.INFO: Processing buffer {"connection_id":122263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:44:43] local.INFO: Packet analysis {"connection_id":122263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:44:43] local.INFO: Extracted packet for processing {"connection_id":122263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:44:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499020544001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:44:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783199600000,"timestamp_ms":1783199600000,"timestamp_seconds":1783199600,"priority":1,"record_length":96,"hex_timestamp":"0000019f2efa8d80"} 
[2026-07-05 02:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:44: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-07-05 02:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:44: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-07-05 02:44: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-07-05 02:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499020544001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499020544001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:44:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:44:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:44:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499020544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":122263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:44:43] local.INFO: GPS data processed {"connection_id":122263,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:44:43] local.INFO: Acknowledgment sent {"connection_id":122263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:45:06] local.INFO: TCP Data received {"connection_id":122192,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:45:06] local.INFO: Processing buffer {"connection_id":122192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:45:06] local.INFO: IMEI packet received {"connection_id":122192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":122192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:45:11] local.INFO: TCP Data received {"connection_id":122192,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:45:11] local.INFO: Processing buffer {"connection_id":122192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:45:11] local.INFO: IMEI packet received {"connection_id":122192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":122192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:45:12] local.INFO: TCP Data received {"connection_id":122192,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:45:12] local.INFO: Processing buffer {"connection_id":122192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:45:12] local.INFO: Packet analysis {"connection_id":122192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:45:12] local.INFO: Extracted packet for processing {"connection_id":122192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:45:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499020544001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783199600000,"timestamp_ms":1783199600000,"timestamp_seconds":1783199600,"priority":1,"record_length":96,"hex_timestamp":"0000019f2efa8d80"} 
[2026-07-05 02:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499020544001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499020544001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:45:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499020544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":122192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:45:12] local.INFO: GPS data processed {"connection_id":122192,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:45:12] local.INFO: Acknowledgment sent {"connection_id":122192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:45:44] local.INFO: TCP Data received {"connection_id":122192,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:45:44] local.INFO: Processing buffer {"connection_id":122192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:45:44] local.INFO: Packet analysis {"connection_id":122192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:45:44] local.INFO: Extracted packet for processing {"connection_id":122192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:45:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499020544001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:45:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783199600000,"timestamp_ms":1783199600000,"timestamp_seconds":1783199600,"priority":1,"record_length":96,"hex_timestamp":"0000019f2efa8d80"} 
[2026-07-05 02:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:45: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-07-05 02:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:45: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-07-05 02:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499020544001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499020544001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:45:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:45:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499020544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":122192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:45:44] local.INFO: GPS data processed {"connection_id":122192,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:45:44] local.INFO: Acknowledgment sent {"connection_id":122192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:46:11] local.INFO: TCP Data received {"connection_id":122987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:46:11] local.INFO: Processing buffer {"connection_id":122987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:46:11] local.INFO: IMEI packet received {"connection_id":122987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":122987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:46:16] local.INFO: TCP Data received {"connection_id":122987,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:46:16] local.INFO: Processing buffer {"connection_id":122987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:46:16] local.INFO: IMEI packet received {"connection_id":122987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":122987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:46:17] local.INFO: TCP Data received {"connection_id":122987,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:46:17] local.INFO: Processing buffer {"connection_id":122987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:46:17] local.INFO: Packet analysis {"connection_id":122987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:46:17] local.INFO: Extracted packet for processing {"connection_id":122987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:46:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499020544001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783199600000,"timestamp_ms":1783199600000,"timestamp_seconds":1783199600,"priority":1,"record_length":96,"hex_timestamp":"0000019f2efa8d80"} 
[2026-07-05 02:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499020544001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499020544001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:46:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:46:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:46:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499020544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":122987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:46:17] local.INFO: GPS data processed {"connection_id":122987,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:46:17] local.INFO: Acknowledgment sent {"connection_id":122987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:46:22] local.INFO: TCP Data received {"connection_id":122987,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:46:22] local.INFO: Processing buffer {"connection_id":122987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:46:22] local.INFO: Packet analysis {"connection_id":122987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:46:22] local.INFO: Extracted packet for processing {"connection_id":122987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:46:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499020544001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:46:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783199600000,"timestamp_ms":1783199600000,"timestamp_seconds":1783199600,"priority":1,"record_length":96,"hex_timestamp":"0000019f2efa8d80"} 
[2026-07-05 02:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499020544001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499020544001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:46:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:46:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:46:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499020544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":122987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:46:22] local.INFO: GPS data processed {"connection_id":122987,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:46:22] local.INFO: Acknowledgment sent {"connection_id":122987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:47:06] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:47:06] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:47:06] local.INFO: IMEI packet received {"connection_id":124162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":124162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:47:11] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:47:11] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:47:11] local.INFO: IMEI packet received {"connection_id":124162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":124162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:47:12] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:47:12] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:47:12] local.INFO: Packet analysis {"connection_id":124162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:47:12] local.INFO: Extracted packet for processing {"connection_id":124162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:47:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499020544001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783199600000,"timestamp_ms":1783199600000,"timestamp_seconds":1783199600,"priority":1,"record_length":96,"hex_timestamp":"0000019f2efa8d80"} 
[2026-07-05 02:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499020544001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499020544001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:47:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499020544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":124162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:47:12] local.INFO: GPS data processed {"connection_id":124162,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:47:12] local.INFO: Acknowledgment sent {"connection_id":124162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:47:44] local.INFO: TCP Data received {"connection_id":124162,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:47:44] local.INFO: Processing buffer {"connection_id":124162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:47:44] local.INFO: Packet analysis {"connection_id":124162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:47:44] local.INFO: Extracted packet for processing {"connection_id":124162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:47:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499020544001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:47:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783199600000,"timestamp_ms":1783199600000,"timestamp_seconds":1783199600,"priority":1,"record_length":96,"hex_timestamp":"0000019f2efa8d80"} 
[2026-07-05 02:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:47: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-07-05 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:47: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-07-05 02: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-07-05 02:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499020544001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499020544001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:47:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:47:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:47:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499020544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":124162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:47:44] local.INFO: GPS data processed {"connection_id":124162,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:47:44] local.INFO: Acknowledgment sent {"connection_id":124162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:48:06] local.INFO: TCP Data received {"connection_id":122265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:48:06] local.INFO: Processing buffer {"connection_id":122265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:48:06] local.INFO: IMEI packet received {"connection_id":122265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":122265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:48:12] local.INFO: TCP Data received {"connection_id":122265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:48:12] local.INFO: Processing buffer {"connection_id":122265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:48:12] local.INFO: IMEI packet received {"connection_id":122265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":122265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:48:13] local.INFO: TCP Data received {"connection_id":122265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:48:13] local.INFO: Processing buffer {"connection_id":122265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:48:13] local.INFO: Packet analysis {"connection_id":122265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:48:13] local.INFO: Extracted packet for processing {"connection_id":122265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:48:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499020544001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:48:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783199600000,"timestamp_ms":1783199600000,"timestamp_seconds":1783199600,"priority":1,"record_length":96,"hex_timestamp":"0000019f2efa8d80"} 
[2026-07-05 02:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499020544001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499020544001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:48:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:48:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499020544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":122265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:48:13] local.INFO: GPS data processed {"connection_id":122265,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:48:13] local.INFO: Acknowledgment sent {"connection_id":122265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:48:44] local.INFO: TCP Data received {"connection_id":122265,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:48:44] local.INFO: Processing buffer {"connection_id":122265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2efa8d80012cb2a2c007823a880048013b28..."} 
[2026-07-05 02:48:44] local.INFO: Packet analysis {"connection_id":122265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:48:44] local.INFO: Extracted packet for processing {"connection_id":122265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2efa"} 
[2026-07-05 02:48:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499020544001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:48:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783199600000,"timestamp_ms":1783199600000,"timestamp_seconds":1783199600,"priority":1,"record_length":96,"hex_timestamp":"0000019f2efa8d80"} 
[2026-07-05 02:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:48: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-07-05 02:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 02:48: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-07-05 02:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499020544001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499020544001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:48:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:48:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499020544001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":122265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:48:45] local.INFO: GPS data processed {"connection_id":122265,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:48:45] local.INFO: Acknowledgment sent {"connection_id":122265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:49:06] local.INFO: TCP Data received {"connection_id":122988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:49:06] local.INFO: Processing buffer {"connection_id":122988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:49:06] local.INFO: IMEI packet received {"connection_id":122988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":122988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:49:11] local.INFO: TCP Data received {"connection_id":122988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:49:11] local.INFO: Processing buffer {"connection_id":122988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:49:11] local.INFO: IMEI packet received {"connection_id":122988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":122988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:49:12] local.INFO: TCP Data received {"connection_id":122988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:49:12] local.INFO: Processing buffer {"connection_id":122988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:49:12] local.INFO: Packet analysis {"connection_id":122988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:49:12] local.INFO: Extracted packet for processing {"connection_id":122988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:49:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499097600001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783199901000,"timestamp_ms":1783199901000,"timestamp_seconds":1783199901,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eff2548"} 
[2026-07-05 02:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499097600001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499097600001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:49:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499097600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":122988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:49:12] local.INFO: GPS data processed {"connection_id":122988,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:49:12] local.INFO: Acknowledgment sent {"connection_id":122988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:49:31] local.INFO: TCP Data received {"connection_id":122193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:49:31] local.INFO: Processing buffer {"connection_id":122193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:49:31] local.INFO: IMEI packet received {"connection_id":122193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":122193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:49:45] local.INFO: TCP Data received {"connection_id":122988,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:49:45] local.INFO: Processing buffer {"connection_id":122988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:49:45] local.INFO: Packet analysis {"connection_id":122988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:49:45] local.INFO: Extracted packet for processing {"connection_id":122988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:49:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499097600001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:49:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783199901000,"timestamp_ms":1783199901000,"timestamp_seconds":1783199901,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eff2548"} 
[2026-07-05 02:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:49: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-07-05 02:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499097600001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499097600001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:49:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:49:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:49:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499097600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":122988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:49:45] local.INFO: GPS data processed {"connection_id":122988,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:49:45] local.INFO: Acknowledgment sent {"connection_id":122988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:50:05] local.INFO: TCP Data received {"connection_id":122194,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:50:05] local.INFO: Processing buffer {"connection_id":122194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:50:05] local.INFO: IMEI packet received {"connection_id":122194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":122194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:50:06] local.INFO: TCP Data received {"connection_id":122195,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:50:06] local.INFO: Processing buffer {"connection_id":122195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:50:06] local.INFO: IMEI packet received {"connection_id":122195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":122195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:50:11] local.INFO: TCP Data received {"connection_id":122195,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:50:11] local.INFO: Processing buffer {"connection_id":122195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:50:11] local.INFO: IMEI packet received {"connection_id":122195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":122195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:50:12] local.INFO: TCP Data received {"connection_id":122195,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:50:12] local.INFO: Processing buffer {"connection_id":122195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:50:12] local.INFO: Packet analysis {"connection_id":122195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:50:12] local.INFO: Extracted packet for processing {"connection_id":122195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:50:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499097600001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783199901000,"timestamp_ms":1783199901000,"timestamp_seconds":1783199901,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eff2548"} 
[2026-07-05 02:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499097600001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499097600001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:50:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499097600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":122195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:50:12] local.INFO: GPS data processed {"connection_id":122195,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:50:12] local.INFO: Acknowledgment sent {"connection_id":122195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:50:43] local.INFO: TCP Data received {"connection_id":122195,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:50:43] local.INFO: Processing buffer {"connection_id":122195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:50:43] local.INFO: Packet analysis {"connection_id":122195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:50:43] local.INFO: Extracted packet for processing {"connection_id":122195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:50:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499097600001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:50:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783199901000,"timestamp_ms":1783199901000,"timestamp_seconds":1783199901,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eff2548"} 
[2026-07-05 02:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:50: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-07-05 02:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499097600001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499097600001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:50:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:50:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499097600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":122195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:50:44] local.INFO: GPS data processed {"connection_id":122195,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:50:44] local.INFO: Acknowledgment sent {"connection_id":122195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:51:11] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:51:11] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:51:11] local.INFO: IMEI packet received {"connection_id":124164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":124164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:51:16] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:51:16] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:51:16] local.INFO: IMEI packet received {"connection_id":124164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":124164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:51:17] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:51:17] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:51:17] local.INFO: Packet analysis {"connection_id":124164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:51:17] local.INFO: Extracted packet for processing {"connection_id":124164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:51:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499097600001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:51:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783199901000,"timestamp_ms":1783199901000,"timestamp_seconds":1783199901,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eff2548"} 
[2026-07-05 02:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499097600001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499097600001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:51:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:51:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:51:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499097600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":124164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:51:17] local.INFO: GPS data processed {"connection_id":124164,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:51:17] local.INFO: Acknowledgment sent {"connection_id":124164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:51:22] local.INFO: TCP Data received {"connection_id":124164,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:51:22] local.INFO: Processing buffer {"connection_id":124164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:51:22] local.INFO: Packet analysis {"connection_id":124164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:51:22] local.INFO: Extracted packet for processing {"connection_id":124164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:51:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499097600001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:51:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783199901000,"timestamp_ms":1783199901000,"timestamp_seconds":1783199901,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eff2548"} 
[2026-07-05 02:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499097600001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499097600001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:51:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:51:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:51:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499097600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":124164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:51:22] local.INFO: GPS data processed {"connection_id":124164,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:51:22] local.INFO: Acknowledgment sent {"connection_id":124164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:52:06] local.INFO: TCP Data received {"connection_id":122268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:52:06] local.INFO: Processing buffer {"connection_id":122268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:52:06] local.INFO: IMEI packet received {"connection_id":122268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":122268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:52:11] local.INFO: TCP Data received {"connection_id":122268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:52:11] local.INFO: Processing buffer {"connection_id":122268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:52:11] local.INFO: IMEI packet received {"connection_id":122268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":122268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:52:12] local.INFO: TCP Data received {"connection_id":122268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:52:12] local.INFO: Processing buffer {"connection_id":122268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:52:12] local.INFO: Packet analysis {"connection_id":122268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:52:12] local.INFO: Extracted packet for processing {"connection_id":122268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:52:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499097600001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783199901000,"timestamp_ms":1783199901000,"timestamp_seconds":1783199901,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eff2548"} 
[2026-07-05 02:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499097600001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499097600001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:52:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499097600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":122268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:52:12] local.INFO: GPS data processed {"connection_id":122268,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:52:12] local.INFO: Acknowledgment sent {"connection_id":122268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:52:43] local.INFO: TCP Data received {"connection_id":122268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:52:43] local.INFO: Processing buffer {"connection_id":122268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:52:43] local.INFO: Packet analysis {"connection_id":122268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:52:43] local.INFO: Extracted packet for processing {"connection_id":122268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:52:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:52: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-07-05 02:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499097600001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:52:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783199901000,"timestamp_ms":1783199901000,"timestamp_seconds":1783199901,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eff2548"} 
[2026-07-05 02:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:52: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-07-05 02:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:52: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-07-05 02:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499097600001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499097600001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:52:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:52:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:52:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499097600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":122268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:52:43] local.INFO: GPS data processed {"connection_id":122268,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:52:43] local.INFO: Acknowledgment sent {"connection_id":122268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:53:07] local.INFO: TCP Data received {"connection_id":122197,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:53:07] local.INFO: Processing buffer {"connection_id":122197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:53:07] local.INFO: IMEI packet received {"connection_id":122197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":122197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:53:11] local.INFO: TCP Data received {"connection_id":122197,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:53:11] local.INFO: Processing buffer {"connection_id":122197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:53:11] local.INFO: IMEI packet received {"connection_id":122197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":122197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:53:12] local.INFO: TCP Data received {"connection_id":122197,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:53:12] local.INFO: Processing buffer {"connection_id":122197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:53:12] local.INFO: Packet analysis {"connection_id":122197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:53:12] local.INFO: Extracted packet for processing {"connection_id":122197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:53:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499097600001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783199901000,"timestamp_ms":1783199901000,"timestamp_seconds":1783199901,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eff2548"} 
[2026-07-05 02:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499097600001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499097600001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:53:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499097600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":122197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:53:12] local.INFO: GPS data processed {"connection_id":122197,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:53:12] local.INFO: Acknowledgment sent {"connection_id":122197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:53:43] local.INFO: TCP Data received {"connection_id":122197,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:53:43] local.INFO: Processing buffer {"connection_id":122197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2eff2548012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:53:43] local.INFO: Packet analysis {"connection_id":122197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:53:43] local.INFO: Extracted packet for processing {"connection_id":122197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2eff"} 
[2026-07-05 02:53:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499097600001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783199901000,"timestamp_ms":1783199901000,"timestamp_seconds":1783199901,"priority":1,"record_length":96,"hex_timestamp":"0000019f2eff2548"} 
[2026-07-05 02:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:53: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-07-05 02:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 02:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499097600001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499097600001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:53:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499097600001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":122197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:53:43] local.INFO: GPS data processed {"connection_id":122197,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:53:43] local.INFO: Acknowledgment sent {"connection_id":122197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:54:06] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:54:06] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:54:06] local.INFO: IMEI packet received {"connection_id":124166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":124166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:54:11] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:54:11] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:54:11] local.INFO: IMEI packet received {"connection_id":124166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":124166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:54:12] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:54:12] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:54:12] local.INFO: Packet analysis {"connection_id":124166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:54:12] local.INFO: Extracted packet for processing {"connection_id":124166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:54:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499174656001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783200202000,"timestamp_ms":1783200202000,"timestamp_seconds":1783200202,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f03bd10"} 
[2026-07-05 02:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 02:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499174656001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499174656001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:54:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499174656001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":124166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:54:12] local.INFO: GPS data processed {"connection_id":124166,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:54:12] local.INFO: Acknowledgment sent {"connection_id":124166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:54:43] local.INFO: TCP Data received {"connection_id":124166,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:54:43] local.INFO: Processing buffer {"connection_id":124166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:54:43] local.INFO: Packet analysis {"connection_id":124166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:54:43] local.INFO: Extracted packet for processing {"connection_id":124166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:54:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499174656001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783200202000,"timestamp_ms":1783200202000,"timestamp_seconds":1783200202,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f03bd10"} 
[2026-07-05 02:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:54: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-07-05 02:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 02:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499174656001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499174656001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:54:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499174656001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":124166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:54:43] local.INFO: GPS data processed {"connection_id":124166,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:54:43] local.INFO: Acknowledgment sent {"connection_id":124166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:55:06] local.INFO: TCP Data received {"connection_id":122989,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:55:06] local.INFO: Processing buffer {"connection_id":122989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:55:06] local.INFO: IMEI packet received {"connection_id":122989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":122989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:55:11] local.INFO: TCP Data received {"connection_id":122989,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:55:11] local.INFO: Processing buffer {"connection_id":122989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:55:11] local.INFO: IMEI packet received {"connection_id":122989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":122989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:55:12] local.INFO: TCP Data received {"connection_id":122989,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:55:12] local.INFO: Processing buffer {"connection_id":122989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:55:12] local.INFO: Packet analysis {"connection_id":122989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:55:12] local.INFO: Extracted packet for processing {"connection_id":122989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:55:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499174656001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783200202000,"timestamp_ms":1783200202000,"timestamp_seconds":1783200202,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f03bd10"} 
[2026-07-05 02:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 02:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499174656001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499174656001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:55:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499174656001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":122989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:55:12] local.INFO: GPS data processed {"connection_id":122989,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:55:12] local.INFO: Acknowledgment sent {"connection_id":122989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:55:31] local.INFO: TCP Data received {"connection_id":122269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:55:31] local.INFO: Processing buffer {"connection_id":122269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:55:31] local.INFO: IMEI packet received {"connection_id":122269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":122269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:55:43] local.INFO: TCP Data received {"connection_id":122989,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:55:43] local.INFO: Processing buffer {"connection_id":122989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:55:43] local.INFO: Packet analysis {"connection_id":122989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:55:43] local.INFO: Extracted packet for processing {"connection_id":122989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:55:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499174656001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:55:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783200202000,"timestamp_ms":1783200202000,"timestamp_seconds":1783200202,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f03bd10"} 
[2026-07-05 02:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:55: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-07-05 02:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 02:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499174656001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499174656001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:55:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:55:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499174656001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":122989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:55:44] local.INFO: GPS data processed {"connection_id":122989,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:55:44] local.INFO: Acknowledgment sent {"connection_id":122989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:56:06] local.INFO: TCP Data received {"connection_id":124167,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:56:06] local.INFO: Processing buffer {"connection_id":124167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:56:06] local.INFO: IMEI packet received {"connection_id":124167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":124167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:56:10] local.INFO: TCP Data received {"connection_id":122990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:56:10] local.INFO: Processing buffer {"connection_id":122990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 02:56:10] local.INFO: IMEI packet received {"connection_id":122990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 02:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":122990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:56:11] local.INFO: TCP Data received {"connection_id":124167,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:56:11] local.INFO: Processing buffer {"connection_id":124167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:56:11] local.INFO: IMEI packet received {"connection_id":124167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":124167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:56:12] local.INFO: TCP Data received {"connection_id":124167,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:56:12] local.INFO: Processing buffer {"connection_id":124167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:56:12] local.INFO: Packet analysis {"connection_id":124167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:56:12] local.INFO: Extracted packet for processing {"connection_id":124167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:56:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499174656001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783200202000,"timestamp_ms":1783200202000,"timestamp_seconds":1783200202,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f03bd10"} 
[2026-07-05 02:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 02:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499174656001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499174656001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:56:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499174656001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":124167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:56:12] local.INFO: GPS data processed {"connection_id":124167,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:56:12] local.INFO: Acknowledgment sent {"connection_id":124167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:56:43] local.INFO: TCP Data received {"connection_id":124167,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:56:43] local.INFO: Processing buffer {"connection_id":124167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:56:43] local.INFO: Packet analysis {"connection_id":124167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:56:43] local.INFO: Extracted packet for processing {"connection_id":124167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:56:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499174656001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:56:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783200202000,"timestamp_ms":1783200202000,"timestamp_seconds":1783200202,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f03bd10"} 
[2026-07-05 02:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02: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-07-05 02:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 02:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02: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-07-05 02:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499174656001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499174656001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:56:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:56:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499174656001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":124167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:56:43] local.INFO: GPS data processed {"connection_id":124167,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:56:43] local.INFO: Acknowledgment sent {"connection_id":124167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:57:06] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:57:06] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:57:06] local.INFO: IMEI packet received {"connection_id":124168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":124168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:57:11] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:57:11] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:57:11] local.INFO: IMEI packet received {"connection_id":124168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":124168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:57:23] local.INFO: TCP Data received {"connection_id":124168,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:57:23] local.INFO: Processing buffer {"connection_id":124168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:57:23] local.INFO: Packet analysis {"connection_id":124168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:57:23] local.INFO: Extracted packet for processing {"connection_id":124168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:57:23] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499174656001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:57:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783200202000,"timestamp_ms":1783200202000,"timestamp_seconds":1783200202,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f03bd10"} 
[2026-07-05 02:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 02:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":124168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":124168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":124168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499174656001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499174656001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:57:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:57:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:57:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499174656001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":124168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:57:23] local.INFO: GPS data processed {"connection_id":124168,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:57:23] local.INFO: Acknowledgment sent {"connection_id":124168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:58:06] local.INFO: TCP Data received {"connection_id":122991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:58:06] local.INFO: Processing buffer {"connection_id":122991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:58:06] local.INFO: IMEI packet received {"connection_id":122991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":122991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:58:11] local.INFO: TCP Data received {"connection_id":122991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:58:11] local.INFO: Processing buffer {"connection_id":122991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:58:11] local.INFO: IMEI packet received {"connection_id":122991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":122991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:58:12] local.INFO: TCP Data received {"connection_id":122991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:58:12] local.INFO: Processing buffer {"connection_id":122991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:58:12] local.INFO: Packet analysis {"connection_id":122991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:58:12] local.INFO: Extracted packet for processing {"connection_id":122991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:58:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499174656001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783200202000,"timestamp_ms":1783200202000,"timestamp_seconds":1783200202,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f03bd10"} 
[2026-07-05 02:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 02:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499174656001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499174656001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:58:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:58:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499174656001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":122991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:58:12] local.INFO: GPS data processed {"connection_id":122991,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:58:12] local.INFO: Acknowledgment sent {"connection_id":122991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:58:43] local.INFO: TCP Data received {"connection_id":122991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:58:43] local.INFO: Processing buffer {"connection_id":122991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f03bd10012cb2a2c007823a880048013b29..."} 
[2026-07-05 02:58:43] local.INFO: Packet analysis {"connection_id":122991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:58:43] local.INFO: Extracted packet for processing {"connection_id":122991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f03"} 
[2026-07-05 02:58:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499174656001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:58:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783200202000,"timestamp_ms":1783200202000,"timestamp_seconds":1783200202,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f03bd10"} 
[2026-07-05 02:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:58: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-07-05 02:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 02:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 02:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499174656001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499174656001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:58:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:58:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499174656001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":122991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:58:43] local.INFO: GPS data processed {"connection_id":122991,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:58:43] local.INFO: Acknowledgment sent {"connection_id":122991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:59:11] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:59:11] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:59:11] local.INFO: IMEI packet received {"connection_id":124170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 02:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":124170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 02:59:16] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:59:16] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 02:59:16] local.INFO: IMEI packet received {"connection_id":124170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 02:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":124170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 02:59:17] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:59:17] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:59:17] local.INFO: Packet analysis {"connection_id":124170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 02:59:17] local.INFO: Extracted packet for processing {"connection_id":124170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 02:59:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 02:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499251712001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:59:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783200503000,"timestamp_ms":1783200503000,"timestamp_seconds":1783200503,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0854d8"} 
[2026-07-05 02:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02:59:17] local.INFO: IO Element 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-07-05 02:59:17] 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-07-05 02:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 02:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499251712001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499251712001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:59:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:59:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:59:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499251712001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":124170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:59:17] local.INFO: GPS data processed {"connection_id":124170,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:59:17] local.INFO: Acknowledgment sent {"connection_id":124170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 02:59:21] local.INFO: TCP Data received {"connection_id":124170,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:59:21] local.INFO: Processing buffer {"connection_id":124170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 02:59:21] local.INFO: Packet analysis {"connection_id":124170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 02:59:21] local.INFO: Extracted packet for processing {"connection_id":124170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 02:59:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 02: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-07-05 02:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499251712001,"note":"Value kept but may cause issues"} 
[2026-07-05 02:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 02:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 02:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 02:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783200503000,"timestamp_ms":1783200503000,"timestamp_seconds":1783200503,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0854d8"} 
[2026-07-05 02:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 02:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 02: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 02:59:21] 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-07-05 02: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-07-05 02:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 02:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 02:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 02:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 02:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 02:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 02:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 02:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499251712001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 02:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 02:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 02:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499251712001,"description":"Unknown IO ID 0"} 
[2026-07-05 02:59:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 02:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 02:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 02:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 02:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499251712001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 02:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":124170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 02:59:21] local.INFO: GPS data processed {"connection_id":124170,"processed":1,"errors":0,"total":1} 
[2026-07-05 02:59:21] local.INFO: Acknowledgment sent {"connection_id":124170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:00:06] local.INFO: TCP Data received {"connection_id":124171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:00:06] local.INFO: Processing buffer {"connection_id":124171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:00:06] local.INFO: IMEI packet received {"connection_id":124171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":124171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:00:11] local.INFO: TCP Data received {"connection_id":124171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:00:11] local.INFO: Processing buffer {"connection_id":124171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:00:11] local.INFO: IMEI packet received {"connection_id":124171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":124171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:00:12] local.INFO: TCP Data received {"connection_id":124171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:00:12] local.INFO: Processing buffer {"connection_id":124171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:00:12] local.INFO: Packet analysis {"connection_id":124171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:00:12] local.INFO: Extracted packet for processing {"connection_id":124171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:00:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499251712001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783200503000,"timestamp_ms":1783200503000,"timestamp_seconds":1783200503,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0854d8"} 
[2026-07-05 03:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499251712001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499251712001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:00:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499251712001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":124171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:00:12] local.INFO: GPS data processed {"connection_id":124171,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:00:12] local.INFO: Acknowledgment sent {"connection_id":124171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:00:43] local.INFO: TCP Data received {"connection_id":124171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:00:43] local.INFO: Processing buffer {"connection_id":124171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:00:43] local.INFO: Packet analysis {"connection_id":124171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:00:43] local.INFO: Extracted packet for processing {"connection_id":124171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:00:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499251712001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783200503000,"timestamp_ms":1783200503000,"timestamp_seconds":1783200503,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0854d8"} 
[2026-07-05 03:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:00: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-07-05 03:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499251712001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499251712001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:00:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499251712001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":124171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:00:43] local.INFO: GPS data processed {"connection_id":124171,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:00:43] local.INFO: Acknowledgment sent {"connection_id":124171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:01:07] local.INFO: TCP Data received {"connection_id":122992,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:01:07] local.INFO: Processing buffer {"connection_id":122992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:01:07] local.INFO: IMEI packet received {"connection_id":122992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":122992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:01:11] local.INFO: TCP Data received {"connection_id":122992,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:01:11] local.INFO: Processing buffer {"connection_id":122992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:01:11] local.INFO: IMEI packet received {"connection_id":122992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":122992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:01:12] local.INFO: TCP Data received {"connection_id":122992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:01:12] local.INFO: Processing buffer {"connection_id":122992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:01:12] local.INFO: Packet analysis {"connection_id":122992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:01:12] local.INFO: Extracted packet for processing {"connection_id":122992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:01:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499251712001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783200503000,"timestamp_ms":1783200503000,"timestamp_seconds":1783200503,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0854d8"} 
[2026-07-05 03:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499251712001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499251712001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:01:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499251712001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":122992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:01:12] local.INFO: GPS data processed {"connection_id":122992,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:01:12] local.INFO: Acknowledgment sent {"connection_id":122992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:01:25] local.INFO: TCP Data received {"connection_id":122270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:01:25] local.INFO: Processing buffer {"connection_id":122270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:01:25] local.INFO: IMEI packet received {"connection_id":122270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":122270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:01:52] local.INFO: TCP Data received {"connection_id":122992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:01:52] local.INFO: Processing buffer {"connection_id":122992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:01:52] local.INFO: Packet analysis {"connection_id":122992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:01:52] local.INFO: Extracted packet for processing {"connection_id":122992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:01:52] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499251712001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783200503000,"timestamp_ms":1783200503000,"timestamp_seconds":1783200503,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0854d8"} 
[2026-07-05 03:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:01:52] 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-07-05 03: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-07-05 03:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":122992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":122992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":122992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499251712001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499251712001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:01:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:01:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499251712001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":122992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:01:52] local.INFO: GPS data processed {"connection_id":122992,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:01:52] local.INFO: Acknowledgment sent {"connection_id":122992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:02:06] local.INFO: TCP Data received {"connection_id":122200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:02:06] local.INFO: Processing buffer {"connection_id":122200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:02:06] local.INFO: IMEI packet received {"connection_id":122200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":122200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:02:07] local.INFO: TCP Data received {"connection_id":124173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:02:07] local.INFO: Processing buffer {"connection_id":124173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:02:07] local.INFO: IMEI packet received {"connection_id":124173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":124173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:02:11] local.INFO: TCP Data received {"connection_id":122200,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:02:11] local.INFO: Processing buffer {"connection_id":122200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:02:11] local.INFO: IMEI packet received {"connection_id":122200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":122200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:02:12] local.INFO: TCP Data received {"connection_id":122200,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:02:12] local.INFO: Processing buffer {"connection_id":122200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:02:12] local.INFO: Packet analysis {"connection_id":122200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:02:12] local.INFO: Extracted packet for processing {"connection_id":122200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:02:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499251712001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783200503000,"timestamp_ms":1783200503000,"timestamp_seconds":1783200503,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0854d8"} 
[2026-07-05 03:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499251712001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499251712001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:02:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499251712001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":122200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:02:12] local.INFO: GPS data processed {"connection_id":122200,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:02:12] local.INFO: Acknowledgment sent {"connection_id":122200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:02:43] local.INFO: TCP Data received {"connection_id":122200,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:02:43] local.INFO: Processing buffer {"connection_id":122200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:02:43] local.INFO: Packet analysis {"connection_id":122200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:02:43] local.INFO: Extracted packet for processing {"connection_id":122200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:02:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499251712001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783200503000,"timestamp_ms":1783200503000,"timestamp_seconds":1783200503,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0854d8"} 
[2026-07-05 03:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:02: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-07-05 03:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499251712001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499251712001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:02:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499251712001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":122200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:02:43] local.INFO: GPS data processed {"connection_id":122200,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:02:43] local.INFO: Acknowledgment sent {"connection_id":122200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:03:06] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:03:06] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:03:06] local.INFO: IMEI packet received {"connection_id":124175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":124175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:03:11] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:03:11] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:03:11] local.INFO: IMEI packet received {"connection_id":124175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":124175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:03:12] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:03:12] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:03:12] local.INFO: Packet analysis {"connection_id":124175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:03:12] local.INFO: Extracted packet for processing {"connection_id":124175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:03:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499251712001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783200503000,"timestamp_ms":1783200503000,"timestamp_seconds":1783200503,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0854d8"} 
[2026-07-05 03:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499251712001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499251712001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:03:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499251712001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":124175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:03:12] local.INFO: GPS data processed {"connection_id":124175,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:03:12] local.INFO: Acknowledgment sent {"connection_id":124175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:03:43] local.INFO: TCP Data received {"connection_id":124175,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:03:43] local.INFO: Processing buffer {"connection_id":124175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0854d8012cb2a2c007823a880048013b25..."} 
[2026-07-05 03:03:43] local.INFO: Packet analysis {"connection_id":124175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:03:43] local.INFO: Extracted packet for processing {"connection_id":124175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f08"} 
[2026-07-05 03:03:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499251712001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:03:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783200503000,"timestamp_ms":1783200503000,"timestamp_seconds":1783200503,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0854d8"} 
[2026-07-05 03:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:03: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-07-05 03:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499251712001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499251712001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:03:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:03:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499251712001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":124175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:03:43] local.INFO: GPS data processed {"connection_id":124175,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:03:43] local.INFO: Acknowledgment sent {"connection_id":124175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:04:11] local.INFO: TCP Data received {"connection_id":122272,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:04:11] local.INFO: Processing buffer {"connection_id":122272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:04:11] local.INFO: IMEI packet received {"connection_id":122272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":122272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:04:16] local.INFO: TCP Data received {"connection_id":122272,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:04:16] local.INFO: Processing buffer {"connection_id":122272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:04:16] local.INFO: IMEI packet received {"connection_id":122272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":122272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:04:17] local.INFO: TCP Data received {"connection_id":122272,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:04:17] local.INFO: Processing buffer {"connection_id":122272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:04:17] local.INFO: Packet analysis {"connection_id":122272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:04:17] local.INFO: Extracted packet for processing {"connection_id":122272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:04:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499328768001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:04:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783200804000,"timestamp_ms":1783200804000,"timestamp_seconds":1783200804,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0ceca0"} 
[2026-07-05 03:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499328768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499328768001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:04:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:04:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:04:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499328768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":122272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:04:17] local.INFO: GPS data processed {"connection_id":122272,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:04:17] local.INFO: Acknowledgment sent {"connection_id":122272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:04:22] local.INFO: TCP Data received {"connection_id":122272,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:04:22] local.INFO: Processing buffer {"connection_id":122272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:04:22] local.INFO: Packet analysis {"connection_id":122272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:04:22] local.INFO: Extracted packet for processing {"connection_id":122272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:04:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499328768001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:04:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783200804000,"timestamp_ms":1783200804000,"timestamp_seconds":1783200804,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0ceca0"} 
[2026-07-05 03:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499328768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499328768001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:04:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:04:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:04:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499328768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":122272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:04:22] local.INFO: GPS data processed {"connection_id":122272,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:04:22] local.INFO: Acknowledgment sent {"connection_id":122272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:05:07] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:05:07] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:05:07] local.INFO: IMEI packet received {"connection_id":124177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":124177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:05:11] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:05:11] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:05:11] local.INFO: IMEI packet received {"connection_id":124177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":124177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:05:12] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:05:12] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:05:12] local.INFO: Packet analysis {"connection_id":124177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:05:12] local.INFO: Extracted packet for processing {"connection_id":124177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:05:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499328768001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783200804000,"timestamp_ms":1783200804000,"timestamp_seconds":1783200804,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0ceca0"} 
[2026-07-05 03:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499328768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499328768001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:05:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499328768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":124177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:05:12] local.INFO: GPS data processed {"connection_id":124177,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:05:12] local.INFO: Acknowledgment sent {"connection_id":124177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:05:43] local.INFO: TCP Data received {"connection_id":124177,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:05:43] local.INFO: Processing buffer {"connection_id":124177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:05:43] local.INFO: Packet analysis {"connection_id":124177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:05:43] local.INFO: Extracted packet for processing {"connection_id":124177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:05:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499328768001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783200804000,"timestamp_ms":1783200804000,"timestamp_seconds":1783200804,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0ceca0"} 
[2026-07-05 03:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:05: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-07-05 03:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499328768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499328768001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:05:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499328768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":124177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:05:43] local.INFO: GPS data processed {"connection_id":124177,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:05:43] local.INFO: Acknowledgment sent {"connection_id":124177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:06:06] local.INFO: TCP Data received {"connection_id":122273,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:06:06] local.INFO: Processing buffer {"connection_id":122273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:06:06] local.INFO: IMEI packet received {"connection_id":122273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":122273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:06:11] local.INFO: TCP Data received {"connection_id":122273,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:06:11] local.INFO: Processing buffer {"connection_id":122273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:06:11] local.INFO: IMEI packet received {"connection_id":122273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":122273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:06:12] local.INFO: TCP Data received {"connection_id":122273,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:06:12] local.INFO: Processing buffer {"connection_id":122273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:06:12] local.INFO: Packet analysis {"connection_id":122273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:06:12] local.INFO: Extracted packet for processing {"connection_id":122273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:06:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499328768001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783200804000,"timestamp_ms":1783200804000,"timestamp_seconds":1783200804,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0ceca0"} 
[2026-07-05 03:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499328768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499328768001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:06:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499328768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":122273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:06:12] local.INFO: GPS data processed {"connection_id":122273,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:06:12] local.INFO: Acknowledgment sent {"connection_id":122273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:06:43] local.INFO: TCP Data received {"connection_id":122273,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:06:43] local.INFO: Processing buffer {"connection_id":122273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:06:43] local.INFO: Packet analysis {"connection_id":122273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:06:43] local.INFO: Extracted packet for processing {"connection_id":122273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:06:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499328768001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783200804000,"timestamp_ms":1783200804000,"timestamp_seconds":1783200804,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0ceca0"} 
[2026-07-05 03:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:06: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-07-05 03: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499328768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499328768001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:06:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:06:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499328768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":122273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:06:43] local.INFO: GPS data processed {"connection_id":122273,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:06:43] local.INFO: Acknowledgment sent {"connection_id":122273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:07:11] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:07:11] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:07:11] local.INFO: IMEI packet received {"connection_id":124180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":124180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:07:16] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:07:16] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:07:16] local.INFO: IMEI packet received {"connection_id":124180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":124180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:07:17] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:07:17] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:07:17] local.INFO: Packet analysis {"connection_id":124180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:07:17] local.INFO: Extracted packet for processing {"connection_id":124180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:07:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499328768001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:07:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783200804000,"timestamp_ms":1783200804000,"timestamp_seconds":1783200804,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0ceca0"} 
[2026-07-05 03:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499328768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499328768001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:07:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:07:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:07:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499328768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":124180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:07:17] local.INFO: GPS data processed {"connection_id":124180,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:07:17] local.INFO: Acknowledgment sent {"connection_id":124180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:07:22] local.INFO: TCP Data received {"connection_id":124180,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:07:22] local.INFO: Processing buffer {"connection_id":124180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:07:22] local.INFO: Packet analysis {"connection_id":124180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:07:22] local.INFO: Extracted packet for processing {"connection_id":124180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:07:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499328768001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783200804000,"timestamp_ms":1783200804000,"timestamp_seconds":1783200804,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0ceca0"} 
[2026-07-05 03:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499328768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499328768001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:07:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499328768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":124180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:07:22] local.INFO: GPS data processed {"connection_id":124180,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:07:22] local.INFO: Acknowledgment sent {"connection_id":124180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:07:31] local.INFO: TCP Data received {"connection_id":124179,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:07:31] local.INFO: Processing buffer {"connection_id":124179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:07:31] local.INFO: IMEI packet received {"connection_id":124179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":124179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:08:05] local.INFO: TCP Data received {"connection_id":122274,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:08:05] local.INFO: Processing buffer {"connection_id":122274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:08:05] local.INFO: IMEI packet received {"connection_id":122274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":122274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:08:06] local.INFO: TCP Data received {"connection_id":124181,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:08:06] local.INFO: Processing buffer {"connection_id":124181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:08:06] local.INFO: IMEI packet received {"connection_id":124181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":124181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:08:11] local.INFO: TCP Data received {"connection_id":124181,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:08:11] local.INFO: Processing buffer {"connection_id":124181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:08:11] local.INFO: IMEI packet received {"connection_id":124181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":124181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:08:12] local.INFO: TCP Data received {"connection_id":124181,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:08:12] local.INFO: Processing buffer {"connection_id":124181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:08:12] local.INFO: Packet analysis {"connection_id":124181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:08:12] local.INFO: Extracted packet for processing {"connection_id":124181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499328768001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783200804000,"timestamp_ms":1783200804000,"timestamp_seconds":1783200804,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0ceca0"} 
[2026-07-05 03:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499328768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499328768001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:08:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499328768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":124181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:08:12] local.INFO: GPS data processed {"connection_id":124181,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:08:12] local.INFO: Acknowledgment sent {"connection_id":124181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:08:43] local.INFO: TCP Data received {"connection_id":124181,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:08:43] local.INFO: Processing buffer {"connection_id":124181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f0ceca0012cb2a2c007823a880048013b26..."} 
[2026-07-05 03:08:43] local.INFO: Packet analysis {"connection_id":124181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:08:43] local.INFO: Extracted packet for processing {"connection_id":124181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f0c"} 
[2026-07-05 03:08:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499328768001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:08:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783200804000,"timestamp_ms":1783200804000,"timestamp_seconds":1783200804,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f0ceca0"} 
[2026-07-05 03:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:08: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-07-05 03:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499328768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499328768001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:08:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:08:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:08:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499328768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":124181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:08:43] local.INFO: GPS data processed {"connection_id":124181,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:08:43] local.INFO: Acknowledgment sent {"connection_id":124181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:09:03] local.INFO: TCP Data received {"connection_id":122201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:09:03] local.INFO: Processing buffer {"connection_id":122201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:09:03] local.INFO: IMEI packet received {"connection_id":122201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":122201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:09:06] local.INFO: TCP Data received {"connection_id":122201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:09:06] local.INFO: Processing buffer {"connection_id":122201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:09:06] local.INFO: IMEI packet received {"connection_id":122201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":122201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:09:11] local.INFO: TCP Data received {"connection_id":122201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:09:11] local.INFO: Processing buffer {"connection_id":122201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:09:11] local.INFO: IMEI packet received {"connection_id":122201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":122201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:09:12] local.INFO: TCP Data received {"connection_id":122201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:09:12] local.INFO: Processing buffer {"connection_id":122201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:09:12] local.INFO: Packet analysis {"connection_id":122201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:09:12] local.INFO: Extracted packet for processing {"connection_id":122201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:09:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499405824001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783201105000,"timestamp_ms":1783201105000,"timestamp_seconds":1783201105,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f118468"} 
[2026-07-05 03:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499405824001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499405824001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:09:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499405824001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":122201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:09:12] local.INFO: GPS data processed {"connection_id":122201,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:09:12] local.INFO: Acknowledgment sent {"connection_id":122201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:09:43] local.INFO: TCP Data received {"connection_id":122201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:09:43] local.INFO: Processing buffer {"connection_id":122201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:09:43] local.INFO: Packet analysis {"connection_id":122201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:09:43] local.INFO: Extracted packet for processing {"connection_id":122201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:09:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499405824001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783201105000,"timestamp_ms":1783201105000,"timestamp_seconds":1783201105,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f118468"} 
[2026-07-05 03:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:09: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-07-05 03:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499405824001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499405824001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:09:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499405824001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":122201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:09:43] local.INFO: GPS data processed {"connection_id":122201,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:09:43] local.INFO: Acknowledgment sent {"connection_id":122201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:10:06] local.INFO: TCP Data received {"connection_id":122277,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:10:06] local.INFO: Processing buffer {"connection_id":122277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:10:06] local.INFO: IMEI packet received {"connection_id":122277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":122277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:10:16] local.INFO: TCP Data received {"connection_id":122277,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:10:16] local.INFO: Processing buffer {"connection_id":122277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:10:16] local.INFO: IMEI packet received {"connection_id":122277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":122277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:10:17] local.INFO: TCP Data received {"connection_id":122277,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:10:17] local.INFO: Processing buffer {"connection_id":122277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:10:17] local.INFO: Packet analysis {"connection_id":122277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:10:17] local.INFO: Extracted packet for processing {"connection_id":122277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:10:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499405824001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:10:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783201105000,"timestamp_ms":1783201105000,"timestamp_seconds":1783201105,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f118468"} 
[2026-07-05 03:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499405824001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499405824001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:10:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:10:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:10:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499405824001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":122277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:10:17] local.INFO: GPS data processed {"connection_id":122277,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:10:17] local.INFO: Acknowledgment sent {"connection_id":122277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:10:48] local.INFO: TCP Data received {"connection_id":122277,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:10:48] local.INFO: Processing buffer {"connection_id":122277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:10:48] local.INFO: Packet analysis {"connection_id":122277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:10:48] local.INFO: Extracted packet for processing {"connection_id":122277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:10:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499405824001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:10:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783201105000,"timestamp_ms":1783201105000,"timestamp_seconds":1783201105,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f118468"} 
[2026-07-05 03:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499405824001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499405824001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:10:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:10:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:10:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499405824001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":122277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:10:48] local.INFO: GPS data processed {"connection_id":122277,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:10:48] local.INFO: Acknowledgment sent {"connection_id":122277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:11:06] local.INFO: TCP Data received {"connection_id":122995,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:11:06] local.INFO: Processing buffer {"connection_id":122995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:11:06] local.INFO: IMEI packet received {"connection_id":122995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":122995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:11:11] local.INFO: TCP Data received {"connection_id":122995,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:11:11] local.INFO: Processing buffer {"connection_id":122995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:11:11] local.INFO: IMEI packet received {"connection_id":122995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":122995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:11:12] local.INFO: TCP Data received {"connection_id":122995,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:11:12] local.INFO: Processing buffer {"connection_id":122995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:11:12] local.INFO: Packet analysis {"connection_id":122995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:11:12] local.INFO: Extracted packet for processing {"connection_id":122995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:11:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499405824001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783201105000,"timestamp_ms":1783201105000,"timestamp_seconds":1783201105,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f118468"} 
[2026-07-05 03:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499405824001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499405824001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:11:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499405824001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":122995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:11:12] local.INFO: GPS data processed {"connection_id":122995,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:11:12] local.INFO: Acknowledgment sent {"connection_id":122995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:11:44] local.INFO: TCP Data received {"connection_id":122995,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:11:44] local.INFO: Processing buffer {"connection_id":122995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:11:44] local.INFO: Packet analysis {"connection_id":122995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:11:44] local.INFO: Extracted packet for processing {"connection_id":122995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:11:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499405824001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:11:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783201105000,"timestamp_ms":1783201105000,"timestamp_seconds":1783201105,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f118468"} 
[2026-07-05 03:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:11: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-07-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:11: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-07-05 03: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-07-05 03:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499405824001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499405824001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:11:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:11:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499405824001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":122995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:11:44] local.INFO: GPS data processed {"connection_id":122995,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:11:44] local.INFO: Acknowledgment sent {"connection_id":122995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:12:06] local.INFO: TCP Data received {"connection_id":122202,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:12:06] local.INFO: Processing buffer {"connection_id":122202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:12:06] local.INFO: IMEI packet received {"connection_id":122202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":122202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:12:11] local.INFO: TCP Data received {"connection_id":122202,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:12:11] local.INFO: Processing buffer {"connection_id":122202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:12:11] local.INFO: IMEI packet received {"connection_id":122202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":122202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:12:12] local.INFO: TCP Data received {"connection_id":122202,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:12:12] local.INFO: Processing buffer {"connection_id":122202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:12:12] local.INFO: Packet analysis {"connection_id":122202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:12:12] local.INFO: Extracted packet for processing {"connection_id":122202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:12:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499405824001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783201105000,"timestamp_ms":1783201105000,"timestamp_seconds":1783201105,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f118468"} 
[2026-07-05 03:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499405824001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499405824001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:12:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499405824001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":122202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:12:12] local.INFO: GPS data processed {"connection_id":122202,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:12:12] local.INFO: Acknowledgment sent {"connection_id":122202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:12:44] local.INFO: TCP Data received {"connection_id":122202,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:12:44] local.INFO: Processing buffer {"connection_id":122202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:12:44] local.INFO: Packet analysis {"connection_id":122202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:12:44] local.INFO: Extracted packet for processing {"connection_id":122202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:12:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499405824001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783201105000,"timestamp_ms":1783201105000,"timestamp_seconds":1783201105,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f118468"} 
[2026-07-05 03:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:12: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-07-05 03:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499405824001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499405824001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:12:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499405824001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":122202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:12:44] local.INFO: GPS data processed {"connection_id":122202,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:12:44] local.INFO: Acknowledgment sent {"connection_id":122202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:13:11] local.INFO: TCP Data received {"connection_id":122997,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:13:11] local.INFO: Processing buffer {"connection_id":122997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:13:11] local.INFO: IMEI packet received {"connection_id":122997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":122997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:13:16] local.INFO: TCP Data received {"connection_id":122997,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:13:16] local.INFO: Processing buffer {"connection_id":122997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:13:16] local.INFO: IMEI packet received {"connection_id":122997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":122997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:13:17] local.INFO: TCP Data received {"connection_id":122997,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:13:17] local.INFO: Processing buffer {"connection_id":122997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:13:17] local.INFO: Packet analysis {"connection_id":122997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:13:17] local.INFO: Extracted packet for processing {"connection_id":122997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:13:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499405824001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:13:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783201105000,"timestamp_ms":1783201105000,"timestamp_seconds":1783201105,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f118468"} 
[2026-07-05 03:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499405824001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499405824001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:13:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:13:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:13:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499405824001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":122997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:13:17] local.INFO: GPS data processed {"connection_id":122997,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:13:17] local.INFO: Acknowledgment sent {"connection_id":122997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:13:22] local.INFO: TCP Data received {"connection_id":122997,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:13:22] local.INFO: Processing buffer {"connection_id":122997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f118468012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:13:22] local.INFO: Packet analysis {"connection_id":122997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:13:22] local.INFO: Extracted packet for processing {"connection_id":122997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f11"} 
[2026-07-05 03:13:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499405824001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783201105000,"timestamp_ms":1783201105000,"timestamp_seconds":1783201105,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f118468"} 
[2026-07-05 03:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499405824001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499405824001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:13:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:13:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:13:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499405824001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":122997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:13:22] local.INFO: GPS data processed {"connection_id":122997,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:13:22] local.INFO: Acknowledgment sent {"connection_id":122997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:13:31] local.INFO: TCP Data received {"connection_id":122996,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:13:31] local.INFO: Processing buffer {"connection_id":122996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:13:31] local.INFO: IMEI packet received {"connection_id":122996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":122996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:14:04] local.INFO: TCP Data received {"connection_id":122204,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:14:04] local.INFO: Processing buffer {"connection_id":122204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:14:04] local.INFO: IMEI packet received {"connection_id":122204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":122204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:14:06] local.INFO: TCP Data received {"connection_id":122203,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:14:06] local.INFO: Processing buffer {"connection_id":122203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:14:06] local.INFO: IMEI packet received {"connection_id":122203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":122203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:14:06] local.INFO: TCP Data received {"connection_id":122204,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:14:06] local.INFO: Processing buffer {"connection_id":122204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:14:06] local.INFO: IMEI packet received {"connection_id":122204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":122204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:14:11] local.INFO: TCP Data received {"connection_id":122204,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:14:11] local.INFO: Processing buffer {"connection_id":122204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:14:11] local.INFO: IMEI packet received {"connection_id":122204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":122204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:14:12] local.INFO: TCP Data received {"connection_id":122204,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:14:12] local.INFO: Processing buffer {"connection_id":122204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:14:12] local.INFO: Packet analysis {"connection_id":122204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:14:12] local.INFO: Extracted packet for processing {"connection_id":122204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:14:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499482880001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783201406000,"timestamp_ms":1783201406000,"timestamp_seconds":1783201406,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f161c30"} 
[2026-07-05 03:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 03:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499482880001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499482880001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:14:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499482880001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":122204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:14:12] local.INFO: GPS data processed {"connection_id":122204,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:14:12] local.INFO: Acknowledgment sent {"connection_id":122204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:14:43] local.INFO: TCP Data received {"connection_id":122204,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:14:43] local.INFO: Processing buffer {"connection_id":122204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:14:43] local.INFO: Packet analysis {"connection_id":122204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:14:43] local.INFO: Extracted packet for processing {"connection_id":122204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:14:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499482880001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:14:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783201406000,"timestamp_ms":1783201406000,"timestamp_seconds":1783201406,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f161c30"} 
[2026-07-05 03:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:14: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-07-05 03:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 03:14: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-07-05 03:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499482880001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499482880001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:14:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:14:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499482880001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":122204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:14:43] local.INFO: GPS data processed {"connection_id":122204,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:14:43] local.INFO: Acknowledgment sent {"connection_id":122204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:15:06] local.INFO: TCP Data received {"connection_id":122999,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:15:06] local.INFO: Processing buffer {"connection_id":122999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:15:06] local.INFO: IMEI packet received {"connection_id":122999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":122999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:15:11] local.INFO: TCP Data received {"connection_id":122999,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:15:11] local.INFO: Processing buffer {"connection_id":122999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:15:11] local.INFO: IMEI packet received {"connection_id":122999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":122999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:15:13] local.INFO: TCP Data received {"connection_id":122999,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:15:13] local.INFO: Processing buffer {"connection_id":122999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:15:13] local.INFO: Packet analysis {"connection_id":122999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:15:13] local.INFO: Extracted packet for processing {"connection_id":122999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:15:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499482880001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783201406000,"timestamp_ms":1783201406000,"timestamp_seconds":1783201406,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f161c30"} 
[2026-07-05 03:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 03:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499482880001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499482880001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:15:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499482880001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":122999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:15:13] local.INFO: GPS data processed {"connection_id":122999,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:15:13] local.INFO: Acknowledgment sent {"connection_id":122999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:15:44] local.INFO: TCP Data received {"connection_id":122999,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:15:44] local.INFO: Processing buffer {"connection_id":122999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:15:44] local.INFO: Packet analysis {"connection_id":122999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:15:44] local.INFO: Extracted packet for processing {"connection_id":122999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:15:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499482880001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:15:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783201406000,"timestamp_ms":1783201406000,"timestamp_seconds":1783201406,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f161c30"} 
[2026-07-05 03:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:15: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-07-05 03:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 03:15:44] 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-07-05 03:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499482880001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499482880001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:15:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:15:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499482880001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":122999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:15:44] local.INFO: GPS data processed {"connection_id":122999,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:15:44] local.INFO: Acknowledgment sent {"connection_id":122999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:16:11] local.INFO: TCP Data received {"connection_id":122206,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:16:11] local.INFO: Processing buffer {"connection_id":122206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:16:11] local.INFO: IMEI packet received {"connection_id":122206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":122206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:16:16] local.INFO: TCP Data received {"connection_id":122206,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:16:16] local.INFO: Processing buffer {"connection_id":122206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:16:16] local.INFO: IMEI packet received {"connection_id":122206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":122206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:16:17] local.INFO: TCP Data received {"connection_id":122206,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:16:17] local.INFO: Processing buffer {"connection_id":122206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:16:17] local.INFO: Packet analysis {"connection_id":122206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:16:17] local.INFO: Extracted packet for processing {"connection_id":122206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:16:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499482880001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:16:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783201406000,"timestamp_ms":1783201406000,"timestamp_seconds":1783201406,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f161c30"} 
[2026-07-05 03:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 03:16:17] 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-07-05 03: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-07-05 03:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499482880001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499482880001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:16:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:16:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:16:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499482880001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":122206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:16:17] local.INFO: GPS data processed {"connection_id":122206,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:16:17] local.INFO: Acknowledgment sent {"connection_id":122206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:16:22] local.INFO: TCP Data received {"connection_id":122206,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:16:22] local.INFO: Processing buffer {"connection_id":122206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:16:22] local.INFO: Packet analysis {"connection_id":122206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:16:22] local.INFO: Extracted packet for processing {"connection_id":122206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:16:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499482880001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:16:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783201406000,"timestamp_ms":1783201406000,"timestamp_seconds":1783201406,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f161c30"} 
[2026-07-05 03:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 03:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499482880001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499482880001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:16:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:16:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:16:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499482880001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":122206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:16:22] local.INFO: GPS data processed {"connection_id":122206,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:16:22] local.INFO: Acknowledgment sent {"connection_id":122206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:17:06] local.INFO: TCP Data received {"connection_id":124183,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:17:06] local.INFO: Processing buffer {"connection_id":124183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:17:06] local.INFO: IMEI packet received {"connection_id":124183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":124183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:17:11] local.INFO: TCP Data received {"connection_id":124183,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:17:11] local.INFO: Processing buffer {"connection_id":124183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:17:11] local.INFO: IMEI packet received {"connection_id":124183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":124183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:17:12] local.INFO: TCP Data received {"connection_id":124183,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:17:12] local.INFO: Processing buffer {"connection_id":124183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:17:12] local.INFO: Packet analysis {"connection_id":124183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:17:12] local.INFO: Extracted packet for processing {"connection_id":124183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:17:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499482880001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783201406000,"timestamp_ms":1783201406000,"timestamp_seconds":1783201406,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f161c30"} 
[2026-07-05 03:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 03:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499482880001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499482880001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:17:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499482880001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":124183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:17:12] local.INFO: GPS data processed {"connection_id":124183,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:17:12] local.INFO: Acknowledgment sent {"connection_id":124183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:17:43] local.INFO: TCP Data received {"connection_id":124183,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:17:43] local.INFO: Processing buffer {"connection_id":124183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:17:43] local.INFO: Packet analysis {"connection_id":124183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:17:43] local.INFO: Extracted packet for processing {"connection_id":124183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:17:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499482880001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783201406000,"timestamp_ms":1783201406000,"timestamp_seconds":1783201406,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f161c30"} 
[2026-07-05 03:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03: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-07-05 03: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":200,"data_length":795,"current_offset":136} 
[2026-07-05 03:17: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-07-05 03: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-07-05 03:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499482880001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499482880001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:17:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:17:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499482880001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":124183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:17:43] local.INFO: GPS data processed {"connection_id":124183,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:17:43] local.INFO: Acknowledgment sent {"connection_id":124183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:18:06] local.INFO: TCP Data received {"connection_id":123000,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:18:06] local.INFO: Processing buffer {"connection_id":123000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:18:06] local.INFO: IMEI packet received {"connection_id":123000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":123000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:18:11] local.INFO: TCP Data received {"connection_id":123000,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:18:11] local.INFO: Processing buffer {"connection_id":123000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:18:11] local.INFO: IMEI packet received {"connection_id":123000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":123000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:18:12] local.INFO: TCP Data received {"connection_id":123000,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:18:12] local.INFO: Processing buffer {"connection_id":123000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:18:12] local.INFO: Packet analysis {"connection_id":123000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:18:12] local.INFO: Extracted packet for processing {"connection_id":123000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:18:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499482880001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783201406000,"timestamp_ms":1783201406000,"timestamp_seconds":1783201406,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f161c30"} 
[2026-07-05 03:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 03:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499482880001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499482880001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:18:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499482880001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":123000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:18:12] local.INFO: GPS data processed {"connection_id":123000,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:18:12] local.INFO: Acknowledgment sent {"connection_id":123000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:18:43] local.INFO: TCP Data received {"connection_id":123000,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:18:43] local.INFO: Processing buffer {"connection_id":123000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f161c30012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:18:43] local.INFO: Packet analysis {"connection_id":123000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:18:43] local.INFO: Extracted packet for processing {"connection_id":123000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f16"} 
[2026-07-05 03:18:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499482880001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:18:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783201406000,"timestamp_ms":1783201406000,"timestamp_seconds":1783201406,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f161c30"} 
[2026-07-05 03:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:18: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-07-05 03:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 03:18: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-07-05 03:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499482880001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499482880001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:18:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:18:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499482880001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":123000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:18:43] local.INFO: GPS data processed {"connection_id":123000,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:18:43] local.INFO: Acknowledgment sent {"connection_id":123000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:19:05] local.INFO: TCP Data received {"connection_id":124186,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:19:05] local.INFO: Processing buffer {"connection_id":124186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:19:05] local.INFO: IMEI packet received {"connection_id":124186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":124186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:19:06] local.INFO: TCP Data received {"connection_id":124186,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:19:06] local.INFO: Processing buffer {"connection_id":124186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:19:06] local.INFO: IMEI packet received {"connection_id":124186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":124186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:19:11] local.INFO: TCP Data received {"connection_id":124186,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:19:11] local.INFO: Processing buffer {"connection_id":124186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:19:11] local.INFO: IMEI packet received {"connection_id":124186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":124186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:19:14] local.INFO: TCP Data received {"connection_id":124186,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:19:14] local.INFO: Processing buffer {"connection_id":124186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:19:14] local.INFO: Packet analysis {"connection_id":124186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:19:14] local.INFO: Extracted packet for processing {"connection_id":124186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:19:14] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:19: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-07-05 03:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499559936001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:19:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783201707000,"timestamp_ms":1783201707000,"timestamp_seconds":1783201707,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1ab3f8"} 
[2026-07-05 03:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:19:14] 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-07-05 03:19: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-07-05 03:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499559936001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499559936001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:19:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:19:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:19:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499559936001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":124186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:19:14] local.INFO: GPS data processed {"connection_id":124186,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:19:14] local.INFO: Acknowledgment sent {"connection_id":124186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:19:26] local.INFO: TCP Data received {"connection_id":124185,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:19:26] local.INFO: Processing buffer {"connection_id":124185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:19:26] local.INFO: IMEI packet received {"connection_id":124185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":124185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:19:45] local.INFO: TCP Data received {"connection_id":124186,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:19:45] local.INFO: Processing buffer {"connection_id":124186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:19:45] local.INFO: Packet analysis {"connection_id":124186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:19:45] local.INFO: Extracted packet for processing {"connection_id":124186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:19:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499559936001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:19:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783201707000,"timestamp_ms":1783201707000,"timestamp_seconds":1783201707,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1ab3f8"} 
[2026-07-05 03:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:19: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-07-05 03:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:19:45] 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-07-05 03:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499559936001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499559936001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:19:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:19:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:19:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499559936001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":124186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:19:45] local.INFO: GPS data processed {"connection_id":124186,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:19:45] local.INFO: Acknowledgment sent {"connection_id":124186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:20:06] local.INFO: TCP Data received {"connection_id":122208,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:20:06] local.INFO: Processing buffer {"connection_id":122208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:20:06] local.INFO: IMEI packet received {"connection_id":122208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":122208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:20:06] local.INFO: TCP Data received {"connection_id":124187,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:20:06] local.INFO: Processing buffer {"connection_id":124187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:20:06] local.INFO: IMEI packet received {"connection_id":124187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":124187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:20:11] local.INFO: TCP Data received {"connection_id":124187,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:20:11] local.INFO: Processing buffer {"connection_id":124187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:20:11] local.INFO: IMEI packet received {"connection_id":124187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":124187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:20:12] local.INFO: TCP Data received {"connection_id":124187,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:20:12] local.INFO: Processing buffer {"connection_id":124187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:20:12] local.INFO: Packet analysis {"connection_id":124187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:20:12] local.INFO: Extracted packet for processing {"connection_id":124187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:20:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499559936001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783201707000,"timestamp_ms":1783201707000,"timestamp_seconds":1783201707,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1ab3f8"} 
[2026-07-05 03:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499559936001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499559936001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:20:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499559936001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":124187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:20:12] local.INFO: GPS data processed {"connection_id":124187,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:20:12] local.INFO: Acknowledgment sent {"connection_id":124187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:20:43] local.INFO: TCP Data received {"connection_id":124187,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:20:43] local.INFO: Processing buffer {"connection_id":124187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:20:43] local.INFO: Packet analysis {"connection_id":124187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:20:43] local.INFO: Extracted packet for processing {"connection_id":124187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:20:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499559936001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:20:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783201707000,"timestamp_ms":1783201707000,"timestamp_seconds":1783201707,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1ab3f8"} 
[2026-07-05 03:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:20: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-07-05 03:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499559936001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499559936001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:20:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:20:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499559936001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":124187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:20:43] local.INFO: GPS data processed {"connection_id":124187,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:20:43] local.INFO: Acknowledgment sent {"connection_id":124187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:21:11] local.INFO: TCP Data received {"connection_id":123001,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:21:11] local.INFO: Processing buffer {"connection_id":123001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:21:11] local.INFO: IMEI packet received {"connection_id":123001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":123001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:21:16] local.INFO: TCP Data received {"connection_id":123001,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:21:16] local.INFO: Processing buffer {"connection_id":123001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:21:16] local.INFO: IMEI packet received {"connection_id":123001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":123001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:21:17] local.INFO: TCP Data received {"connection_id":123001,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:21:17] local.INFO: Processing buffer {"connection_id":123001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:21:17] local.INFO: Packet analysis {"connection_id":123001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:21:17] local.INFO: Extracted packet for processing {"connection_id":123001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:21:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499559936001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:21:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783201707000,"timestamp_ms":1783201707000,"timestamp_seconds":1783201707,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1ab3f8"} 
[2026-07-05 03:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:21:17] 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-07-05 03:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499559936001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499559936001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:21:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:21:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:21:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499559936001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":123001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:21:17] local.INFO: GPS data processed {"connection_id":123001,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:21:17] local.INFO: Acknowledgment sent {"connection_id":123001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:21:32] local.INFO: TCP Data received {"connection_id":123001,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:21:32] local.INFO: Processing buffer {"connection_id":123001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:21:32] local.INFO: Packet analysis {"connection_id":123001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:21:32] local.INFO: Extracted packet for processing {"connection_id":123001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:21:32] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 03:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499559936001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:21:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783201707000,"timestamp_ms":1783201707000,"timestamp_seconds":1783201707,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1ab3f8"} 
[2026-07-05 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-07-05 03: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-07-05 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":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:21: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-07-05 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-07-05 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-07-05 03:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":123001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":123001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":123001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499559936001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499559936001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:21:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:21:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499559936001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":123001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:21:32] local.INFO: GPS data processed {"connection_id":123001,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:21:32] local.INFO: Acknowledgment sent {"connection_id":123001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:22:06] local.INFO: TCP Data received {"connection_id":122209,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:22:06] local.INFO: Processing buffer {"connection_id":122209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:22:06] local.INFO: IMEI packet received {"connection_id":122209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":122209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:22:11] local.INFO: TCP Data received {"connection_id":122209,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:22:11] local.INFO: Processing buffer {"connection_id":122209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:22:11] local.INFO: IMEI packet received {"connection_id":122209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":122209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:22:12] local.INFO: TCP Data received {"connection_id":122209,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:22:12] local.INFO: Processing buffer {"connection_id":122209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:22:12] local.INFO: Packet analysis {"connection_id":122209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:22:12] local.INFO: Extracted packet for processing {"connection_id":122209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:22:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499559936001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783201707000,"timestamp_ms":1783201707000,"timestamp_seconds":1783201707,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1ab3f8"} 
[2026-07-05 03:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499559936001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499559936001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:22:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499559936001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":122209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:22:12] local.INFO: GPS data processed {"connection_id":122209,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:22:12] local.INFO: Acknowledgment sent {"connection_id":122209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:22:43] local.INFO: TCP Data received {"connection_id":122209,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:22:43] local.INFO: Processing buffer {"connection_id":122209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:22:43] local.INFO: Packet analysis {"connection_id":122209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:22:43] local.INFO: Extracted packet for processing {"connection_id":122209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:22:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499559936001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:22:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783201707000,"timestamp_ms":1783201707000,"timestamp_seconds":1783201707,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1ab3f8"} 
[2026-07-05 03:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:22: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-07-05 03:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499559936001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499559936001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:22:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:22:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499559936001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":122209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:22:43] local.INFO: GPS data processed {"connection_id":122209,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:22:43] local.INFO: Acknowledgment sent {"connection_id":122209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:23:06] local.INFO: TCP Data received {"connection_id":124188,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:23:06] local.INFO: Processing buffer {"connection_id":124188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:23:06] local.INFO: IMEI packet received {"connection_id":124188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":124188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:23:11] local.INFO: TCP Data received {"connection_id":124188,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:23:11] local.INFO: Processing buffer {"connection_id":124188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:23:11] local.INFO: IMEI packet received {"connection_id":124188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":124188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:23:16] local.INFO: TCP Data received {"connection_id":124188,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:23:16] local.INFO: Processing buffer {"connection_id":124188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:23:16] local.INFO: Packet analysis {"connection_id":124188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:23:16] local.INFO: Extracted packet for processing {"connection_id":124188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:23:16] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499559936001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:23:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783201707000,"timestamp_ms":1783201707000,"timestamp_seconds":1783201707,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1ab3f8"} 
[2026-07-05 03:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:23:16] 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-07-05 03:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499559936001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499559936001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:23:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:23:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:23:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499559936001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":124188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:23:16] local.INFO: GPS data processed {"connection_id":124188,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:23:16] local.INFO: Acknowledgment sent {"connection_id":124188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:23:47] local.INFO: TCP Data received {"connection_id":124188,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:23:47] local.INFO: Processing buffer {"connection_id":124188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1ab3f8012cb2a2c007823a880048013b29..."} 
[2026-07-05 03:23:47] local.INFO: Packet analysis {"connection_id":124188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:23:47] local.INFO: Extracted packet for processing {"connection_id":124188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1a"} 
[2026-07-05 03:23:47] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499559936001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783201707000,"timestamp_ms":1783201707000,"timestamp_seconds":1783201707,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1ab3f8"} 
[2026-07-05 03:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499559936001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499559936001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:23:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:23:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:23:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499559936001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":124188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:23:47] local.INFO: GPS data processed {"connection_id":124188,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:23:47] local.INFO: Acknowledgment sent {"connection_id":124188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:24:06] local.INFO: TCP Data received {"connection_id":122210,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:24:06] local.INFO: Processing buffer {"connection_id":122210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:24:06] local.INFO: IMEI packet received {"connection_id":122210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":122210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:24:06] local.INFO: TCP Data received {"connection_id":122210,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:24:06] local.INFO: Processing buffer {"connection_id":122210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:24:06] local.INFO: IMEI packet received {"connection_id":122210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":122210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:24:11] local.INFO: TCP Data received {"connection_id":122210,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:24:11] local.INFO: Processing buffer {"connection_id":122210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:24:11] local.INFO: IMEI packet received {"connection_id":122210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":122210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:24:12] local.INFO: TCP Data received {"connection_id":122210,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:24:12] local.INFO: Processing buffer {"connection_id":122210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:24:12] local.INFO: Packet analysis {"connection_id":122210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:24:12] local.INFO: Extracted packet for processing {"connection_id":122210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:24:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499636992001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202008000,"timestamp_ms":1783202008000,"timestamp_seconds":1783202008,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1f4bc0"} 
[2026-07-05 03:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499636992001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499636992001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:24:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499636992001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":122210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:24:12] local.INFO: GPS data processed {"connection_id":122210,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:24:12] local.INFO: Acknowledgment sent {"connection_id":122210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:24:43] local.INFO: TCP Data received {"connection_id":122210,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:24:43] local.INFO: Processing buffer {"connection_id":122210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:24:43] local.INFO: Packet analysis {"connection_id":122210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:24:43] local.INFO: Extracted packet for processing {"connection_id":122210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:24:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499636992001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783202008000,"timestamp_ms":1783202008000,"timestamp_seconds":1783202008,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1f4bc0"} 
[2026-07-05 03:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:24: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-07-05 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499636992001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499636992001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:24:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499636992001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":122210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:24:43] local.INFO: GPS data processed {"connection_id":122210,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:24:43] local.INFO: Acknowledgment sent {"connection_id":122210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:25:06] local.INFO: TCP Data received {"connection_id":122280,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:25:06] local.INFO: Processing buffer {"connection_id":122280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:25:06] local.INFO: IMEI packet received {"connection_id":122280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":122280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:25:11] local.INFO: TCP Data received {"connection_id":122280,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:25:11] local.INFO: Processing buffer {"connection_id":122280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:25:11] local.INFO: IMEI packet received {"connection_id":122280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":122280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:25:12] local.INFO: TCP Data received {"connection_id":122280,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:25:12] local.INFO: Processing buffer {"connection_id":122280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:25:12] local.INFO: Packet analysis {"connection_id":122280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:25:12] local.INFO: Extracted packet for processing {"connection_id":122280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:25:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499636992001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202008000,"timestamp_ms":1783202008000,"timestamp_seconds":1783202008,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1f4bc0"} 
[2026-07-05 03:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499636992001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499636992001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:25:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499636992001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":122280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:25:12] local.INFO: GPS data processed {"connection_id":122280,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:25:12] local.INFO: Acknowledgment sent {"connection_id":122280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:25:21] local.INFO: TCP Data received {"connection_id":123003,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:25:21] local.INFO: Processing buffer {"connection_id":123003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:25:21] local.INFO: IMEI packet received {"connection_id":123003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":123003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:25:44] local.INFO: TCP Data received {"connection_id":122280,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:25:44] local.INFO: Processing buffer {"connection_id":122280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:25:44] local.INFO: Packet analysis {"connection_id":122280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:25:44] local.INFO: Extracted packet for processing {"connection_id":122280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:25:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499636992001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:25:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783202008000,"timestamp_ms":1783202008000,"timestamp_seconds":1783202008,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1f4bc0"} 
[2026-07-05 03:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:25: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-07-05 03:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499636992001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499636992001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:25:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:25:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:25:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499636992001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":122280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:25:44] local.INFO: GPS data processed {"connection_id":122280,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:25:44] local.INFO: Acknowledgment sent {"connection_id":122280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:26:06] local.INFO: TCP Data received {"connection_id":123004,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:26:06] local.INFO: Processing buffer {"connection_id":123004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:26:06] local.INFO: IMEI packet received {"connection_id":123004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":123004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:26:06] local.INFO: TCP Data received {"connection_id":122212,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:26:06] local.INFO: Processing buffer {"connection_id":122212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:26:06] local.INFO: IMEI packet received {"connection_id":122212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":122212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:26:11] local.INFO: TCP Data received {"connection_id":122212,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:26:11] local.INFO: Processing buffer {"connection_id":122212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:26:11] local.INFO: IMEI packet received {"connection_id":122212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":122212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:26:12] local.INFO: TCP Data received {"connection_id":122212,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:26:12] local.INFO: Processing buffer {"connection_id":122212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:26:12] local.INFO: Packet analysis {"connection_id":122212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:26:12] local.INFO: Extracted packet for processing {"connection_id":122212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:26:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499636992001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202008000,"timestamp_ms":1783202008000,"timestamp_seconds":1783202008,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1f4bc0"} 
[2026-07-05 03:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499636992001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499636992001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:26:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499636992001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":122212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:26:12] local.INFO: GPS data processed {"connection_id":122212,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:26:12] local.INFO: Acknowledgment sent {"connection_id":122212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:26:44] local.INFO: TCP Data received {"connection_id":122212,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:26:44] local.INFO: Processing buffer {"connection_id":122212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:26:44] local.INFO: Packet analysis {"connection_id":122212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:26:44] local.INFO: Extracted packet for processing {"connection_id":122212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:26:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499636992001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:26:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783202008000,"timestamp_ms":1783202008000,"timestamp_seconds":1783202008,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1f4bc0"} 
[2026-07-05 03:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:26: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-07-05 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499636992001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499636992001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:26:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:26:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499636992001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":122212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:26:44] local.INFO: GPS data processed {"connection_id":122212,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:26:44] local.INFO: Acknowledgment sent {"connection_id":122212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:27:07] local.INFO: TCP Data received {"connection_id":122281,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:27:07] local.INFO: Processing buffer {"connection_id":122281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:27:07] local.INFO: IMEI packet received {"connection_id":122281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":122281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:27:11] local.INFO: TCP Data received {"connection_id":122281,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:27:11] local.INFO: Processing buffer {"connection_id":122281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:27:11] local.INFO: IMEI packet received {"connection_id":122281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":122281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:27:13] local.INFO: TCP Data received {"connection_id":122281,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:27:13] local.INFO: Processing buffer {"connection_id":122281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:27:13] local.INFO: Packet analysis {"connection_id":122281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:27:13] local.INFO: Extracted packet for processing {"connection_id":122281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:27:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499636992001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:27:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783202008000,"timestamp_ms":1783202008000,"timestamp_seconds":1783202008,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1f4bc0"} 
[2026-07-05 03:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499636992001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499636992001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:27:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:27:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499636992001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":122281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:27:13] local.INFO: GPS data processed {"connection_id":122281,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:27:13] local.INFO: Acknowledgment sent {"connection_id":122281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:27:44] local.INFO: TCP Data received {"connection_id":122281,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:27:44] local.INFO: Processing buffer {"connection_id":122281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:27:44] local.INFO: Packet analysis {"connection_id":122281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:27:44] local.INFO: Extracted packet for processing {"connection_id":122281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:27:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499636992001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:27:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783202008000,"timestamp_ms":1783202008000,"timestamp_seconds":1783202008,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1f4bc0"} 
[2026-07-05 03:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:27: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-07-05 03:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499636992001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499636992001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:27:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:27:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499636992001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":122281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:27:44] local.INFO: GPS data processed {"connection_id":122281,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:27:44] local.INFO: Acknowledgment sent {"connection_id":122281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:28:06] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:28:06] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:28:06] local.INFO: IMEI packet received {"connection_id":124190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":124190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:28:11] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:28:11] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:28:11] local.INFO: IMEI packet received {"connection_id":124190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":124190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:28:12] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:28:12] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:28:12] local.INFO: Packet analysis {"connection_id":124190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:28:12] local.INFO: Extracted packet for processing {"connection_id":124190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:28:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499636992001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202008000,"timestamp_ms":1783202008000,"timestamp_seconds":1783202008,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1f4bc0"} 
[2026-07-05 03:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499636992001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499636992001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:28:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499636992001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":124190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:28:12] local.INFO: GPS data processed {"connection_id":124190,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:28:12] local.INFO: Acknowledgment sent {"connection_id":124190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:28:43] local.INFO: TCP Data received {"connection_id":124190,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:28:43] local.INFO: Processing buffer {"connection_id":124190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f1f4bc0012cb2a2c007823a880048013b24..."} 
[2026-07-05 03:28:43] local.INFO: Packet analysis {"connection_id":124190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:28:43] local.INFO: Extracted packet for processing {"connection_id":124190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f1f"} 
[2026-07-05 03:28:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499636992001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783202008000,"timestamp_ms":1783202008000,"timestamp_seconds":1783202008,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f1f4bc0"} 
[2026-07-05 03:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:28: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-07-05 03:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 03:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499636992001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499636992001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:28:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499636992001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":124190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:28:43] local.INFO: GPS data processed {"connection_id":124190,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:28:43] local.INFO: Acknowledgment sent {"connection_id":124190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:29:06] local.INFO: TCP Data received {"connection_id":124191,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:29:06] local.INFO: Processing buffer {"connection_id":124191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:29:06] local.INFO: IMEI packet received {"connection_id":124191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":124191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:29:07] local.INFO: TCP Data received {"connection_id":124191,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:29:07] local.INFO: Processing buffer {"connection_id":124191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:29:07] local.INFO: IMEI packet received {"connection_id":124191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":124191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:29:11] local.INFO: TCP Data received {"connection_id":124191,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:29:11] local.INFO: Processing buffer {"connection_id":124191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:29:11] local.INFO: IMEI packet received {"connection_id":124191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":124191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:29:12] local.INFO: TCP Data received {"connection_id":124191,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:29:12] local.INFO: Processing buffer {"connection_id":124191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:29:12] local.INFO: Packet analysis {"connection_id":124191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:29:12] local.INFO: Extracted packet for processing {"connection_id":124191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:29:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499714048001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202309000,"timestamp_ms":1783202309000,"timestamp_seconds":1783202309,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f23e388"} 
[2026-07-05 03:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 03:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499714048001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499714048001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:29:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499714048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":124191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:29:12] local.INFO: GPS data processed {"connection_id":124191,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:29:12] local.INFO: Acknowledgment sent {"connection_id":124191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:29:43] local.INFO: TCP Data received {"connection_id":124191,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:29:43] local.INFO: Processing buffer {"connection_id":124191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:29:43] local.INFO: Packet analysis {"connection_id":124191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:29:43] local.INFO: Extracted packet for processing {"connection_id":124191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:29:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499714048001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783202309000,"timestamp_ms":1783202309000,"timestamp_seconds":1783202309,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f23e388"} 
[2026-07-05 03:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:29: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-07-05 03:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 03:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499714048001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499714048001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:29:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499714048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":124191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:29:43] local.INFO: GPS data processed {"connection_id":124191,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:29:43] local.INFO: Acknowledgment sent {"connection_id":124191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:30:06] local.INFO: TCP Data received {"connection_id":123006,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:30:06] local.INFO: Processing buffer {"connection_id":123006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:30:06] local.INFO: IMEI packet received {"connection_id":123006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":123006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:30:11] local.INFO: TCP Data received {"connection_id":123006,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:30:11] local.INFO: Processing buffer {"connection_id":123006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:30:11] local.INFO: IMEI packet received {"connection_id":123006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":123006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:30:12] local.INFO: TCP Data received {"connection_id":123006,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:30:12] local.INFO: Processing buffer {"connection_id":123006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:30:12] local.INFO: Packet analysis {"connection_id":123006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:30:12] local.INFO: Extracted packet for processing {"connection_id":123006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:30:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499714048001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:30:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202309000,"timestamp_ms":1783202309000,"timestamp_seconds":1783202309,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f23e388"} 
[2026-07-05 03:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 03:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499714048001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499714048001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:30:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:30:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499714048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":123006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:30:12] local.INFO: GPS data processed {"connection_id":123006,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:30:12] local.INFO: Acknowledgment sent {"connection_id":123006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:30:44] local.INFO: TCP Data received {"connection_id":123006,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:30:44] local.INFO: Processing buffer {"connection_id":123006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:30:44] local.INFO: Packet analysis {"connection_id":123006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:30:44] local.INFO: Extracted packet for processing {"connection_id":123006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:30:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499714048001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:30:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783202309000,"timestamp_ms":1783202309000,"timestamp_seconds":1783202309,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f23e388"} 
[2026-07-05 03:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:30: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-07-05 03:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 03:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":123006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":123006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":123006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499714048001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499714048001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:30:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:30:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499714048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":123006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:30:44] local.INFO: GPS data processed {"connection_id":123006,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:30:44] local.INFO: Acknowledgment sent {"connection_id":123006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:31:07] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:31:07] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:31:07] local.INFO: IMEI packet received {"connection_id":124193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":124193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:31:11] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:31:11] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:31:11] local.INFO: IMEI packet received {"connection_id":124193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":124193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:31:12] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:31:12] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:31:12] local.INFO: Packet analysis {"connection_id":124193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:31:12] local.INFO: Extracted packet for processing {"connection_id":124193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:31:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499714048001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202309000,"timestamp_ms":1783202309000,"timestamp_seconds":1783202309,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f23e388"} 
[2026-07-05 03:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 03:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499714048001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499714048001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:31:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499714048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":124193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:31:12] local.INFO: GPS data processed {"connection_id":124193,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:31:12] local.INFO: Acknowledgment sent {"connection_id":124193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:31:21] local.INFO: TCP Data received {"connection_id":124192,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:31:21] local.INFO: Processing buffer {"connection_id":124192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:31:21] local.INFO: IMEI packet received {"connection_id":124192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":124192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:31:44] local.INFO: TCP Data received {"connection_id":124193,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:31:44] local.INFO: Processing buffer {"connection_id":124193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:31:44] local.INFO: Packet analysis {"connection_id":124193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:31:44] local.INFO: Extracted packet for processing {"connection_id":124193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:31:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499714048001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:31:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783202309000,"timestamp_ms":1783202309000,"timestamp_seconds":1783202309,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f23e388"} 
[2026-07-05 03:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:31: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-07-05 03:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 03:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499714048001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499714048001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:31:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:31:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499714048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":124193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:31:44] local.INFO: GPS data processed {"connection_id":124193,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:31:44] local.INFO: Acknowledgment sent {"connection_id":124193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:32:06] local.INFO: TCP Data received {"connection_id":123008,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:32:06] local.INFO: Processing buffer {"connection_id":123008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:32:06] local.INFO: IMEI packet received {"connection_id":123008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":123008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:32:07] local.INFO: TCP Data received {"connection_id":123007,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:32:07] local.INFO: Processing buffer {"connection_id":123007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:32:07] local.INFO: IMEI packet received {"connection_id":123007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":123007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:32:11] local.INFO: TCP Data received {"connection_id":123008,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:32:11] local.INFO: Processing buffer {"connection_id":123008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:32:11] local.INFO: IMEI packet received {"connection_id":123008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":123008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:32:12] local.INFO: TCP Data received {"connection_id":123008,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:32:12] local.INFO: Processing buffer {"connection_id":123008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:32:12] local.INFO: Packet analysis {"connection_id":123008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:32:12] local.INFO: Extracted packet for processing {"connection_id":123008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:32:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499714048001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202309000,"timestamp_ms":1783202309000,"timestamp_seconds":1783202309,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f23e388"} 
[2026-07-05 03:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 03:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499714048001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499714048001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:32:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499714048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":123008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:32:12] local.INFO: GPS data processed {"connection_id":123008,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:32:12] local.INFO: Acknowledgment sent {"connection_id":123008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:32:43] local.INFO: TCP Data received {"connection_id":123008,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:32:43] local.INFO: Processing buffer {"connection_id":123008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:32:43] local.INFO: Packet analysis {"connection_id":123008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:32:43] local.INFO: Extracted packet for processing {"connection_id":123008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:32:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499714048001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783202309000,"timestamp_ms":1783202309000,"timestamp_seconds":1783202309,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f23e388"} 
[2026-07-05 03:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:32: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-07-05 03:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 03:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499714048001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499714048001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:32:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499714048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":123008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:32:43] local.INFO: GPS data processed {"connection_id":123008,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:32:43] local.INFO: Acknowledgment sent {"connection_id":123008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:33:06] local.INFO: TCP Data received {"connection_id":122284,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:33:06] local.INFO: Processing buffer {"connection_id":122284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:33:06] local.INFO: IMEI packet received {"connection_id":122284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":122284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:33:11] local.INFO: TCP Data received {"connection_id":122284,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:33:11] local.INFO: Processing buffer {"connection_id":122284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:33:11] local.INFO: IMEI packet received {"connection_id":122284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":122284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:33:13] local.INFO: TCP Data received {"connection_id":122284,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:33:13] local.INFO: Processing buffer {"connection_id":122284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:33:13] local.INFO: Packet analysis {"connection_id":122284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:33:13] local.INFO: Extracted packet for processing {"connection_id":122284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:33:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499714048001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783202309000,"timestamp_ms":1783202309000,"timestamp_seconds":1783202309,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f23e388"} 
[2026-07-05 03:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 03:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499714048001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499714048001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:33:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:33:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499714048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":122284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:33:13] local.INFO: GPS data processed {"connection_id":122284,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:33:13] local.INFO: Acknowledgment sent {"connection_id":122284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:33:44] local.INFO: TCP Data received {"connection_id":122284,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:33:44] local.INFO: Processing buffer {"connection_id":122284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f23e388012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:33:44] local.INFO: Packet analysis {"connection_id":122284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:33:44] local.INFO: Extracted packet for processing {"connection_id":122284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f23"} 
[2026-07-05 03:33:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499714048001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:33:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783202309000,"timestamp_ms":1783202309000,"timestamp_seconds":1783202309,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f23e388"} 
[2026-07-05 03:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:33: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-07-05 03: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 03:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499714048001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499714048001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:33:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:33:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:33:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499714048001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":122284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:33:44] local.INFO: GPS data processed {"connection_id":122284,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:33:44] local.INFO: Acknowledgment sent {"connection_id":122284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:34:08] local.INFO: TCP Data received {"connection_id":124195,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:34:08] local.INFO: Processing buffer {"connection_id":124195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:34:08] local.INFO: IMEI packet received {"connection_id":124195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":124195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:34:11] local.INFO: TCP Data received {"connection_id":124195,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:34:11] local.INFO: Processing buffer {"connection_id":124195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:34:11] local.INFO: IMEI packet received {"connection_id":124195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":124195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:34:16] local.INFO: TCP Data received {"connection_id":124195,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:34:16] local.INFO: Processing buffer {"connection_id":124195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:34:16] local.INFO: IMEI packet received {"connection_id":124195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":124195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:34:17] local.INFO: TCP Data received {"connection_id":124195,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:34:17] local.INFO: Processing buffer {"connection_id":124195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:34:17] local.INFO: Packet analysis {"connection_id":124195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:34:17] local.INFO: Extracted packet for processing {"connection_id":124195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:34:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499791104001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:34:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783202610000,"timestamp_ms":1783202610000,"timestamp_seconds":1783202610,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f287b50"} 
[2026-07-05 03:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499791104001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499791104001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:34:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:34:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:34:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499791104001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":124195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:34:17] local.INFO: GPS data processed {"connection_id":124195,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:34:17] local.INFO: Acknowledgment sent {"connection_id":124195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:34:22] local.INFO: TCP Data received {"connection_id":124195,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:34:22] local.INFO: Processing buffer {"connection_id":124195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:34:22] local.INFO: Packet analysis {"connection_id":124195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:34:22] local.INFO: Extracted packet for processing {"connection_id":124195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:34:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499791104001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783202610000,"timestamp_ms":1783202610000,"timestamp_seconds":1783202610,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f287b50"} 
[2026-07-05 03:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499791104001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499791104001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:34:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:34:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:34:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499791104001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":124195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:34:22] local.INFO: GPS data processed {"connection_id":124195,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:34:22] local.INFO: Acknowledgment sent {"connection_id":124195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:35:06] local.INFO: TCP Data received {"connection_id":123010,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:35:06] local.INFO: Processing buffer {"connection_id":123010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:35:06] local.INFO: IMEI packet received {"connection_id":123010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":123010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:35:11] local.INFO: TCP Data received {"connection_id":123010,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:35:11] local.INFO: Processing buffer {"connection_id":123010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:35:11] local.INFO: IMEI packet received {"connection_id":123010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":123010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:35:12] local.INFO: TCP Data received {"connection_id":123010,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:35:12] local.INFO: Processing buffer {"connection_id":123010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:35:12] local.INFO: Packet analysis {"connection_id":123010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:35:12] local.INFO: Extracted packet for processing {"connection_id":123010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:35:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499791104001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202610000,"timestamp_ms":1783202610000,"timestamp_seconds":1783202610,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f287b50"} 
[2026-07-05 03:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499791104001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499791104001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:35:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499791104001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":123010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:35:12] local.INFO: GPS data processed {"connection_id":123010,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:35:12] local.INFO: Acknowledgment sent {"connection_id":123010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:35:43] local.INFO: TCP Data received {"connection_id":123010,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:35:43] local.INFO: Processing buffer {"connection_id":123010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:35:43] local.INFO: Packet analysis {"connection_id":123010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:35:43] local.INFO: Extracted packet for processing {"connection_id":123010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:35:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499791104001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783202610000,"timestamp_ms":1783202610000,"timestamp_seconds":1783202610,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f287b50"} 
[2026-07-05 03:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:35: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-07-05 03:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499791104001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499791104001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:35:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499791104001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":123010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:35:43] local.INFO: GPS data processed {"connection_id":123010,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:35:43] local.INFO: Acknowledgment sent {"connection_id":123010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:36:06] local.INFO: TCP Data received {"connection_id":122286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:36:06] local.INFO: Processing buffer {"connection_id":122286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:36:06] local.INFO: IMEI packet received {"connection_id":122286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":122286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:36:11] local.INFO: TCP Data received {"connection_id":122286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:36:11] local.INFO: Processing buffer {"connection_id":122286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:36:11] local.INFO: IMEI packet received {"connection_id":122286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":122286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:36:12] local.INFO: TCP Data received {"connection_id":122286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:36:12] local.INFO: Processing buffer {"connection_id":122286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:36:12] local.INFO: Packet analysis {"connection_id":122286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:36:12] local.INFO: Extracted packet for processing {"connection_id":122286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:36:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499791104001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202610000,"timestamp_ms":1783202610000,"timestamp_seconds":1783202610,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f287b50"} 
[2026-07-05 03:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499791104001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499791104001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:36:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499791104001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":122286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:36:12] local.INFO: GPS data processed {"connection_id":122286,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:36:12] local.INFO: Acknowledgment sent {"connection_id":122286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:36:43] local.INFO: TCP Data received {"connection_id":122286,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:36:43] local.INFO: Processing buffer {"connection_id":122286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:36:43] local.INFO: Packet analysis {"connection_id":122286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:36:43] local.INFO: Extracted packet for processing {"connection_id":122286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:36:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499791104001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:36:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783202610000,"timestamp_ms":1783202610000,"timestamp_seconds":1783202610,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f287b50"} 
[2026-07-05 03:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:36: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-07-05 03:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:36: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-07-05 03:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499791104001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499791104001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:36:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:36:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499791104001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":122286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:36:43] local.INFO: GPS data processed {"connection_id":122286,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:36:43] local.INFO: Acknowledgment sent {"connection_id":122286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:37:06] local.INFO: TCP Data received {"connection_id":123011,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:37:06] local.INFO: Processing buffer {"connection_id":123011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:37:06] local.INFO: IMEI packet received {"connection_id":123011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":123011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:37:11] local.INFO: TCP Data received {"connection_id":123011,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:37:11] local.INFO: Processing buffer {"connection_id":123011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:37:11] local.INFO: IMEI packet received {"connection_id":123011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":123011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:37:12] local.INFO: TCP Data received {"connection_id":123011,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:37:12] local.INFO: Processing buffer {"connection_id":123011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:37:12] local.INFO: Packet analysis {"connection_id":123011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:37:12] local.INFO: Extracted packet for processing {"connection_id":123011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:37:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499791104001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202610000,"timestamp_ms":1783202610000,"timestamp_seconds":1783202610,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f287b50"} 
[2026-07-05 03:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499791104001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499791104001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:37:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499791104001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":123011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:37:12] local.INFO: GPS data processed {"connection_id":123011,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:37:12] local.INFO: Acknowledgment sent {"connection_id":123011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:37:26] local.INFO: TCP Data received {"connection_id":123012,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:37:26] local.INFO: Processing buffer {"connection_id":123012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:37:26] local.INFO: IMEI packet received {"connection_id":123012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":123012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:37:43] local.INFO: TCP Data received {"connection_id":123011,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:37:43] local.INFO: Processing buffer {"connection_id":123011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:37:43] local.INFO: Packet analysis {"connection_id":123011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:37:43] local.INFO: Extracted packet for processing {"connection_id":123011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:37:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499791104001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783202610000,"timestamp_ms":1783202610000,"timestamp_seconds":1783202610,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f287b50"} 
[2026-07-05 03:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:37: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-07-05 03:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499791104001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499791104001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:37:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499791104001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":123011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:37:43] local.INFO: GPS data processed {"connection_id":123011,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:37:43] local.INFO: Acknowledgment sent {"connection_id":123011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:38:06] local.INFO: TCP Data received {"connection_id":122216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:38:06] local.INFO: Processing buffer {"connection_id":122216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:38:06] local.INFO: IMEI packet received {"connection_id":122216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":122216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:38:06] local.INFO: TCP Data received {"connection_id":122217,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:38:06] local.INFO: Processing buffer {"connection_id":122217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:38:06] local.INFO: IMEI packet received {"connection_id":122217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":122217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:38:11] local.INFO: TCP Data received {"connection_id":122217,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:38:11] local.INFO: Processing buffer {"connection_id":122217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:38:11] local.INFO: IMEI packet received {"connection_id":122217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":122217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:38:12] local.INFO: TCP Data received {"connection_id":122217,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:38:12] local.INFO: Processing buffer {"connection_id":122217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:38:12] local.INFO: Packet analysis {"connection_id":122217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:38:12] local.INFO: Extracted packet for processing {"connection_id":122217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:38:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499791104001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202610000,"timestamp_ms":1783202610000,"timestamp_seconds":1783202610,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f287b50"} 
[2026-07-05 03:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499791104001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499791104001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:38:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499791104001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":122217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:38:12] local.INFO: GPS data processed {"connection_id":122217,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:38:12] local.INFO: Acknowledgment sent {"connection_id":122217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:38:55] local.INFO: TCP Data received {"connection_id":122217,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:38:55] local.INFO: Processing buffer {"connection_id":122217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f287b50012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:38:55] local.INFO: Packet analysis {"connection_id":122217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:38:55] local.INFO: Extracted packet for processing {"connection_id":122217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f28"} 
[2026-07-05 03:38:55] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499791104001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:38:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783202610000,"timestamp_ms":1783202610000,"timestamp_seconds":1783202610,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f287b50"} 
[2026-07-05 03:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":122217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":122217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":122217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499791104001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499791104001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:38:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:38:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:38:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499791104001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":122217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:38:55] local.INFO: GPS data processed {"connection_id":122217,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:38:55] local.INFO: Acknowledgment sent {"connection_id":122217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:39:09] local.INFO: TCP Data received {"connection_id":124196,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:39:09] local.INFO: Processing buffer {"connection_id":124196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:39:09] local.INFO: IMEI packet received {"connection_id":124196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":124196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:39:11] local.INFO: TCP Data received {"connection_id":124196,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:39:11] local.INFO: Processing buffer {"connection_id":124196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:39:11] local.INFO: IMEI packet received {"connection_id":124196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":124196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:39:16] local.INFO: TCP Data received {"connection_id":124196,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:39:16] local.INFO: Processing buffer {"connection_id":124196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:39:16] local.INFO: IMEI packet received {"connection_id":124196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":124196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:39:17] local.INFO: TCP Data received {"connection_id":124196,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:39:17] local.INFO: Processing buffer {"connection_id":124196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:39:17] local.INFO: Packet analysis {"connection_id":124196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:39:17] local.INFO: Extracted packet for processing {"connection_id":124196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:39:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499868160001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:39:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783202911000,"timestamp_ms":1783202911000,"timestamp_seconds":1783202911,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f2d1318"} 
[2026-07-05 03:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:39:17] 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-07-05 03:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499868160001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499868160001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:39:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:39:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:39:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499868160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":124196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:39:17] local.INFO: GPS data processed {"connection_id":124196,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:39:17] local.INFO: Acknowledgment sent {"connection_id":124196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:39:22] local.INFO: TCP Data received {"connection_id":124196,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:39:22] local.INFO: Processing buffer {"connection_id":124196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:39:22] local.INFO: Packet analysis {"connection_id":124196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:39:22] local.INFO: Extracted packet for processing {"connection_id":124196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:39:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499868160001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:39:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783202911000,"timestamp_ms":1783202911000,"timestamp_seconds":1783202911,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f2d1318"} 
[2026-07-05 03:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:39:22] 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-07-05 03: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-07-05 03:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":124196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":124196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":124196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499868160001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499868160001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:39:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:39:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:39:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499868160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":124196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:39:22] local.INFO: GPS data processed {"connection_id":124196,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:39:22] local.INFO: Acknowledgment sent {"connection_id":124196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:40:06] local.INFO: TCP Data received {"connection_id":122218,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:40:06] local.INFO: Processing buffer {"connection_id":122218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:40:06] local.INFO: IMEI packet received {"connection_id":122218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":122218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:40:11] local.INFO: TCP Data received {"connection_id":122218,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:40:11] local.INFO: Processing buffer {"connection_id":122218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:40:11] local.INFO: IMEI packet received {"connection_id":122218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":122218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:40:12] local.INFO: TCP Data received {"connection_id":122218,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:40:12] local.INFO: Processing buffer {"connection_id":122218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:40:12] local.INFO: Packet analysis {"connection_id":122218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:40:12] local.INFO: Extracted packet for processing {"connection_id":122218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:40:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499868160001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202911000,"timestamp_ms":1783202911000,"timestamp_seconds":1783202911,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f2d1318"} 
[2026-07-05 03:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499868160001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499868160001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:40:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499868160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":122218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:40:12] local.INFO: GPS data processed {"connection_id":122218,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:40:12] local.INFO: Acknowledgment sent {"connection_id":122218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:40:43] local.INFO: TCP Data received {"connection_id":122218,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:40:43] local.INFO: Processing buffer {"connection_id":122218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:40:43] local.INFO: Packet analysis {"connection_id":122218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:40:43] local.INFO: Extracted packet for processing {"connection_id":122218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:40:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499868160001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:40:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783202911000,"timestamp_ms":1783202911000,"timestamp_seconds":1783202911,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f2d1318"} 
[2026-07-05 03:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:40: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-07-05 03:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499868160001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499868160001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:40:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:40:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499868160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":122218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:40:43] local.INFO: GPS data processed {"connection_id":122218,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:40:43] local.INFO: Acknowledgment sent {"connection_id":122218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:41:07] local.INFO: TCP Data received {"connection_id":122220,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:41:07] local.INFO: Processing buffer {"connection_id":122220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:41:07] local.INFO: IMEI packet received {"connection_id":122220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":122220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:41:11] local.INFO: TCP Data received {"connection_id":122220,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:41:11] local.INFO: Processing buffer {"connection_id":122220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:41:11] local.INFO: IMEI packet received {"connection_id":122220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":122220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:41:12] local.INFO: TCP Data received {"connection_id":122220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:41:12] local.INFO: Processing buffer {"connection_id":122220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:41:12] local.INFO: Packet analysis {"connection_id":122220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:41:12] local.INFO: Extracted packet for processing {"connection_id":122220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:41:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499868160001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202911000,"timestamp_ms":1783202911000,"timestamp_seconds":1783202911,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f2d1318"} 
[2026-07-05 03:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499868160001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499868160001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:41:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499868160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":122220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:41:12] local.INFO: GPS data processed {"connection_id":122220,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:41:12] local.INFO: Acknowledgment sent {"connection_id":122220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:41:43] local.INFO: TCP Data received {"connection_id":122220,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:41:43] local.INFO: Processing buffer {"connection_id":122220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:41:43] local.INFO: Packet analysis {"connection_id":122220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:41:43] local.INFO: Extracted packet for processing {"connection_id":122220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:41:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499868160001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:41:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783202911000,"timestamp_ms":1783202911000,"timestamp_seconds":1783202911,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f2d1318"} 
[2026-07-05 03:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:41: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-07-05 03:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499868160001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499868160001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:41:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:41:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499868160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":122220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:41:43] local.INFO: GPS data processed {"connection_id":122220,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:41:43] local.INFO: Acknowledgment sent {"connection_id":122220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:42:08] local.INFO: TCP Data received {"connection_id":124197,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:42:08] local.INFO: Processing buffer {"connection_id":124197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:42:08] local.INFO: IMEI packet received {"connection_id":124197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":124197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:42:11] local.INFO: TCP Data received {"connection_id":124197,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:42:11] local.INFO: Processing buffer {"connection_id":124197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:42:11] local.INFO: IMEI packet received {"connection_id":124197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":124197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:42:12] local.INFO: TCP Data received {"connection_id":124197,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:42:12] local.INFO: Processing buffer {"connection_id":124197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:42:12] local.INFO: Packet analysis {"connection_id":124197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:42:12] local.INFO: Extracted packet for processing {"connection_id":124197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:42:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499868160001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783202911000,"timestamp_ms":1783202911000,"timestamp_seconds":1783202911,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f2d1318"} 
[2026-07-05 03:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499868160001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499868160001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:42:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499868160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":124197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:42:12] local.INFO: GPS data processed {"connection_id":124197,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:42:12] local.INFO: Acknowledgment sent {"connection_id":124197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:42:43] local.INFO: TCP Data received {"connection_id":124197,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:42:43] local.INFO: Processing buffer {"connection_id":124197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:42:43] local.INFO: Packet analysis {"connection_id":124197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:42:43] local.INFO: Extracted packet for processing {"connection_id":124197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:42:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499868160001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:42:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783202911000,"timestamp_ms":1783202911000,"timestamp_seconds":1783202911,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f2d1318"} 
[2026-07-05 03:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:42: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-07-05 03:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499868160001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499868160001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:42:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:42:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499868160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":124197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:42:43] local.INFO: GPS data processed {"connection_id":124197,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:42:43] local.INFO: Acknowledgment sent {"connection_id":124197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:43:11] local.INFO: TCP Data received {"connection_id":122223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:43:11] local.INFO: Processing buffer {"connection_id":122223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:43:11] local.INFO: IMEI packet received {"connection_id":122223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":122223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:43:16] local.INFO: TCP Data received {"connection_id":122223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:43:16] local.INFO: Processing buffer {"connection_id":122223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:43:16] local.INFO: IMEI packet received {"connection_id":122223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":122223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:43:17] local.INFO: TCP Data received {"connection_id":122223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:43:17] local.INFO: Processing buffer {"connection_id":122223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:43:17] local.INFO: Packet analysis {"connection_id":122223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:43:17] local.INFO: Extracted packet for processing {"connection_id":122223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:43:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499868160001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:43:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783202911000,"timestamp_ms":1783202911000,"timestamp_seconds":1783202911,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f2d1318"} 
[2026-07-05 03:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:43:17] 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-07-05 03:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499868160001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499868160001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:43:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:43:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499868160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":122223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:43:17] local.INFO: GPS data processed {"connection_id":122223,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:43:17] local.INFO: Acknowledgment sent {"connection_id":122223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:43:22] local.INFO: TCP Data received {"connection_id":122223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:43:22] local.INFO: Processing buffer {"connection_id":122223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f2d1318012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:43:22] local.INFO: Packet analysis {"connection_id":122223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:43:22] local.INFO: Extracted packet for processing {"connection_id":122223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f2d"} 
[2026-07-05 03:43:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499868160001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:43:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783202911000,"timestamp_ms":1783202911000,"timestamp_seconds":1783202911,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f2d1318"} 
[2026-07-05 03:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 03:43:22] 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-07-05 03: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-07-05 03:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499868160001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499868160001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:43:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:43:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:43:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499868160001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":122223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:43:22] local.INFO: GPS data processed {"connection_id":122223,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:43:22] local.INFO: Acknowledgment sent {"connection_id":122223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:43:36] local.INFO: TCP Data received {"connection_id":123014,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:43:36] local.INFO: Processing buffer {"connection_id":123014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:43:36] local.INFO: IMEI packet received {"connection_id":123014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":123014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:44:05] local.INFO: TCP Data received {"connection_id":122288,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:44:05] local.INFO: Processing buffer {"connection_id":122288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:44:05] local.INFO: IMEI packet received {"connection_id":122288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":122288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:44:06] local.INFO: TCP Data received {"connection_id":122287,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:44:06] local.INFO: Processing buffer {"connection_id":122287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:44:06] local.INFO: IMEI packet received {"connection_id":122287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":122287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:44:10] local.INFO: TCP Data received {"connection_id":122287,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:44:10] local.INFO: Processing buffer {"connection_id":122287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:44:10] local.INFO: IMEI packet received {"connection_id":122287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":122287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:44:11] local.INFO: TCP Data received {"connection_id":122287,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:44:11] local.INFO: Processing buffer {"connection_id":122287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:44:11] local.INFO: Packet analysis {"connection_id":122287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:44:11] local.INFO: Extracted packet for processing {"connection_id":122287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:44:11] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:44:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":122287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:44:11] local.INFO: GPS data processed {"connection_id":122287,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:44:11] local.INFO: Acknowledgment sent {"connection_id":122287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:44:12] local.INFO: TCP Data received {"connection_id":122287,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:44:12] local.INFO: Processing buffer {"connection_id":122287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:44:12] local.INFO: Packet analysis {"connection_id":122287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:44:12] local.INFO: Extracted packet for processing {"connection_id":122287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:44:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:44:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":122287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:44:12] local.INFO: GPS data processed {"connection_id":122287,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:44:12] local.INFO: Acknowledgment sent {"connection_id":122287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:44:43] local.INFO: TCP Data received {"connection_id":122287,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:44:43] local.INFO: Processing buffer {"connection_id":122287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:44:43] local.INFO: Packet analysis {"connection_id":122287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:44:43] local.INFO: Extracted packet for processing {"connection_id":122287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:44:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:44:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:44: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-07-05 03:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:44: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-07-05 03:44: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-07-05 03:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:44:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:44:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:44:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":122287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:44:43] local.INFO: GPS data processed {"connection_id":122287,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:44:43] local.INFO: Acknowledgment sent {"connection_id":122287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:45:07] local.INFO: TCP Data received {"connection_id":122289,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:45:07] local.INFO: Processing buffer {"connection_id":122289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:45:07] local.INFO: IMEI packet received {"connection_id":122289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":122289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:45:11] local.INFO: TCP Data received {"connection_id":122289,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:45:11] local.INFO: Processing buffer {"connection_id":122289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:45:11] local.INFO: IMEI packet received {"connection_id":122289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":122289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:45:12] local.INFO: TCP Data received {"connection_id":122289,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:45:12] local.INFO: Processing buffer {"connection_id":122289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:45:12] local.INFO: Packet analysis {"connection_id":122289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:45:12] local.INFO: Extracted packet for processing {"connection_id":122289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:45:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:45:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":122289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:45:12] local.INFO: GPS data processed {"connection_id":122289,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:45:12] local.INFO: Acknowledgment sent {"connection_id":122289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:45:43] local.INFO: TCP Data received {"connection_id":122289,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:45:43] local.INFO: Processing buffer {"connection_id":122289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:45:43] local.INFO: Packet analysis {"connection_id":122289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:45:43] local.INFO: Extracted packet for processing {"connection_id":122289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:45:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:45:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:45: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-07-05 03:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:45:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:45:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":122289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:45:43] local.INFO: GPS data processed {"connection_id":122289,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:45:43] local.INFO: Acknowledgment sent {"connection_id":122289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:46:06] local.INFO: TCP Data received {"connection_id":123015,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:46:06] local.INFO: Processing buffer {"connection_id":123015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:46:06] local.INFO: IMEI packet received {"connection_id":123015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":123015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:46:11] local.INFO: TCP Data received {"connection_id":123015,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:46:11] local.INFO: Processing buffer {"connection_id":123015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:46:11] local.INFO: IMEI packet received {"connection_id":123015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":123015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:46:12] local.INFO: TCP Data received {"connection_id":123015,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:46:12] local.INFO: Processing buffer {"connection_id":123015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:46:12] local.INFO: Packet analysis {"connection_id":123015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:46:12] local.INFO: Extracted packet for processing {"connection_id":123015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:46:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:46:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":123015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:46:12] local.INFO: GPS data processed {"connection_id":123015,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:46:12] local.INFO: Acknowledgment sent {"connection_id":123015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:46:43] local.INFO: TCP Data received {"connection_id":123015,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:46:43] local.INFO: Processing buffer {"connection_id":123015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:46:43] local.INFO: Packet analysis {"connection_id":123015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:46:43] local.INFO: Extracted packet for processing {"connection_id":123015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:46:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:46:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:46: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-07-05 03:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:46: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-07-05 03:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:46:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:46:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":123015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:46:43] local.INFO: GPS data processed {"connection_id":123015,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:46:43] local.INFO: Acknowledgment sent {"connection_id":123015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:47:11] local.INFO: TCP Data received {"connection_id":122226,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:47:11] local.INFO: Processing buffer {"connection_id":122226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:47:11] local.INFO: IMEI packet received {"connection_id":122226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":122226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:47:16] local.INFO: TCP Data received {"connection_id":122226,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:47:16] local.INFO: Processing buffer {"connection_id":122226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:47:16] local.INFO: IMEI packet received {"connection_id":122226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":122226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:47:17] local.INFO: TCP Data received {"connection_id":122226,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:47:17] local.INFO: Processing buffer {"connection_id":122226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:47:17] local.INFO: Packet analysis {"connection_id":122226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:47:17] local.INFO: Extracted packet for processing {"connection_id":122226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:47:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:47:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:47:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:47:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:47:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":122226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:47:17] local.INFO: GPS data processed {"connection_id":122226,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:47:17] local.INFO: Acknowledgment sent {"connection_id":122226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:47:26] local.INFO: TCP Data received {"connection_id":122226,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:47:26] local.INFO: Processing buffer {"connection_id":122226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:47:26] local.INFO: Packet analysis {"connection_id":122226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:47:26] local.INFO: Extracted packet for processing {"connection_id":122226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:47:26] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":122226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":122226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":122226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:47:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":122226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:47:26] local.INFO: GPS data processed {"connection_id":122226,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:47:26] local.INFO: Acknowledgment sent {"connection_id":122226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:48:06] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:48:06] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:48:06] local.INFO: IMEI packet received {"connection_id":124198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":124198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:48:11] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:48:11] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:48:11] local.INFO: IMEI packet received {"connection_id":124198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":124198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:48:12] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:48:12] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:48:12] local.INFO: Packet analysis {"connection_id":124198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:48:12] local.INFO: Extracted packet for processing {"connection_id":124198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:48:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:48:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":124198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:48:12] local.INFO: GPS data processed {"connection_id":124198,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:48:12] local.INFO: Acknowledgment sent {"connection_id":124198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:48:17] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:48:17] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:48:17] local.INFO: Packet analysis {"connection_id":124198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:48:17] local.INFO: Extracted packet for processing {"connection_id":124198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:48:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:48:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:48:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:48:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:48:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":124198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:48:17] local.INFO: GPS data processed {"connection_id":124198,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:48:17] local.INFO: Acknowledgment sent {"connection_id":124198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:48:48] local.INFO: TCP Data received {"connection_id":124198,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:48:48] local.INFO: Processing buffer {"connection_id":124198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f31aae0012cb2a2c007823a880048013b28..."} 
[2026-07-05 03:48:48] local.INFO: Packet analysis {"connection_id":124198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:48:48] local.INFO: Extracted packet for processing {"connection_id":124198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f31"} 
[2026-07-05 03:48:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456499945216001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:48:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783203212000,"timestamp_ms":1783203212000,"timestamp_seconds":1783203212,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f31aae0"} 
[2026-07-05 03:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456499945216001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456499945216001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:48:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:48:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:48:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456499945216001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":124198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:48:48] local.INFO: GPS data processed {"connection_id":124198,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:48:48] local.INFO: Acknowledgment sent {"connection_id":124198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:49:06] local.INFO: TCP Data received {"connection_id":123016,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:49:06] local.INFO: Processing buffer {"connection_id":123016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:49:06] local.INFO: IMEI packet received {"connection_id":123016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":123016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:49:11] local.INFO: TCP Data received {"connection_id":123016,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:49:11] local.INFO: Processing buffer {"connection_id":123016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:49:11] local.INFO: IMEI packet received {"connection_id":123016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":123016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:49:12] local.INFO: TCP Data received {"connection_id":123016,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:49:12] local.INFO: Processing buffer {"connection_id":123016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:49:12] local.INFO: Packet analysis {"connection_id":123016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:49:12] local.INFO: Extracted packet for processing {"connection_id":123016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:49:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500022272001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783203513000,"timestamp_ms":1783203513000,"timestamp_seconds":1783203513,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3642a8"} 
[2026-07-05 03:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500022272001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500022272001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:49:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500022272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":123016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:49:12] local.INFO: GPS data processed {"connection_id":123016,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:49:12] local.INFO: Acknowledgment sent {"connection_id":123016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:49:21] local.INFO: TCP Data received {"connection_id":123017,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:49:21] local.INFO: Processing buffer {"connection_id":123017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:49:21] local.INFO: IMEI packet received {"connection_id":123017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":123017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:49:47] local.INFO: TCP Data received {"connection_id":123016,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:49:47] local.INFO: Processing buffer {"connection_id":123016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:49:47] local.INFO: Packet analysis {"connection_id":123016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:49:47] local.INFO: Extracted packet for processing {"connection_id":123016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:49:47] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500022272001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:49:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783203513000,"timestamp_ms":1783203513000,"timestamp_seconds":1783203513,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3642a8"} 
[2026-07-05 03:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":123016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":123016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":123016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500022272001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500022272001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:49:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:49:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500022272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":123016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:49:47] local.INFO: GPS data processed {"connection_id":123016,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:49:47] local.INFO: Acknowledgment sent {"connection_id":123016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:50:06] local.INFO: TCP Data received {"connection_id":122292,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:50:06] local.INFO: Processing buffer {"connection_id":122292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:50:06] local.INFO: IMEI packet received {"connection_id":122292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":122292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:50:06] local.INFO: TCP Data received {"connection_id":123018,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:50:06] local.INFO: Processing buffer {"connection_id":123018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:50:06] local.INFO: IMEI packet received {"connection_id":123018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":123018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:50:11] local.INFO: TCP Data received {"connection_id":123018,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:50:11] local.INFO: Processing buffer {"connection_id":123018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:50:11] local.INFO: IMEI packet received {"connection_id":123018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":123018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:50:12] local.INFO: TCP Data received {"connection_id":123018,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:50:12] local.INFO: Processing buffer {"connection_id":123018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:50:12] local.INFO: Packet analysis {"connection_id":123018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:50:12] local.INFO: Extracted packet for processing {"connection_id":123018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:50:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500022272001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783203513000,"timestamp_ms":1783203513000,"timestamp_seconds":1783203513,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3642a8"} 
[2026-07-05 03:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500022272001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500022272001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:50:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500022272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":123018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:50:12] local.INFO: GPS data processed {"connection_id":123018,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:50:12] local.INFO: Acknowledgment sent {"connection_id":123018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:50:43] local.INFO: TCP Data received {"connection_id":123018,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:50:43] local.INFO: Processing buffer {"connection_id":123018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:50:43] local.INFO: Packet analysis {"connection_id":123018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:50:43] local.INFO: Extracted packet for processing {"connection_id":123018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:50:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500022272001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:50:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783203513000,"timestamp_ms":1783203513000,"timestamp_seconds":1783203513,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3642a8"} 
[2026-07-05 03:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:50: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-07-05 03:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:50: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-07-05 03:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500022272001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500022272001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:50:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:50:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500022272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":123018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:50:43] local.INFO: GPS data processed {"connection_id":123018,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:50:43] local.INFO: Acknowledgment sent {"connection_id":123018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:51:06] local.INFO: TCP Data received {"connection_id":122294,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:51:06] local.INFO: Processing buffer {"connection_id":122294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:51:06] local.INFO: IMEI packet received {"connection_id":122294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":122294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:51:11] local.INFO: TCP Data received {"connection_id":122294,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:51:11] local.INFO: Processing buffer {"connection_id":122294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:51:11] local.INFO: IMEI packet received {"connection_id":122294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":122294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:51:12] local.INFO: TCP Data received {"connection_id":122294,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:51:12] local.INFO: Processing buffer {"connection_id":122294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:51:12] local.INFO: Packet analysis {"connection_id":122294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:51:12] local.INFO: Extracted packet for processing {"connection_id":122294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:51:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500022272001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783203513000,"timestamp_ms":1783203513000,"timestamp_seconds":1783203513,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3642a8"} 
[2026-07-05 03:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500022272001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500022272001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:51:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500022272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":122294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:51:12] local.INFO: GPS data processed {"connection_id":122294,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:51:12] local.INFO: Acknowledgment sent {"connection_id":122294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:51:44] local.INFO: TCP Data received {"connection_id":122294,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:51:44] local.INFO: Processing buffer {"connection_id":122294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:51:44] local.INFO: Packet analysis {"connection_id":122294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:51:44] local.INFO: Extracted packet for processing {"connection_id":122294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:51:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500022272001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:51:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783203513000,"timestamp_ms":1783203513000,"timestamp_seconds":1783203513,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3642a8"} 
[2026-07-05 03:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:51: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-07-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:51: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-07-05 03: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-07-05 03:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500022272001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500022272001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:51:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:51:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500022272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":122294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:51:44] local.INFO: GPS data processed {"connection_id":122294,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:51:44] local.INFO: Acknowledgment sent {"connection_id":122294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:52:11] local.INFO: TCP Data received {"connection_id":122228,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:52:11] local.INFO: Processing buffer {"connection_id":122228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:52:11] local.INFO: IMEI packet received {"connection_id":122228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":122228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:52:16] local.INFO: TCP Data received {"connection_id":122228,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:52:16] local.INFO: Processing buffer {"connection_id":122228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:52:16] local.INFO: IMEI packet received {"connection_id":122228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":122228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:52:17] local.INFO: TCP Data received {"connection_id":122228,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:52:17] local.INFO: Processing buffer {"connection_id":122228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:52:17] local.INFO: Packet analysis {"connection_id":122228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:52:17] local.INFO: Extracted packet for processing {"connection_id":122228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:52:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500022272001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:52:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783203513000,"timestamp_ms":1783203513000,"timestamp_seconds":1783203513,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3642a8"} 
[2026-07-05 03:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500022272001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500022272001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:52:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:52:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:52:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500022272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":122228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:52:17] local.INFO: GPS data processed {"connection_id":122228,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:52:17] local.INFO: Acknowledgment sent {"connection_id":122228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:52:22] local.INFO: TCP Data received {"connection_id":122228,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:52:22] local.INFO: Processing buffer {"connection_id":122228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:52:22] local.INFO: Packet analysis {"connection_id":122228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:52:22] local.INFO: Extracted packet for processing {"connection_id":122228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:52:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500022272001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:52:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783203513000,"timestamp_ms":1783203513000,"timestamp_seconds":1783203513,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3642a8"} 
[2026-07-05 03:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500022272001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500022272001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:52:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:52:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:52:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500022272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":122228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:52:22] local.INFO: GPS data processed {"connection_id":122228,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:52:22] local.INFO: Acknowledgment sent {"connection_id":122228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:53:06] local.INFO: TCP Data received {"connection_id":123020,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:53:06] local.INFO: Processing buffer {"connection_id":123020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:53:06] local.INFO: IMEI packet received {"connection_id":123020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":123020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:53:11] local.INFO: TCP Data received {"connection_id":123020,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:53:11] local.INFO: Processing buffer {"connection_id":123020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:53:11] local.INFO: IMEI packet received {"connection_id":123020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":123020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:53:12] local.INFO: TCP Data received {"connection_id":123020,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:53:12] local.INFO: Processing buffer {"connection_id":123020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:53:12] local.INFO: Packet analysis {"connection_id":123020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:53:12] local.INFO: Extracted packet for processing {"connection_id":123020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:53:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500022272001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783203513000,"timestamp_ms":1783203513000,"timestamp_seconds":1783203513,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3642a8"} 
[2026-07-05 03:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500022272001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500022272001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:53:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500022272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":123020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:53:12] local.INFO: GPS data processed {"connection_id":123020,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:53:12] local.INFO: Acknowledgment sent {"connection_id":123020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:53:43] local.INFO: TCP Data received {"connection_id":123020,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:53:43] local.INFO: Processing buffer {"connection_id":123020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:53:43] local.INFO: Packet analysis {"connection_id":123020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:53:43] local.INFO: Extracted packet for processing {"connection_id":123020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:53:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500022272001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783203513000,"timestamp_ms":1783203513000,"timestamp_seconds":1783203513,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3642a8"} 
[2026-07-05 03:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:53: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-07-05 03:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500022272001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500022272001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:53:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500022272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":123020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:53:43] local.INFO: GPS data processed {"connection_id":123020,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:53:43] local.INFO: Acknowledgment sent {"connection_id":123020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:54:06] local.INFO: TCP Data received {"connection_id":124201,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:54:06] local.INFO: Processing buffer {"connection_id":124201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:54:06] local.INFO: IMEI packet received {"connection_id":124201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":124201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:54:11] local.INFO: TCP Data received {"connection_id":124201,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:54:11] local.INFO: Processing buffer {"connection_id":124201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:54:11] local.INFO: IMEI packet received {"connection_id":124201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":124201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:54:12] local.INFO: TCP Data received {"connection_id":124201,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:54:12] local.INFO: Processing buffer {"connection_id":124201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3642a8012cb2a2c007823a880048013b27..."} 
[2026-07-05 03:54:12] local.INFO: Packet analysis {"connection_id":124201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:54:12] local.INFO: Extracted packet for processing {"connection_id":124201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f36"} 
[2026-07-05 03:54:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500022272001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783203513000,"timestamp_ms":1783203513000,"timestamp_seconds":1783203513,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3642a8"} 
[2026-07-05 03:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500022272001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500022272001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:54:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500022272001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":124201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:54:12] local.INFO: GPS data processed {"connection_id":124201,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:54:12] local.INFO: Acknowledgment sent {"connection_id":124201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:54:43] local.INFO: TCP Data received {"connection_id":124201,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:54:43] local.INFO: Processing buffer {"connection_id":124201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:54:43] local.INFO: Packet analysis {"connection_id":124201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:54:43] local.INFO: Extracted packet for processing {"connection_id":124201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:54:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500099328001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783203814000,"timestamp_ms":1783203814000,"timestamp_seconds":1783203814,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3ada70"} 
[2026-07-05 03:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:54: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-07-05 03:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:54: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-07-05 03:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500099328001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500099328001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:54:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500099328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":124201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:54:43] local.INFO: GPS data processed {"connection_id":124201,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:54:43] local.INFO: Acknowledgment sent {"connection_id":124201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:55:06] local.INFO: TCP Data received {"connection_id":122229,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:55:06] local.INFO: Processing buffer {"connection_id":122229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:55:06] local.INFO: IMEI packet received {"connection_id":122229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":122229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:55:11] local.INFO: TCP Data received {"connection_id":122229,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:55:11] local.INFO: Processing buffer {"connection_id":122229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:55:11] local.INFO: IMEI packet received {"connection_id":122229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":122229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:55:12] local.INFO: TCP Data received {"connection_id":122229,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:55:12] local.INFO: Processing buffer {"connection_id":122229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:55:12] local.INFO: Packet analysis {"connection_id":122229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:55:12] local.INFO: Extracted packet for processing {"connection_id":122229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:55:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500099328001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783203814000,"timestamp_ms":1783203814000,"timestamp_seconds":1783203814,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3ada70"} 
[2026-07-05 03:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500099328001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500099328001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:55:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500099328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":122229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:55:12] local.INFO: GPS data processed {"connection_id":122229,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:55:12] local.INFO: Acknowledgment sent {"connection_id":122229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:55:21] local.INFO: TCP Data received {"connection_id":122295,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:55:21] local.INFO: Processing buffer {"connection_id":122295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:55:21] local.INFO: IMEI packet received {"connection_id":122295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":122295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:55:43] local.INFO: TCP Data received {"connection_id":122229,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:55:43] local.INFO: Processing buffer {"connection_id":122229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:55:43] local.INFO: Packet analysis {"connection_id":122229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:55:43] local.INFO: Extracted packet for processing {"connection_id":122229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:55:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500099328001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:55:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783203814000,"timestamp_ms":1783203814000,"timestamp_seconds":1783203814,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3ada70"} 
[2026-07-05 03:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:55: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-07-05 03:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:55: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-07-05 03:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500099328001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500099328001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:55:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:55:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500099328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":122229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:55:43] local.INFO: GPS data processed {"connection_id":122229,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:55:43] local.INFO: Acknowledgment sent {"connection_id":122229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:56:05] local.INFO: TCP Data received {"connection_id":122296,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:56:05] local.INFO: Processing buffer {"connection_id":122296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 03:56:05] local.INFO: IMEI packet received {"connection_id":122296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 03:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":122296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:56:11] local.INFO: TCP Data received {"connection_id":123021,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:56:11] local.INFO: Processing buffer {"connection_id":123021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:56:11] local.INFO: IMEI packet received {"connection_id":123021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":123021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:56:16] local.INFO: TCP Data received {"connection_id":123021,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:56:16] local.INFO: Processing buffer {"connection_id":123021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:56:16] local.INFO: IMEI packet received {"connection_id":123021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":123021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:56:17] local.INFO: TCP Data received {"connection_id":123021,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:56:17] local.INFO: Processing buffer {"connection_id":123021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:56:17] local.INFO: Packet analysis {"connection_id":123021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:56:17] local.INFO: Extracted packet for processing {"connection_id":123021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:56:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500099328001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:56:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783203814000,"timestamp_ms":1783203814000,"timestamp_seconds":1783203814,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3ada70"} 
[2026-07-05 03:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500099328001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500099328001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:56:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:56:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:56:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500099328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":123021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:56:17] local.INFO: GPS data processed {"connection_id":123021,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:56:17] local.INFO: Acknowledgment sent {"connection_id":123021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:56:22] local.INFO: TCP Data received {"connection_id":123021,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:56:22] local.INFO: Processing buffer {"connection_id":123021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:56:22] local.INFO: Packet analysis {"connection_id":123021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:56:22] local.INFO: Extracted packet for processing {"connection_id":123021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:56:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500099328001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:56:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783203814000,"timestamp_ms":1783203814000,"timestamp_seconds":1783203814,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3ada70"} 
[2026-07-05 03:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":123021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":123021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":123021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500099328001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500099328001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:56:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:56:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:56:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500099328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":123021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:56:22] local.INFO: GPS data processed {"connection_id":123021,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:56:22] local.INFO: Acknowledgment sent {"connection_id":123021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:57:06] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:57:06] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:57:06] local.INFO: IMEI packet received {"connection_id":124202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":124202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:57:11] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:57:11] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:57:11] local.INFO: IMEI packet received {"connection_id":124202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":124202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:57:12] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:57:12] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:57:12] local.INFO: Packet analysis {"connection_id":124202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:57:12] local.INFO: Extracted packet for processing {"connection_id":124202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:57:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500099328001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:57:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783203814000,"timestamp_ms":1783203814000,"timestamp_seconds":1783203814,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3ada70"} 
[2026-07-05 03:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500099328001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500099328001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:57:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:57:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500099328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":124202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:57:12] local.INFO: GPS data processed {"connection_id":124202,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:57:12] local.INFO: Acknowledgment sent {"connection_id":124202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:57:43] local.INFO: TCP Data received {"connection_id":124202,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:57:43] local.INFO: Processing buffer {"connection_id":124202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:57:43] local.INFO: Packet analysis {"connection_id":124202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:57:43] local.INFO: Extracted packet for processing {"connection_id":124202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:57:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500099328001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:57:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783203814000,"timestamp_ms":1783203814000,"timestamp_seconds":1783203814,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3ada70"} 
[2026-07-05 03:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:57: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-07-05 03:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:57: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-07-05 03:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500099328001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500099328001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:57:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:57:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500099328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":124202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:57:43] local.INFO: GPS data processed {"connection_id":124202,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:57:43] local.INFO: Acknowledgment sent {"connection_id":124202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:58:07] local.INFO: TCP Data received {"connection_id":122231,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:58:07] local.INFO: Processing buffer {"connection_id":122231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:58:07] local.INFO: IMEI packet received {"connection_id":122231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":122231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:58:11] local.INFO: TCP Data received {"connection_id":122231,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:58:11] local.INFO: Processing buffer {"connection_id":122231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:58:11] local.INFO: IMEI packet received {"connection_id":122231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":122231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:58:17] local.INFO: TCP Data received {"connection_id":122231,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:58:17] local.INFO: Processing buffer {"connection_id":122231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:58:17] local.INFO: Packet analysis {"connection_id":122231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:58:17] local.INFO: Extracted packet for processing {"connection_id":122231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:58:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500099328001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:58:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783203814000,"timestamp_ms":1783203814000,"timestamp_seconds":1783203814,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3ada70"} 
[2026-07-05 03:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500099328001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500099328001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:58:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:58:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:58:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500099328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":122231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:58:17] local.INFO: GPS data processed {"connection_id":122231,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:58:17] local.INFO: Acknowledgment sent {"connection_id":122231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:58:49] local.INFO: TCP Data received {"connection_id":122231,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:58:49] local.INFO: Processing buffer {"connection_id":122231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3ada70012cb2a2c007823a880048013b2a..."} 
[2026-07-05 03:58:49] local.INFO: Packet analysis {"connection_id":122231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:58:49] local.INFO: Extracted packet for processing {"connection_id":122231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3a"} 
[2026-07-05 03:58:49] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03: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-07-05 03:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500099328001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:58:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783203814000,"timestamp_ms":1783203814000,"timestamp_seconds":1783203814,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3ada70"} 
[2026-07-05 03:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03: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-07-05 03:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500099328001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500099328001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:58:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:58:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:58:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500099328001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":122231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:58:49] local.INFO: GPS data processed {"connection_id":122231,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:58:49] local.INFO: Acknowledgment sent {"connection_id":122231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:59:09] local.INFO: TCP Data received {"connection_id":122299,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:59:09] local.INFO: Processing buffer {"connection_id":122299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:59:09] local.INFO: IMEI packet received {"connection_id":122299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 03:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":122299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 03:59:13] local.INFO: TCP Data received {"connection_id":122299,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:59:13] local.INFO: Processing buffer {"connection_id":122299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 03:59:13] local.INFO: IMEI packet received {"connection_id":122299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 03:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":122299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 03:59:14] local.INFO: TCP Data received {"connection_id":122299,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 03:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 03:59:14] local.INFO: Processing buffer {"connection_id":122299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 03:59:14] local.INFO: Packet analysis {"connection_id":122299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 03:59:14] local.INFO: Extracted packet for processing {"connection_id":122299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 03:59:14] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500176384001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:59:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783204115000,"timestamp_ms":1783204115000,"timestamp_seconds":1783204115,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3f7238"} 
[2026-07-05 03:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500176384001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500176384001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:59:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:59:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:59:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500176384001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":122299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:59:14] local.INFO: GPS data processed {"connection_id":122299,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:59:14] local.INFO: Acknowledgment sent {"connection_id":122299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 03:59:45] local.INFO: TCP Data received {"connection_id":122299,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 03:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 03:59:45] local.INFO: Processing buffer {"connection_id":122299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 03:59:45] local.INFO: Packet analysis {"connection_id":122299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 03:59:45] local.INFO: Extracted packet for processing {"connection_id":122299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 03:59:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 03:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 03:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500176384001,"note":"Value kept but may cause issues"} 
[2026-07-05 03:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 03:59:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 03:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 03:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783204115000,"timestamp_ms":1783204115000,"timestamp_seconds":1783204115,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3f7238"} 
[2026-07-05 03:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 03:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 03:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 03:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 03:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 03:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 03:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 03:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 03:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 03:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 03:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 03:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 03:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500176384001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 03:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 03:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 03:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500176384001,"description":"Unknown IO ID 0"} 
[2026-07-05 03:59:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 03:59:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 03:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 03:59:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 03:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500176384001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 03:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":122299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 03:59:45] local.INFO: GPS data processed {"connection_id":122299,"processed":1,"errors":0,"total":1} 
[2026-07-05 03:59:45] local.INFO: Acknowledgment sent {"connection_id":122299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:00:06] local.INFO: TCP Data received {"connection_id":123022,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:00:06] local.INFO: Processing buffer {"connection_id":123022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:00:06] local.INFO: IMEI packet received {"connection_id":123022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":123022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:00:11] local.INFO: TCP Data received {"connection_id":123022,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:00:11] local.INFO: Processing buffer {"connection_id":123022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:00:11] local.INFO: IMEI packet received {"connection_id":123022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":123022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:00:12] local.INFO: TCP Data received {"connection_id":123022,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:00:12] local.INFO: Processing buffer {"connection_id":123022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:00:12] local.INFO: Packet analysis {"connection_id":123022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:00:12] local.INFO: Extracted packet for processing {"connection_id":123022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:00:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500176384001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204115000,"timestamp_ms":1783204115000,"timestamp_seconds":1783204115,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3f7238"} 
[2026-07-05 04:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500176384001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500176384001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:00:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500176384001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":123022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:00:12] local.INFO: GPS data processed {"connection_id":123022,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:00:12] local.INFO: Acknowledgment sent {"connection_id":123022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:00:43] local.INFO: TCP Data received {"connection_id":123022,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:00:43] local.INFO: Processing buffer {"connection_id":123022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:00:43] local.INFO: Packet analysis {"connection_id":123022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:00:43] local.INFO: Extracted packet for processing {"connection_id":123022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:00:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500176384001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783204115000,"timestamp_ms":1783204115000,"timestamp_seconds":1783204115,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3f7238"} 
[2026-07-05 04:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:00: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-07-05 04:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500176384001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500176384001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:00:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500176384001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":123022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:00:43] local.INFO: GPS data processed {"connection_id":123022,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:00:43] local.INFO: Acknowledgment sent {"connection_id":123022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:01:06] local.INFO: TCP Data received {"connection_id":124204,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:01:06] local.INFO: Processing buffer {"connection_id":124204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:01:06] local.INFO: IMEI packet received {"connection_id":124204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":124204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:01:11] local.INFO: TCP Data received {"connection_id":124204,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:01:11] local.INFO: Processing buffer {"connection_id":124204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:01:11] local.INFO: IMEI packet received {"connection_id":124204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":124204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:01:12] local.INFO: TCP Data received {"connection_id":124204,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:01:12] local.INFO: Processing buffer {"connection_id":124204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:01:12] local.INFO: Packet analysis {"connection_id":124204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:01:12] local.INFO: Extracted packet for processing {"connection_id":124204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:01:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500176384001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204115000,"timestamp_ms":1783204115000,"timestamp_seconds":1783204115,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3f7238"} 
[2026-07-05 04:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500176384001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500176384001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:01:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500176384001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":124204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:01:12] local.INFO: GPS data processed {"connection_id":124204,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:01:12] local.INFO: Acknowledgment sent {"connection_id":124204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:01:31] local.INFO: TCP Data received {"connection_id":122300,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:01:31] local.INFO: Processing buffer {"connection_id":122300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:01:31] local.INFO: IMEI packet received {"connection_id":122300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":122300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:01:43] local.INFO: TCP Data received {"connection_id":124204,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:01:43] local.INFO: Processing buffer {"connection_id":124204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:01:43] local.INFO: Packet analysis {"connection_id":124204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:01:43] local.INFO: Extracted packet for processing {"connection_id":124204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:01:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500176384001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:01:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783204115000,"timestamp_ms":1783204115000,"timestamp_seconds":1783204115,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3f7238"} 
[2026-07-05 04:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:01: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-07-05 04:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:01: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-07-05 04:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500176384001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500176384001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:01:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:01:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500176384001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":124204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:01:43] local.INFO: GPS data processed {"connection_id":124204,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:01:43] local.INFO: Acknowledgment sent {"connection_id":124204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:02:06] local.INFO: TCP Data received {"connection_id":122233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:02:06] local.INFO: Processing buffer {"connection_id":122233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:02:06] local.INFO: IMEI packet received {"connection_id":122233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":122233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:02:06] local.INFO: TCP Data received {"connection_id":122234,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:02:06] local.INFO: Processing buffer {"connection_id":122234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:02:06] local.INFO: IMEI packet received {"connection_id":122234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":122234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:02:11] local.INFO: TCP Data received {"connection_id":122234,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:02:11] local.INFO: Processing buffer {"connection_id":122234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:02:11] local.INFO: IMEI packet received {"connection_id":122234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":122234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:02:12] local.INFO: TCP Data received {"connection_id":122234,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:02:12] local.INFO: Processing buffer {"connection_id":122234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:02:12] local.INFO: Packet analysis {"connection_id":122234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:02:12] local.INFO: Extracted packet for processing {"connection_id":122234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:02:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500176384001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204115000,"timestamp_ms":1783204115000,"timestamp_seconds":1783204115,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3f7238"} 
[2026-07-05 04:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500176384001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500176384001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:02:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500176384001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":122234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:02:12] local.INFO: GPS data processed {"connection_id":122234,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:02:12] local.INFO: Acknowledgment sent {"connection_id":122234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:02:43] local.INFO: TCP Data received {"connection_id":122234,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:02:43] local.INFO: Processing buffer {"connection_id":122234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:02:43] local.INFO: Packet analysis {"connection_id":122234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:02:43] local.INFO: Extracted packet for processing {"connection_id":122234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:02:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500176384001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783204115000,"timestamp_ms":1783204115000,"timestamp_seconds":1783204115,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3f7238"} 
[2026-07-05 04:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:02: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-07-05 04:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500176384001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500176384001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:02:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500176384001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":122234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:02:43] local.INFO: GPS data processed {"connection_id":122234,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:02:43] local.INFO: Acknowledgment sent {"connection_id":122234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:03:06] local.INFO: TCP Data received {"connection_id":122301,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:03:06] local.INFO: Processing buffer {"connection_id":122301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:03:06] local.INFO: IMEI packet received {"connection_id":122301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":122301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:03:11] local.INFO: TCP Data received {"connection_id":122301,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:03:11] local.INFO: Processing buffer {"connection_id":122301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:03:11] local.INFO: IMEI packet received {"connection_id":122301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":122301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:03:12] local.INFO: TCP Data received {"connection_id":122301,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:03:12] local.INFO: Processing buffer {"connection_id":122301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:03:12] local.INFO: Packet analysis {"connection_id":122301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:03:12] local.INFO: Extracted packet for processing {"connection_id":122301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:03:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500176384001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204115000,"timestamp_ms":1783204115000,"timestamp_seconds":1783204115,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3f7238"} 
[2026-07-05 04:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500176384001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500176384001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:03:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500176384001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":122301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:03:12] local.INFO: GPS data processed {"connection_id":122301,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:03:12] local.INFO: Acknowledgment sent {"connection_id":122301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:03:43] local.INFO: TCP Data received {"connection_id":122301,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:03:43] local.INFO: Processing buffer {"connection_id":122301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f3f7238012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:03:43] local.INFO: Packet analysis {"connection_id":122301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:03:43] local.INFO: Extracted packet for processing {"connection_id":122301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f3f"} 
[2026-07-05 04:03:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500176384001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:03:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783204115000,"timestamp_ms":1783204115000,"timestamp_seconds":1783204115,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f3f7238"} 
[2026-07-05 04:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:03: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-07-05 04:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500176384001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500176384001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:03:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:03:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500176384001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":122301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:03:43] local.INFO: GPS data processed {"connection_id":122301,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:03:43] local.INFO: Acknowledgment sent {"connection_id":122301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:04:11] local.INFO: TCP Data received {"connection_id":123023,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:04:11] local.INFO: Processing buffer {"connection_id":123023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:04:11] local.INFO: IMEI packet received {"connection_id":123023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":123023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:04:14] local.INFO: TCP Data received {"connection_id":123023,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:04:14] local.INFO: Processing buffer {"connection_id":123023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:04:14] local.INFO: IMEI packet received {"connection_id":123023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":123023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:04:15] local.INFO: TCP Data received {"connection_id":123023,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:04:15] local.INFO: Processing buffer {"connection_id":123023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:04:15] local.INFO: Packet analysis {"connection_id":123023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:04:15] local.INFO: Extracted packet for processing {"connection_id":123023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:04:15] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:04:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:04: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-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:04:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:04:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:04:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":123023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:04:15] local.INFO: GPS data processed {"connection_id":123023,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:04:15] local.INFO: Acknowledgment sent {"connection_id":123023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:04:16] local.INFO: TCP Data received {"connection_id":123023,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:04:16] local.INFO: Processing buffer {"connection_id":123023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:04:16] local.INFO: Packet analysis {"connection_id":123023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:04:16] local.INFO: Extracted packet for processing {"connection_id":123023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:04:16] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:04:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:04:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:04:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:04:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":123023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:04:16] local.INFO: GPS data processed {"connection_id":123023,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:04:16] local.INFO: Acknowledgment sent {"connection_id":123023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:04:47] local.INFO: TCP Data received {"connection_id":123023,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:04:47] local.INFO: Processing buffer {"connection_id":123023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:04:47] local.INFO: Packet analysis {"connection_id":123023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:04:47] local.INFO: Extracted packet for processing {"connection_id":123023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:04:47] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:04:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":123023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":123023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":123023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:04:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:04:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:04:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":123023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:04:47] local.INFO: GPS data processed {"connection_id":123023,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:04:47] local.INFO: Acknowledgment sent {"connection_id":123023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:05:06] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:05:06] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:05:06] local.INFO: IMEI packet received {"connection_id":124206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":124206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:05:11] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:05:11] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:05:11] local.INFO: IMEI packet received {"connection_id":124206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":124206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:05:12] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:05:12] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:05:12] local.INFO: Packet analysis {"connection_id":124206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:05:12] local.INFO: Extracted packet for processing {"connection_id":124206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:05:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:05:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":124206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:05:12] local.INFO: GPS data processed {"connection_id":124206,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:05:12] local.INFO: Acknowledgment sent {"connection_id":124206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:05:43] local.INFO: TCP Data received {"connection_id":124206,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:05:43] local.INFO: Processing buffer {"connection_id":124206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:05:43] local.INFO: Packet analysis {"connection_id":124206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:05:43] local.INFO: Extracted packet for processing {"connection_id":124206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:05:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:05: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-07-05 04:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:05:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":124206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:05:43] local.INFO: GPS data processed {"connection_id":124206,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:05:43] local.INFO: Acknowledgment sent {"connection_id":124206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:06:06] local.INFO: TCP Data received {"connection_id":122303,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:06:06] local.INFO: Processing buffer {"connection_id":122303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:06:06] local.INFO: IMEI packet received {"connection_id":122303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":122303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:06:11] local.INFO: TCP Data received {"connection_id":122303,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:06:11] local.INFO: Processing buffer {"connection_id":122303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:06:11] local.INFO: IMEI packet received {"connection_id":122303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":122303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:06:12] local.INFO: TCP Data received {"connection_id":122303,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:06:12] local.INFO: Processing buffer {"connection_id":122303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:06:12] local.INFO: Packet analysis {"connection_id":122303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:06:12] local.INFO: Extracted packet for processing {"connection_id":122303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:06:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:06:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":122303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:06:12] local.INFO: GPS data processed {"connection_id":122303,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:06:12] local.INFO: Acknowledgment sent {"connection_id":122303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:06:43] local.INFO: TCP Data received {"connection_id":122303,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:06:43] local.INFO: Processing buffer {"connection_id":122303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:06:43] local.INFO: Packet analysis {"connection_id":122303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:06:43] local.INFO: Extracted packet for processing {"connection_id":122303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:06:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:06: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-07-05 04: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:06:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:06:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":122303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:06:43] local.INFO: GPS data processed {"connection_id":122303,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:06:43] local.INFO: Acknowledgment sent {"connection_id":122303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:07:06] local.INFO: TCP Data received {"connection_id":122237,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:07:06] local.INFO: Processing buffer {"connection_id":122237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:07:06] local.INFO: IMEI packet received {"connection_id":122237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":122237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:07:11] local.INFO: TCP Data received {"connection_id":122237,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:07:11] local.INFO: Processing buffer {"connection_id":122237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:07:11] local.INFO: IMEI packet received {"connection_id":122237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":122237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:07:12] local.INFO: TCP Data received {"connection_id":122237,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:07:12] local.INFO: Processing buffer {"connection_id":122237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:07:12] local.INFO: Packet analysis {"connection_id":122237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:07:12] local.INFO: Extracted packet for processing {"connection_id":122237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:07:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:07:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:07:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:07:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":122237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:07:12] local.INFO: GPS data processed {"connection_id":122237,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:07:12] local.INFO: Acknowledgment sent {"connection_id":122237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:07:36] local.INFO: TCP Data received {"connection_id":123024,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:07:36] local.INFO: Processing buffer {"connection_id":123024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:07:36] local.INFO: IMEI packet received {"connection_id":123024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":123024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:07:43] local.INFO: TCP Data received {"connection_id":122237,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:07:43] local.INFO: Processing buffer {"connection_id":122237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:07:43] local.INFO: Packet analysis {"connection_id":122237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:07:43] local.INFO: Extracted packet for processing {"connection_id":122237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:07:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:07:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:07: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-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:07:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:07:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":122237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:07:43] local.INFO: GPS data processed {"connection_id":122237,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:07:43] local.INFO: Acknowledgment sent {"connection_id":122237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:08:11] local.INFO: TCP Data received {"connection_id":122305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:08:11] local.INFO: Processing buffer {"connection_id":122305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:08:11] local.INFO: IMEI packet received {"connection_id":122305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":122305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:08:11] local.INFO: TCP Data received {"connection_id":122304,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:08:11] local.INFO: Processing buffer {"connection_id":122304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:08:11] local.INFO: IMEI packet received {"connection_id":122304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":122304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:08:16] local.INFO: TCP Data received {"connection_id":122305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:08:16] local.INFO: Processing buffer {"connection_id":122305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:08:16] local.INFO: IMEI packet received {"connection_id":122305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":122305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:08:17] local.INFO: TCP Data received {"connection_id":122305,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:08:17] local.INFO: Processing buffer {"connection_id":122305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:08:17] local.INFO: Packet analysis {"connection_id":122305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:08:17] local.INFO: Extracted packet for processing {"connection_id":122305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:08:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:08:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:08:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:08:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:08:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":122305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:08:17] local.INFO: GPS data processed {"connection_id":122305,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:08:17] local.INFO: Acknowledgment sent {"connection_id":122305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:08:21] local.INFO: TCP Data received {"connection_id":122305,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:08:21] local.INFO: Processing buffer {"connection_id":122305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:08:21] local.INFO: Packet analysis {"connection_id":122305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:08:21] local.INFO: Extracted packet for processing {"connection_id":122305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:08:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:08:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":122305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:08:22] local.INFO: GPS data processed {"connection_id":122305,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:08:22] local.INFO: Acknowledgment sent {"connection_id":122305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:09:06] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:09:06] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:09:06] local.INFO: IMEI packet received {"connection_id":124208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":124208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:09:11] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:09:11] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:09:11] local.INFO: IMEI packet received {"connection_id":124208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":124208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:09:12] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:09:12] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f440a00012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:09:12] local.INFO: Packet analysis {"connection_id":124208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:09:12] local.INFO: Extracted packet for processing {"connection_id":124208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f44"} 
[2026-07-05 04:09:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500253440001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204416000,"timestamp_ms":1783204416000,"timestamp_seconds":1783204416,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f440a00"} 
[2026-07-05 04:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500253440001,"66":24897,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500253440001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:09:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500253440001,"power":24897,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":124208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:09:12] local.INFO: GPS data processed {"connection_id":124208,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:09:12] local.INFO: Acknowledgment sent {"connection_id":124208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:09:43] local.INFO: TCP Data received {"connection_id":124208,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:09:43] local.INFO: Processing buffer {"connection_id":124208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:09:43] local.INFO: Packet analysis {"connection_id":124208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:09:43] local.INFO: Extracted packet for processing {"connection_id":124208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:09:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500330496001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783204717000,"timestamp_ms":1783204717000,"timestamp_seconds":1783204717,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f48a1c8"} 
[2026-07-05 04:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:09: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-07-05 04:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-05 04:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500330496001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500330496001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:09:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500330496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":124208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:09:43] local.INFO: GPS data processed {"connection_id":124208,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:09:43] local.INFO: Acknowledgment sent {"connection_id":124208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:10:06] local.INFO: TCP Data received {"connection_id":122306,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:10:06] local.INFO: Processing buffer {"connection_id":122306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:10:06] local.INFO: IMEI packet received {"connection_id":122306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":122306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:10:11] local.INFO: TCP Data received {"connection_id":122306,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:10:11] local.INFO: Processing buffer {"connection_id":122306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:10:11] local.INFO: IMEI packet received {"connection_id":122306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":122306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:10:12] local.INFO: TCP Data received {"connection_id":122306,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:10:12] local.INFO: Processing buffer {"connection_id":122306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:10:12] local.INFO: Packet analysis {"connection_id":122306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:10:12] local.INFO: Extracted packet for processing {"connection_id":122306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:10:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500330496001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204717000,"timestamp_ms":1783204717000,"timestamp_seconds":1783204717,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f48a1c8"} 
[2026-07-05 04:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-05 04:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500330496001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500330496001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:10:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500330496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":122306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:10:12] local.INFO: GPS data processed {"connection_id":122306,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:10:12] local.INFO: Acknowledgment sent {"connection_id":122306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:10:43] local.INFO: TCP Data received {"connection_id":122306,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:10:43] local.INFO: Processing buffer {"connection_id":122306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:10:43] local.INFO: Packet analysis {"connection_id":122306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:10:43] local.INFO: Extracted packet for processing {"connection_id":122306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:10:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500330496001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:10:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783204717000,"timestamp_ms":1783204717000,"timestamp_seconds":1783204717,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f48a1c8"} 
[2026-07-05 04:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:10: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-07-05 04:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-05 04:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500330496001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500330496001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:10:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:10:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:10:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500330496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":122306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:10:43] local.INFO: GPS data processed {"connection_id":122306,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:10:43] local.INFO: Acknowledgment sent {"connection_id":122306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:11:06] local.INFO: TCP Data received {"connection_id":123028,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:11:06] local.INFO: Processing buffer {"connection_id":123028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:11:06] local.INFO: IMEI packet received {"connection_id":123028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":123028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:11:11] local.INFO: TCP Data received {"connection_id":123028,"ip":"42.106.6.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:11:11] local.INFO: Processing buffer {"connection_id":123028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:11:11] local.INFO: IMEI packet received {"connection_id":123028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":123028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:11:12] local.INFO: TCP Data received {"connection_id":123028,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:11:12] local.INFO: Processing buffer {"connection_id":123028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:11:12] local.INFO: Packet analysis {"connection_id":123028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:11:12] local.INFO: Extracted packet for processing {"connection_id":123028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:11:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500330496001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204717000,"timestamp_ms":1783204717000,"timestamp_seconds":1783204717,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f48a1c8"} 
[2026-07-05 04:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-05 04:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500330496001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500330496001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:11:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500330496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":123028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:11:12] local.INFO: GPS data processed {"connection_id":123028,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:11:12] local.INFO: Acknowledgment sent {"connection_id":123028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:11:43] local.INFO: TCP Data received {"connection_id":123028,"ip":"42.106.6.12","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:11:43] local.INFO: Processing buffer {"connection_id":123028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:11:43] local.INFO: Packet analysis {"connection_id":123028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:11:43] local.INFO: Extracted packet for processing {"connection_id":123028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:11:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500330496001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783204717000,"timestamp_ms":1783204717000,"timestamp_seconds":1783204717,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f48a1c8"} 
[2026-07-05 04:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04: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-07-05 04: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-05 04:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500330496001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500330496001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:11:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500330496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":123028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:11:43] local.INFO: GPS data processed {"connection_id":123028,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:11:43] local.INFO: Acknowledgment sent {"connection_id":123028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:12:11] local.INFO: TCP Data received {"connection_id":122238,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:12:11] local.INFO: Processing buffer {"connection_id":122238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:12:11] local.INFO: IMEI packet received {"connection_id":122238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":122238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:12:16] local.INFO: TCP Data received {"connection_id":122238,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:12:16] local.INFO: Processing buffer {"connection_id":122238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:12:16] local.INFO: IMEI packet received {"connection_id":122238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":122238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:12:21] local.INFO: TCP Data received {"connection_id":122238,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:12:21] local.INFO: Processing buffer {"connection_id":122238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:12:21] local.INFO: Packet analysis {"connection_id":122238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:12:21] local.INFO: Extracted packet for processing {"connection_id":122238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:12:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500330496001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783204717000,"timestamp_ms":1783204717000,"timestamp_seconds":1783204717,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f48a1c8"} 
[2026-07-05 04:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-05 04:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500330496001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500330496001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:12:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500330496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":122238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:12:21] local.INFO: GPS data processed {"connection_id":122238,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:12:21] local.INFO: Acknowledgment sent {"connection_id":122238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:12:36] local.INFO: TCP Data received {"connection_id":122238,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:12:36] local.INFO: Processing buffer {"connection_id":122238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:12:36] local.INFO: Packet analysis {"connection_id":122238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:12:36] local.INFO: Extracted packet for processing {"connection_id":122238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:12:36] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500330496001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:12:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783204717000,"timestamp_ms":1783204717000,"timestamp_seconds":1783204717,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f48a1c8"} 
[2026-07-05 04:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:12: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-07-05 04: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-05 04:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":122238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":122238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":122238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500330496001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500330496001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:12:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:12:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:12:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500330496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":122238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:12:36] local.INFO: GPS data processed {"connection_id":122238,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:12:36] local.INFO: Acknowledgment sent {"connection_id":122238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:13:06] local.INFO: TCP Data received {"connection_id":124211,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:13:06] local.INFO: Processing buffer {"connection_id":124211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:13:06] local.INFO: IMEI packet received {"connection_id":124211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":124211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:13:11] local.INFO: TCP Data received {"connection_id":124211,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:13:11] local.INFO: Processing buffer {"connection_id":124211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:13:11] local.INFO: IMEI packet received {"connection_id":124211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":124211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:13:12] local.INFO: TCP Data received {"connection_id":124211,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:13:12] local.INFO: Processing buffer {"connection_id":124211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:13:12] local.INFO: Packet analysis {"connection_id":124211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:13:12] local.INFO: Extracted packet for processing {"connection_id":124211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:13:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500330496001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204717000,"timestamp_ms":1783204717000,"timestamp_seconds":1783204717,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f48a1c8"} 
[2026-07-05 04:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-05 04:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500330496001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500330496001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:13:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500330496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":124211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:13:12] local.INFO: GPS data processed {"connection_id":124211,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:13:12] local.INFO: Acknowledgment sent {"connection_id":124211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:13:31] local.INFO: TCP Data received {"connection_id":124210,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:13:31] local.INFO: Processing buffer {"connection_id":124210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:13:31] local.INFO: IMEI packet received {"connection_id":124210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":124210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:13:43] local.INFO: TCP Data received {"connection_id":124211,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:13:43] local.INFO: Processing buffer {"connection_id":124211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:13:43] local.INFO: Packet analysis {"connection_id":124211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:13:43] local.INFO: Extracted packet for processing {"connection_id":124211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:13:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500330496001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:13:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783204717000,"timestamp_ms":1783204717000,"timestamp_seconds":1783204717,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f48a1c8"} 
[2026-07-05 04:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:13: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-07-05 04:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-05 04:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500330496001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500330496001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:13:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:13:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:13:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500330496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":124211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:13:43] local.INFO: GPS data processed {"connection_id":124211,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:13:43] local.INFO: Acknowledgment sent {"connection_id":124211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:14:06] local.INFO: TCP Data received {"connection_id":122307,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:14:06] local.INFO: Processing buffer {"connection_id":122307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:14:06] local.INFO: IMEI packet received {"connection_id":122307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":122307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:14:06] local.INFO: TCP Data received {"connection_id":122239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:14:06] local.INFO: Processing buffer {"connection_id":122239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:14:06] local.INFO: IMEI packet received {"connection_id":122239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":122239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:14:11] local.INFO: TCP Data received {"connection_id":122239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:14:11] local.INFO: Processing buffer {"connection_id":122239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:14:11] local.INFO: IMEI packet received {"connection_id":122239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":122239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:14:12] local.INFO: TCP Data received {"connection_id":122239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:14:12] local.INFO: Processing buffer {"connection_id":122239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f48a1c8012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:14:12] local.INFO: Packet analysis {"connection_id":122239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:14:12] local.INFO: Extracted packet for processing {"connection_id":122239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f48"} 
[2026-07-05 04:14:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500330496001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783204717000,"timestamp_ms":1783204717000,"timestamp_seconds":1783204717,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f48a1c8"} 
[2026-07-05 04:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-05 04:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500330496001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500330496001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:14:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500330496001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":122239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:14:12] local.INFO: GPS data processed {"connection_id":122239,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:14:12] local.INFO: Acknowledgment sent {"connection_id":122239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:14:43] local.INFO: TCP Data received {"connection_id":122239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:14:43] local.INFO: Processing buffer {"connection_id":122239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:14:43] local.INFO: Packet analysis {"connection_id":122239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:14:43] local.INFO: Extracted packet for processing {"connection_id":122239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:14:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500407552001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:14:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205018000,"timestamp_ms":1783205018000,"timestamp_seconds":1783205018,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f4d3990"} 
[2026-07-05 04:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:14: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-07-05 04:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500407552001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500407552001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:14:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:14:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500407552001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":122239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:14:43] local.INFO: GPS data processed {"connection_id":122239,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:14:43] local.INFO: Acknowledgment sent {"connection_id":122239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:15:06] local.INFO: TCP Data received {"connection_id":123030,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:15:06] local.INFO: Processing buffer {"connection_id":123030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:15:06] local.INFO: IMEI packet received {"connection_id":123030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":123030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:15:11] local.INFO: TCP Data received {"connection_id":123030,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:15:11] local.INFO: Processing buffer {"connection_id":123030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:15:11] local.INFO: IMEI packet received {"connection_id":123030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":123030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:15:12] local.INFO: TCP Data received {"connection_id":123030,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:15:12] local.INFO: Processing buffer {"connection_id":123030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:15:12] local.INFO: Packet analysis {"connection_id":123030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:15:12] local.INFO: Extracted packet for processing {"connection_id":123030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:15:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500407552001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205018000,"timestamp_ms":1783205018000,"timestamp_seconds":1783205018,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f4d3990"} 
[2026-07-05 04:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500407552001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500407552001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:15:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500407552001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":123030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:15:12] local.INFO: GPS data processed {"connection_id":123030,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:15:12] local.INFO: Acknowledgment sent {"connection_id":123030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:15:43] local.INFO: TCP Data received {"connection_id":123030,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:15:43] local.INFO: Processing buffer {"connection_id":123030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:15:43] local.INFO: Packet analysis {"connection_id":123030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:15:43] local.INFO: Extracted packet for processing {"connection_id":123030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:15:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500407552001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:15:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205018000,"timestamp_ms":1783205018000,"timestamp_seconds":1783205018,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f4d3990"} 
[2026-07-05 04:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:15: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-07-05 04:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500407552001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500407552001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:15:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:15:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500407552001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":123030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:15:43] local.INFO: GPS data processed {"connection_id":123030,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:15:43] local.INFO: Acknowledgment sent {"connection_id":123030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:16:11] local.INFO: TCP Data received {"connection_id":122240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:16:11] local.INFO: Processing buffer {"connection_id":122240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:16:11] local.INFO: IMEI packet received {"connection_id":122240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":122240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:16:16] local.INFO: TCP Data received {"connection_id":122240,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:16:16] local.INFO: Processing buffer {"connection_id":122240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:16:16] local.INFO: IMEI packet received {"connection_id":122240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":122240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:16:17] local.INFO: TCP Data received {"connection_id":122240,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:16:17] local.INFO: Processing buffer {"connection_id":122240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:16:17] local.INFO: Packet analysis {"connection_id":122240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:16:17] local.INFO: Extracted packet for processing {"connection_id":122240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:16:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500407552001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:16:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783205018000,"timestamp_ms":1783205018000,"timestamp_seconds":1783205018,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f4d3990"} 
[2026-07-05 04:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500407552001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500407552001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:16:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:16:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:16:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500407552001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":122240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:16:17] local.INFO: GPS data processed {"connection_id":122240,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:16:17] local.INFO: Acknowledgment sent {"connection_id":122240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:16:21] local.INFO: TCP Data received {"connection_id":122240,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:16:21] local.INFO: Processing buffer {"connection_id":122240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:16:21] local.INFO: Packet analysis {"connection_id":122240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:16:21] local.INFO: Extracted packet for processing {"connection_id":122240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:16:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500407552001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783205018000,"timestamp_ms":1783205018000,"timestamp_seconds":1783205018,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f4d3990"} 
[2026-07-05 04:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500407552001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500407552001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:16:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500407552001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":122240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:16:21] local.INFO: GPS data processed {"connection_id":122240,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:16:21] local.INFO: Acknowledgment sent {"connection_id":122240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:17:06] local.INFO: TCP Data received {"connection_id":123031,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:17:06] local.INFO: Processing buffer {"connection_id":123031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:17:06] local.INFO: IMEI packet received {"connection_id":123031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":123031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:17:11] local.INFO: TCP Data received {"connection_id":123031,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:17:11] local.INFO: Processing buffer {"connection_id":123031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:17:11] local.INFO: IMEI packet received {"connection_id":123031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":123031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:17:12] local.INFO: TCP Data received {"connection_id":123031,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:17:12] local.INFO: Processing buffer {"connection_id":123031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:17:12] local.INFO: Packet analysis {"connection_id":123031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:17:12] local.INFO: Extracted packet for processing {"connection_id":123031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:17:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500407552001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205018000,"timestamp_ms":1783205018000,"timestamp_seconds":1783205018,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f4d3990"} 
[2026-07-05 04:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500407552001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500407552001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:17:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500407552001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":123031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:17:12] local.INFO: GPS data processed {"connection_id":123031,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:17:12] local.INFO: Acknowledgment sent {"connection_id":123031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:17:43] local.INFO: TCP Data received {"connection_id":123031,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:17:43] local.INFO: Processing buffer {"connection_id":123031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:17:43] local.INFO: Packet analysis {"connection_id":123031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:17:43] local.INFO: Extracted packet for processing {"connection_id":123031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:17:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500407552001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205018000,"timestamp_ms":1783205018000,"timestamp_seconds":1783205018,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f4d3990"} 
[2026-07-05 04:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04: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-07-05 04: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500407552001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500407552001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:17:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:17:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500407552001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":123031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:17:43] local.INFO: GPS data processed {"connection_id":123031,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:17:43] local.INFO: Acknowledgment sent {"connection_id":123031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:18:06] local.INFO: TCP Data received {"connection_id":122309,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:18:06] local.INFO: Processing buffer {"connection_id":122309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:18:06] local.INFO: IMEI packet received {"connection_id":122309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":122309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:18:11] local.INFO: TCP Data received {"connection_id":122309,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:18:11] local.INFO: Processing buffer {"connection_id":122309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:18:11] local.INFO: IMEI packet received {"connection_id":122309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":122309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:18:12] local.INFO: TCP Data received {"connection_id":122309,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:18:12] local.INFO: Processing buffer {"connection_id":122309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:18:12] local.INFO: Packet analysis {"connection_id":122309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:18:12] local.INFO: Extracted packet for processing {"connection_id":122309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:18:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500407552001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205018000,"timestamp_ms":1783205018000,"timestamp_seconds":1783205018,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f4d3990"} 
[2026-07-05 04:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500407552001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500407552001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:18:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500407552001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":122309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:18:12] local.INFO: GPS data processed {"connection_id":122309,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:18:12] local.INFO: Acknowledgment sent {"connection_id":122309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:18:43] local.INFO: TCP Data received {"connection_id":122309,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:18:43] local.INFO: Processing buffer {"connection_id":122309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:18:43] local.INFO: Packet analysis {"connection_id":122309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:18:43] local.INFO: Extracted packet for processing {"connection_id":122309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:18:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500407552001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:18:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205018000,"timestamp_ms":1783205018000,"timestamp_seconds":1783205018,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f4d3990"} 
[2026-07-05 04:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:18: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-07-05 04:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500407552001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500407552001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:18:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:18:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500407552001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":122309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:18:43] local.INFO: GPS data processed {"connection_id":122309,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:18:43] local.INFO: Acknowledgment sent {"connection_id":122309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:19:06] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:19:06] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:19:06] local.INFO: IMEI packet received {"connection_id":124216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":124216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:19:11] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:19:11] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:19:11] local.INFO: IMEI packet received {"connection_id":124216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":124216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:19:12] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:19:12] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f4d3990012cb2a2c007823a880048013b2b..."} 
[2026-07-05 04:19:12] local.INFO: Packet analysis {"connection_id":124216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:19:12] local.INFO: Extracted packet for processing {"connection_id":124216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f4d"} 
[2026-07-05 04:19:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500407552001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205018000,"timestamp_ms":1783205018000,"timestamp_seconds":1783205018,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f4d3990"} 
[2026-07-05 04:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500407552001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500407552001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:19:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500407552001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":124216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:19:12] local.INFO: GPS data processed {"connection_id":124216,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:19:12] local.INFO: Acknowledgment sent {"connection_id":124216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:19:31] local.INFO: TCP Data received {"connection_id":124215,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:19:31] local.INFO: Processing buffer {"connection_id":124215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:19:31] local.INFO: IMEI packet received {"connection_id":124215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":124215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:19:43] local.INFO: TCP Data received {"connection_id":124216,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:19:43] local.INFO: Processing buffer {"connection_id":124216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:19:43] local.INFO: Packet analysis {"connection_id":124216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:19:43] local.INFO: Extracted packet for processing {"connection_id":124216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:19:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500484608001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:19:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205319000,"timestamp_ms":1783205319000,"timestamp_seconds":1783205319,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f51d158"} 
[2026-07-05 04:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:19: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-07-05 04:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 04:19: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-07-05 04:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500484608001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500484608001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:19:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:19:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:19:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500484608001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":124216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:19:43] local.INFO: GPS data processed {"connection_id":124216,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:19:43] local.INFO: Acknowledgment sent {"connection_id":124216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:20:06] local.INFO: TCP Data received {"connection_id":123032,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:20:06] local.INFO: Processing buffer {"connection_id":123032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:20:06] local.INFO: IMEI packet received {"connection_id":123032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":123032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:20:11] local.INFO: TCP Data received {"connection_id":123033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:20:11] local.INFO: Processing buffer {"connection_id":123033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:20:11] local.INFO: IMEI packet received {"connection_id":123033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":123033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:20:16] local.INFO: TCP Data received {"connection_id":123033,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:20:16] local.INFO: Processing buffer {"connection_id":123033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:20:16] local.INFO: IMEI packet received {"connection_id":123033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":123033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:20:17] local.INFO: TCP Data received {"connection_id":123033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:20:17] local.INFO: Processing buffer {"connection_id":123033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:20:17] local.INFO: Packet analysis {"connection_id":123033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:20:17] local.INFO: Extracted packet for processing {"connection_id":123033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:20:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500484608001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:20:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783205319000,"timestamp_ms":1783205319000,"timestamp_seconds":1783205319,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f51d158"} 
[2026-07-05 04:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 04:20:17] 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-07-05 04:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500484608001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500484608001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:20:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:20:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500484608001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":123033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:20:17] local.INFO: GPS data processed {"connection_id":123033,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:20:17] local.INFO: Acknowledgment sent {"connection_id":123033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:20:23] local.INFO: TCP Data received {"connection_id":123033,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:20:23] local.INFO: Processing buffer {"connection_id":123033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:20:23] local.INFO: Packet analysis {"connection_id":123033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:20:23] local.INFO: Extracted packet for processing {"connection_id":123033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:20:23] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500484608001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:20:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783205319000,"timestamp_ms":1783205319000,"timestamp_seconds":1783205319,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f51d158"} 
[2026-07-05 04:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 04:20:23] 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-07-05 04:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":123033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":123033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":123033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500484608001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500484608001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:20:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:20:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:20:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500484608001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":123033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:20:23] local.INFO: GPS data processed {"connection_id":123033,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:20:23] local.INFO: Acknowledgment sent {"connection_id":123033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:21:06] local.INFO: TCP Data received {"connection_id":122241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:21:06] local.INFO: Processing buffer {"connection_id":122241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:21:06] local.INFO: IMEI packet received {"connection_id":122241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":122241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:21:11] local.INFO: TCP Data received {"connection_id":122241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:21:11] local.INFO: Processing buffer {"connection_id":122241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:21:11] local.INFO: IMEI packet received {"connection_id":122241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":122241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:21:44] local.INFO: TCP Data received {"connection_id":122241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:21:44] local.INFO: Processing buffer {"connection_id":122241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:21:44] local.INFO: Packet analysis {"connection_id":122241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:21:44] local.INFO: Extracted packet for processing {"connection_id":122241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:21:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500484608001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:21:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783205319000,"timestamp_ms":1783205319000,"timestamp_seconds":1783205319,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f51d158"} 
[2026-07-05 04:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:21: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-07-05 04: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 04:21:44] 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-07-05 04: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-07-05 04:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500484608001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500484608001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:21:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:21:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:21:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500484608001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":122241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:21:44] local.INFO: GPS data processed {"connection_id":122241,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:21:44] local.INFO: Acknowledgment sent {"connection_id":122241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:21:45] local.INFO: TCP Data received {"connection_id":122241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:21:45] local.INFO: Processing buffer {"connection_id":122241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:21:45] local.INFO: Packet analysis {"connection_id":122241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:21:45] local.INFO: Extracted packet for processing {"connection_id":122241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:21:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:21: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-07-05 04:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500484608001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:21:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783205319000,"timestamp_ms":1783205319000,"timestamp_seconds":1783205319,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f51d158"} 
[2026-07-05 04:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 04:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:21: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-07-05 04:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500484608001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500484608001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:21:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:21:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:21:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500484608001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":122241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:21:45] local.INFO: GPS data processed {"connection_id":122241,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:21:45] local.INFO: Acknowledgment sent {"connection_id":122241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:22:06] local.INFO: TCP Data received {"connection_id":123035,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:22:06] local.INFO: Processing buffer {"connection_id":123035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:22:06] local.INFO: IMEI packet received {"connection_id":123035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":123035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:22:11] local.INFO: TCP Data received {"connection_id":123035,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:22:11] local.INFO: Processing buffer {"connection_id":123035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:22:11] local.INFO: IMEI packet received {"connection_id":123035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":123035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:22:13] local.INFO: TCP Data received {"connection_id":123035,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:22:13] local.INFO: Processing buffer {"connection_id":123035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:22:13] local.INFO: Packet analysis {"connection_id":123035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:22:13] local.INFO: Extracted packet for processing {"connection_id":123035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:22:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500484608001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:22:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783205319000,"timestamp_ms":1783205319000,"timestamp_seconds":1783205319,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f51d158"} 
[2026-07-05 04:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 04:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":123035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":123035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":123035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500484608001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500484608001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:22:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:22:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500484608001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":123035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:22:13] local.INFO: GPS data processed {"connection_id":123035,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:22:13] local.INFO: Acknowledgment sent {"connection_id":123035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:22:44] local.INFO: TCP Data received {"connection_id":123035,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:22:44] local.INFO: Processing buffer {"connection_id":123035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:22:44] local.INFO: Packet analysis {"connection_id":123035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:22:44] local.INFO: Extracted packet for processing {"connection_id":123035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:22:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500484608001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:22:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783205319000,"timestamp_ms":1783205319000,"timestamp_seconds":1783205319,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f51d158"} 
[2026-07-05 04:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:22: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-07-05 04:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 04:22:44] 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-07-05 04: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-07-05 04:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":123035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":123035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":123035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500484608001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500484608001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:22:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:22:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:22:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500484608001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":123035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:22:44] local.INFO: GPS data processed {"connection_id":123035,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:22:44] local.INFO: Acknowledgment sent {"connection_id":123035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:23:06] local.INFO: TCP Data received {"connection_id":122310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:23:06] local.INFO: Processing buffer {"connection_id":122310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:23:06] local.INFO: IMEI packet received {"connection_id":122310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":122310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:23:11] local.INFO: TCP Data received {"connection_id":122310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:23:11] local.INFO: Processing buffer {"connection_id":122310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:23:11] local.INFO: IMEI packet received {"connection_id":122310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":122310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:23:12] local.INFO: TCP Data received {"connection_id":122310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:23:12] local.INFO: Processing buffer {"connection_id":122310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:23:12] local.INFO: Packet analysis {"connection_id":122310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:23:12] local.INFO: Extracted packet for processing {"connection_id":122310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:23:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500484608001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205319000,"timestamp_ms":1783205319000,"timestamp_seconds":1783205319,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f51d158"} 
[2026-07-05 04:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 04:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500484608001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500484608001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:23:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500484608001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":122310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:23:12] local.INFO: GPS data processed {"connection_id":122310,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:23:12] local.INFO: Acknowledgment sent {"connection_id":122310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:23:43] local.INFO: TCP Data received {"connection_id":122310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:23:43] local.INFO: Processing buffer {"connection_id":122310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:23:43] local.INFO: Packet analysis {"connection_id":122310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:23:43] local.INFO: Extracted packet for processing {"connection_id":122310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:23:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500484608001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205319000,"timestamp_ms":1783205319000,"timestamp_seconds":1783205319,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f51d158"} 
[2026-07-05 04:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:23: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-07-05 04:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 04:23: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-07-05 04:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500484608001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500484608001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:23:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:23:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500484608001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":122310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:23:43] local.INFO: GPS data processed {"connection_id":122310,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:23:43] local.INFO: Acknowledgment sent {"connection_id":122310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:24:06] local.INFO: TCP Data received {"connection_id":122244,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:24:06] local.INFO: Processing buffer {"connection_id":122244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:24:06] local.INFO: IMEI packet received {"connection_id":122244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":122244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:24:11] local.INFO: TCP Data received {"connection_id":122244,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:24:11] local.INFO: Processing buffer {"connection_id":122244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:24:11] local.INFO: IMEI packet received {"connection_id":122244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":122244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:24:12] local.INFO: TCP Data received {"connection_id":122244,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:24:12] local.INFO: Processing buffer {"connection_id":122244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f51d158012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:24:12] local.INFO: Packet analysis {"connection_id":122244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:24:12] local.INFO: Extracted packet for processing {"connection_id":122244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f51"} 
[2026-07-05 04:24:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500484608001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205319000,"timestamp_ms":1783205319000,"timestamp_seconds":1783205319,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f51d158"} 
[2026-07-05 04:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 04:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500484608001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500484608001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:24:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500484608001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":122244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:24:12] local.INFO: GPS data processed {"connection_id":122244,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:24:12] local.INFO: Acknowledgment sent {"connection_id":122244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:24:43] local.INFO: TCP Data received {"connection_id":122244,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:24:43] local.INFO: Processing buffer {"connection_id":122244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:24:43] local.INFO: Packet analysis {"connection_id":122244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:24:43] local.INFO: Extracted packet for processing {"connection_id":122244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:24:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500561664001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205620000,"timestamp_ms":1783205620000,"timestamp_seconds":1783205620,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f566920"} 
[2026-07-05 04:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:24: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-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500561664001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500561664001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:24:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500561664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":122244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:24:43] local.INFO: GPS data processed {"connection_id":122244,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:24:43] local.INFO: Acknowledgment sent {"connection_id":122244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:25:06] local.INFO: TCP Data received {"connection_id":124217,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:25:06] local.INFO: Processing buffer {"connection_id":124217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:25:06] local.INFO: IMEI packet received {"connection_id":124217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":124217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:25:11] local.INFO: TCP Data received {"connection_id":124217,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:25:11] local.INFO: Processing buffer {"connection_id":124217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:25:11] local.INFO: IMEI packet received {"connection_id":124217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":124217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:25:12] local.INFO: TCP Data received {"connection_id":124217,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:25:12] local.INFO: Processing buffer {"connection_id":124217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:25:12] local.INFO: Packet analysis {"connection_id":124217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:25:12] local.INFO: Extracted packet for processing {"connection_id":124217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:25:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500561664001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205620000,"timestamp_ms":1783205620000,"timestamp_seconds":1783205620,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f566920"} 
[2026-07-05 04:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500561664001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500561664001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:25:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500561664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":124217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:25:12] local.INFO: GPS data processed {"connection_id":124217,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:25:12] local.INFO: Acknowledgment sent {"connection_id":124217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:25:36] local.INFO: TCP Data received {"connection_id":123037,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:25:36] local.INFO: Processing buffer {"connection_id":123037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:25:36] local.INFO: IMEI packet received {"connection_id":123037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":123037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:25:43] local.INFO: TCP Data received {"connection_id":124217,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:25:43] local.INFO: Processing buffer {"connection_id":124217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:25:43] local.INFO: Packet analysis {"connection_id":124217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:25:43] local.INFO: Extracted packet for processing {"connection_id":124217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:25:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500561664001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205620000,"timestamp_ms":1783205620000,"timestamp_seconds":1783205620,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f566920"} 
[2026-07-05 04:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:25: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-07-05 04:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500561664001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500561664001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:25:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500561664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":124217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:25:43] local.INFO: GPS data processed {"connection_id":124217,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:25:43] local.INFO: Acknowledgment sent {"connection_id":124217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:26:06] local.INFO: TCP Data received {"connection_id":124218,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:26:06] local.INFO: Processing buffer {"connection_id":124218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:26:06] local.INFO: IMEI packet received {"connection_id":124218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":124218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:26:11] local.INFO: TCP Data received {"connection_id":124219,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:26:11] local.INFO: Processing buffer {"connection_id":124219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:26:11] local.INFO: IMEI packet received {"connection_id":124219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":124219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:26:11] local.INFO: TCP Data received {"connection_id":124218,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:26:11] local.INFO: Processing buffer {"connection_id":124218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:26:11] local.INFO: IMEI packet received {"connection_id":124218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":124218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:26:12] local.INFO: TCP Data received {"connection_id":124218,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:26:12] local.INFO: Processing buffer {"connection_id":124218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:26:12] local.INFO: Packet analysis {"connection_id":124218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:26:12] local.INFO: Extracted packet for processing {"connection_id":124218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:26:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500561664001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205620000,"timestamp_ms":1783205620000,"timestamp_seconds":1783205620,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f566920"} 
[2026-07-05 04:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500561664001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500561664001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:26:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500561664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":124218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:26:12] local.INFO: GPS data processed {"connection_id":124218,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:26:12] local.INFO: Acknowledgment sent {"connection_id":124218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:26:43] local.INFO: TCP Data received {"connection_id":124218,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:26:43] local.INFO: Processing buffer {"connection_id":124218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:26:43] local.INFO: Packet analysis {"connection_id":124218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:26:43] local.INFO: Extracted packet for processing {"connection_id":124218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:26:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500561664001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:26:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205620000,"timestamp_ms":1783205620000,"timestamp_seconds":1783205620,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f566920"} 
[2026-07-05 04:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:26: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-07-05 04:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500561664001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500561664001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:26:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:26:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500561664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":124218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:26:43] local.INFO: GPS data processed {"connection_id":124218,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:26:43] local.INFO: Acknowledgment sent {"connection_id":124218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:27:06] local.INFO: TCP Data received {"connection_id":123038,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:27:06] local.INFO: Processing buffer {"connection_id":123038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:27:06] local.INFO: IMEI packet received {"connection_id":123038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":123038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:27:11] local.INFO: TCP Data received {"connection_id":123038,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:27:11] local.INFO: Processing buffer {"connection_id":123038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:27:11] local.INFO: IMEI packet received {"connection_id":123038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":123038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:27:12] local.INFO: TCP Data received {"connection_id":123038,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:27:12] local.INFO: Processing buffer {"connection_id":123038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:27:12] local.INFO: Packet analysis {"connection_id":123038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:27:12] local.INFO: Extracted packet for processing {"connection_id":123038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:27:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500561664001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205620000,"timestamp_ms":1783205620000,"timestamp_seconds":1783205620,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f566920"} 
[2026-07-05 04:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500561664001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500561664001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:27:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500561664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":123038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:27:12] local.INFO: GPS data processed {"connection_id":123038,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:27:12] local.INFO: Acknowledgment sent {"connection_id":123038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:27:43] local.INFO: TCP Data received {"connection_id":123038,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:27:43] local.INFO: Processing buffer {"connection_id":123038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:27:43] local.INFO: Packet analysis {"connection_id":123038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:27:43] local.INFO: Extracted packet for processing {"connection_id":123038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:27:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500561664001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:27:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205620000,"timestamp_ms":1783205620000,"timestamp_seconds":1783205620,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f566920"} 
[2026-07-05 04:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:27: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-07-05 04:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500561664001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500561664001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:27:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:27:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500561664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":123038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:27:43] local.INFO: GPS data processed {"connection_id":123038,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:27:43] local.INFO: Acknowledgment sent {"connection_id":123038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:28:06] local.INFO: TCP Data received {"connection_id":123040,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:28:06] local.INFO: Processing buffer {"connection_id":123040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:28:06] local.INFO: IMEI packet received {"connection_id":123040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":123040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:28:11] local.INFO: TCP Data received {"connection_id":123040,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:28:11] local.INFO: Processing buffer {"connection_id":123040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:28:11] local.INFO: IMEI packet received {"connection_id":123040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":123040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:28:12] local.INFO: TCP Data received {"connection_id":123040,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:28:12] local.INFO: Processing buffer {"connection_id":123040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:28:12] local.INFO: Packet analysis {"connection_id":123040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:28:12] local.INFO: Extracted packet for processing {"connection_id":123040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:28:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500561664001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205620000,"timestamp_ms":1783205620000,"timestamp_seconds":1783205620,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f566920"} 
[2026-07-05 04:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500561664001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500561664001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:28:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500561664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":123040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:28:12] local.INFO: GPS data processed {"connection_id":123040,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:28:12] local.INFO: Acknowledgment sent {"connection_id":123040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:28:43] local.INFO: TCP Data received {"connection_id":123040,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:28:43] local.INFO: Processing buffer {"connection_id":123040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:28:43] local.INFO: Packet analysis {"connection_id":123040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:28:43] local.INFO: Extracted packet for processing {"connection_id":123040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:28:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500561664001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205620000,"timestamp_ms":1783205620000,"timestamp_seconds":1783205620,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f566920"} 
[2026-07-05 04:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:28: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-07-05 04:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500561664001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500561664001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:28:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500561664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":123040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:28:43] local.INFO: GPS data processed {"connection_id":123040,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:28:43] local.INFO: Acknowledgment sent {"connection_id":123040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:29:11] local.INFO: TCP Data received {"connection_id":122312,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:29:11] local.INFO: Processing buffer {"connection_id":122312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:29:11] local.INFO: IMEI packet received {"connection_id":122312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":122312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:29:16] local.INFO: TCP Data received {"connection_id":122312,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:29:16] local.INFO: Processing buffer {"connection_id":122312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:29:16] local.INFO: IMEI packet received {"connection_id":122312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":122312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:29:17] local.INFO: TCP Data received {"connection_id":122312,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:29:17] local.INFO: Processing buffer {"connection_id":122312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f566920012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:29:17] local.INFO: Packet analysis {"connection_id":122312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:29:17] local.INFO: Extracted packet for processing {"connection_id":122312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f56"} 
[2026-07-05 04:29:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500561664001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:29:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783205620000,"timestamp_ms":1783205620000,"timestamp_seconds":1783205620,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f566920"} 
[2026-07-05 04:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 04:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500561664001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500561664001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:29:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:29:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:29:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500561664001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":122312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:29:17] local.INFO: GPS data processed {"connection_id":122312,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:29:17] local.INFO: Acknowledgment sent {"connection_id":122312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:29:20] local.INFO: TCP Data received {"connection_id":122312,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:29:20] local.INFO: Processing buffer {"connection_id":122312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:29:20] local.INFO: Packet analysis {"connection_id":122312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:29:20] local.INFO: Extracted packet for processing {"connection_id":122312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:29:20] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500638720001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783205921000,"timestamp_ms":1783205921000,"timestamp_seconds":1783205921,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5b00e8"} 
[2026-07-05 04:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500638720001,"66":25201,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500638720001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:29:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500638720001,"power":25201,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":122312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:29:20] local.INFO: GPS data processed {"connection_id":122312,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:29:20] local.INFO: Acknowledgment sent {"connection_id":122312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:29:51] local.INFO: TCP Data received {"connection_id":122312,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:29:51] local.INFO: Processing buffer {"connection_id":122312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:29:51] local.INFO: Packet analysis {"connection_id":122312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:29:51] local.INFO: Extracted packet for processing {"connection_id":122312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:29:51] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500638720001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783205921000,"timestamp_ms":1783205921000,"timestamp_seconds":1783205921,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5b00e8"} 
[2026-07-05 04:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":122312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":122312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":122312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500638720001,"66":25201,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500638720001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:29:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500638720001,"power":25201,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":122312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:29:51] local.INFO: GPS data processed {"connection_id":122312,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:29:51] local.INFO: Acknowledgment sent {"connection_id":122312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:30:06] local.INFO: TCP Data received {"connection_id":123041,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:30:06] local.INFO: Processing buffer {"connection_id":123041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:30:06] local.INFO: IMEI packet received {"connection_id":123041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":123041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:30:11] local.INFO: TCP Data received {"connection_id":123041,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:30:11] local.INFO: Processing buffer {"connection_id":123041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:30:11] local.INFO: IMEI packet received {"connection_id":123041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":123041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:30:12] local.INFO: TCP Data received {"connection_id":123041,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:30:12] local.INFO: Processing buffer {"connection_id":123041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:30:12] local.INFO: Packet analysis {"connection_id":123041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:30:12] local.INFO: Extracted packet for processing {"connection_id":123041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:30:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500638720001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:30:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205921000,"timestamp_ms":1783205921000,"timestamp_seconds":1783205921,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5b00e8"} 
[2026-07-05 04:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500638720001,"66":25201,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500638720001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:30:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:30:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500638720001,"power":25201,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":123041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:30:12] local.INFO: GPS data processed {"connection_id":123041,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:30:12] local.INFO: Acknowledgment sent {"connection_id":123041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:30:43] local.INFO: TCP Data received {"connection_id":123041,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:30:43] local.INFO: Processing buffer {"connection_id":123041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:30:43] local.INFO: Packet analysis {"connection_id":123041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:30:43] local.INFO: Extracted packet for processing {"connection_id":123041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:30:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500638720001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:30:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205921000,"timestamp_ms":1783205921000,"timestamp_seconds":1783205921,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5b00e8"} 
[2026-07-05 04:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:30: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-07-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:30: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-07-05 04: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-07-05 04:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500638720001,"66":25201,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500638720001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:30:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:30:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:30:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500638720001,"power":25201,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":123041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:30:43] local.INFO: GPS data processed {"connection_id":123041,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:30:43] local.INFO: Acknowledgment sent {"connection_id":123041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:31:06] local.INFO: TCP Data received {"connection_id":124221,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:31:06] local.INFO: Processing buffer {"connection_id":124221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:31:06] local.INFO: IMEI packet received {"connection_id":124221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":124221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:31:11] local.INFO: TCP Data received {"connection_id":124221,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:31:11] local.INFO: Processing buffer {"connection_id":124221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:31:11] local.INFO: IMEI packet received {"connection_id":124221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":124221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:31:14] local.INFO: TCP Data received {"connection_id":124221,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:31:14] local.INFO: Processing buffer {"connection_id":124221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:31:14] local.INFO: Packet analysis {"connection_id":124221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:31:14] local.INFO: Extracted packet for processing {"connection_id":124221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:31:14] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500638720001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:31:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783205921000,"timestamp_ms":1783205921000,"timestamp_seconds":1783205921,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5b00e8"} 
[2026-07-05 04:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500638720001,"66":25201,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500638720001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:31:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:31:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:31:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500638720001,"power":25201,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":124221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:31:14] local.INFO: GPS data processed {"connection_id":124221,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:31:14] local.INFO: Acknowledgment sent {"connection_id":124221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:31:31] local.INFO: TCP Data received {"connection_id":124222,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:31:31] local.INFO: Processing buffer {"connection_id":124222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:31:31] local.INFO: IMEI packet received {"connection_id":124222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":124222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:31:46] local.INFO: TCP Data received {"connection_id":124221,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:31:46] local.INFO: Processing buffer {"connection_id":124221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:31:46] local.INFO: Packet analysis {"connection_id":124221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:31:46] local.INFO: Extracted packet for processing {"connection_id":124221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:31:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500638720001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:31:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783205921000,"timestamp_ms":1783205921000,"timestamp_seconds":1783205921,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5b00e8"} 
[2026-07-05 04:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:31: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-07-05 04:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:31: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-07-05 04:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500638720001,"66":25201,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500638720001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:31:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:31:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:31:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500638720001,"power":25201,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":124221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:31:46] local.INFO: GPS data processed {"connection_id":124221,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:31:46] local.INFO: Acknowledgment sent {"connection_id":124221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:32:06] local.INFO: TCP Data received {"connection_id":123042,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:32:06] local.INFO: Processing buffer {"connection_id":123042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:32:06] local.INFO: IMEI packet received {"connection_id":123042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":123042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:32:06] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:32:06] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:32:06] local.INFO: IMEI packet received {"connection_id":124223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":124223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:32:11] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:32:11] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:32:11] local.INFO: IMEI packet received {"connection_id":124223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":124223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:32:12] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:32:12] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:32:12] local.INFO: Packet analysis {"connection_id":124223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:32:12] local.INFO: Extracted packet for processing {"connection_id":124223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:32:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500638720001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205921000,"timestamp_ms":1783205921000,"timestamp_seconds":1783205921,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5b00e8"} 
[2026-07-05 04:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500638720001,"66":25201,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500638720001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:32:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500638720001,"power":25201,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":124223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:32:12] local.INFO: GPS data processed {"connection_id":124223,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:32:12] local.INFO: Acknowledgment sent {"connection_id":124223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:32:43] local.INFO: TCP Data received {"connection_id":124223,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:32:43] local.INFO: Processing buffer {"connection_id":124223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:32:43] local.INFO: Packet analysis {"connection_id":124223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:32:43] local.INFO: Extracted packet for processing {"connection_id":124223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:32:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500638720001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783205921000,"timestamp_ms":1783205921000,"timestamp_seconds":1783205921,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5b00e8"} 
[2026-07-05 04:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:32: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-07-05 04:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500638720001,"66":25201,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500638720001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:32:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500638720001,"power":25201,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":124223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:32:43] local.INFO: GPS data processed {"connection_id":124223,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:32:43] local.INFO: Acknowledgment sent {"connection_id":124223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:33:11] local.INFO: TCP Data received {"connection_id":122315,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:33:11] local.INFO: Processing buffer {"connection_id":122315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:33:11] local.INFO: IMEI packet received {"connection_id":122315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":122315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:33:16] local.INFO: TCP Data received {"connection_id":122315,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:33:16] local.INFO: Processing buffer {"connection_id":122315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:33:16] local.INFO: IMEI packet received {"connection_id":122315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":122315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:33:17] local.INFO: TCP Data received {"connection_id":122315,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:33:17] local.INFO: Processing buffer {"connection_id":122315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:33:17] local.INFO: Packet analysis {"connection_id":122315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:33:17] local.INFO: Extracted packet for processing {"connection_id":122315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:33:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500638720001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:33:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783205921000,"timestamp_ms":1783205921000,"timestamp_seconds":1783205921,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5b00e8"} 
[2026-07-05 04:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500638720001,"66":25201,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500638720001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:33:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:33:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:33:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500638720001,"power":25201,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":122315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:33:17] local.INFO: GPS data processed {"connection_id":122315,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:33:17] local.INFO: Acknowledgment sent {"connection_id":122315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:33:22] local.INFO: TCP Data received {"connection_id":122315,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:33:22] local.INFO: Processing buffer {"connection_id":122315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:33:22] local.INFO: Packet analysis {"connection_id":122315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:33:22] local.INFO: Extracted packet for processing {"connection_id":122315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:33:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500638720001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783205921000,"timestamp_ms":1783205921000,"timestamp_seconds":1783205921,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5b00e8"} 
[2026-07-05 04:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500638720001,"66":25201,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500638720001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:33:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:33:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500638720001,"power":25201,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":122315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:33:22] local.INFO: GPS data processed {"connection_id":122315,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:33:22] local.INFO: Acknowledgment sent {"connection_id":122315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:34:06] local.INFO: TCP Data received {"connection_id":123043,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:34:06] local.INFO: Processing buffer {"connection_id":123043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:34:06] local.INFO: IMEI packet received {"connection_id":123043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":123043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:34:11] local.INFO: TCP Data received {"connection_id":123043,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:34:11] local.INFO: Processing buffer {"connection_id":123043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:34:11] local.INFO: IMEI packet received {"connection_id":123043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":123043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:34:12] local.INFO: TCP Data received {"connection_id":123043,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:34:12] local.INFO: Processing buffer {"connection_id":123043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5b00e8012cb2a2c007823a880048013b2a..."} 
[2026-07-05 04:34:12] local.INFO: Packet analysis {"connection_id":123043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:34:12] local.INFO: Extracted packet for processing {"connection_id":123043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5b"} 
[2026-07-05 04:34:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500638720001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783205921000,"timestamp_ms":1783205921000,"timestamp_seconds":1783205921,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5b00e8"} 
[2026-07-05 04:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500638720001,"66":25201,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500638720001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:34:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500638720001,"power":25201,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":123043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:34:12] local.INFO: GPS data processed {"connection_id":123043,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:34:12] local.INFO: Acknowledgment sent {"connection_id":123043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:34:43] local.INFO: TCP Data received {"connection_id":123043,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:34:43] local.INFO: Processing buffer {"connection_id":123043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:34:43] local.INFO: Packet analysis {"connection_id":123043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:34:43] local.INFO: Extracted packet for processing {"connection_id":123043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:34:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500715776001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:34:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783206222000,"timestamp_ms":1783206222000,"timestamp_seconds":1783206222,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5f98b0"} 
[2026-07-05 04:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:34: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-07-05 04:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 04:34:43] 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-07-05 04:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500715776001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500715776001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:34:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:34:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:34:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500715776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":123043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:34:43] local.INFO: GPS data processed {"connection_id":123043,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:34:43] local.INFO: Acknowledgment sent {"connection_id":123043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:35:12] local.INFO: TCP Data received {"connection_id":122316,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:35:12] local.INFO: Processing buffer {"connection_id":122316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:35:12] local.INFO: IMEI packet received {"connection_id":122316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":122316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:35:16] local.INFO: TCP Data received {"connection_id":122316,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:35:16] local.INFO: Processing buffer {"connection_id":122316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:35:16] local.INFO: IMEI packet received {"connection_id":122316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":122316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:35:17] local.INFO: TCP Data received {"connection_id":122316,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:35:17] local.INFO: Processing buffer {"connection_id":122316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:35:17] local.INFO: Packet analysis {"connection_id":122316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:35:17] local.INFO: Extracted packet for processing {"connection_id":122316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:35:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500715776001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:35:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783206222000,"timestamp_ms":1783206222000,"timestamp_seconds":1783206222,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5f98b0"} 
[2026-07-05 04:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 04:35:17] 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-07-05 04:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500715776001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500715776001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:35:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:35:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500715776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":122316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:35:17] local.INFO: GPS data processed {"connection_id":122316,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:35:17] local.INFO: Acknowledgment sent {"connection_id":122316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:35:21] local.INFO: TCP Data received {"connection_id":122316,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:35:21] local.INFO: Processing buffer {"connection_id":122316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:35:21] local.INFO: Packet analysis {"connection_id":122316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:35:21] local.INFO: Extracted packet for processing {"connection_id":122316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:35:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500715776001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783206222000,"timestamp_ms":1783206222000,"timestamp_seconds":1783206222,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5f98b0"} 
[2026-07-05 04:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 04:35:21] 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-07-05 04: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-07-05 04:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500715776001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500715776001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:35:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500715776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":122316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:35:21] local.INFO: GPS data processed {"connection_id":122316,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:35:21] local.INFO: Acknowledgment sent {"connection_id":122316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:36:06] local.INFO: TCP Data received {"connection_id":122318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:36:06] local.INFO: Processing buffer {"connection_id":122318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:36:06] local.INFO: IMEI packet received {"connection_id":122318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":122318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:36:11] local.INFO: TCP Data received {"connection_id":122318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:36:11] local.INFO: Processing buffer {"connection_id":122318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:36:11] local.INFO: IMEI packet received {"connection_id":122318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":122318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:36:12] local.INFO: TCP Data received {"connection_id":122318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:36:12] local.INFO: Processing buffer {"connection_id":122318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:36:12] local.INFO: Packet analysis {"connection_id":122318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:36:12] local.INFO: Extracted packet for processing {"connection_id":122318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:36:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500715776001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206222000,"timestamp_ms":1783206222000,"timestamp_seconds":1783206222,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5f98b0"} 
[2026-07-05 04:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 04:36:12] 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-07-05 04:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500715776001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500715776001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:36:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500715776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":122318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:36:12] local.INFO: GPS data processed {"connection_id":122318,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:36:12] local.INFO: Acknowledgment sent {"connection_id":122318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:36:43] local.INFO: TCP Data received {"connection_id":122318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:36:43] local.INFO: Processing buffer {"connection_id":122318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:36:43] local.INFO: Packet analysis {"connection_id":122318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:36:43] local.INFO: Extracted packet for processing {"connection_id":122318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:36:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500715776001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:36:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783206222000,"timestamp_ms":1783206222000,"timestamp_seconds":1783206222,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5f98b0"} 
[2026-07-05 04:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:36: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-07-05 04:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 04:36:43] 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-07-05 04:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500715776001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500715776001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:36:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:36:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500715776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":122318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:36:43] local.INFO: GPS data processed {"connection_id":122318,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:36:43] local.INFO: Acknowledgment sent {"connection_id":122318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:37:06] local.INFO: TCP Data received {"connection_id":124226,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:37:06] local.INFO: Processing buffer {"connection_id":124226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:37:06] local.INFO: IMEI packet received {"connection_id":124226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":124226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:37:11] local.INFO: TCP Data received {"connection_id":124226,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:37:11] local.INFO: Processing buffer {"connection_id":124226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:37:11] local.INFO: IMEI packet received {"connection_id":124226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":124226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:37:12] local.INFO: TCP Data received {"connection_id":124226,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:37:12] local.INFO: Processing buffer {"connection_id":124226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:37:12] local.INFO: Packet analysis {"connection_id":124226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:37:12] local.INFO: Extracted packet for processing {"connection_id":124226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:37:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500715776001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206222000,"timestamp_ms":1783206222000,"timestamp_seconds":1783206222,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5f98b0"} 
[2026-07-05 04:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 04:37:12] 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-07-05 04:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500715776001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500715776001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:37:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500715776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":124226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:37:12] local.INFO: GPS data processed {"connection_id":124226,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:37:12] local.INFO: Acknowledgment sent {"connection_id":124226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:37:26] local.INFO: TCP Data received {"connection_id":124225,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:37:26] local.INFO: Processing buffer {"connection_id":124225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:37:26] local.INFO: IMEI packet received {"connection_id":124225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":124225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:37:43] local.INFO: TCP Data received {"connection_id":124226,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:37:43] local.INFO: Processing buffer {"connection_id":124226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:37:43] local.INFO: Packet analysis {"connection_id":124226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:37:43] local.INFO: Extracted packet for processing {"connection_id":124226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:37:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500715776001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783206222000,"timestamp_ms":1783206222000,"timestamp_seconds":1783206222,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5f98b0"} 
[2026-07-05 04:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:37: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-07-05 04:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 04:37:43] 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-07-05 04:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500715776001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500715776001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:37:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500715776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":124226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:37:43] local.INFO: GPS data processed {"connection_id":124226,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:37:43] local.INFO: Acknowledgment sent {"connection_id":124226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:38:05] local.INFO: TCP Data received {"connection_id":122247,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:38:05] local.INFO: Processing buffer {"connection_id":122247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:38:05] local.INFO: IMEI packet received {"connection_id":122247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":122247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:38:06] local.INFO: TCP Data received {"connection_id":122246,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:38:06] local.INFO: Processing buffer {"connection_id":122246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:38:06] local.INFO: IMEI packet received {"connection_id":122246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":122246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:38:11] local.INFO: TCP Data received {"connection_id":122246,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:38:11] local.INFO: Processing buffer {"connection_id":122246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:38:11] local.INFO: IMEI packet received {"connection_id":122246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":122246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:38:12] local.INFO: TCP Data received {"connection_id":122246,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:38:12] local.INFO: Processing buffer {"connection_id":122246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:38:12] local.INFO: Packet analysis {"connection_id":122246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:38:12] local.INFO: Extracted packet for processing {"connection_id":122246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:38:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500715776001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206222000,"timestamp_ms":1783206222000,"timestamp_seconds":1783206222,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5f98b0"} 
[2026-07-05 04:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 04:38:12] 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-07-05 04:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500715776001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500715776001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:38:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500715776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":122246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:38:12] local.INFO: GPS data processed {"connection_id":122246,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:38:12] local.INFO: Acknowledgment sent {"connection_id":122246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:38:43] local.INFO: TCP Data received {"connection_id":122246,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:38:43] local.INFO: Processing buffer {"connection_id":122246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:38:43] local.INFO: Packet analysis {"connection_id":122246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:38:43] local.INFO: Extracted packet for processing {"connection_id":122246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:38:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500715776001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:38:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783206222000,"timestamp_ms":1783206222000,"timestamp_seconds":1783206222,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5f98b0"} 
[2026-07-05 04:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:38: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-07-05 04:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 04:38:43] 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-07-05 04:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500715776001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500715776001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:38:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:38:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500715776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":122246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:38:43] local.INFO: GPS data processed {"connection_id":122246,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:38:43] local.INFO: Acknowledgment sent {"connection_id":122246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:39:06] local.INFO: TCP Data received {"connection_id":123044,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:39:06] local.INFO: Processing buffer {"connection_id":123044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:39:06] local.INFO: IMEI packet received {"connection_id":123044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":123044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:39:11] local.INFO: TCP Data received {"connection_id":123044,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:39:11] local.INFO: Processing buffer {"connection_id":123044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:39:11] local.INFO: IMEI packet received {"connection_id":123044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":123044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:39:12] local.INFO: TCP Data received {"connection_id":123044,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:39:12] local.INFO: Processing buffer {"connection_id":123044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f5f98b0012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:39:12] local.INFO: Packet analysis {"connection_id":123044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:39:12] local.INFO: Extracted packet for processing {"connection_id":123044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f5f"} 
[2026-07-05 04:39:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500715776001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206222000,"timestamp_ms":1783206222000,"timestamp_seconds":1783206222,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f5f98b0"} 
[2026-07-05 04:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 04:39:12] 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-07-05 04:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500715776001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500715776001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:39:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500715776001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":123044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:39:12] local.INFO: GPS data processed {"connection_id":123044,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:39:12] local.INFO: Acknowledgment sent {"connection_id":123044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:39:44] local.INFO: TCP Data received {"connection_id":123044,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:39:44] local.INFO: Processing buffer {"connection_id":123044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:39:44] local.INFO: Packet analysis {"connection_id":123044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:39:44] local.INFO: Extracted packet for processing {"connection_id":123044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:39:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500792832001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:39:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783206523000,"timestamp_ms":1783206523000,"timestamp_seconds":1783206523,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f643078"} 
[2026-07-05 04:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:39: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-07-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:39: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-07-05 04: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-07-05 04:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":123044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":123044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":123044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500792832001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500792832001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:39:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:39:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:39:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500792832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":123044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:39:44] local.INFO: GPS data processed {"connection_id":123044,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:39:44] local.INFO: Acknowledgment sent {"connection_id":123044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:40:06] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:40:06] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:40:06] local.INFO: IMEI packet received {"connection_id":124228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":124228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:40:11] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:40:11] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:40:11] local.INFO: IMEI packet received {"connection_id":124228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":124228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:40:12] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:40:12] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:40:12] local.INFO: Packet analysis {"connection_id":124228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:40:12] local.INFO: Extracted packet for processing {"connection_id":124228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:40:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500792832001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206523000,"timestamp_ms":1783206523000,"timestamp_seconds":1783206523,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f643078"} 
[2026-07-05 04:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500792832001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500792832001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:40:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500792832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":124228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:40:12] local.INFO: GPS data processed {"connection_id":124228,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:40:12] local.INFO: Acknowledgment sent {"connection_id":124228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:40:46] local.INFO: TCP Data received {"connection_id":124228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:40:46] local.INFO: Processing buffer {"connection_id":124228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:40:46] local.INFO: Packet analysis {"connection_id":124228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:40:46] local.INFO: Extracted packet for processing {"connection_id":124228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:40:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500792832001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:40:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783206523000,"timestamp_ms":1783206523000,"timestamp_seconds":1783206523,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f643078"} 
[2026-07-05 04:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:40: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-07-05 04:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500792832001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500792832001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:40:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:40:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:40:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500792832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":124228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:40:46] local.INFO: GPS data processed {"connection_id":124228,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:40:46] local.INFO: Acknowledgment sent {"connection_id":124228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:41:06] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:41:06] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:41:06] local.INFO: IMEI packet received {"connection_id":124229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":124229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:41:11] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:41:11] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:41:11] local.INFO: IMEI packet received {"connection_id":124229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":124229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:41:12] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:41:12] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:41:12] local.INFO: Packet analysis {"connection_id":124229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:41:12] local.INFO: Extracted packet for processing {"connection_id":124229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:41:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500792832001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206523000,"timestamp_ms":1783206523000,"timestamp_seconds":1783206523,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f643078"} 
[2026-07-05 04:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500792832001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500792832001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:41:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500792832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":124229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:41:12] local.INFO: GPS data processed {"connection_id":124229,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:41:12] local.INFO: Acknowledgment sent {"connection_id":124229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:41:43] local.INFO: TCP Data received {"connection_id":124229,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:41:43] local.INFO: Processing buffer {"connection_id":124229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:41:43] local.INFO: Packet analysis {"connection_id":124229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:41:43] local.INFO: Extracted packet for processing {"connection_id":124229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:41:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500792832001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:41:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783206523000,"timestamp_ms":1783206523000,"timestamp_seconds":1783206523,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f643078"} 
[2026-07-05 04:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:41: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-07-05 04:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500792832001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500792832001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:41:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:41:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500792832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":124229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:41:43] local.INFO: GPS data processed {"connection_id":124229,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:41:43] local.INFO: Acknowledgment sent {"connection_id":124229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:42:06] local.INFO: TCP Data received {"connection_id":123048,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:42:06] local.INFO: Processing buffer {"connection_id":123048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:42:06] local.INFO: IMEI packet received {"connection_id":123048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":123048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:42:11] local.INFO: TCP Data received {"connection_id":123048,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:42:11] local.INFO: Processing buffer {"connection_id":123048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:42:11] local.INFO: IMEI packet received {"connection_id":123048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":123048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:42:12] local.INFO: TCP Data received {"connection_id":123048,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:42:12] local.INFO: Processing buffer {"connection_id":123048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:42:12] local.INFO: Packet analysis {"connection_id":123048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:42:12] local.INFO: Extracted packet for processing {"connection_id":123048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:42:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500792832001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206523000,"timestamp_ms":1783206523000,"timestamp_seconds":1783206523,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f643078"} 
[2026-07-05 04:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500792832001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500792832001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:42:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500792832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":123048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:42:12] local.INFO: GPS data processed {"connection_id":123048,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:42:12] local.INFO: Acknowledgment sent {"connection_id":123048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:42:43] local.INFO: TCP Data received {"connection_id":123048,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:42:43] local.INFO: Processing buffer {"connection_id":123048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:42:43] local.INFO: Packet analysis {"connection_id":123048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:42:43] local.INFO: Extracted packet for processing {"connection_id":123048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:42:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500792832001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:42:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783206523000,"timestamp_ms":1783206523000,"timestamp_seconds":1783206523,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f643078"} 
[2026-07-05 04:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:42: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-07-05 04:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500792832001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500792832001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:42:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:42:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500792832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":123048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:42:43] local.INFO: GPS data processed {"connection_id":123048,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:42:43] local.INFO: Acknowledgment sent {"connection_id":123048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:43:06] local.INFO: TCP Data received {"connection_id":122319,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:43:06] local.INFO: Processing buffer {"connection_id":122319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:43:06] local.INFO: IMEI packet received {"connection_id":122319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":122319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:43:11] local.INFO: TCP Data received {"connection_id":122319,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:43:11] local.INFO: Processing buffer {"connection_id":122319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:43:11] local.INFO: IMEI packet received {"connection_id":122319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":122319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:43:12] local.INFO: TCP Data received {"connection_id":122319,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:43:12] local.INFO: Processing buffer {"connection_id":122319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:43:12] local.INFO: Packet analysis {"connection_id":122319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:43:12] local.INFO: Extracted packet for processing {"connection_id":122319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:43:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500792832001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206523000,"timestamp_ms":1783206523000,"timestamp_seconds":1783206523,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f643078"} 
[2026-07-05 04:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500792832001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500792832001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:43:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500792832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":122319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:43:12] local.INFO: GPS data processed {"connection_id":122319,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:43:12] local.INFO: Acknowledgment sent {"connection_id":122319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:43:20] local.INFO: TCP Data received {"connection_id":122320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:43:20] local.INFO: Processing buffer {"connection_id":122320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:43:20] local.INFO: IMEI packet received {"connection_id":122320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":122320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:43:43] local.INFO: TCP Data received {"connection_id":122319,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:43:43] local.INFO: Processing buffer {"connection_id":122319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:43:43] local.INFO: Packet analysis {"connection_id":122319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:43:43] local.INFO: Extracted packet for processing {"connection_id":122319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:43:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500792832001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:43:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783206523000,"timestamp_ms":1783206523000,"timestamp_seconds":1783206523,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f643078"} 
[2026-07-05 04:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:43: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-07-05 04:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:43: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-07-05 04:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500792832001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500792832001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:43:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:43:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500792832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":122319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:43:43] local.INFO: GPS data processed {"connection_id":122319,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:43:43] local.INFO: Acknowledgment sent {"connection_id":122319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:44:06] local.INFO: TCP Data received {"connection_id":122248,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:44:06] local.INFO: Processing buffer {"connection_id":122248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:44:06] local.INFO: IMEI packet received {"connection_id":122248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":122248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:44:11] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:44:11] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:44:11] local.INFO: IMEI packet received {"connection_id":124230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":124230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:44:16] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:44:16] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:44:16] local.INFO: IMEI packet received {"connection_id":124230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":124230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:44:17] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:44:17] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:44:17] local.INFO: Packet analysis {"connection_id":124230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:44:17] local.INFO: Extracted packet for processing {"connection_id":124230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:44:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500792832001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:44:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783206523000,"timestamp_ms":1783206523000,"timestamp_seconds":1783206523,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f643078"} 
[2026-07-05 04:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500792832001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500792832001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:44:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:44:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:44:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500792832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":124230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:44:17] local.INFO: GPS data processed {"connection_id":124230,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:44:17] local.INFO: Acknowledgment sent {"connection_id":124230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:44:21] local.INFO: TCP Data received {"connection_id":124230,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:44:21] local.INFO: Processing buffer {"connection_id":124230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f643078012cb2a2c007823a880048013b2c..."} 
[2026-07-05 04:44:21] local.INFO: Packet analysis {"connection_id":124230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:44:21] local.INFO: Extracted packet for processing {"connection_id":124230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f64"} 
[2026-07-05 04:44:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500792832001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783206523000,"timestamp_ms":1783206523000,"timestamp_seconds":1783206523,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f643078"} 
[2026-07-05 04:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500792832001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500792832001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:44:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500792832001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":124230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:44:21] local.INFO: GPS data processed {"connection_id":124230,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:44:21] local.INFO: Acknowledgment sent {"connection_id":124230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:45:06] local.INFO: TCP Data received {"connection_id":122322,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:45:06] local.INFO: Processing buffer {"connection_id":122322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:45:06] local.INFO: IMEI packet received {"connection_id":122322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":122322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:45:11] local.INFO: TCP Data received {"connection_id":122322,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:45:11] local.INFO: Processing buffer {"connection_id":122322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:45:11] local.INFO: IMEI packet received {"connection_id":122322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":122322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:45:12] local.INFO: TCP Data received {"connection_id":122322,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:45:12] local.INFO: Processing buffer {"connection_id":122322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:45:12] local.INFO: Packet analysis {"connection_id":122322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:45:12] local.INFO: Extracted packet for processing {"connection_id":122322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:45:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500869888001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206824000,"timestamp_ms":1783206824000,"timestamp_seconds":1783206824,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f68c840"} 
[2026-07-05 04:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500869888001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500869888001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:45:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500869888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":122322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:45:12] local.INFO: GPS data processed {"connection_id":122322,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:45:12] local.INFO: Acknowledgment sent {"connection_id":122322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:45:43] local.INFO: TCP Data received {"connection_id":122322,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:45:43] local.INFO: Processing buffer {"connection_id":122322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:45:43] local.INFO: Packet analysis {"connection_id":122322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:45:43] local.INFO: Extracted packet for processing {"connection_id":122322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:45:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500869888001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:45:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783206824000,"timestamp_ms":1783206824000,"timestamp_seconds":1783206824,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f68c840"} 
[2026-07-05 04:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:45: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-07-05 04:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500869888001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500869888001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:45:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:45:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500869888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":122322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:45:43] local.INFO: GPS data processed {"connection_id":122322,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:45:43] local.INFO: Acknowledgment sent {"connection_id":122322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:46:06] local.INFO: TCP Data received {"connection_id":122323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:46:06] local.INFO: Processing buffer {"connection_id":122323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:46:06] local.INFO: IMEI packet received {"connection_id":122323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":122323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:46:11] local.INFO: TCP Data received {"connection_id":122323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:46:11] local.INFO: Processing buffer {"connection_id":122323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:46:11] local.INFO: IMEI packet received {"connection_id":122323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":122323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:46:12] local.INFO: TCP Data received {"connection_id":122323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:46:12] local.INFO: Processing buffer {"connection_id":122323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:46:12] local.INFO: Packet analysis {"connection_id":122323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:46:12] local.INFO: Extracted packet for processing {"connection_id":122323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:46:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500869888001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206824000,"timestamp_ms":1783206824000,"timestamp_seconds":1783206824,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f68c840"} 
[2026-07-05 04:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500869888001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500869888001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:46:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500869888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":122323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:46:12] local.INFO: GPS data processed {"connection_id":122323,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:46:12] local.INFO: Acknowledgment sent {"connection_id":122323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:46:43] local.INFO: TCP Data received {"connection_id":122323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:46:43] local.INFO: Processing buffer {"connection_id":122323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:46:43] local.INFO: Packet analysis {"connection_id":122323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:46:43] local.INFO: Extracted packet for processing {"connection_id":122323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:46:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500869888001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:46:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783206824000,"timestamp_ms":1783206824000,"timestamp_seconds":1783206824,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f68c840"} 
[2026-07-05 04:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:46: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-07-05 04:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:46: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-07-05 04:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500869888001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500869888001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:46:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:46:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500869888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":122323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:46:43] local.INFO: GPS data processed {"connection_id":122323,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:46:43] local.INFO: Acknowledgment sent {"connection_id":122323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:47:06] local.INFO: TCP Data received {"connection_id":124231,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:47:06] local.INFO: Processing buffer {"connection_id":124231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:47:06] local.INFO: IMEI packet received {"connection_id":124231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":124231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:47:11] local.INFO: TCP Data received {"connection_id":124231,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:47:11] local.INFO: Processing buffer {"connection_id":124231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:47:11] local.INFO: IMEI packet received {"connection_id":124231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":124231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:47:12] local.INFO: TCP Data received {"connection_id":124231,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:47:12] local.INFO: Processing buffer {"connection_id":124231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:47:12] local.INFO: Packet analysis {"connection_id":124231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:47:12] local.INFO: Extracted packet for processing {"connection_id":124231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:47:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500869888001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206824000,"timestamp_ms":1783206824000,"timestamp_seconds":1783206824,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f68c840"} 
[2026-07-05 04:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500869888001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500869888001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:47:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500869888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":124231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:47:12] local.INFO: GPS data processed {"connection_id":124231,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:47:12] local.INFO: Acknowledgment sent {"connection_id":124231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:47:43] local.INFO: TCP Data received {"connection_id":124231,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:47:43] local.INFO: Processing buffer {"connection_id":124231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:47:43] local.INFO: Packet analysis {"connection_id":124231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:47:43] local.INFO: Extracted packet for processing {"connection_id":124231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:47:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500869888001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:47:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783206824000,"timestamp_ms":1783206824000,"timestamp_seconds":1783206824,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f68c840"} 
[2026-07-05 04:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:47: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-07-05 04:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:47: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-07-05 04:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500869888001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500869888001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:47:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:47:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500869888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":124231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:47:43] local.INFO: GPS data processed {"connection_id":124231,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:47:43] local.INFO: Acknowledgment sent {"connection_id":124231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:48:06] local.INFO: TCP Data received {"connection_id":124232,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:48:06] local.INFO: Processing buffer {"connection_id":124232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:48:06] local.INFO: IMEI packet received {"connection_id":124232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":124232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:48:11] local.INFO: TCP Data received {"connection_id":124232,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:48:11] local.INFO: Processing buffer {"connection_id":124232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:48:11] local.INFO: IMEI packet received {"connection_id":124232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":124232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:48:12] local.INFO: TCP Data received {"connection_id":124232,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:48:12] local.INFO: Processing buffer {"connection_id":124232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:48:12] local.INFO: Packet analysis {"connection_id":124232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:48:12] local.INFO: Extracted packet for processing {"connection_id":124232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:48:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500869888001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783206824000,"timestamp_ms":1783206824000,"timestamp_seconds":1783206824,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f68c840"} 
[2026-07-05 04:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500869888001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500869888001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:48:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500869888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":124232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:48:12] local.INFO: GPS data processed {"connection_id":124232,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:48:12] local.INFO: Acknowledgment sent {"connection_id":124232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:48:43] local.INFO: TCP Data received {"connection_id":124232,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:48:43] local.INFO: Processing buffer {"connection_id":124232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:48:43] local.INFO: Packet analysis {"connection_id":124232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:48:43] local.INFO: Extracted packet for processing {"connection_id":124232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:48:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500869888001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:48:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783206824000,"timestamp_ms":1783206824000,"timestamp_seconds":1783206824,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f68c840"} 
[2026-07-05 04:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:48: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-07-05 04:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:48: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-07-05 04:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500869888001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500869888001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:48:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:48:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500869888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":124232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:48:43] local.INFO: GPS data processed {"connection_id":124232,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:48:43] local.INFO: Acknowledgment sent {"connection_id":124232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:49:11] local.INFO: TCP Data received {"connection_id":123049,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:49:11] local.INFO: Processing buffer {"connection_id":123049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:49:11] local.INFO: IMEI packet received {"connection_id":123049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":123049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:49:16] local.INFO: TCP Data received {"connection_id":123049,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:49:16] local.INFO: Processing buffer {"connection_id":123049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:49:16] local.INFO: IMEI packet received {"connection_id":123049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":123049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:49:17] local.INFO: TCP Data received {"connection_id":123049,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:49:17] local.INFO: Processing buffer {"connection_id":123049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:49:17] local.INFO: Packet analysis {"connection_id":123049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:49:17] local.INFO: Extracted packet for processing {"connection_id":123049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:49:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500869888001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:49:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783206824000,"timestamp_ms":1783206824000,"timestamp_seconds":1783206824,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f68c840"} 
[2026-07-05 04:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500869888001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500869888001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:49:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:49:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:49:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500869888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":123049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:49:17] local.INFO: GPS data processed {"connection_id":123049,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:49:17] local.INFO: Acknowledgment sent {"connection_id":123049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:49:21] local.INFO: TCP Data received {"connection_id":122324,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:49:21] local.INFO: Processing buffer {"connection_id":122324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:49:21] local.INFO: IMEI packet received {"connection_id":122324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":122324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:49:21] local.INFO: TCP Data received {"connection_id":123049,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:49:21] local.INFO: Processing buffer {"connection_id":123049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f68c840012cb2a2c007823a880048013b2e..."} 
[2026-07-05 04:49:21] local.INFO: Packet analysis {"connection_id":123049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:49:21] local.INFO: Extracted packet for processing {"connection_id":123049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f68"} 
[2026-07-05 04:49:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":72,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500869888001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783206824000,"timestamp_ms":1783206824000,"timestamp_seconds":1783206824,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f68c840"} 
[2026-07-05 04:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500869888001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500869888001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:49:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500869888001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":123049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:49:21] local.INFO: GPS data processed {"connection_id":123049,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:49:21] local.INFO: Acknowledgment sent {"connection_id":123049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:50:05] local.INFO: TCP Data received {"connection_id":123050,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:50:05] local.INFO: Processing buffer {"connection_id":123050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:50:05] local.INFO: IMEI packet received {"connection_id":123050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":123050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:50:07] local.INFO: TCP Data received {"connection_id":122325,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:50:07] local.INFO: Processing buffer {"connection_id":122325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:50:07] local.INFO: IMEI packet received {"connection_id":122325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":122325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:50:11] local.INFO: TCP Data received {"connection_id":122325,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:50:11] local.INFO: Processing buffer {"connection_id":122325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:50:11] local.INFO: IMEI packet received {"connection_id":122325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":122325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:50:12] local.INFO: TCP Data received {"connection_id":122325,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:50:12] local.INFO: Processing buffer {"connection_id":122325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:50:12] local.INFO: Packet analysis {"connection_id":122325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:50:12] local.INFO: Extracted packet for processing {"connection_id":122325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:50:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500946944001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783207125000,"timestamp_ms":1783207125000,"timestamp_seconds":1783207125,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f6d6008"} 
[2026-07-05 04:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500946944001,"66":24473,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500946944001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:50:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500946944001,"power":24473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":122325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:50:12] local.INFO: GPS data processed {"connection_id":122325,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:50:12] local.INFO: Acknowledgment sent {"connection_id":122325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:50:43] local.INFO: TCP Data received {"connection_id":122325,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:50:43] local.INFO: Processing buffer {"connection_id":122325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:50:43] local.INFO: Packet analysis {"connection_id":122325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:50:43] local.INFO: Extracted packet for processing {"connection_id":122325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:50:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500946944001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:50:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783207125000,"timestamp_ms":1783207125000,"timestamp_seconds":1783207125,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f6d6008"} 
[2026-07-05 04:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:50: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-07-05 04:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:50: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-07-05 04:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500946944001,"66":24473,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500946944001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:50:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:50:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500946944001,"power":24473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":122325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:50:43] local.INFO: GPS data processed {"connection_id":122325,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:50:43] local.INFO: Acknowledgment sent {"connection_id":122325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:51:08] local.INFO: TCP Data received {"connection_id":122253,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:51:08] local.INFO: Processing buffer {"connection_id":122253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:51:08] local.INFO: IMEI packet received {"connection_id":122253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":122253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:51:12] local.INFO: TCP Data received {"connection_id":122253,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:51:12] local.INFO: Processing buffer {"connection_id":122253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:51:12] local.INFO: IMEI packet received {"connection_id":122253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":122253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:51:13] local.INFO: TCP Data received {"connection_id":122253,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:51:13] local.INFO: Processing buffer {"connection_id":122253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:51:13] local.INFO: Packet analysis {"connection_id":122253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:51:13] local.INFO: Extracted packet for processing {"connection_id":122253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:51:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500946944001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783207125000,"timestamp_ms":1783207125000,"timestamp_seconds":1783207125,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f6d6008"} 
[2026-07-05 04:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500946944001,"66":24473,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500946944001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:51:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500946944001,"power":24473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":122253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:51:13] local.INFO: GPS data processed {"connection_id":122253,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:51:13] local.INFO: Acknowledgment sent {"connection_id":122253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:51:44] local.INFO: TCP Data received {"connection_id":122253,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:51:44] local.INFO: Processing buffer {"connection_id":122253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:51:44] local.INFO: Packet analysis {"connection_id":122253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:51:44] local.INFO: Extracted packet for processing {"connection_id":122253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:51:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500946944001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:51:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783207125000,"timestamp_ms":1783207125000,"timestamp_seconds":1783207125,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f6d6008"} 
[2026-07-05 04:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:51: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-07-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:51: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-07-05 04: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-07-05 04:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500946944001,"66":24473,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500946944001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:51:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:51:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500946944001,"power":24473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":122253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:51:44] local.INFO: GPS data processed {"connection_id":122253,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:51:44] local.INFO: Acknowledgment sent {"connection_id":122253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:52:06] local.INFO: TCP Data received {"connection_id":124234,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:52:06] local.INFO: Processing buffer {"connection_id":124234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:52:06] local.INFO: IMEI packet received {"connection_id":124234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":124234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:52:11] local.INFO: TCP Data received {"connection_id":124234,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:52:11] local.INFO: Processing buffer {"connection_id":124234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:52:11] local.INFO: IMEI packet received {"connection_id":124234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":124234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:52:12] local.INFO: TCP Data received {"connection_id":124234,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:52:12] local.INFO: Processing buffer {"connection_id":124234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:52:12] local.INFO: Packet analysis {"connection_id":124234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:52:12] local.INFO: Extracted packet for processing {"connection_id":124234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:52:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500946944001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783207125000,"timestamp_ms":1783207125000,"timestamp_seconds":1783207125,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f6d6008"} 
[2026-07-05 04:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500946944001,"66":24473,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500946944001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:52:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500946944001,"power":24473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":124234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:52:12] local.INFO: GPS data processed {"connection_id":124234,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:52:12] local.INFO: Acknowledgment sent {"connection_id":124234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:52:43] local.INFO: TCP Data received {"connection_id":124234,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:52:43] local.INFO: Processing buffer {"connection_id":124234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:52:43] local.INFO: Packet analysis {"connection_id":124234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:52:43] local.INFO: Extracted packet for processing {"connection_id":124234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:52:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:52: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-07-05 04:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500946944001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:52:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783207125000,"timestamp_ms":1783207125000,"timestamp_seconds":1783207125,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f6d6008"} 
[2026-07-05 04:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:52: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-07-05 04:52: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-07-05 04:52: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-07-05 04:52: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-07-05 04:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500946944001,"66":24473,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500946944001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:52:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:52:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:52:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500946944001,"power":24473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":124234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:52:43] local.INFO: GPS data processed {"connection_id":124234,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:52:43] local.INFO: Acknowledgment sent {"connection_id":124234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:53:11] local.INFO: TCP Data received {"connection_id":122255,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:53:11] local.INFO: Processing buffer {"connection_id":122255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:53:11] local.INFO: IMEI packet received {"connection_id":122255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":122255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:53:16] local.INFO: TCP Data received {"connection_id":122255,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:53:16] local.INFO: Processing buffer {"connection_id":122255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:53:16] local.INFO: IMEI packet received {"connection_id":122255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":122255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:53:17] local.INFO: TCP Data received {"connection_id":122255,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:53:17] local.INFO: Processing buffer {"connection_id":122255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:53:17] local.INFO: Packet analysis {"connection_id":122255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:53:17] local.INFO: Extracted packet for processing {"connection_id":122255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:53:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500946944001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:53:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783207125000,"timestamp_ms":1783207125000,"timestamp_seconds":1783207125,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f6d6008"} 
[2026-07-05 04:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500946944001,"66":24473,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500946944001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:53:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:53:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:53:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500946944001,"power":24473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":122255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:53:17] local.INFO: GPS data processed {"connection_id":122255,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:53:17] local.INFO: Acknowledgment sent {"connection_id":122255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:53:21] local.INFO: TCP Data received {"connection_id":122255,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:53:21] local.INFO: Processing buffer {"connection_id":122255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:53:21] local.INFO: Packet analysis {"connection_id":122255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:53:21] local.INFO: Extracted packet for processing {"connection_id":122255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:53:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500946944001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783207125000,"timestamp_ms":1783207125000,"timestamp_seconds":1783207125,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f6d6008"} 
[2026-07-05 04:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500946944001,"66":24473,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500946944001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:53:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500946944001,"power":24473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":122255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:53:21] local.INFO: GPS data processed {"connection_id":122255,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:53:21] local.INFO: Acknowledgment sent {"connection_id":122255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:54:06] local.INFO: TCP Data received {"connection_id":122256,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:54:06] local.INFO: Processing buffer {"connection_id":122256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:54:06] local.INFO: IMEI packet received {"connection_id":122256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":122256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:54:11] local.INFO: TCP Data received {"connection_id":122256,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:54:11] local.INFO: Processing buffer {"connection_id":122256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:54:11] local.INFO: IMEI packet received {"connection_id":122256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":122256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:54:12] local.INFO: TCP Data received {"connection_id":122256,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:54:12] local.INFO: Processing buffer {"connection_id":122256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f6d6008012cb2a2c007823a880047013b2c..."} 
[2026-07-05 04:54:12] local.INFO: Packet analysis {"connection_id":122256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:54:12] local.INFO: Extracted packet for processing {"connection_id":122256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f6d"} 
[2026-07-05 04:54:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456500946944001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783207125000,"timestamp_ms":1783207125000,"timestamp_seconds":1783207125,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f6d6008"} 
[2026-07-05 04:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456500946944001,"66":24473,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456500946944001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:54:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456500946944001,"power":24473,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":122256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:54:12] local.INFO: GPS data processed {"connection_id":122256,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:54:12] local.INFO: Acknowledgment sent {"connection_id":122256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:54:43] local.INFO: TCP Data received {"connection_id":122256,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:54:43] local.INFO: Processing buffer {"connection_id":122256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:54:43] local.INFO: Packet analysis {"connection_id":122256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:54:43] local.INFO: Extracted packet for processing {"connection_id":122256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:54:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501024000001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783207426000,"timestamp_ms":1783207426000,"timestamp_seconds":1783207426,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f71f7d0"} 
[2026-07-05 04:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:54: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-07-05 04:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 04:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501024000001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501024000001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:54:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501024000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":122256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:54:43] local.INFO: GPS data processed {"connection_id":122256,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:54:43] local.INFO: Acknowledgment sent {"connection_id":122256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:55:06] local.INFO: TCP Data received {"connection_id":122328,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:55:06] local.INFO: Processing buffer {"connection_id":122328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:55:06] local.INFO: IMEI packet received {"connection_id":122328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":122328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:55:11] local.INFO: TCP Data received {"connection_id":122328,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:55:11] local.INFO: Processing buffer {"connection_id":122328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:55:11] local.INFO: IMEI packet received {"connection_id":122328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":122328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:55:12] local.INFO: TCP Data received {"connection_id":122328,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:55:12] local.INFO: Processing buffer {"connection_id":122328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:55:12] local.INFO: Packet analysis {"connection_id":122328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:55:12] local.INFO: Extracted packet for processing {"connection_id":122328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:55:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501024000001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783207426000,"timestamp_ms":1783207426000,"timestamp_seconds":1783207426,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f71f7d0"} 
[2026-07-05 04:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 04:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501024000001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501024000001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:55:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501024000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":122328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:55:12] local.INFO: GPS data processed {"connection_id":122328,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:55:12] local.INFO: Acknowledgment sent {"connection_id":122328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:55:31] local.INFO: TCP Data received {"connection_id":122257,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:55:31] local.INFO: Processing buffer {"connection_id":122257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:55:31] local.INFO: IMEI packet received {"connection_id":122257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":122257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:55:44] local.INFO: TCP Data received {"connection_id":122328,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:55:44] local.INFO: Processing buffer {"connection_id":122328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:55:44] local.INFO: Packet analysis {"connection_id":122328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:55:44] local.INFO: Extracted packet for processing {"connection_id":122328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:55:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501024000001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:55:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783207426000,"timestamp_ms":1783207426000,"timestamp_seconds":1783207426,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f71f7d0"} 
[2026-07-05 04:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:55: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-07-05 04:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 04:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501024000001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501024000001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:55:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:55:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:55:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501024000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":122328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:55:44] local.INFO: GPS data processed {"connection_id":122328,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:55:44] local.INFO: Acknowledgment sent {"connection_id":122328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:56:06] local.INFO: TCP Data received {"connection_id":123052,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:56:06] local.INFO: Processing buffer {"connection_id":123052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 04:56:06] local.INFO: IMEI packet received {"connection_id":123052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 04:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":123052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:56:06] local.INFO: TCP Data received {"connection_id":122329,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:56:06] local.INFO: Processing buffer {"connection_id":122329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:56:06] local.INFO: IMEI packet received {"connection_id":122329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":122329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:56:11] local.INFO: TCP Data received {"connection_id":122329,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:56:11] local.INFO: Processing buffer {"connection_id":122329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:56:11] local.INFO: IMEI packet received {"connection_id":122329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":122329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:56:12] local.INFO: TCP Data received {"connection_id":122329,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:56:12] local.INFO: Processing buffer {"connection_id":122329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:56:12] local.INFO: Packet analysis {"connection_id":122329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:56:12] local.INFO: Extracted packet for processing {"connection_id":122329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:56:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501024000001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783207426000,"timestamp_ms":1783207426000,"timestamp_seconds":1783207426,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f71f7d0"} 
[2026-07-05 04:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 04:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501024000001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501024000001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:56:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501024000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":122329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:56:12] local.INFO: GPS data processed {"connection_id":122329,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:56:12] local.INFO: Acknowledgment sent {"connection_id":122329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:56:44] local.INFO: TCP Data received {"connection_id":122329,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:56:44] local.INFO: Processing buffer {"connection_id":122329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:56:44] local.INFO: Packet analysis {"connection_id":122329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:56:44] local.INFO: Extracted packet for processing {"connection_id":122329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:56:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501024000001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:56:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783207426000,"timestamp_ms":1783207426000,"timestamp_seconds":1783207426,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f71f7d0"} 
[2026-07-05 04:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:56: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-07-05 04:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 04:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501024000001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501024000001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:56:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:56:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:56:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501024000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":122329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:56:44] local.INFO: GPS data processed {"connection_id":122329,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:56:44] local.INFO: Acknowledgment sent {"connection_id":122329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:57:11] local.INFO: TCP Data received {"connection_id":123053,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:57:11] local.INFO: Processing buffer {"connection_id":123053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:57:11] local.INFO: IMEI packet received {"connection_id":123053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":123053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:57:16] local.INFO: TCP Data received {"connection_id":123053,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:57:16] local.INFO: Processing buffer {"connection_id":123053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:57:16] local.INFO: IMEI packet received {"connection_id":123053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":123053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:57:17] local.INFO: TCP Data received {"connection_id":123053,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:57:17] local.INFO: Processing buffer {"connection_id":123053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:57:17] local.INFO: Packet analysis {"connection_id":123053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:57:17] local.INFO: Extracted packet for processing {"connection_id":123053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:57:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501024000001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783207426000,"timestamp_ms":1783207426000,"timestamp_seconds":1783207426,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f71f7d0"} 
[2026-07-05 04:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 04:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501024000001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501024000001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:57:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:57:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501024000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":123053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:57:17] local.INFO: GPS data processed {"connection_id":123053,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:57:17] local.INFO: Acknowledgment sent {"connection_id":123053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:57:21] local.INFO: TCP Data received {"connection_id":123053,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:57:21] local.INFO: Processing buffer {"connection_id":123053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:57:21] local.INFO: Packet analysis {"connection_id":123053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:57:21] local.INFO: Extracted packet for processing {"connection_id":123053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:57:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04: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-07-05 04:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501024000001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783207426000,"timestamp_ms":1783207426000,"timestamp_seconds":1783207426,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f71f7d0"} 
[2026-07-05 04:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04: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":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 04:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04: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-07-05 04:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501024000001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501024000001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:57:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501024000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":123053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:57:21] local.INFO: GPS data processed {"connection_id":123053,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:57:21] local.INFO: Acknowledgment sent {"connection_id":123053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:58:06] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:58:06] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:58:06] local.INFO: IMEI packet received {"connection_id":124236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":124236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:58:11] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:58:11] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:58:11] local.INFO: IMEI packet received {"connection_id":124236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":124236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:58:12] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:58:12] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:58:12] local.INFO: Packet analysis {"connection_id":124236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:58:12] local.INFO: Extracted packet for processing {"connection_id":124236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:58:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501024000001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783207426000,"timestamp_ms":1783207426000,"timestamp_seconds":1783207426,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f71f7d0"} 
[2026-07-05 04:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 04:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501024000001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501024000001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:58:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:58:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501024000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":124236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:58:12] local.INFO: GPS data processed {"connection_id":124236,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:58:12] local.INFO: Acknowledgment sent {"connection_id":124236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:58:43] local.INFO: TCP Data received {"connection_id":124236,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:58:43] local.INFO: Processing buffer {"connection_id":124236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:58:43] local.INFO: Packet analysis {"connection_id":124236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:58:43] local.INFO: Extracted packet for processing {"connection_id":124236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:58:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501024000001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:58:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783207426000,"timestamp_ms":1783207426000,"timestamp_seconds":1783207426,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f71f7d0"} 
[2026-07-05 04:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:58: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-07-05 04:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 04:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501024000001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501024000001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:58:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:58:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501024000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":124236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:58:43] local.INFO: GPS data processed {"connection_id":124236,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:58:43] local.INFO: Acknowledgment sent {"connection_id":124236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:59:06] local.INFO: TCP Data received {"connection_id":122259,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:59:06] local.INFO: Processing buffer {"connection_id":122259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:59:06] local.INFO: IMEI packet received {"connection_id":122259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 04:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":122259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 04:59:11] local.INFO: TCP Data received {"connection_id":122259,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:59:11] local.INFO: Processing buffer {"connection_id":122259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 04:59:11] local.INFO: IMEI packet received {"connection_id":122259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 04:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":122259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 04:59:12] local.INFO: TCP Data received {"connection_id":122259,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:59:12] local.INFO: Processing buffer {"connection_id":122259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f71f7d0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 04:59:12] local.INFO: Packet analysis {"connection_id":122259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:59:12] local.INFO: Extracted packet for processing {"connection_id":122259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f71"} 
[2026-07-05 04:59:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501024000001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783207426000,"timestamp_ms":1783207426000,"timestamp_seconds":1783207426,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f71f7d0"} 
[2026-07-05 04:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 04:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 04:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2050,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501024000001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501024000001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:59:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501024000001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":122259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:59:12] local.INFO: GPS data processed {"connection_id":122259,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:59:12] local.INFO: Acknowledgment sent {"connection_id":122259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 04:59:43] local.INFO: TCP Data received {"connection_id":122259,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 04:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 04:59:43] local.INFO: Processing buffer {"connection_id":122259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 04:59:43] local.INFO: Packet analysis {"connection_id":122259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 04:59:43] local.INFO: Extracted packet for processing {"connection_id":122259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 04:59:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 04:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 04:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501101056001,"note":"Value kept but may cause issues"} 
[2026-07-05 04:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 04:59:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 04:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 04:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783207727000,"timestamp_ms":1783207727000,"timestamp_seconds":1783207727,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f768f98"} 
[2026-07-05 04:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 04:59: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-07-05 04:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 04:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 04:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 04:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 04:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 04:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 04:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 04:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 04:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 04:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 04:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501101056001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 04:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 04:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 04:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501101056001,"description":"Unknown IO ID 0"} 
[2026-07-05 04:59:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 04:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 04:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 04:59:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 04:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501101056001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 04:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":122259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 04:59:43] local.INFO: GPS data processed {"connection_id":122259,"processed":1,"errors":0,"total":1} 
[2026-07-05 04:59:43] local.INFO: Acknowledgment sent {"connection_id":122259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:00:06] local.INFO: TCP Data received {"connection_id":123055,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:00:06] local.INFO: Processing buffer {"connection_id":123055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:00:06] local.INFO: IMEI packet received {"connection_id":123055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":123055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:00:11] local.INFO: TCP Data received {"connection_id":123055,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:00:11] local.INFO: Processing buffer {"connection_id":123055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:00:11] local.INFO: IMEI packet received {"connection_id":123055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":123055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:00:12] local.INFO: TCP Data received {"connection_id":123055,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:00:12] local.INFO: Processing buffer {"connection_id":123055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:00:12] local.INFO: Packet analysis {"connection_id":123055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:00:12] local.INFO: Extracted packet for processing {"connection_id":123055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:00:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501101056001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783207727000,"timestamp_ms":1783207727000,"timestamp_seconds":1783207727,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f768f98"} 
[2026-07-05 05:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501101056001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501101056001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:00:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501101056001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":123055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:00:12] local.INFO: GPS data processed {"connection_id":123055,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:00:12] local.INFO: Acknowledgment sent {"connection_id":123055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:00:43] local.INFO: TCP Data received {"connection_id":123055,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:00:43] local.INFO: Processing buffer {"connection_id":123055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:00:43] local.INFO: Packet analysis {"connection_id":123055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:00:43] local.INFO: Extracted packet for processing {"connection_id":123055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:00:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501101056001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783207727000,"timestamp_ms":1783207727000,"timestamp_seconds":1783207727,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f768f98"} 
[2026-07-05 05:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:00: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-07-05 05:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501101056001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501101056001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:00:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501101056001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":123055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:00:43] local.INFO: GPS data processed {"connection_id":123055,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:00:43] local.INFO: Acknowledgment sent {"connection_id":123055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:01:11] local.INFO: TCP Data received {"connection_id":122331,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:01:11] local.INFO: Processing buffer {"connection_id":122331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:01:11] local.INFO: IMEI packet received {"connection_id":122331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":122331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:01:16] local.INFO: TCP Data received {"connection_id":122331,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:01:16] local.INFO: Processing buffer {"connection_id":122331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:01:16] local.INFO: IMEI packet received {"connection_id":122331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":122331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:01:17] local.INFO: TCP Data received {"connection_id":122331,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:01:17] local.INFO: Processing buffer {"connection_id":122331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:01:17] local.INFO: Packet analysis {"connection_id":122331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:01:17] local.INFO: Extracted packet for processing {"connection_id":122331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:01:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501101056001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:01:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783207727000,"timestamp_ms":1783207727000,"timestamp_seconds":1783207727,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f768f98"} 
[2026-07-05 05:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501101056001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501101056001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:01:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:01:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:01:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501101056001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":122331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:01:17] local.INFO: GPS data processed {"connection_id":122331,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:01:17] local.INFO: Acknowledgment sent {"connection_id":122331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:01:21] local.INFO: TCP Data received {"connection_id":122331,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:01:21] local.INFO: Processing buffer {"connection_id":122331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:01:21] local.INFO: Packet analysis {"connection_id":122331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:01:21] local.INFO: Extracted packet for processing {"connection_id":122331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:01:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501101056001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783207727000,"timestamp_ms":1783207727000,"timestamp_seconds":1783207727,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f768f98"} 
[2026-07-05 05:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501101056001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501101056001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:01:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501101056001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":122331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:01:21] local.INFO: GPS data processed {"connection_id":122331,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:01:21] local.INFO: Acknowledgment sent {"connection_id":122331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:01:25] local.INFO: TCP Data received {"connection_id":124237,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:01:25] local.INFO: Processing buffer {"connection_id":124237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:01:25] local.INFO: IMEI packet received {"connection_id":124237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":124237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:02:05] local.INFO: TCP Data received {"connection_id":124239,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:02:05] local.INFO: Processing buffer {"connection_id":124239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:02:05] local.INFO: IMEI packet received {"connection_id":124239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":124239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:02:06] local.INFO: TCP Data received {"connection_id":124238,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:02:06] local.INFO: Processing buffer {"connection_id":124238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:02:06] local.INFO: IMEI packet received {"connection_id":124238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":124238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:02:13] local.INFO: TCP Data received {"connection_id":124238,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:02:13] local.INFO: Processing buffer {"connection_id":124238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:02:13] local.INFO: IMEI packet received {"connection_id":124238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":124238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:02:13] local.INFO: TCP Data received {"connection_id":124238,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:02:13] local.INFO: Processing buffer {"connection_id":124238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:02:13] local.INFO: Packet analysis {"connection_id":124238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:02:13] local.INFO: Extracted packet for processing {"connection_id":124238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:02:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501101056001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:02:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783207727000,"timestamp_ms":1783207727000,"timestamp_seconds":1783207727,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f768f98"} 
[2026-07-05 05:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501101056001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501101056001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:02:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:02:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:02:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501101056001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":124238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:02:13] local.INFO: GPS data processed {"connection_id":124238,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:02:13] local.INFO: Acknowledgment sent {"connection_id":124238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:02:44] local.INFO: TCP Data received {"connection_id":124238,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:02:44] local.INFO: Processing buffer {"connection_id":124238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:02:44] local.INFO: Packet analysis {"connection_id":124238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:02:44] local.INFO: Extracted packet for processing {"connection_id":124238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:02:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501101056001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:02:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783207727000,"timestamp_ms":1783207727000,"timestamp_seconds":1783207727,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f768f98"} 
[2026-07-05 05:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:02: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-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:02: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-07-05 05: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-07-05 05:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501101056001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501101056001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:02:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:02:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:02:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501101056001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":124238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:02:44] local.INFO: GPS data processed {"connection_id":124238,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:02:44] local.INFO: Acknowledgment sent {"connection_id":124238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:03:06] local.INFO: TCP Data received {"connection_id":123056,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:03:06] local.INFO: Processing buffer {"connection_id":123056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:03:06] local.INFO: IMEI packet received {"connection_id":123056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":123056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:03:11] local.INFO: TCP Data received {"connection_id":123056,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:03:11] local.INFO: Processing buffer {"connection_id":123056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:03:11] local.INFO: IMEI packet received {"connection_id":123056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":123056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:03:12] local.INFO: TCP Data received {"connection_id":123056,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:03:12] local.INFO: Processing buffer {"connection_id":123056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:03:12] local.INFO: Packet analysis {"connection_id":123056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:03:12] local.INFO: Extracted packet for processing {"connection_id":123056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:03:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501101056001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783207727000,"timestamp_ms":1783207727000,"timestamp_seconds":1783207727,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f768f98"} 
[2026-07-05 05:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501101056001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501101056001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:03:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501101056001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":123056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:03:12] local.INFO: GPS data processed {"connection_id":123056,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:03:12] local.INFO: Acknowledgment sent {"connection_id":123056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:03:43] local.INFO: TCP Data received {"connection_id":123056,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:03:43] local.INFO: Processing buffer {"connection_id":123056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:03:43] local.INFO: Packet analysis {"connection_id":123056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:03:43] local.INFO: Extracted packet for processing {"connection_id":123056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:03:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501101056001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:03:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783207727000,"timestamp_ms":1783207727000,"timestamp_seconds":1783207727,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f768f98"} 
[2026-07-05 05:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:03: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-07-05 05:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501101056001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501101056001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:03:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:03:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501101056001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":123056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:03:43] local.INFO: GPS data processed {"connection_id":123056,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:03:43] local.INFO: Acknowledgment sent {"connection_id":123056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:04:06] local.INFO: TCP Data received {"connection_id":122261,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:04:06] local.INFO: Processing buffer {"connection_id":122261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:04:06] local.INFO: IMEI packet received {"connection_id":122261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":122261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:04:11] local.INFO: TCP Data received {"connection_id":122261,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:04:11] local.INFO: Processing buffer {"connection_id":122261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:04:11] local.INFO: IMEI packet received {"connection_id":122261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":122261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:04:12] local.INFO: TCP Data received {"connection_id":122261,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:04:12] local.INFO: Processing buffer {"connection_id":122261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f768f98012cb2a2c007823a880047013b2e..."} 
[2026-07-05 05:04:12] local.INFO: Packet analysis {"connection_id":122261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:04:12] local.INFO: Extracted packet for processing {"connection_id":122261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f76"} 
[2026-07-05 05:04:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501101056001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783207727000,"timestamp_ms":1783207727000,"timestamp_seconds":1783207727,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f768f98"} 
[2026-07-05 05:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501101056001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501101056001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:04:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501101056001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":122261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:04:12] local.INFO: GPS data processed {"connection_id":122261,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:04:12] local.INFO: Acknowledgment sent {"connection_id":122261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:04:45] local.INFO: TCP Data received {"connection_id":122261,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:04:45] local.INFO: Processing buffer {"connection_id":122261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:04:45] local.INFO: Packet analysis {"connection_id":122261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:04:45] local.INFO: Extracted packet for processing {"connection_id":122261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:04:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501178112001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783208028000,"timestamp_ms":1783208028000,"timestamp_seconds":1783208028,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7b2760"} 
[2026-07-05 05:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501178112001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501178112001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:04:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:04:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:04:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501178112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":122261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:04:45] local.INFO: GPS data processed {"connection_id":122261,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:04:45] local.INFO: Acknowledgment sent {"connection_id":122261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:05:06] local.INFO: TCP Data received {"connection_id":123057,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:05:06] local.INFO: Processing buffer {"connection_id":123057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:05:06] local.INFO: IMEI packet received {"connection_id":123057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":123057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:05:11] local.INFO: TCP Data received {"connection_id":123057,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:05:11] local.INFO: Processing buffer {"connection_id":123057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:05:11] local.INFO: IMEI packet received {"connection_id":123057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":123057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:05:12] local.INFO: TCP Data received {"connection_id":123057,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:05:12] local.INFO: Processing buffer {"connection_id":123057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:05:12] local.INFO: Packet analysis {"connection_id":123057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:05:12] local.INFO: Extracted packet for processing {"connection_id":123057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:05:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501178112001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208028000,"timestamp_ms":1783208028000,"timestamp_seconds":1783208028,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7b2760"} 
[2026-07-05 05:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501178112001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501178112001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:05:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501178112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":123057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:05:12] local.INFO: GPS data processed {"connection_id":123057,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:05:12] local.INFO: Acknowledgment sent {"connection_id":123057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:05:43] local.INFO: TCP Data received {"connection_id":123057,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:05:43] local.INFO: Processing buffer {"connection_id":123057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:05:43] local.INFO: Packet analysis {"connection_id":123057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:05:43] local.INFO: Extracted packet for processing {"connection_id":123057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:05:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501178112001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208028000,"timestamp_ms":1783208028000,"timestamp_seconds":1783208028,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7b2760"} 
[2026-07-05 05:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:05: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-07-05 05:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:05: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-07-05 05:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501178112001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501178112001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:05:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501178112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":123057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:05:43] local.INFO: GPS data processed {"connection_id":123057,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:05:43] local.INFO: Acknowledgment sent {"connection_id":123057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:06:07] local.INFO: TCP Data received {"connection_id":122333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:06:07] local.INFO: Processing buffer {"connection_id":122333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:06:07] local.INFO: IMEI packet received {"connection_id":122333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":122333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:06:11] local.INFO: TCP Data received {"connection_id":122333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:06:11] local.INFO: Processing buffer {"connection_id":122333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:06:11] local.INFO: IMEI packet received {"connection_id":122333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":122333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:06:12] local.INFO: TCP Data received {"connection_id":122333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:06:12] local.INFO: Processing buffer {"connection_id":122333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:06:12] local.INFO: Packet analysis {"connection_id":122333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:06:12] local.INFO: Extracted packet for processing {"connection_id":122333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:06:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501178112001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208028000,"timestamp_ms":1783208028000,"timestamp_seconds":1783208028,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7b2760"} 
[2026-07-05 05:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501178112001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501178112001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:06:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501178112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":122333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:06:12] local.INFO: GPS data processed {"connection_id":122333,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:06:12] local.INFO: Acknowledgment sent {"connection_id":122333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:06:43] local.INFO: TCP Data received {"connection_id":122333,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:06:43] local.INFO: Processing buffer {"connection_id":122333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:06:43] local.INFO: Packet analysis {"connection_id":122333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:06:43] local.INFO: Extracted packet for processing {"connection_id":122333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:06:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501178112001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208028000,"timestamp_ms":1783208028000,"timestamp_seconds":1783208028,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7b2760"} 
[2026-07-05 05:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:06: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-07-05 05:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501178112001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501178112001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:06:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:06:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501178112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":122333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:06:43] local.INFO: GPS data processed {"connection_id":122333,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:06:43] local.INFO: Acknowledgment sent {"connection_id":122333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:07:06] local.INFO: TCP Data received {"connection_id":123059,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:07:06] local.INFO: Processing buffer {"connection_id":123059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:07:06] local.INFO: IMEI packet received {"connection_id":123059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":123059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:07:11] local.INFO: TCP Data received {"connection_id":123059,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:07:11] local.INFO: Processing buffer {"connection_id":123059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:07:11] local.INFO: IMEI packet received {"connection_id":123059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":123059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:07:12] local.INFO: TCP Data received {"connection_id":123059,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:07:12] local.INFO: Processing buffer {"connection_id":123059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:07:12] local.INFO: Packet analysis {"connection_id":123059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:07:12] local.INFO: Extracted packet for processing {"connection_id":123059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:07:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501178112001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:07:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208028000,"timestamp_ms":1783208028000,"timestamp_seconds":1783208028,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7b2760"} 
[2026-07-05 05:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501178112001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501178112001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:07:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:07:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501178112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":123059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:07:12] local.INFO: GPS data processed {"connection_id":123059,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:07:12] local.INFO: Acknowledgment sent {"connection_id":123059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:07:30] local.INFO: TCP Data received {"connection_id":122262,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:07:30] local.INFO: Processing buffer {"connection_id":122262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:07:30] local.INFO: IMEI packet received {"connection_id":122262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":122262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:07:43] local.INFO: TCP Data received {"connection_id":123059,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:07:43] local.INFO: Processing buffer {"connection_id":123059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:07:43] local.INFO: Packet analysis {"connection_id":123059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:07:43] local.INFO: Extracted packet for processing {"connection_id":123059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:07:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501178112001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:07:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208028000,"timestamp_ms":1783208028000,"timestamp_seconds":1783208028,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7b2760"} 
[2026-07-05 05:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:07: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-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:07: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-07-05 05: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-07-05 05:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501178112001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501178112001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:07:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:07:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501178112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":123059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:07:43] local.INFO: GPS data processed {"connection_id":123059,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:07:43] local.INFO: Acknowledgment sent {"connection_id":123059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:08:05] local.INFO: TCP Data received {"connection_id":122263,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:08:05] local.INFO: Processing buffer {"connection_id":122263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:08:05] local.INFO: IMEI packet received {"connection_id":122263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":122263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:08:06] local.INFO: TCP Data received {"connection_id":122264,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:08:06] local.INFO: Processing buffer {"connection_id":122264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:08:06] local.INFO: IMEI packet received {"connection_id":122264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":122264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:08:11] local.INFO: TCP Data received {"connection_id":122264,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:08:11] local.INFO: Processing buffer {"connection_id":122264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:08:11] local.INFO: IMEI packet received {"connection_id":122264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":122264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:08:12] local.INFO: TCP Data received {"connection_id":122264,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:08:12] local.INFO: Processing buffer {"connection_id":122264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:08:12] local.INFO: Packet analysis {"connection_id":122264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:08:12] local.INFO: Extracted packet for processing {"connection_id":122264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:08:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501178112001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208028000,"timestamp_ms":1783208028000,"timestamp_seconds":1783208028,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7b2760"} 
[2026-07-05 05:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501178112001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501178112001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:08:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501178112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":122264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:08:12] local.INFO: GPS data processed {"connection_id":122264,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:08:12] local.INFO: Acknowledgment sent {"connection_id":122264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:08:43] local.INFO: TCP Data received {"connection_id":122264,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:08:43] local.INFO: Processing buffer {"connection_id":122264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:08:43] local.INFO: Packet analysis {"connection_id":122264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:08:43] local.INFO: Extracted packet for processing {"connection_id":122264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:08:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501178112001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:08:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208028000,"timestamp_ms":1783208028000,"timestamp_seconds":1783208028,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7b2760"} 
[2026-07-05 05:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:08: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-07-05 05:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501178112001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501178112001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:08:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:08:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:08:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501178112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":122264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:08:43] local.INFO: GPS data processed {"connection_id":122264,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:08:43] local.INFO: Acknowledgment sent {"connection_id":122264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:09:11] local.INFO: TCP Data received {"connection_id":122335,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:09:11] local.INFO: Processing buffer {"connection_id":122335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:09:11] local.INFO: IMEI packet received {"connection_id":122335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":122335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:09:16] local.INFO: TCP Data received {"connection_id":122335,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:09:16] local.INFO: Processing buffer {"connection_id":122335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:09:16] local.INFO: IMEI packet received {"connection_id":122335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":122335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:09:17] local.INFO: TCP Data received {"connection_id":122335,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:09:17] local.INFO: Processing buffer {"connection_id":122335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:09:17] local.INFO: Packet analysis {"connection_id":122335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:09:17] local.INFO: Extracted packet for processing {"connection_id":122335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:09:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501178112001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:09:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783208028000,"timestamp_ms":1783208028000,"timestamp_seconds":1783208028,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7b2760"} 
[2026-07-05 05:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501178112001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501178112001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:09:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:09:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:09:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501178112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":122335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:09:17] local.INFO: GPS data processed {"connection_id":122335,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:09:17] local.INFO: Acknowledgment sent {"connection_id":122335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:09:22] local.INFO: TCP Data received {"connection_id":122335,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:09:22] local.INFO: Processing buffer {"connection_id":122335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7b2760012cb2a2c007823a880047013b29..."} 
[2026-07-05 05:09:22] local.INFO: Packet analysis {"connection_id":122335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:09:22] local.INFO: Extracted packet for processing {"connection_id":122335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7b"} 
[2026-07-05 05:09:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501178112001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:09:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783208028000,"timestamp_ms":1783208028000,"timestamp_seconds":1783208028,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7b2760"} 
[2026-07-05 05:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501178112001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501178112001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:09:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:09:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:09:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501178112001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":122335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:09:22] local.INFO: GPS data processed {"connection_id":122335,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:09:22] local.INFO: Acknowledgment sent {"connection_id":122335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:10:06] local.INFO: TCP Data received {"connection_id":123060,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:10:06] local.INFO: Processing buffer {"connection_id":123060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:10:06] local.INFO: IMEI packet received {"connection_id":123060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":123060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:10:11] local.INFO: TCP Data received {"connection_id":123060,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:10:11] local.INFO: Processing buffer {"connection_id":123060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:10:11] local.INFO: IMEI packet received {"connection_id":123060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":123060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:10:12] local.INFO: TCP Data received {"connection_id":123060,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:10:12] local.INFO: Processing buffer {"connection_id":123060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:10:12] local.INFO: Packet analysis {"connection_id":123060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:10:12] local.INFO: Extracted packet for processing {"connection_id":123060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:10:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501255168001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208329000,"timestamp_ms":1783208329000,"timestamp_seconds":1783208329,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7fbf28"} 
[2026-07-05 05:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501255168001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501255168001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:10:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501255168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":123060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:10:12] local.INFO: GPS data processed {"connection_id":123060,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:10:12] local.INFO: Acknowledgment sent {"connection_id":123060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:10:43] local.INFO: TCP Data received {"connection_id":123060,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:10:43] local.INFO: Processing buffer {"connection_id":123060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:10:43] local.INFO: Packet analysis {"connection_id":123060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:10:43] local.INFO: Extracted packet for processing {"connection_id":123060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:10:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501255168001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:10:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208329000,"timestamp_ms":1783208329000,"timestamp_seconds":1783208329,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7fbf28"} 
[2026-07-05 05:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:10: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-07-05 05:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501255168001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501255168001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:10:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:10:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:10:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501255168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":123060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:10:43] local.INFO: GPS data processed {"connection_id":123060,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:10:43] local.INFO: Acknowledgment sent {"connection_id":123060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:11:06] local.INFO: TCP Data received {"connection_id":122336,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:11:06] local.INFO: Processing buffer {"connection_id":122336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:11:06] local.INFO: IMEI packet received {"connection_id":122336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":122336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:11:11] local.INFO: TCP Data received {"connection_id":122336,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:11:11] local.INFO: Processing buffer {"connection_id":122336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:11:11] local.INFO: IMEI packet received {"connection_id":122336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":122336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:11:12] local.INFO: TCP Data received {"connection_id":122336,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:11:12] local.INFO: Processing buffer {"connection_id":122336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:11:12] local.INFO: Packet analysis {"connection_id":122336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:11:12] local.INFO: Extracted packet for processing {"connection_id":122336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:11:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501255168001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208329000,"timestamp_ms":1783208329000,"timestamp_seconds":1783208329,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7fbf28"} 
[2026-07-05 05:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501255168001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501255168001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:11:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501255168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":122336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:11:12] local.INFO: GPS data processed {"connection_id":122336,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:11:12] local.INFO: Acknowledgment sent {"connection_id":122336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:11:43] local.INFO: TCP Data received {"connection_id":122336,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:11:43] local.INFO: Processing buffer {"connection_id":122336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:11:43] local.INFO: Packet analysis {"connection_id":122336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:11:43] local.INFO: Extracted packet for processing {"connection_id":122336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:11:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501255168001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208329000,"timestamp_ms":1783208329000,"timestamp_seconds":1783208329,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7fbf28"} 
[2026-07-05 05:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05: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-07-05 05: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-07-05 05: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-07-05 05: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-07-05 05:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501255168001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501255168001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:11:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501255168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":122336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:11:43] local.INFO: GPS data processed {"connection_id":122336,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:11:43] local.INFO: Acknowledgment sent {"connection_id":122336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:12:06] local.INFO: TCP Data received {"connection_id":123061,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:12:06] local.INFO: Processing buffer {"connection_id":123061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:12:06] local.INFO: IMEI packet received {"connection_id":123061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":123061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:12:11] local.INFO: TCP Data received {"connection_id":123061,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:12:11] local.INFO: Processing buffer {"connection_id":123061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:12:11] local.INFO: IMEI packet received {"connection_id":123061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":123061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:12:12] local.INFO: TCP Data received {"connection_id":123061,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:12:12] local.INFO: Processing buffer {"connection_id":123061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:12:12] local.INFO: Packet analysis {"connection_id":123061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:12:12] local.INFO: Extracted packet for processing {"connection_id":123061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:12:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501255168001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208329000,"timestamp_ms":1783208329000,"timestamp_seconds":1783208329,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7fbf28"} 
[2026-07-05 05:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501255168001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501255168001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:12:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501255168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":123061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:12:12] local.INFO: GPS data processed {"connection_id":123061,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:12:12] local.INFO: Acknowledgment sent {"connection_id":123061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:12:43] local.INFO: TCP Data received {"connection_id":123061,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:12:43] local.INFO: Processing buffer {"connection_id":123061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:12:43] local.INFO: Packet analysis {"connection_id":123061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:12:43] local.INFO: Extracted packet for processing {"connection_id":123061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:12:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:12: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-07-05 05:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501255168001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208329000,"timestamp_ms":1783208329000,"timestamp_seconds":1783208329,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7fbf28"} 
[2026-07-05 05:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:12: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-07-05 05:12: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-07-05 05:12: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-07-05 05:12: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-07-05 05:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501255168001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501255168001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:12:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:12:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501255168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":123061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:12:43] local.INFO: GPS data processed {"connection_id":123061,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:12:43] local.INFO: Acknowledgment sent {"connection_id":123061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:13:11] local.INFO: TCP Data received {"connection_id":122339,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:13:11] local.INFO: Processing buffer {"connection_id":122339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:13:11] local.INFO: IMEI packet received {"connection_id":122339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":122339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:13:16] local.INFO: TCP Data received {"connection_id":122339,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:13:16] local.INFO: Processing buffer {"connection_id":122339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:13:16] local.INFO: IMEI packet received {"connection_id":122339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":122339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:13:17] local.INFO: TCP Data received {"connection_id":122339,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:13:17] local.INFO: Processing buffer {"connection_id":122339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:13:17] local.INFO: Packet analysis {"connection_id":122339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:13:17] local.INFO: Extracted packet for processing {"connection_id":122339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:13:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501255168001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:13:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783208329000,"timestamp_ms":1783208329000,"timestamp_seconds":1783208329,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7fbf28"} 
[2026-07-05 05:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501255168001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501255168001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:13:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:13:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:13:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501255168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":122339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:13:17] local.INFO: GPS data processed {"connection_id":122339,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:13:17] local.INFO: Acknowledgment sent {"connection_id":122339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:13:21] local.INFO: TCP Data received {"connection_id":122339,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:13:21] local.INFO: Processing buffer {"connection_id":122339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:13:21] local.INFO: Packet analysis {"connection_id":122339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:13:21] local.INFO: Extracted packet for processing {"connection_id":122339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:13:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501255168001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783208329000,"timestamp_ms":1783208329000,"timestamp_seconds":1783208329,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7fbf28"} 
[2026-07-05 05:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501255168001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501255168001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:13:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501255168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":122339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:13:21] local.INFO: GPS data processed {"connection_id":122339,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:13:21] local.INFO: Acknowledgment sent {"connection_id":122339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:13:25] local.INFO: TCP Data received {"connection_id":122338,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:13:25] local.INFO: Processing buffer {"connection_id":122338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:13:25] local.INFO: IMEI packet received {"connection_id":122338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":122338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:14:05] local.INFO: TCP Data received {"connection_id":124242,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:14:05] local.INFO: Processing buffer {"connection_id":124242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:14:05] local.INFO: IMEI packet received {"connection_id":124242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":124242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:14:06] local.INFO: TCP Data received {"connection_id":122266,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:14:06] local.INFO: Processing buffer {"connection_id":122266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:14:06] local.INFO: IMEI packet received {"connection_id":122266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":122266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:14:11] local.INFO: TCP Data received {"connection_id":122266,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:14:11] local.INFO: Processing buffer {"connection_id":122266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:14:11] local.INFO: IMEI packet received {"connection_id":122266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":122266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:14:12] local.INFO: TCP Data received {"connection_id":122266,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:14:12] local.INFO: Processing buffer {"connection_id":122266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f7fbf28012cb2a2c007823a880047013b30..."} 
[2026-07-05 05:14:12] local.INFO: Packet analysis {"connection_id":122266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:14:12] local.INFO: Extracted packet for processing {"connection_id":122266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f7f"} 
[2026-07-05 05:14:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501255168001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208329000,"timestamp_ms":1783208329000,"timestamp_seconds":1783208329,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f7fbf28"} 
[2026-07-05 05:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501255168001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501255168001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:14:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501255168001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":122266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:14:12] local.INFO: GPS data processed {"connection_id":122266,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:14:12] local.INFO: Acknowledgment sent {"connection_id":122266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:14:43] local.INFO: TCP Data received {"connection_id":122266,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:14:43] local.INFO: Processing buffer {"connection_id":122266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:14:43] local.INFO: Packet analysis {"connection_id":122266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:14:43] local.INFO: Extracted packet for processing {"connection_id":122266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:14:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501332224001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:14:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208630000,"timestamp_ms":1783208630000,"timestamp_seconds":1783208630,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8456f0"} 
[2026-07-05 05:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:14: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-07-05 05:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501332224001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501332224001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:14:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:14:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501332224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":122266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:14:43] local.INFO: GPS data processed {"connection_id":122266,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:14:43] local.INFO: Acknowledgment sent {"connection_id":122266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:15:06] local.INFO: TCP Data received {"connection_id":124244,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:15:06] local.INFO: Processing buffer {"connection_id":124244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:15:06] local.INFO: IMEI packet received {"connection_id":124244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":124244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:15:11] local.INFO: TCP Data received {"connection_id":124244,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:15:11] local.INFO: Processing buffer {"connection_id":124244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:15:11] local.INFO: IMEI packet received {"connection_id":124244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":124244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:15:12] local.INFO: TCP Data received {"connection_id":124244,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:15:12] local.INFO: Processing buffer {"connection_id":124244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:15:12] local.INFO: Packet analysis {"connection_id":124244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:15:12] local.INFO: Extracted packet for processing {"connection_id":124244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501332224001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208630000,"timestamp_ms":1783208630000,"timestamp_seconds":1783208630,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8456f0"} 
[2026-07-05 05:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501332224001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501332224001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:15:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501332224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":124244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:15:12] local.INFO: GPS data processed {"connection_id":124244,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:15:12] local.INFO: Acknowledgment sent {"connection_id":124244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:15:43] local.INFO: TCP Data received {"connection_id":124244,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:15:43] local.INFO: Processing buffer {"connection_id":124244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:15:43] local.INFO: Packet analysis {"connection_id":124244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:15:43] local.INFO: Extracted packet for processing {"connection_id":124244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:15:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501332224001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:15:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208630000,"timestamp_ms":1783208630000,"timestamp_seconds":1783208630,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8456f0"} 
[2026-07-05 05:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:15: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-07-05 05:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501332224001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501332224001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:15:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:15:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501332224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":124244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:15:43] local.INFO: GPS data processed {"connection_id":124244,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:15:43] local.INFO: Acknowledgment sent {"connection_id":124244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:16:11] local.INFO: TCP Data received {"connection_id":124245,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:16:11] local.INFO: Processing buffer {"connection_id":124245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:16:11] local.INFO: IMEI packet received {"connection_id":124245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":124245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:16:16] local.INFO: TCP Data received {"connection_id":124245,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:16:16] local.INFO: Processing buffer {"connection_id":124245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:16:16] local.INFO: IMEI packet received {"connection_id":124245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":124245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:16:17] local.INFO: TCP Data received {"connection_id":124245,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:16:17] local.INFO: Processing buffer {"connection_id":124245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:16:17] local.INFO: Packet analysis {"connection_id":124245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:16:17] local.INFO: Extracted packet for processing {"connection_id":124245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:16:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501332224001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:16:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783208630000,"timestamp_ms":1783208630000,"timestamp_seconds":1783208630,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8456f0"} 
[2026-07-05 05:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501332224001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501332224001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:16:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:16:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:16:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501332224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":124245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:16:17] local.INFO: GPS data processed {"connection_id":124245,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:16:17] local.INFO: Acknowledgment sent {"connection_id":124245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:16:21] local.INFO: TCP Data received {"connection_id":124245,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:16:21] local.INFO: Processing buffer {"connection_id":124245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:16:21] local.INFO: Packet analysis {"connection_id":124245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:16:21] local.INFO: Extracted packet for processing {"connection_id":124245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:16:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501332224001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783208630000,"timestamp_ms":1783208630000,"timestamp_seconds":1783208630,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8456f0"} 
[2026-07-05 05:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501332224001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501332224001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:16:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501332224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":124245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:16:21] local.INFO: GPS data processed {"connection_id":124245,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:16:21] local.INFO: Acknowledgment sent {"connection_id":124245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:17:06] local.INFO: TCP Data received {"connection_id":123062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:17:06] local.INFO: Processing buffer {"connection_id":123062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:17:06] local.INFO: IMEI packet received {"connection_id":123062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":123062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:17:11] local.INFO: TCP Data received {"connection_id":123062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:17:11] local.INFO: Processing buffer {"connection_id":123062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:17:11] local.INFO: IMEI packet received {"connection_id":123062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":123062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:17:12] local.INFO: TCP Data received {"connection_id":123062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:17:12] local.INFO: Processing buffer {"connection_id":123062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:17:12] local.INFO: Packet analysis {"connection_id":123062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:17:12] local.INFO: Extracted packet for processing {"connection_id":123062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:17:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501332224001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208630000,"timestamp_ms":1783208630000,"timestamp_seconds":1783208630,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8456f0"} 
[2026-07-05 05:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501332224001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501332224001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:17:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501332224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":123062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:17:12] local.INFO: GPS data processed {"connection_id":123062,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:17:12] local.INFO: Acknowledgment sent {"connection_id":123062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:17:43] local.INFO: TCP Data received {"connection_id":123062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:17:43] local.INFO: Processing buffer {"connection_id":123062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:17:43] local.INFO: Packet analysis {"connection_id":123062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:17:43] local.INFO: Extracted packet for processing {"connection_id":123062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:17:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501332224001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208630000,"timestamp_ms":1783208630000,"timestamp_seconds":1783208630,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8456f0"} 
[2026-07-05 05:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:17: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-07-05 05:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501332224001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501332224001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:17:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:17:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501332224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":123062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:17:43] local.INFO: GPS data processed {"connection_id":123062,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:17:43] local.INFO: Acknowledgment sent {"connection_id":123062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:18:06] local.INFO: TCP Data received {"connection_id":122340,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:18:06] local.INFO: Processing buffer {"connection_id":122340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:18:06] local.INFO: IMEI packet received {"connection_id":122340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":122340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:18:11] local.INFO: TCP Data received {"connection_id":122340,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:18:11] local.INFO: Processing buffer {"connection_id":122340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:18:11] local.INFO: IMEI packet received {"connection_id":122340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":122340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:18:12] local.INFO: TCP Data received {"connection_id":122340,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:18:12] local.INFO: Processing buffer {"connection_id":122340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:18:12] local.INFO: Packet analysis {"connection_id":122340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:18:12] local.INFO: Extracted packet for processing {"connection_id":122340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:18:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501332224001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208630000,"timestamp_ms":1783208630000,"timestamp_seconds":1783208630,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8456f0"} 
[2026-07-05 05:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501332224001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501332224001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:18:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501332224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":122340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:18:12] local.INFO: GPS data processed {"connection_id":122340,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:18:12] local.INFO: Acknowledgment sent {"connection_id":122340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:18:43] local.INFO: TCP Data received {"connection_id":122340,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:18:43] local.INFO: Processing buffer {"connection_id":122340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:18:43] local.INFO: Packet analysis {"connection_id":122340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:18:43] local.INFO: Extracted packet for processing {"connection_id":122340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:18:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501332224001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:18:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208630000,"timestamp_ms":1783208630000,"timestamp_seconds":1783208630,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8456f0"} 
[2026-07-05 05:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:18: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-07-05 05:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501332224001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501332224001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:18:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:18:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501332224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":122340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:18:43] local.INFO: GPS data processed {"connection_id":122340,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:18:43] local.INFO: Acknowledgment sent {"connection_id":122340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:19:07] local.INFO: TCP Data received {"connection_id":122341,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:19:07] local.INFO: Processing buffer {"connection_id":122341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:19:07] local.INFO: IMEI packet received {"connection_id":122341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":122341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:19:11] local.INFO: TCP Data received {"connection_id":122341,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:19:11] local.INFO: Processing buffer {"connection_id":122341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:19:11] local.INFO: IMEI packet received {"connection_id":122341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":122341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:19:12] local.INFO: TCP Data received {"connection_id":122341,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:19:12] local.INFO: Processing buffer {"connection_id":122341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8456f0012cb2a2c007823a880047013b2f..."} 
[2026-07-05 05:19:12] local.INFO: Packet analysis {"connection_id":122341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:19:12] local.INFO: Extracted packet for processing {"connection_id":122341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f84"} 
[2026-07-05 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501332224001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208630000,"timestamp_ms":1783208630000,"timestamp_seconds":1783208630,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8456f0"} 
[2026-07-05 05:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501332224001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501332224001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:19:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501332224001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":122341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:19:12] local.INFO: GPS data processed {"connection_id":122341,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:19:12] local.INFO: Acknowledgment sent {"connection_id":122341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:19:35] local.INFO: TCP Data received {"connection_id":122342,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:19:35] local.INFO: Processing buffer {"connection_id":122342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:19:35] local.INFO: IMEI packet received {"connection_id":122342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":122342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:19:43] local.INFO: TCP Data received {"connection_id":122341,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:19:43] local.INFO: Processing buffer {"connection_id":122341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:19:43] local.INFO: Packet analysis {"connection_id":122341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:19:43] local.INFO: Extracted packet for processing {"connection_id":122341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:19:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501409280001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:19:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208931000,"timestamp_ms":1783208931000,"timestamp_seconds":1783208931,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f88eeb8"} 
[2026-07-05 05:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:19: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-07-05 05:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501409280001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501409280001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:19:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:19:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:19:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501409280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":122341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:19:43] local.INFO: GPS data processed {"connection_id":122341,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:19:43] local.INFO: Acknowledgment sent {"connection_id":122341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:20:05] local.INFO: TCP Data received {"connection_id":124247,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:20:05] local.INFO: Processing buffer {"connection_id":124247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:20:05] local.INFO: IMEI packet received {"connection_id":124247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":124247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:20:06] local.INFO: TCP Data received {"connection_id":124248,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:20:06] local.INFO: Processing buffer {"connection_id":124248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:20:06] local.INFO: IMEI packet received {"connection_id":124248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":124248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:20:11] local.INFO: TCP Data received {"connection_id":124248,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:20:11] local.INFO: Processing buffer {"connection_id":124248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:20:11] local.INFO: IMEI packet received {"connection_id":124248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":124248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:20:12] local.INFO: TCP Data received {"connection_id":124248,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:20:12] local.INFO: Processing buffer {"connection_id":124248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:20:12] local.INFO: Packet analysis {"connection_id":124248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:20:12] local.INFO: Extracted packet for processing {"connection_id":124248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:20:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501409280001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208931000,"timestamp_ms":1783208931000,"timestamp_seconds":1783208931,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f88eeb8"} 
[2026-07-05 05:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501409280001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501409280001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:20:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501409280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":124248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:20:12] local.INFO: GPS data processed {"connection_id":124248,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:20:12] local.INFO: Acknowledgment sent {"connection_id":124248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:20:43] local.INFO: TCP Data received {"connection_id":124248,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:20:43] local.INFO: Processing buffer {"connection_id":124248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:20:43] local.INFO: Packet analysis {"connection_id":124248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:20:43] local.INFO: Extracted packet for processing {"connection_id":124248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:20:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501409280001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:20:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208931000,"timestamp_ms":1783208931000,"timestamp_seconds":1783208931,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f88eeb8"} 
[2026-07-05 05:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:20: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-07-05 05:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:20: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-07-05 05:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501409280001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501409280001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:20:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:20:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501409280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":124248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:20:43] local.INFO: GPS data processed {"connection_id":124248,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:20:43] local.INFO: Acknowledgment sent {"connection_id":124248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:21:11] local.INFO: TCP Data received {"connection_id":122344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:21:11] local.INFO: Processing buffer {"connection_id":122344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:21:11] local.INFO: IMEI packet received {"connection_id":122344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":122344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:21:16] local.INFO: TCP Data received {"connection_id":122344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:21:16] local.INFO: Processing buffer {"connection_id":122344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:21:16] local.INFO: IMEI packet received {"connection_id":122344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":122344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:21:17] local.INFO: TCP Data received {"connection_id":122344,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:21:17] local.INFO: Processing buffer {"connection_id":122344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:21:17] local.INFO: Packet analysis {"connection_id":122344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:21:17] local.INFO: Extracted packet for processing {"connection_id":122344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:21:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501409280001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:21:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783208931000,"timestamp_ms":1783208931000,"timestamp_seconds":1783208931,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f88eeb8"} 
[2026-07-05 05:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501409280001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501409280001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:21:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:21:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:21:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501409280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":122344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:21:17] local.INFO: GPS data processed {"connection_id":122344,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:21:17] local.INFO: Acknowledgment sent {"connection_id":122344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:21:22] local.INFO: TCP Data received {"connection_id":122344,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:21:22] local.INFO: Processing buffer {"connection_id":122344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:21:22] local.INFO: Packet analysis {"connection_id":122344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:21:22] local.INFO: Extracted packet for processing {"connection_id":122344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:21:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501409280001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:21:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783208931000,"timestamp_ms":1783208931000,"timestamp_seconds":1783208931,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f88eeb8"} 
[2026-07-05 05:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501409280001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501409280001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:21:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:21:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:21:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501409280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":122344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:21:22] local.INFO: GPS data processed {"connection_id":122344,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:21:22] local.INFO: Acknowledgment sent {"connection_id":122344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:22:06] local.INFO: TCP Data received {"connection_id":122268,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:22:06] local.INFO: Processing buffer {"connection_id":122268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:22:06] local.INFO: IMEI packet received {"connection_id":122268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":122268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:22:11] local.INFO: TCP Data received {"connection_id":122268,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:22:11] local.INFO: Processing buffer {"connection_id":122268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:22:11] local.INFO: IMEI packet received {"connection_id":122268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":122268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:22:12] local.INFO: TCP Data received {"connection_id":122268,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:22:12] local.INFO: Processing buffer {"connection_id":122268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:22:12] local.INFO: Packet analysis {"connection_id":122268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:22:12] local.INFO: Extracted packet for processing {"connection_id":122268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:22:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501409280001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208931000,"timestamp_ms":1783208931000,"timestamp_seconds":1783208931,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f88eeb8"} 
[2026-07-05 05:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501409280001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501409280001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:22:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501409280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":122268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:22:12] local.INFO: GPS data processed {"connection_id":122268,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:22:12] local.INFO: Acknowledgment sent {"connection_id":122268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:22:43] local.INFO: TCP Data received {"connection_id":122268,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:22:43] local.INFO: Processing buffer {"connection_id":122268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:22:43] local.INFO: Packet analysis {"connection_id":122268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:22:43] local.INFO: Extracted packet for processing {"connection_id":122268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:22:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501409280001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:22:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208931000,"timestamp_ms":1783208931000,"timestamp_seconds":1783208931,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f88eeb8"} 
[2026-07-05 05:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:22: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-07-05 05:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501409280001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501409280001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:22:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:22:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501409280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":122268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:22:43] local.INFO: GPS data processed {"connection_id":122268,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:22:43] local.INFO: Acknowledgment sent {"connection_id":122268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:23:06] local.INFO: TCP Data received {"connection_id":124250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:23:06] local.INFO: Processing buffer {"connection_id":124250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:23:06] local.INFO: IMEI packet received {"connection_id":124250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":124250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:23:11] local.INFO: TCP Data received {"connection_id":124250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:23:11] local.INFO: Processing buffer {"connection_id":124250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:23:11] local.INFO: IMEI packet received {"connection_id":124250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":124250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:23:12] local.INFO: TCP Data received {"connection_id":124250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:23:12] local.INFO: Processing buffer {"connection_id":124250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:23:12] local.INFO: Packet analysis {"connection_id":124250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:23:12] local.INFO: Extracted packet for processing {"connection_id":124250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:23:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501409280001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208931000,"timestamp_ms":1783208931000,"timestamp_seconds":1783208931,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f88eeb8"} 
[2026-07-05 05:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501409280001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501409280001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:23:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501409280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":124250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:23:12] local.INFO: GPS data processed {"connection_id":124250,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:23:12] local.INFO: Acknowledgment sent {"connection_id":124250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:23:43] local.INFO: TCP Data received {"connection_id":124250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:23:43] local.INFO: Processing buffer {"connection_id":124250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:23:43] local.INFO: Packet analysis {"connection_id":124250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:23:43] local.INFO: Extracted packet for processing {"connection_id":124250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:23:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501409280001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783208931000,"timestamp_ms":1783208931000,"timestamp_seconds":1783208931,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f88eeb8"} 
[2026-07-05 05:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:23: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-07-05 05:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:23: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-07-05 05:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501409280001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501409280001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:23:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:23:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501409280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":124250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:23:43] local.INFO: GPS data processed {"connection_id":124250,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:23:43] local.INFO: Acknowledgment sent {"connection_id":124250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:24:06] local.INFO: TCP Data received {"connection_id":122347,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:24:06] local.INFO: Processing buffer {"connection_id":122347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:24:06] local.INFO: IMEI packet received {"connection_id":122347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":122347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:24:11] local.INFO: TCP Data received {"connection_id":122347,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:24:11] local.INFO: Processing buffer {"connection_id":122347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:24:11] local.INFO: IMEI packet received {"connection_id":122347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":122347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:24:12] local.INFO: TCP Data received {"connection_id":122347,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:24:12] local.INFO: Processing buffer {"connection_id":122347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f88eeb8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:24:12] local.INFO: Packet analysis {"connection_id":122347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:24:12] local.INFO: Extracted packet for processing {"connection_id":122347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f88"} 
[2026-07-05 05:24:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501409280001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783208931000,"timestamp_ms":1783208931000,"timestamp_seconds":1783208931,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f88eeb8"} 
[2026-07-05 05:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501409280001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501409280001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:24:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501409280001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":122347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:24:12] local.INFO: GPS data processed {"connection_id":122347,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:24:12] local.INFO: Acknowledgment sent {"connection_id":122347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:24:43] local.INFO: TCP Data received {"connection_id":122347,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:24:43] local.INFO: Processing buffer {"connection_id":122347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:24:43] local.INFO: Packet analysis {"connection_id":122347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:24:43] local.INFO: Extracted packet for processing {"connection_id":122347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:24:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501486336001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783209232000,"timestamp_ms":1783209232000,"timestamp_seconds":1783209232,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8d8680"} 
[2026-07-05 05:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:24: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-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:24: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-07-05 05: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-07-05 05:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501486336001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501486336001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:24:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501486336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":122347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:24:43] local.INFO: GPS data processed {"connection_id":122347,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:24:43] local.INFO: Acknowledgment sent {"connection_id":122347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:25:06] local.INFO: TCP Data received {"connection_id":124251,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:25:06] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:25:06] local.INFO: IMEI packet received {"connection_id":124251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":124251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:25:11] local.INFO: TCP Data received {"connection_id":124251,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:25:11] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:25:11] local.INFO: IMEI packet received {"connection_id":124251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":124251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:25:12] local.INFO: TCP Data received {"connection_id":124251,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:25:12] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:25:12] local.INFO: Packet analysis {"connection_id":124251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:25:12] local.INFO: Extracted packet for processing {"connection_id":124251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:25:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501486336001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783209232000,"timestamp_ms":1783209232000,"timestamp_seconds":1783209232,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8d8680"} 
[2026-07-05 05:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501486336001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501486336001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:25:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501486336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":124251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:25:12] local.INFO: GPS data processed {"connection_id":124251,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:25:12] local.INFO: Acknowledgment sent {"connection_id":124251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:25:35] local.INFO: TCP Data received {"connection_id":124252,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:25:35] local.INFO: Processing buffer {"connection_id":124252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:25:35] local.INFO: IMEI packet received {"connection_id":124252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":124252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:25:43] local.INFO: TCP Data received {"connection_id":124251,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:25:43] local.INFO: Processing buffer {"connection_id":124251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:25:43] local.INFO: Packet analysis {"connection_id":124251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:25:43] local.INFO: Extracted packet for processing {"connection_id":124251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:25:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501486336001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783209232000,"timestamp_ms":1783209232000,"timestamp_seconds":1783209232,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8d8680"} 
[2026-07-05 05:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:25: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-07-05 05:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501486336001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501486336001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:25:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501486336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":124251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:25:43] local.INFO: GPS data processed {"connection_id":124251,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:25:43] local.INFO: Acknowledgment sent {"connection_id":124251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:26:06] local.INFO: TCP Data received {"connection_id":123064,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:26:06] local.INFO: Processing buffer {"connection_id":123064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:26:06] local.INFO: IMEI packet received {"connection_id":123064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":123064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:26:10] local.INFO: TCP Data received {"connection_id":123065,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:26:10] local.INFO: Processing buffer {"connection_id":123065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:26:10] local.INFO: IMEI packet received {"connection_id":123065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":123065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:26:11] local.INFO: TCP Data received {"connection_id":123064,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:26:11] local.INFO: Processing buffer {"connection_id":123064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:26:11] local.INFO: IMEI packet received {"connection_id":123064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":123064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:26:12] local.INFO: TCP Data received {"connection_id":123064,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:26:12] local.INFO: Processing buffer {"connection_id":123064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:26:12] local.INFO: Packet analysis {"connection_id":123064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:26:12] local.INFO: Extracted packet for processing {"connection_id":123064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:26:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501486336001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783209232000,"timestamp_ms":1783209232000,"timestamp_seconds":1783209232,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8d8680"} 
[2026-07-05 05:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501486336001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501486336001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:26:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501486336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":123064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:26:12] local.INFO: GPS data processed {"connection_id":123064,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:26:12] local.INFO: Acknowledgment sent {"connection_id":123064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:26:43] local.INFO: TCP Data received {"connection_id":123064,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:26:43] local.INFO: Processing buffer {"connection_id":123064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:26:43] local.INFO: Packet analysis {"connection_id":123064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:26:43] local.INFO: Extracted packet for processing {"connection_id":123064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:26:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501486336001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:26:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783209232000,"timestamp_ms":1783209232000,"timestamp_seconds":1783209232,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8d8680"} 
[2026-07-05 05:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:26: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-07-05 05:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501486336001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501486336001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:26:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:26:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501486336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":123064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:26:43] local.INFO: GPS data processed {"connection_id":123064,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:26:43] local.INFO: Acknowledgment sent {"connection_id":123064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:27:06] local.INFO: TCP Data received {"connection_id":122269,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:27:06] local.INFO: Processing buffer {"connection_id":122269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:27:06] local.INFO: IMEI packet received {"connection_id":122269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":122269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:27:11] local.INFO: TCP Data received {"connection_id":122269,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:27:11] local.INFO: Processing buffer {"connection_id":122269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:27:11] local.INFO: IMEI packet received {"connection_id":122269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":122269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:27:12] local.INFO: TCP Data received {"connection_id":122269,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:27:12] local.INFO: Processing buffer {"connection_id":122269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:27:12] local.INFO: Packet analysis {"connection_id":122269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:27:12] local.INFO: Extracted packet for processing {"connection_id":122269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:27:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501486336001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783209232000,"timestamp_ms":1783209232000,"timestamp_seconds":1783209232,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8d8680"} 
[2026-07-05 05:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501486336001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501486336001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:27:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501486336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":122269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:27:12] local.INFO: GPS data processed {"connection_id":122269,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:27:12] local.INFO: Acknowledgment sent {"connection_id":122269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:27:46] local.INFO: TCP Data received {"connection_id":122269,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:27:46] local.INFO: Processing buffer {"connection_id":122269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:27:46] local.INFO: Packet analysis {"connection_id":122269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:27:46] local.INFO: Extracted packet for processing {"connection_id":122269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:27:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501486336001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:27:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783209232000,"timestamp_ms":1783209232000,"timestamp_seconds":1783209232,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8d8680"} 
[2026-07-05 05:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:27: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-07-05 05:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501486336001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501486336001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:27:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:27:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:27:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501486336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":122269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:27:46] local.INFO: GPS data processed {"connection_id":122269,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:27:46] local.INFO: Acknowledgment sent {"connection_id":122269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:28:11] local.INFO: TCP Data received {"connection_id":124254,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:28:11] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:28:11] local.INFO: IMEI packet received {"connection_id":124254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":124254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:28:16] local.INFO: TCP Data received {"connection_id":124254,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:28:16] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:28:16] local.INFO: IMEI packet received {"connection_id":124254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":124254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:28:17] local.INFO: TCP Data received {"connection_id":124254,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:28:17] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:28:17] local.INFO: Packet analysis {"connection_id":124254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:28:17] local.INFO: Extracted packet for processing {"connection_id":124254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:28:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501486336001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783209232000,"timestamp_ms":1783209232000,"timestamp_seconds":1783209232,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8d8680"} 
[2026-07-05 05:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501486336001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501486336001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:28:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:28:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:28:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501486336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":124254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:28:17] local.INFO: GPS data processed {"connection_id":124254,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:28:17] local.INFO: Acknowledgment sent {"connection_id":124254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:28:21] local.INFO: TCP Data received {"connection_id":124254,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:28:21] local.INFO: Processing buffer {"connection_id":124254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:28:21] local.INFO: Packet analysis {"connection_id":124254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:28:21] local.INFO: Extracted packet for processing {"connection_id":124254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:28:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501486336001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783209232000,"timestamp_ms":1783209232000,"timestamp_seconds":1783209232,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8d8680"} 
[2026-07-05 05:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501486336001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501486336001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:28:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501486336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":124254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:28:21] local.INFO: GPS data processed {"connection_id":124254,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:28:21] local.INFO: Acknowledgment sent {"connection_id":124254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:29:06] local.INFO: TCP Data received {"connection_id":124255,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:29:06] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:29:06] local.INFO: IMEI packet received {"connection_id":124255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":124255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:29:11] local.INFO: TCP Data received {"connection_id":124255,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:29:11] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:29:11] local.INFO: IMEI packet received {"connection_id":124255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":124255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:29:12] local.INFO: TCP Data received {"connection_id":124255,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:29:12] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f8d8680012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:29:12] local.INFO: Packet analysis {"connection_id":124255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:29:12] local.INFO: Extracted packet for processing {"connection_id":124255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f8d"} 
[2026-07-05 05:29:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501486336001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783209232000,"timestamp_ms":1783209232000,"timestamp_seconds":1783209232,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f8d8680"} 
[2026-07-05 05:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501486336001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501486336001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:29:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501486336001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":124255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:29:12] local.INFO: GPS data processed {"connection_id":124255,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:29:12] local.INFO: Acknowledgment sent {"connection_id":124255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:29:43] local.INFO: TCP Data received {"connection_id":124255,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:29:43] local.INFO: Processing buffer {"connection_id":124255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:29:43] local.INFO: Packet analysis {"connection_id":124255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:29:43] local.INFO: Extracted packet for processing {"connection_id":124255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:29:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501563392001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783209533000,"timestamp_ms":1783209533000,"timestamp_seconds":1783209533,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f921e48"} 
[2026-07-05 05:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:29: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-07-05 05:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501563392001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501563392001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:29:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501563392001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":124255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:29:43] local.INFO: GPS data processed {"connection_id":124255,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:29:43] local.INFO: Acknowledgment sent {"connection_id":124255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:30:06] local.INFO: TCP Data received {"connection_id":123066,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:30:06] local.INFO: Processing buffer {"connection_id":123066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:30:06] local.INFO: IMEI packet received {"connection_id":123066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":123066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:30:11] local.INFO: TCP Data received {"connection_id":123066,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:30:11] local.INFO: Processing buffer {"connection_id":123066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:30:11] local.INFO: IMEI packet received {"connection_id":123066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":123066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:30:12] local.INFO: TCP Data received {"connection_id":123066,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:30:12] local.INFO: Processing buffer {"connection_id":123066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:30:12] local.INFO: Packet analysis {"connection_id":123066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:30:12] local.INFO: Extracted packet for processing {"connection_id":123066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:30:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501563392001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:30:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783209533000,"timestamp_ms":1783209533000,"timestamp_seconds":1783209533,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f921e48"} 
[2026-07-05 05:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501563392001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501563392001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:30:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:30:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501563392001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":123066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:30:12] local.INFO: GPS data processed {"connection_id":123066,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:30:12] local.INFO: Acknowledgment sent {"connection_id":123066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:30:43] local.INFO: TCP Data received {"connection_id":123066,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:30:43] local.INFO: Processing buffer {"connection_id":123066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:30:43] local.INFO: Packet analysis {"connection_id":123066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:30:43] local.INFO: Extracted packet for processing {"connection_id":123066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:30:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501563392001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:30:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783209533000,"timestamp_ms":1783209533000,"timestamp_seconds":1783209533,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f921e48"} 
[2026-07-05 05:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:30: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-07-05 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:30: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-07-05 05: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-07-05 05:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501563392001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501563392001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:30:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:30:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:30:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501563392001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":123066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:30:43] local.INFO: GPS data processed {"connection_id":123066,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:30:43] local.INFO: Acknowledgment sent {"connection_id":123066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:31:06] local.INFO: TCP Data received {"connection_id":123069,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:31:06] local.INFO: Processing buffer {"connection_id":123069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:31:06] local.INFO: IMEI packet received {"connection_id":123069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":123069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:31:11] local.INFO: TCP Data received {"connection_id":123069,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:31:11] local.INFO: Processing buffer {"connection_id":123069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:31:11] local.INFO: IMEI packet received {"connection_id":123069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":123069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:31:12] local.INFO: TCP Data received {"connection_id":123069,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:31:12] local.INFO: Processing buffer {"connection_id":123069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:31:12] local.INFO: Packet analysis {"connection_id":123069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:31:12] local.INFO: Extracted packet for processing {"connection_id":123069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:31:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501563392001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783209533000,"timestamp_ms":1783209533000,"timestamp_seconds":1783209533,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f921e48"} 
[2026-07-05 05:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501563392001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501563392001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:31:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501563392001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":123069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:31:12] local.INFO: GPS data processed {"connection_id":123069,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:31:12] local.INFO: Acknowledgment sent {"connection_id":123069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:31:40] local.INFO: TCP Data received {"connection_id":123068,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:31:40] local.INFO: Processing buffer {"connection_id":123068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:31:40] local.INFO: IMEI packet received {"connection_id":123068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":123068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:31:43] local.INFO: TCP Data received {"connection_id":123069,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:31:43] local.INFO: Processing buffer {"connection_id":123069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:31:43] local.INFO: Packet analysis {"connection_id":123069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:31:43] local.INFO: Extracted packet for processing {"connection_id":123069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:31:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501563392001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:31:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783209533000,"timestamp_ms":1783209533000,"timestamp_seconds":1783209533,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f921e48"} 
[2026-07-05 05:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:31: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-07-05 05:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501563392001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501563392001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:31:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:31:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501563392001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":123069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:31:43] local.INFO: GPS data processed {"connection_id":123069,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:31:43] local.INFO: Acknowledgment sent {"connection_id":123069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:32:05] local.INFO: TCP Data received {"connection_id":122272,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:32:05] local.INFO: Processing buffer {"connection_id":122272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:32:05] local.INFO: IMEI packet received {"connection_id":122272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":122272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:32:11] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:32:11] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:32:11] local.INFO: IMEI packet received {"connection_id":124256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":124256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:32:16] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:32:16] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:32:16] local.INFO: IMEI packet received {"connection_id":124256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":124256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:32:17] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:32:17] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:32:17] local.INFO: Packet analysis {"connection_id":124256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:32:17] local.INFO: Extracted packet for processing {"connection_id":124256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:32:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501563392001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:32:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783209533000,"timestamp_ms":1783209533000,"timestamp_seconds":1783209533,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f921e48"} 
[2026-07-05 05:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501563392001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501563392001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:32:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:32:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:32:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501563392001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":124256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:32:17] local.INFO: GPS data processed {"connection_id":124256,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:32:17] local.INFO: Acknowledgment sent {"connection_id":124256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:32:52] local.INFO: TCP Data received {"connection_id":124256,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:32:52] local.INFO: Processing buffer {"connection_id":124256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:32:52] local.INFO: Packet analysis {"connection_id":124256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:32:52] local.INFO: Extracted packet for processing {"connection_id":124256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:32:52] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501563392001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:32:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783209533000,"timestamp_ms":1783209533000,"timestamp_seconds":1783209533,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f921e48"} 
[2026-07-05 05:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501563392001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501563392001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:32:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:32:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501563392001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":124256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:32:52] local.INFO: GPS data processed {"connection_id":124256,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:32:52] local.INFO: Acknowledgment sent {"connection_id":124256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:33:06] local.INFO: TCP Data received {"connection_id":122273,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:33:06] local.INFO: Processing buffer {"connection_id":122273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:33:06] local.INFO: IMEI packet received {"connection_id":122273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":122273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:33:11] local.INFO: TCP Data received {"connection_id":122273,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:33:11] local.INFO: Processing buffer {"connection_id":122273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:33:11] local.INFO: IMEI packet received {"connection_id":122273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":122273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:33:12] local.INFO: TCP Data received {"connection_id":122273,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:33:12] local.INFO: Processing buffer {"connection_id":122273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:33:12] local.INFO: Packet analysis {"connection_id":122273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:33:12] local.INFO: Extracted packet for processing {"connection_id":122273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:33:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501563392001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783209533000,"timestamp_ms":1783209533000,"timestamp_seconds":1783209533,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f921e48"} 
[2026-07-05 05:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501563392001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501563392001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:33:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501563392001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":122273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:33:12] local.INFO: GPS data processed {"connection_id":122273,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:33:12] local.INFO: Acknowledgment sent {"connection_id":122273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:33:43] local.INFO: TCP Data received {"connection_id":122273,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:33:43] local.INFO: Processing buffer {"connection_id":122273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:33:43] local.INFO: Packet analysis {"connection_id":122273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:33:43] local.INFO: Extracted packet for processing {"connection_id":122273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:33:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501563392001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:33:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783209533000,"timestamp_ms":1783209533000,"timestamp_seconds":1783209533,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f921e48"} 
[2026-07-05 05:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:33: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-07-05 05:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:33: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-07-05 05:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501563392001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501563392001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:33:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:33:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501563392001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":122273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:33:43] local.INFO: GPS data processed {"connection_id":122273,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:33:43] local.INFO: Acknowledgment sent {"connection_id":122273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:34:07] local.INFO: TCP Data received {"connection_id":122275,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:34:07] local.INFO: Processing buffer {"connection_id":122275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:34:07] local.INFO: IMEI packet received {"connection_id":122275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":122275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:34:11] local.INFO: TCP Data received {"connection_id":122275,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:34:11] local.INFO: Processing buffer {"connection_id":122275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:34:11] local.INFO: IMEI packet received {"connection_id":122275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":122275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:34:12] local.INFO: TCP Data received {"connection_id":122275,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:34:12] local.INFO: Processing buffer {"connection_id":122275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f921e48012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:34:12] local.INFO: Packet analysis {"connection_id":122275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:34:12] local.INFO: Extracted packet for processing {"connection_id":122275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f92"} 
[2026-07-05 05:34:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501563392001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783209533000,"timestamp_ms":1783209533000,"timestamp_seconds":1783209533,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f921e48"} 
[2026-07-05 05:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501563392001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501563392001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:34:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501563392001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":122275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:34:12] local.INFO: GPS data processed {"connection_id":122275,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:34:12] local.INFO: Acknowledgment sent {"connection_id":122275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:34:43] local.INFO: TCP Data received {"connection_id":122275,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:34:43] local.INFO: Processing buffer {"connection_id":122275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:34:43] local.INFO: Packet analysis {"connection_id":122275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:34:43] local.INFO: Extracted packet for processing {"connection_id":122275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:34:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501640448001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:34:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783209834000,"timestamp_ms":1783209834000,"timestamp_seconds":1783209834,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f96b610"} 
[2026-07-05 05:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:34: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-07-05 05:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501640448001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501640448001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:34:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:34:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:34:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501640448001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":122275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:34:43] local.INFO: GPS data processed {"connection_id":122275,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:34:43] local.INFO: Acknowledgment sent {"connection_id":122275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:35:11] local.INFO: TCP Data received {"connection_id":122349,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:35:11] local.INFO: Processing buffer {"connection_id":122349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:35:11] local.INFO: IMEI packet received {"connection_id":122349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":122349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:35:16] local.INFO: TCP Data received {"connection_id":122349,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:35:16] local.INFO: Processing buffer {"connection_id":122349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:35:16] local.INFO: IMEI packet received {"connection_id":122349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":122349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:35:17] local.INFO: TCP Data received {"connection_id":122349,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:35:17] local.INFO: Processing buffer {"connection_id":122349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:35:17] local.INFO: Packet analysis {"connection_id":122349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:35:17] local.INFO: Extracted packet for processing {"connection_id":122349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:35:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501640448001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:35:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783209834000,"timestamp_ms":1783209834000,"timestamp_seconds":1783209834,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f96b610"} 
[2026-07-05 05:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501640448001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501640448001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:35:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:35:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501640448001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":122349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:35:17] local.INFO: GPS data processed {"connection_id":122349,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:35:17] local.INFO: Acknowledgment sent {"connection_id":122349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:35:22] local.INFO: TCP Data received {"connection_id":122349,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:35:22] local.INFO: Processing buffer {"connection_id":122349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:35:22] local.INFO: Packet analysis {"connection_id":122349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:35:22] local.INFO: Extracted packet for processing {"connection_id":122349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:35:22] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501640448001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:35:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783209834000,"timestamp_ms":1783209834000,"timestamp_seconds":1783209834,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f96b610"} 
[2026-07-05 05:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501640448001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501640448001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:35:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:35:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:35:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501640448001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":122349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:35:22] local.INFO: GPS data processed {"connection_id":122349,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:35:22] local.INFO: Acknowledgment sent {"connection_id":122349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:36:07] local.INFO: TCP Data received {"connection_id":122276,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:36:07] local.INFO: Processing buffer {"connection_id":122276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:36:07] local.INFO: IMEI packet received {"connection_id":122276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":122276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:36:11] local.INFO: TCP Data received {"connection_id":122276,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:36:11] local.INFO: Processing buffer {"connection_id":122276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:36:11] local.INFO: IMEI packet received {"connection_id":122276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":122276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:36:12] local.INFO: TCP Data received {"connection_id":122276,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:36:12] local.INFO: Processing buffer {"connection_id":122276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:36:12] local.INFO: Packet analysis {"connection_id":122276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:36:12] local.INFO: Extracted packet for processing {"connection_id":122276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:36:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501640448001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783209834000,"timestamp_ms":1783209834000,"timestamp_seconds":1783209834,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f96b610"} 
[2026-07-05 05:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501640448001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501640448001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:36:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501640448001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":122276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:36:12] local.INFO: GPS data processed {"connection_id":122276,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:36:12] local.INFO: Acknowledgment sent {"connection_id":122276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:37:06] local.INFO: TCP Data received {"connection_id":124260,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:37:06] local.INFO: Processing buffer {"connection_id":124260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:37:06] local.INFO: IMEI packet received {"connection_id":124260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":124260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:37:11] local.INFO: TCP Data received {"connection_id":124260,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:37:11] local.INFO: Processing buffer {"connection_id":124260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:37:11] local.INFO: IMEI packet received {"connection_id":124260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":124260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:37:12] local.INFO: TCP Data received {"connection_id":124260,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:37:12] local.INFO: Processing buffer {"connection_id":124260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:37:12] local.INFO: Packet analysis {"connection_id":124260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:37:12] local.INFO: Extracted packet for processing {"connection_id":124260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:37:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501640448001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783209834000,"timestamp_ms":1783209834000,"timestamp_seconds":1783209834,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f96b610"} 
[2026-07-05 05:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501640448001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501640448001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:37:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501640448001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":124260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:37:12] local.INFO: GPS data processed {"connection_id":124260,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:37:12] local.INFO: Acknowledgment sent {"connection_id":124260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:37:20] local.INFO: TCP Data received {"connection_id":124259,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:37:20] local.INFO: Processing buffer {"connection_id":124259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:37:20] local.INFO: IMEI packet received {"connection_id":124259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":124259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:37:43] local.INFO: TCP Data received {"connection_id":124260,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:37:43] local.INFO: Processing buffer {"connection_id":124260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:37:43] local.INFO: Packet analysis {"connection_id":124260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:37:43] local.INFO: Extracted packet for processing {"connection_id":124260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:37:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501640448001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783209834000,"timestamp_ms":1783209834000,"timestamp_seconds":1783209834,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f96b610"} 
[2026-07-05 05:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:37: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-07-05 05:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501640448001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501640448001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:37:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501640448001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":124260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:37:43] local.INFO: GPS data processed {"connection_id":124260,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:37:43] local.INFO: Acknowledgment sent {"connection_id":124260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:38:06] local.INFO: TCP Data received {"connection_id":123070,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:38:06] local.INFO: Processing buffer {"connection_id":123070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:38:06] local.INFO: IMEI packet received {"connection_id":123070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":123070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:38:10] local.INFO: TCP Data received {"connection_id":122277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:38:10] local.INFO: Processing buffer {"connection_id":122277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:38:10] local.INFO: IMEI packet received {"connection_id":122277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":122277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:38:11] local.INFO: TCP Data received {"connection_id":123070,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:38:11] local.INFO: Processing buffer {"connection_id":123070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:38:11] local.INFO: IMEI packet received {"connection_id":123070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":123070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:38:12] local.INFO: TCP Data received {"connection_id":123070,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:38:12] local.INFO: Processing buffer {"connection_id":123070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:38:12] local.INFO: Packet analysis {"connection_id":123070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:38:12] local.INFO: Extracted packet for processing {"connection_id":123070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:38:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501640448001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783209834000,"timestamp_ms":1783209834000,"timestamp_seconds":1783209834,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f96b610"} 
[2026-07-05 05:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501640448001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501640448001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:38:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501640448001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":123070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:38:12] local.INFO: GPS data processed {"connection_id":123070,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:38:12] local.INFO: Acknowledgment sent {"connection_id":123070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:38:43] local.INFO: TCP Data received {"connection_id":123070,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:38:43] local.INFO: Processing buffer {"connection_id":123070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:38:43] local.INFO: Packet analysis {"connection_id":123070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:38:43] local.INFO: Extracted packet for processing {"connection_id":123070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:38:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501640448001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:38:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783209834000,"timestamp_ms":1783209834000,"timestamp_seconds":1783209834,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f96b610"} 
[2026-07-05 05:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:38: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-07-05 05:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501640448001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501640448001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:38:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:38:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501640448001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":123070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:38:43] local.INFO: GPS data processed {"connection_id":123070,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:38:43] local.INFO: Acknowledgment sent {"connection_id":123070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:39:11] local.INFO: TCP Data received {"connection_id":123071,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:39:11] local.INFO: Processing buffer {"connection_id":123071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:39:11] local.INFO: IMEI packet received {"connection_id":123071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":123071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:39:16] local.INFO: TCP Data received {"connection_id":123071,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:39:16] local.INFO: Processing buffer {"connection_id":123071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:39:16] local.INFO: IMEI packet received {"connection_id":123071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":123071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:39:17] local.INFO: TCP Data received {"connection_id":123071,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:39:17] local.INFO: Processing buffer {"connection_id":123071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:39:17] local.INFO: Packet analysis {"connection_id":123071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:39:17] local.INFO: Extracted packet for processing {"connection_id":123071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:39:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501640448001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:39:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783209834000,"timestamp_ms":1783209834000,"timestamp_seconds":1783209834,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f96b610"} 
[2026-07-05 05:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501640448001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501640448001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:39:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:39:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:39:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501640448001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":123071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:39:17] local.INFO: GPS data processed {"connection_id":123071,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:39:17] local.INFO: Acknowledgment sent {"connection_id":123071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:39:21] local.INFO: TCP Data received {"connection_id":123071,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:39:21] local.INFO: Processing buffer {"connection_id":123071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f96b610012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:39:21] local.INFO: Packet analysis {"connection_id":123071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:39:21] local.INFO: Extracted packet for processing {"connection_id":123071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f96"} 
[2026-07-05 05:39:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501640448001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783209834000,"timestamp_ms":1783209834000,"timestamp_seconds":1783209834,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f96b610"} 
[2026-07-05 05:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501640448001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501640448001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:39:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501640448001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":123071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:39:21] local.INFO: GPS data processed {"connection_id":123071,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:39:21] local.INFO: Acknowledgment sent {"connection_id":123071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:40:06] local.INFO: TCP Data received {"connection_id":124262,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:40:06] local.INFO: Processing buffer {"connection_id":124262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:40:06] local.INFO: IMEI packet received {"connection_id":124262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":124262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:40:11] local.INFO: TCP Data received {"connection_id":124262,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:40:11] local.INFO: Processing buffer {"connection_id":124262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:40:11] local.INFO: IMEI packet received {"connection_id":124262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":124262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:40:14] local.INFO: TCP Data received {"connection_id":124262,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:40:14] local.INFO: Processing buffer {"connection_id":124262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:40:14] local.INFO: Packet analysis {"connection_id":124262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:40:14] local.INFO: Extracted packet for processing {"connection_id":124262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:40:14] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:40: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-07-05 05:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501717504001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:40:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783210135000,"timestamp_ms":1783210135000,"timestamp_seconds":1783210135,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9b4dd8"} 
[2026-07-05 05:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:40: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-07-05 05:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501717504001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501717504001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:40:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:40:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501717504001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":124262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:40:14] local.INFO: GPS data processed {"connection_id":124262,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:40:14] local.INFO: Acknowledgment sent {"connection_id":124262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:40:45] local.INFO: TCP Data received {"connection_id":124262,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:40:45] local.INFO: Processing buffer {"connection_id":124262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:40:45] local.INFO: Packet analysis {"connection_id":124262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:40:45] local.INFO: Extracted packet for processing {"connection_id":124262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:40:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501717504001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:40:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783210135000,"timestamp_ms":1783210135000,"timestamp_seconds":1783210135,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9b4dd8"} 
[2026-07-05 05:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501717504001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501717504001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:40:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:40:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:40:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501717504001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":124262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:40:46] local.INFO: GPS data processed {"connection_id":124262,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:40:46] local.INFO: Acknowledgment sent {"connection_id":124262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:41:06] local.INFO: TCP Data received {"connection_id":122279,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:41:06] local.INFO: Processing buffer {"connection_id":122279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:41:06] local.INFO: IMEI packet received {"connection_id":122279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":122279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:41:11] local.INFO: TCP Data received {"connection_id":122279,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:41:11] local.INFO: Processing buffer {"connection_id":122279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:41:11] local.INFO: IMEI packet received {"connection_id":122279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":122279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:41:12] local.INFO: TCP Data received {"connection_id":122279,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:41:12] local.INFO: Processing buffer {"connection_id":122279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:41:12] local.INFO: Packet analysis {"connection_id":122279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:41:12] local.INFO: Extracted packet for processing {"connection_id":122279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:41:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501717504001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783210135000,"timestamp_ms":1783210135000,"timestamp_seconds":1783210135,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9b4dd8"} 
[2026-07-05 05:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501717504001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501717504001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:41:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501717504001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":122279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:41:12] local.INFO: GPS data processed {"connection_id":122279,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:41:12] local.INFO: Acknowledgment sent {"connection_id":122279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:41:43] local.INFO: TCP Data received {"connection_id":122279,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:41:43] local.INFO: Processing buffer {"connection_id":122279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:41:43] local.INFO: Packet analysis {"connection_id":122279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:41:43] local.INFO: Extracted packet for processing {"connection_id":122279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:41:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501717504001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:41:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783210135000,"timestamp_ms":1783210135000,"timestamp_seconds":1783210135,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9b4dd8"} 
[2026-07-05 05:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:41: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-07-05 05:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501717504001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501717504001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:41:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:41:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501717504001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":122279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:41:43] local.INFO: GPS data processed {"connection_id":122279,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:41:43] local.INFO: Acknowledgment sent {"connection_id":122279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:42:06] local.INFO: TCP Data received {"connection_id":123073,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:42:06] local.INFO: Processing buffer {"connection_id":123073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:42:06] local.INFO: IMEI packet received {"connection_id":123073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":123073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:42:11] local.INFO: TCP Data received {"connection_id":123073,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:42:11] local.INFO: Processing buffer {"connection_id":123073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:42:11] local.INFO: IMEI packet received {"connection_id":123073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":123073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:42:13] local.INFO: TCP Data received {"connection_id":123073,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:42:13] local.INFO: Processing buffer {"connection_id":123073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:42:13] local.INFO: Packet analysis {"connection_id":123073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:42:13] local.INFO: Extracted packet for processing {"connection_id":123073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:42:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501717504001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:42:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783210135000,"timestamp_ms":1783210135000,"timestamp_seconds":1783210135,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9b4dd8"} 
[2026-07-05 05:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":123073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":123073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":123073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501717504001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501717504001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:42:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:42:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501717504001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":123073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:42:13] local.INFO: GPS data processed {"connection_id":123073,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:42:13] local.INFO: Acknowledgment sent {"connection_id":123073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:42:44] local.INFO: TCP Data received {"connection_id":123073,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:42:44] local.INFO: Processing buffer {"connection_id":123073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:42:44] local.INFO: Packet analysis {"connection_id":123073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:42:44] local.INFO: Extracted packet for processing {"connection_id":123073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:42:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501717504001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:42:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783210135000,"timestamp_ms":1783210135000,"timestamp_seconds":1783210135,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9b4dd8"} 
[2026-07-05 05:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:42: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-07-05 05:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":123073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":123073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":123073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501717504001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501717504001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:42:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:42:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501717504001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":123073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:42:44] local.INFO: GPS data processed {"connection_id":123073,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:42:44] local.INFO: Acknowledgment sent {"connection_id":123073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:43:11] local.INFO: TCP Data received {"connection_id":124263,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:43:11] local.INFO: Processing buffer {"connection_id":124263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:43:11] local.INFO: IMEI packet received {"connection_id":124263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":124263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:43:16] local.INFO: TCP Data received {"connection_id":124263,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:43:16] local.INFO: Processing buffer {"connection_id":124263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:43:16] local.INFO: IMEI packet received {"connection_id":124263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":124263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:43:17] local.INFO: TCP Data received {"connection_id":124263,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:43:17] local.INFO: Processing buffer {"connection_id":124263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:43:17] local.INFO: Packet analysis {"connection_id":124263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:43:17] local.INFO: Extracted packet for processing {"connection_id":124263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:43:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501717504001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:43:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783210135000,"timestamp_ms":1783210135000,"timestamp_seconds":1783210135,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9b4dd8"} 
[2026-07-05 05:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501717504001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501717504001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:43:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:43:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501717504001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":124263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:43:17] local.INFO: GPS data processed {"connection_id":124263,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:43:17] local.INFO: Acknowledgment sent {"connection_id":124263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:43:21] local.INFO: TCP Data received {"connection_id":124263,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:43:21] local.INFO: Processing buffer {"connection_id":124263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:43:21] local.INFO: Packet analysis {"connection_id":124263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:43:21] local.INFO: Extracted packet for processing {"connection_id":124263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:43:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501717504001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783210135000,"timestamp_ms":1783210135000,"timestamp_seconds":1783210135,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9b4dd8"} 
[2026-07-05 05:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501717504001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501717504001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:43:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501717504001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":124263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:43:21] local.INFO: GPS data processed {"connection_id":124263,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:43:21] local.INFO: Acknowledgment sent {"connection_id":124263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:43:40] local.INFO: TCP Data received {"connection_id":122352,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:43:40] local.INFO: Processing buffer {"connection_id":122352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:43:40] local.INFO: IMEI packet received {"connection_id":122352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":122352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:44:06] local.INFO: TCP Data received {"connection_id":122281,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:44:06] local.INFO: Processing buffer {"connection_id":122281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:44:06] local.INFO: IMEI packet received {"connection_id":122281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":122281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:44:06] local.INFO: TCP Data received {"connection_id":122280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:44:06] local.INFO: Processing buffer {"connection_id":122280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:44:06] local.INFO: IMEI packet received {"connection_id":122280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":122280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:44:11] local.INFO: TCP Data received {"connection_id":122280,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:44:11] local.INFO: Processing buffer {"connection_id":122280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:44:11] local.INFO: IMEI packet received {"connection_id":122280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":122280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:44:12] local.INFO: TCP Data received {"connection_id":122280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:44:12] local.INFO: Processing buffer {"connection_id":122280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9b4dd8012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:44:12] local.INFO: Packet analysis {"connection_id":122280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:44:12] local.INFO: Extracted packet for processing {"connection_id":122280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9b"} 
[2026-07-05 05:44:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501717504001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783210135000,"timestamp_ms":1783210135000,"timestamp_seconds":1783210135,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9b4dd8"} 
[2026-07-05 05:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501717504001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501717504001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:44:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501717504001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":122280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:44:12] local.INFO: GPS data processed {"connection_id":122280,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:44:12] local.INFO: Acknowledgment sent {"connection_id":122280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:44:43] local.INFO: TCP Data received {"connection_id":122280,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:44:43] local.INFO: Processing buffer {"connection_id":122280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:44:43] local.INFO: Packet analysis {"connection_id":122280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:44:43] local.INFO: Extracted packet for processing {"connection_id":122280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:44:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501794560001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:44:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783210436000,"timestamp_ms":1783210436000,"timestamp_seconds":1783210436,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9fe5a0"} 
[2026-07-05 05:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:44: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-07-05 05:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:44: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-07-05 05:44: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-07-05 05:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501794560001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501794560001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:44:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:44:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:44:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501794560001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":122280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:44:43] local.INFO: GPS data processed {"connection_id":122280,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:44:43] local.INFO: Acknowledgment sent {"connection_id":122280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:45:06] local.INFO: TCP Data received {"connection_id":124264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:45:06] local.INFO: Processing buffer {"connection_id":124264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:45:06] local.INFO: IMEI packet received {"connection_id":124264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":124264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:45:11] local.INFO: TCP Data received {"connection_id":124264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:45:11] local.INFO: Processing buffer {"connection_id":124264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:45:11] local.INFO: IMEI packet received {"connection_id":124264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":124264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:45:11] local.INFO: TCP Data received {"connection_id":124264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:45:11] local.INFO: Processing buffer {"connection_id":124264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:45:11] local.INFO: Packet analysis {"connection_id":124264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:45:11] local.INFO: Extracted packet for processing {"connection_id":124264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501794560001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783210436000,"timestamp_ms":1783210436000,"timestamp_seconds":1783210436,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9fe5a0"} 
[2026-07-05 05:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:45: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-07-05 05:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501794560001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501794560001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:45:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501794560001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":124264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:45:11] local.INFO: GPS data processed {"connection_id":124264,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:45:11] local.INFO: Acknowledgment sent {"connection_id":124264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:45:43] local.INFO: TCP Data received {"connection_id":124264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:45:43] local.INFO: Processing buffer {"connection_id":124264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:45:43] local.INFO: Packet analysis {"connection_id":124264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:45:43] local.INFO: Extracted packet for processing {"connection_id":124264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:45:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501794560001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:45:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783210436000,"timestamp_ms":1783210436000,"timestamp_seconds":1783210436,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9fe5a0"} 
[2026-07-05 05:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:45: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-07-05 05:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501794560001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501794560001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:45:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:45:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501794560001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":124264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:45:43] local.INFO: GPS data processed {"connection_id":124264,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:45:43] local.INFO: Acknowledgment sent {"connection_id":124264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:46:06] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:46:06] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:46:06] local.INFO: IMEI packet received {"connection_id":124265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":124265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:46:11] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:46:11] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:46:11] local.INFO: IMEI packet received {"connection_id":124265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":124265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:46:12] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:46:12] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:46:12] local.INFO: Packet analysis {"connection_id":124265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:46:12] local.INFO: Extracted packet for processing {"connection_id":124265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:46:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501794560001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783210436000,"timestamp_ms":1783210436000,"timestamp_seconds":1783210436,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9fe5a0"} 
[2026-07-05 05:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501794560001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501794560001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:46:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501794560001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":124265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:46:12] local.INFO: GPS data processed {"connection_id":124265,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:46:12] local.INFO: Acknowledgment sent {"connection_id":124265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:46:43] local.INFO: TCP Data received {"connection_id":124265,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:46:43] local.INFO: Processing buffer {"connection_id":124265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:46:43] local.INFO: Packet analysis {"connection_id":124265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:46:43] local.INFO: Extracted packet for processing {"connection_id":124265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:46:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501794560001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:46:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783210436000,"timestamp_ms":1783210436000,"timestamp_seconds":1783210436,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9fe5a0"} 
[2026-07-05 05:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:46: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-07-05 05:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:46: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-07-05 05:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501794560001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501794560001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:46:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:46:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501794560001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":124265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:46:43] local.INFO: GPS data processed {"connection_id":124265,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:46:43] local.INFO: Acknowledgment sent {"connection_id":124265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:47:11] local.INFO: TCP Data received {"connection_id":123075,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:47:11] local.INFO: Processing buffer {"connection_id":123075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:47:11] local.INFO: IMEI packet received {"connection_id":123075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":123075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:47:16] local.INFO: TCP Data received {"connection_id":123075,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:47:16] local.INFO: Processing buffer {"connection_id":123075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:47:16] local.INFO: IMEI packet received {"connection_id":123075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":123075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:47:17] local.INFO: TCP Data received {"connection_id":123075,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:47:17] local.INFO: Processing buffer {"connection_id":123075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:47:17] local.INFO: Packet analysis {"connection_id":123075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:47:17] local.INFO: Extracted packet for processing {"connection_id":123075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:47:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501794560001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:47:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783210436000,"timestamp_ms":1783210436000,"timestamp_seconds":1783210436,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9fe5a0"} 
[2026-07-05 05:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501794560001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501794560001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:47:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:47:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:47:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501794560001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":123075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:47:17] local.INFO: GPS data processed {"connection_id":123075,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:47:17] local.INFO: Acknowledgment sent {"connection_id":123075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:47:21] local.INFO: TCP Data received {"connection_id":123075,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:47:21] local.INFO: Processing buffer {"connection_id":123075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:47:21] local.INFO: Packet analysis {"connection_id":123075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:47:21] local.INFO: Extracted packet for processing {"connection_id":123075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:47:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501794560001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783210436000,"timestamp_ms":1783210436000,"timestamp_seconds":1783210436,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9fe5a0"} 
[2026-07-05 05:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501794560001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501794560001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:47:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501794560001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":123075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:47:21] local.INFO: GPS data processed {"connection_id":123075,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:47:21] local.INFO: Acknowledgment sent {"connection_id":123075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:48:06] local.INFO: TCP Data received {"connection_id":124266,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:48:06] local.INFO: Processing buffer {"connection_id":124266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:48:06] local.INFO: IMEI packet received {"connection_id":124266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":124266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:48:11] local.INFO: TCP Data received {"connection_id":124266,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:48:11] local.INFO: Processing buffer {"connection_id":124266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:48:11] local.INFO: IMEI packet received {"connection_id":124266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":124266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:48:12] local.INFO: TCP Data received {"connection_id":124266,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:48:12] local.INFO: Processing buffer {"connection_id":124266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:48:12] local.INFO: Packet analysis {"connection_id":124266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:48:12] local.INFO: Extracted packet for processing {"connection_id":124266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:48:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501794560001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783210436000,"timestamp_ms":1783210436000,"timestamp_seconds":1783210436,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9fe5a0"} 
[2026-07-05 05:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501794560001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501794560001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:48:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501794560001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":124266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:48:12] local.INFO: GPS data processed {"connection_id":124266,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:48:12] local.INFO: Acknowledgment sent {"connection_id":124266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:48:43] local.INFO: TCP Data received {"connection_id":124266,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:48:43] local.INFO: Processing buffer {"connection_id":124266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:48:43] local.INFO: Packet analysis {"connection_id":124266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:48:43] local.INFO: Extracted packet for processing {"connection_id":124266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:48:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501794560001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:48:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783210436000,"timestamp_ms":1783210436000,"timestamp_seconds":1783210436,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9fe5a0"} 
[2026-07-05 05:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:48: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-07-05 05:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:48: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-07-05 05:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501794560001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501794560001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:48:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:48:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501794560001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":124266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:48:43] local.INFO: GPS data processed {"connection_id":124266,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:48:43] local.INFO: Acknowledgment sent {"connection_id":124266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:49:06] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:49:06] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:49:06] local.INFO: IMEI packet received {"connection_id":124267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":124267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:49:11] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:49:11] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:49:11] local.INFO: IMEI packet received {"connection_id":124267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":124267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:49:12] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:49:12] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2f9fe5a0012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:49:12] local.INFO: Packet analysis {"connection_id":124267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:49:12] local.INFO: Extracted packet for processing {"connection_id":124267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2f9f"} 
[2026-07-05 05:49:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501794560001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783210436000,"timestamp_ms":1783210436000,"timestamp_seconds":1783210436,"priority":1,"record_length":96,"hex_timestamp":"0000019f2f9fe5a0"} 
[2026-07-05 05:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 05:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501794560001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501794560001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:49:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501794560001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":124267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:49:12] local.INFO: GPS data processed {"connection_id":124267,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:49:12] local.INFO: Acknowledgment sent {"connection_id":124267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:49:35] local.INFO: TCP Data received {"connection_id":122355,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:49:35] local.INFO: Processing buffer {"connection_id":122355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:49:35] local.INFO: IMEI packet received {"connection_id":122355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":122355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:49:43] local.INFO: TCP Data received {"connection_id":124267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:49:43] local.INFO: Processing buffer {"connection_id":124267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:49:43] local.INFO: Packet analysis {"connection_id":124267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:49:43] local.INFO: Extracted packet for processing {"connection_id":124267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:49:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501871616001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:49:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783210737000,"timestamp_ms":1783210737000,"timestamp_seconds":1783210737,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa47d68"} 
[2026-07-05 05:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:49: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-07-05 05:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 05:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501871616001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501871616001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:49:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:49:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501871616001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":124267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:49:43] local.INFO: GPS data processed {"connection_id":124267,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:49:43] local.INFO: Acknowledgment sent {"connection_id":124267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:50:05] local.INFO: TCP Data received {"connection_id":122283,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:50:05] local.INFO: Processing buffer {"connection_id":122283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:50:05] local.INFO: IMEI packet received {"connection_id":122283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":122283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:50:06] local.INFO: TCP Data received {"connection_id":122284,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:50:06] local.INFO: Processing buffer {"connection_id":122284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:50:06] local.INFO: IMEI packet received {"connection_id":122284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":122284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:50:11] local.INFO: TCP Data received {"connection_id":122284,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:50:11] local.INFO: Processing buffer {"connection_id":122284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:50:11] local.INFO: IMEI packet received {"connection_id":122284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":122284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:50:12] local.INFO: TCP Data received {"connection_id":122284,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:50:12] local.INFO: Processing buffer {"connection_id":122284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:50:12] local.INFO: Packet analysis {"connection_id":122284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:50:12] local.INFO: Extracted packet for processing {"connection_id":122284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:50:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501871616001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783210737000,"timestamp_ms":1783210737000,"timestamp_seconds":1783210737,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa47d68"} 
[2026-07-05 05:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 05:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501871616001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501871616001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:50:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501871616001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":122284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:50:12] local.INFO: GPS data processed {"connection_id":122284,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:50:12] local.INFO: Acknowledgment sent {"connection_id":122284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:50:43] local.INFO: TCP Data received {"connection_id":122284,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:50:43] local.INFO: Processing buffer {"connection_id":122284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:50:43] local.INFO: Packet analysis {"connection_id":122284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:50:43] local.INFO: Extracted packet for processing {"connection_id":122284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:50:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501871616001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:50:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783210737000,"timestamp_ms":1783210737000,"timestamp_seconds":1783210737,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa47d68"} 
[2026-07-05 05:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:50: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-07-05 05:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 05:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501871616001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501871616001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:50:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:50:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501871616001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":122284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:50:43] local.INFO: GPS data processed {"connection_id":122284,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:50:43] local.INFO: Acknowledgment sent {"connection_id":122284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:51:11] local.INFO: TCP Data received {"connection_id":124268,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:51:11] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:51:11] local.INFO: IMEI packet received {"connection_id":124268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":124268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:51:16] local.INFO: TCP Data received {"connection_id":124268,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:51:16] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:51:16] local.INFO: IMEI packet received {"connection_id":124268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":124268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:51:17] local.INFO: TCP Data received {"connection_id":124268,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:51:17] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:51:17] local.INFO: Packet analysis {"connection_id":124268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:51:17] local.INFO: Extracted packet for processing {"connection_id":124268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:51:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501871616001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:51:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783210737000,"timestamp_ms":1783210737000,"timestamp_seconds":1783210737,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa47d68"} 
[2026-07-05 05:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 05:51:17] 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-07-05 05:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501871616001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501871616001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:51:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:51:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:51:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501871616001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":124268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:51:17] local.INFO: GPS data processed {"connection_id":124268,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:51:17] local.INFO: Acknowledgment sent {"connection_id":124268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:51:21] local.INFO: TCP Data received {"connection_id":124268,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:51:21] local.INFO: Processing buffer {"connection_id":124268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:51:21] local.INFO: Packet analysis {"connection_id":124268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:51:21] local.INFO: Extracted packet for processing {"connection_id":124268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501871616001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783210737000,"timestamp_ms":1783210737000,"timestamp_seconds":1783210737,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa47d68"} 
[2026-07-05 05:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 05:51:21] 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-07-05 05: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-07-05 05:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501871616001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501871616001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:51:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501871616001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":124268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:51:21] local.INFO: GPS data processed {"connection_id":124268,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:51:21] local.INFO: Acknowledgment sent {"connection_id":124268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:52:06] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:52:06] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:52:06] local.INFO: IMEI packet received {"connection_id":124269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":124269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:52:11] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:52:11] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:52:11] local.INFO: IMEI packet received {"connection_id":124269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":124269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:52:12] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:52:12] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:52:12] local.INFO: Packet analysis {"connection_id":124269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:52:12] local.INFO: Extracted packet for processing {"connection_id":124269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:52:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501871616001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783210737000,"timestamp_ms":1783210737000,"timestamp_seconds":1783210737,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa47d68"} 
[2026-07-05 05:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 05:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501871616001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501871616001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:52:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501871616001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":124269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:52:12] local.INFO: GPS data processed {"connection_id":124269,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:52:12] local.INFO: Acknowledgment sent {"connection_id":124269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:52:43] local.INFO: TCP Data received {"connection_id":124269,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:52:43] local.INFO: Processing buffer {"connection_id":124269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:52:43] local.INFO: Packet analysis {"connection_id":124269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:52:43] local.INFO: Extracted packet for processing {"connection_id":124269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:52:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:52: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-07-05 05:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501871616001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:52:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783210737000,"timestamp_ms":1783210737000,"timestamp_seconds":1783210737,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa47d68"} 
[2026-07-05 05:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:52: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-07-05 05:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 05:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:52: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-07-05 05:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501871616001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501871616001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:52:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:52:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:52:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501871616001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":124269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:52:43] local.INFO: GPS data processed {"connection_id":124269,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:52:43] local.INFO: Acknowledgment sent {"connection_id":124269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:53:06] local.INFO: TCP Data received {"connection_id":123076,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:53:06] local.INFO: Processing buffer {"connection_id":123076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:53:06] local.INFO: IMEI packet received {"connection_id":123076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":123076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:53:11] local.INFO: TCP Data received {"connection_id":123076,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:53:11] local.INFO: Processing buffer {"connection_id":123076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:53:11] local.INFO: IMEI packet received {"connection_id":123076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":123076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:53:12] local.INFO: TCP Data received {"connection_id":123076,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:53:12] local.INFO: Processing buffer {"connection_id":123076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:53:12] local.INFO: Packet analysis {"connection_id":123076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:53:12] local.INFO: Extracted packet for processing {"connection_id":123076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:53:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501871616001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783210737000,"timestamp_ms":1783210737000,"timestamp_seconds":1783210737,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa47d68"} 
[2026-07-05 05:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 05:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501871616001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501871616001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:53:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501871616001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":123076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:53:12] local.INFO: GPS data processed {"connection_id":123076,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:53:12] local.INFO: Acknowledgment sent {"connection_id":123076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:53:43] local.INFO: TCP Data received {"connection_id":123076,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:53:43] local.INFO: Processing buffer {"connection_id":123076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:53:43] local.INFO: Packet analysis {"connection_id":123076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:53:43] local.INFO: Extracted packet for processing {"connection_id":123076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:53:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501871616001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783210737000,"timestamp_ms":1783210737000,"timestamp_seconds":1783210737,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa47d68"} 
[2026-07-05 05:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:53: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-07-05 05:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 05:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501871616001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501871616001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:53:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501871616001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":123076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:53:43] local.INFO: GPS data processed {"connection_id":123076,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:53:43] local.INFO: Acknowledgment sent {"connection_id":123076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:54:06] local.INFO: TCP Data received {"connection_id":124270,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:54:06] local.INFO: Processing buffer {"connection_id":124270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:54:06] local.INFO: IMEI packet received {"connection_id":124270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":124270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:54:11] local.INFO: TCP Data received {"connection_id":124270,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:54:11] local.INFO: Processing buffer {"connection_id":124270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:54:11] local.INFO: IMEI packet received {"connection_id":124270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":124270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:54:12] local.INFO: TCP Data received {"connection_id":124270,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:54:12] local.INFO: Processing buffer {"connection_id":124270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa47d68012cb2a2c007823a880047013b2c..."} 
[2026-07-05 05:54:12] local.INFO: Packet analysis {"connection_id":124270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:54:12] local.INFO: Extracted packet for processing {"connection_id":124270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa4"} 
[2026-07-05 05:54:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501871616001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783210737000,"timestamp_ms":1783210737000,"timestamp_seconds":1783210737,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa47d68"} 
[2026-07-05 05:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 05:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501871616001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501871616001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:54:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501871616001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":124270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:54:12] local.INFO: GPS data processed {"connection_id":124270,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:54:12] local.INFO: Acknowledgment sent {"connection_id":124270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:54:43] local.INFO: TCP Data received {"connection_id":124270,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:54:43] local.INFO: Processing buffer {"connection_id":124270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:54:43] local.INFO: Packet analysis {"connection_id":124270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:54:43] local.INFO: Extracted packet for processing {"connection_id":124270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:54:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501948672001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211038000,"timestamp_ms":1783211038000,"timestamp_seconds":1783211038,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa91530"} 
[2026-07-05 05:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:54: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-07-05 05:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501948672001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501948672001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:54:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501948672001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":124270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:54:43] local.INFO: GPS data processed {"connection_id":124270,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:54:43] local.INFO: Acknowledgment sent {"connection_id":124270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:55:11] local.INFO: TCP Data received {"connection_id":122359,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:55:11] local.INFO: Processing buffer {"connection_id":122359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:55:11] local.INFO: IMEI packet received {"connection_id":122359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":122359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:55:16] local.INFO: TCP Data received {"connection_id":122359,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:55:16] local.INFO: Processing buffer {"connection_id":122359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:55:16] local.INFO: IMEI packet received {"connection_id":122359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":122359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:55:17] local.INFO: TCP Data received {"connection_id":122359,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:55:17] local.INFO: Processing buffer {"connection_id":122359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:55:17] local.INFO: Packet analysis {"connection_id":122359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:55:17] local.INFO: Extracted packet for processing {"connection_id":122359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:55:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501948672001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:55:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783211038000,"timestamp_ms":1783211038000,"timestamp_seconds":1783211038,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa91530"} 
[2026-07-05 05:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501948672001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501948672001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:55:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:55:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:55:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501948672001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":122359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:55:17] local.INFO: GPS data processed {"connection_id":122359,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:55:17] local.INFO: Acknowledgment sent {"connection_id":122359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:55:25] local.INFO: TCP Data received {"connection_id":123077,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:55:25] local.INFO: Processing buffer {"connection_id":123077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:55:25] local.INFO: IMEI packet received {"connection_id":123077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":123077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:55:48] local.INFO: TCP Data received {"connection_id":122359,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:55:48] local.INFO: Processing buffer {"connection_id":122359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:55:48] local.INFO: Packet analysis {"connection_id":122359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:55:48] local.INFO: Extracted packet for processing {"connection_id":122359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:55:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501948672001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:55:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783211038000,"timestamp_ms":1783211038000,"timestamp_seconds":1783211038,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa91530"} 
[2026-07-05 05:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501948672001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501948672001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:55:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:55:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:55:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501948672001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":122359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:55:48] local.INFO: GPS data processed {"connection_id":122359,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:55:48] local.INFO: Acknowledgment sent {"connection_id":122359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:56:05] local.INFO: TCP Data received {"connection_id":122286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:56:05] local.INFO: Processing buffer {"connection_id":122286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 05:56:05] local.INFO: IMEI packet received {"connection_id":122286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 05:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":122286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:56:06] local.INFO: TCP Data received {"connection_id":122287,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:56:06] local.INFO: Processing buffer {"connection_id":122287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:56:06] local.INFO: IMEI packet received {"connection_id":122287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":122287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:56:11] local.INFO: TCP Data received {"connection_id":122287,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:56:11] local.INFO: Processing buffer {"connection_id":122287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:56:11] local.INFO: IMEI packet received {"connection_id":122287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":122287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:56:12] local.INFO: TCP Data received {"connection_id":122287,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:56:12] local.INFO: Processing buffer {"connection_id":122287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:56:12] local.INFO: Packet analysis {"connection_id":122287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:56:12] local.INFO: Extracted packet for processing {"connection_id":122287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:56:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501948672001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211038000,"timestamp_ms":1783211038000,"timestamp_seconds":1783211038,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa91530"} 
[2026-07-05 05:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501948672001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501948672001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:56:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501948672001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":122287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:56:12] local.INFO: GPS data processed {"connection_id":122287,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:56:12] local.INFO: Acknowledgment sent {"connection_id":122287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:56:43] local.INFO: TCP Data received {"connection_id":122287,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:56:43] local.INFO: Processing buffer {"connection_id":122287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:56:43] local.INFO: Packet analysis {"connection_id":122287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:56:43] local.INFO: Extracted packet for processing {"connection_id":122287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:56:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05: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-07-05 05:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501948672001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:56:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211038000,"timestamp_ms":1783211038000,"timestamp_seconds":1783211038,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa91530"} 
[2026-07-05 05:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:56: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-07-05 05:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05: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-07-05 05:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501948672001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501948672001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:56:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:56:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501948672001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":122287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:56:43] local.INFO: GPS data processed {"connection_id":122287,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:56:43] local.INFO: Acknowledgment sent {"connection_id":122287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:57:06] local.INFO: TCP Data received {"connection_id":123079,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:57:06] local.INFO: Processing buffer {"connection_id":123079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:57:06] local.INFO: IMEI packet received {"connection_id":123079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":123079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:57:11] local.INFO: TCP Data received {"connection_id":123079,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:57:11] local.INFO: Processing buffer {"connection_id":123079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:57:11] local.INFO: IMEI packet received {"connection_id":123079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":123079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:57:12] local.INFO: TCP Data received {"connection_id":123079,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:57:12] local.INFO: Processing buffer {"connection_id":123079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:57:12] local.INFO: Packet analysis {"connection_id":123079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:57:12] local.INFO: Extracted packet for processing {"connection_id":123079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:57:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501948672001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:57:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211038000,"timestamp_ms":1783211038000,"timestamp_seconds":1783211038,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa91530"} 
[2026-07-05 05:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501948672001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501948672001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:57:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:57:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501948672001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":123079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:57:12] local.INFO: GPS data processed {"connection_id":123079,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:57:12] local.INFO: Acknowledgment sent {"connection_id":123079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:57:43] local.INFO: TCP Data received {"connection_id":123079,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:57:43] local.INFO: Processing buffer {"connection_id":123079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:57:43] local.INFO: Packet analysis {"connection_id":123079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:57:43] local.INFO: Extracted packet for processing {"connection_id":123079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:57:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501948672001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:57:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211038000,"timestamp_ms":1783211038000,"timestamp_seconds":1783211038,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa91530"} 
[2026-07-05 05:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:57: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-07-05 05:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501948672001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501948672001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:57:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:57:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501948672001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":123079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:57:43] local.INFO: GPS data processed {"connection_id":123079,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:57:43] local.INFO: Acknowledgment sent {"connection_id":123079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:58:06] local.INFO: TCP Data received {"connection_id":124271,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:58:06] local.INFO: Processing buffer {"connection_id":124271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:58:06] local.INFO: IMEI packet received {"connection_id":124271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":124271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:58:11] local.INFO: TCP Data received {"connection_id":124271,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:58:11] local.INFO: Processing buffer {"connection_id":124271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:58:11] local.INFO: IMEI packet received {"connection_id":124271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":124271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:58:12] local.INFO: TCP Data received {"connection_id":124271,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:58:12] local.INFO: Processing buffer {"connection_id":124271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:58:12] local.INFO: Packet analysis {"connection_id":124271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:58:12] local.INFO: Extracted packet for processing {"connection_id":124271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:58:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501948672001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211038000,"timestamp_ms":1783211038000,"timestamp_seconds":1783211038,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa91530"} 
[2026-07-05 05:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501948672001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501948672001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:58:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:58:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501948672001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":124271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:58:12] local.INFO: GPS data processed {"connection_id":124271,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:58:12] local.INFO: Acknowledgment sent {"connection_id":124271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:58:43] local.INFO: TCP Data received {"connection_id":124271,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:58:43] local.INFO: Processing buffer {"connection_id":124271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:58:43] local.INFO: Packet analysis {"connection_id":124271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:58:43] local.INFO: Extracted packet for processing {"connection_id":124271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:58:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501948672001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:58:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211038000,"timestamp_ms":1783211038000,"timestamp_seconds":1783211038,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa91530"} 
[2026-07-05 05:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:58: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-07-05 05:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501948672001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501948672001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:58:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:58:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501948672001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":124271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:58:43] local.INFO: GPS data processed {"connection_id":124271,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:58:43] local.INFO: Acknowledgment sent {"connection_id":124271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:59:06] local.INFO: TCP Data received {"connection_id":122288,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:59:06] local.INFO: Processing buffer {"connection_id":122288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:59:06] local.INFO: IMEI packet received {"connection_id":122288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 05:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":122288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 05:59:11] local.INFO: TCP Data received {"connection_id":122288,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:59:11] local.INFO: Processing buffer {"connection_id":122288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 05:59:11] local.INFO: IMEI packet received {"connection_id":122288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 05:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":122288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 05:59:13] local.INFO: TCP Data received {"connection_id":122288,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:59:13] local.INFO: Processing buffer {"connection_id":122288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fa91530012cb2a2c007823a880047013b2d..."} 
[2026-07-05 05:59:13] local.INFO: Packet analysis {"connection_id":122288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:59:13] local.INFO: Extracted packet for processing {"connection_id":122288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fa9"} 
[2026-07-05 05:59:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456501948672001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:59:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783211038000,"timestamp_ms":1783211038000,"timestamp_seconds":1783211038,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fa91530"} 
[2026-07-05 05:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456501948672001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456501948672001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:59:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:59:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456501948672001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":122288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:59:13] local.INFO: GPS data processed {"connection_id":122288,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:59:13] local.INFO: Acknowledgment sent {"connection_id":122288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 05:59:44] local.INFO: TCP Data received {"connection_id":122288,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:59:44] local.INFO: Processing buffer {"connection_id":122288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 05:59:44] local.INFO: Packet analysis {"connection_id":122288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 05:59:44] local.INFO: Extracted packet for processing {"connection_id":122288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 05:59:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 05:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 05:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502025728001,"note":"Value kept but may cause issues"} 
[2026-07-05 05:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 05:59:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 05:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 05:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783211339000,"timestamp_ms":1783211339000,"timestamp_seconds":1783211339,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fadacf8"} 
[2026-07-05 05:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 05:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 05:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 05:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 05:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 05:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 05:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 05:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 05:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 05:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 05:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 05:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 05:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502025728001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 05:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 05:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 05:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502025728001,"description":"Unknown IO ID 0"} 
[2026-07-05 05:59:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 05:59:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 05:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 05:59:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 05:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502025728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 05:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":122288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 05:59:44] local.INFO: GPS data processed {"connection_id":122288,"processed":1,"errors":0,"total":1} 
[2026-07-05 05:59:44] local.INFO: Acknowledgment sent {"connection_id":122288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:00:11] local.INFO: TCP Data received {"connection_id":123081,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:00:11] local.INFO: Processing buffer {"connection_id":123081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:00:11] local.INFO: IMEI packet received {"connection_id":123081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":123081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:00:16] local.INFO: TCP Data received {"connection_id":123081,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:00:16] local.INFO: Processing buffer {"connection_id":123081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:00:16] local.INFO: IMEI packet received {"connection_id":123081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":123081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:00:42] local.INFO: TCP Data received {"connection_id":123081,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:00:42] local.INFO: Processing buffer {"connection_id":123081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:00:42] local.INFO: Packet analysis {"connection_id":123081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:00:42] local.INFO: Extracted packet for processing {"connection_id":123081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502025728001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783211339000,"timestamp_ms":1783211339000,"timestamp_seconds":1783211339,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fadacf8"} 
[2026-07-05 06:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:00: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-07-05 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:00: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-07-05 06: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-07-05 06:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502025728001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502025728001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:00:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502025728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":123081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:00:42] local.INFO: GPS data processed {"connection_id":123081,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:00:42] local.INFO: Acknowledgment sent {"connection_id":123081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:01:06] local.INFO: TCP Data received {"connection_id":122289,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:01:06] local.INFO: Processing buffer {"connection_id":122289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:01:06] local.INFO: IMEI packet received {"connection_id":122289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":122289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:01:11] local.INFO: TCP Data received {"connection_id":122289,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:01:11] local.INFO: Processing buffer {"connection_id":122289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:01:11] local.INFO: IMEI packet received {"connection_id":122289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":122289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:01:12] local.INFO: TCP Data received {"connection_id":122289,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:01:12] local.INFO: Processing buffer {"connection_id":122289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:01:12] local.INFO: Packet analysis {"connection_id":122289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:01:12] local.INFO: Extracted packet for processing {"connection_id":122289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:01:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502025728001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211339000,"timestamp_ms":1783211339000,"timestamp_seconds":1783211339,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fadacf8"} 
[2026-07-05 06:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502025728001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502025728001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:01:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502025728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":122289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:01:12] local.INFO: GPS data processed {"connection_id":122289,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:01:12] local.INFO: Acknowledgment sent {"connection_id":122289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:01:20] local.INFO: TCP Data received {"connection_id":123082,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:01:20] local.INFO: Processing buffer {"connection_id":123082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:01:20] local.INFO: IMEI packet received {"connection_id":123082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":123082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:01:47] local.INFO: TCP Data received {"connection_id":122289,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:01:47] local.INFO: Processing buffer {"connection_id":122289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:01:47] local.INFO: Packet analysis {"connection_id":122289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:01:47] local.INFO: Extracted packet for processing {"connection_id":122289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:01:47] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502025728001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:01:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783211339000,"timestamp_ms":1783211339000,"timestamp_seconds":1783211339,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fadacf8"} 
[2026-07-05 06:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502025728001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502025728001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:01:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:01:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502025728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":122289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:01:47] local.INFO: GPS data processed {"connection_id":122289,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:01:47] local.INFO: Acknowledgment sent {"connection_id":122289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:02:05] local.INFO: TCP Data received {"connection_id":122363,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:02:05] local.INFO: Processing buffer {"connection_id":122363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:02:05] local.INFO: IMEI packet received {"connection_id":122363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":122363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:02:06] local.INFO: TCP Data received {"connection_id":122362,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:02:06] local.INFO: Processing buffer {"connection_id":122362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:02:06] local.INFO: IMEI packet received {"connection_id":122362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":122362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:02:11] local.INFO: TCP Data received {"connection_id":122362,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:02:11] local.INFO: Processing buffer {"connection_id":122362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:02:11] local.INFO: IMEI packet received {"connection_id":122362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":122362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:02:12] local.INFO: TCP Data received {"connection_id":122362,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:02:12] local.INFO: Processing buffer {"connection_id":122362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:02:12] local.INFO: Packet analysis {"connection_id":122362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:02:12] local.INFO: Extracted packet for processing {"connection_id":122362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:02:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502025728001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211339000,"timestamp_ms":1783211339000,"timestamp_seconds":1783211339,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fadacf8"} 
[2026-07-05 06:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502025728001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502025728001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:02:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502025728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":122362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:02:12] local.INFO: GPS data processed {"connection_id":122362,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:02:12] local.INFO: Acknowledgment sent {"connection_id":122362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:02:43] local.INFO: TCP Data received {"connection_id":122362,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:02:43] local.INFO: Processing buffer {"connection_id":122362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:02:43] local.INFO: Packet analysis {"connection_id":122362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:02:43] local.INFO: Extracted packet for processing {"connection_id":122362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:02:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502025728001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211339000,"timestamp_ms":1783211339000,"timestamp_seconds":1783211339,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fadacf8"} 
[2026-07-05 06:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:02: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-07-05 06:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502025728001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502025728001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:02:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502025728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":122362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:02:43] local.INFO: GPS data processed {"connection_id":122362,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:02:43] local.INFO: Acknowledgment sent {"connection_id":122362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:03:06] local.INFO: TCP Data received {"connection_id":123083,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:03:06] local.INFO: Processing buffer {"connection_id":123083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:03:06] local.INFO: IMEI packet received {"connection_id":123083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":123083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:03:11] local.INFO: TCP Data received {"connection_id":123083,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:03:11] local.INFO: Processing buffer {"connection_id":123083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:03:11] local.INFO: IMEI packet received {"connection_id":123083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":123083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:03:12] local.INFO: TCP Data received {"connection_id":123083,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:03:12] local.INFO: Processing buffer {"connection_id":123083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:03:12] local.INFO: Packet analysis {"connection_id":123083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:03:12] local.INFO: Extracted packet for processing {"connection_id":123083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:03:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502025728001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211339000,"timestamp_ms":1783211339000,"timestamp_seconds":1783211339,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fadacf8"} 
[2026-07-05 06:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502025728001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502025728001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:03:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502025728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":123083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:03:12] local.INFO: GPS data processed {"connection_id":123083,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:03:12] local.INFO: Acknowledgment sent {"connection_id":123083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:03:43] local.INFO: TCP Data received {"connection_id":123083,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:03:43] local.INFO: Processing buffer {"connection_id":123083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:03:43] local.INFO: Packet analysis {"connection_id":123083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:03:43] local.INFO: Extracted packet for processing {"connection_id":123083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:03:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502025728001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:03:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211339000,"timestamp_ms":1783211339000,"timestamp_seconds":1783211339,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fadacf8"} 
[2026-07-05 06:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:03: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-07-05 06:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502025728001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502025728001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:03:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:03:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502025728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":123083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:03:43] local.INFO: GPS data processed {"connection_id":123083,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:03:43] local.INFO: Acknowledgment sent {"connection_id":123083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:04:06] local.INFO: TCP Data received {"connection_id":122291,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:04:06] local.INFO: Processing buffer {"connection_id":122291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:04:06] local.INFO: IMEI packet received {"connection_id":122291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":122291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:04:11] local.INFO: TCP Data received {"connection_id":122291,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:04:11] local.INFO: Processing buffer {"connection_id":122291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:04:11] local.INFO: IMEI packet received {"connection_id":122291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":122291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:04:12] local.INFO: TCP Data received {"connection_id":122291,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:04:12] local.INFO: Processing buffer {"connection_id":122291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fadacf8012cb2a2c007823a880047013b2b..."} 
[2026-07-05 06:04:12] local.INFO: Packet analysis {"connection_id":122291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:04:12] local.INFO: Extracted packet for processing {"connection_id":122291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fad"} 
[2026-07-05 06:04:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502025728001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211339000,"timestamp_ms":1783211339000,"timestamp_seconds":1783211339,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fadacf8"} 
[2026-07-05 06:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502025728001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502025728001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:04:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502025728001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":122291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:04:12] local.INFO: GPS data processed {"connection_id":122291,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:04:12] local.INFO: Acknowledgment sent {"connection_id":122291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:04:43] local.INFO: TCP Data received {"connection_id":122291,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:04:43] local.INFO: Processing buffer {"connection_id":122291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:04:43] local.INFO: Packet analysis {"connection_id":122291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:04:43] local.INFO: Extracted packet for processing {"connection_id":122291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:04:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502102784001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211640000,"timestamp_ms":1783211640000,"timestamp_seconds":1783211640,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb244c0"} 
[2026-07-05 06:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:04: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-07-05 06:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502102784001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502102784001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:04:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502102784001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":122291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:04:43] local.INFO: GPS data processed {"connection_id":122291,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:04:43] local.INFO: Acknowledgment sent {"connection_id":122291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:05:11] local.INFO: TCP Data received {"connection_id":122365,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:05:11] local.INFO: Processing buffer {"connection_id":122365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:05:11] local.INFO: IMEI packet received {"connection_id":122365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":122365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:05:16] local.INFO: TCP Data received {"connection_id":122365,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:05:16] local.INFO: Processing buffer {"connection_id":122365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:05:16] local.INFO: IMEI packet received {"connection_id":122365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":122365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:05:17] local.INFO: TCP Data received {"connection_id":122365,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:05:17] local.INFO: Processing buffer {"connection_id":122365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:05:17] local.INFO: Packet analysis {"connection_id":122365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:05:17] local.INFO: Extracted packet for processing {"connection_id":122365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:05:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502102784001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:05:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783211640000,"timestamp_ms":1783211640000,"timestamp_seconds":1783211640,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb244c0"} 
[2026-07-05 06:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502102784001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502102784001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:05:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:05:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:05:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502102784001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":122365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:05:17] local.INFO: GPS data processed {"connection_id":122365,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:05:17] local.INFO: Acknowledgment sent {"connection_id":122365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:05:48] local.INFO: TCP Data received {"connection_id":122365,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:05:48] local.INFO: Processing buffer {"connection_id":122365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:05:48] local.INFO: Packet analysis {"connection_id":122365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:05:48] local.INFO: Extracted packet for processing {"connection_id":122365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:05:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502102784001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:05:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783211640000,"timestamp_ms":1783211640000,"timestamp_seconds":1783211640,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb244c0"} 
[2026-07-05 06:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502102784001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502102784001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:05:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:05:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:05:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502102784001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":122365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:05:48] local.INFO: GPS data processed {"connection_id":122365,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:05:48] local.INFO: Acknowledgment sent {"connection_id":122365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:06:06] local.INFO: TCP Data received {"connection_id":122292,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:06:06] local.INFO: Processing buffer {"connection_id":122292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:06:06] local.INFO: IMEI packet received {"connection_id":122292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":122292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:06:11] local.INFO: TCP Data received {"connection_id":122292,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:06:11] local.INFO: Processing buffer {"connection_id":122292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:06:11] local.INFO: IMEI packet received {"connection_id":122292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":122292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:06:12] local.INFO: TCP Data received {"connection_id":122292,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:06:12] local.INFO: Processing buffer {"connection_id":122292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:06:12] local.INFO: Packet analysis {"connection_id":122292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:06:12] local.INFO: Extracted packet for processing {"connection_id":122292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:06:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502102784001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211640000,"timestamp_ms":1783211640000,"timestamp_seconds":1783211640,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb244c0"} 
[2026-07-05 06:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502102784001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502102784001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:06:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502102784001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":122292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:06:12] local.INFO: GPS data processed {"connection_id":122292,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:06:12] local.INFO: Acknowledgment sent {"connection_id":122292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:06:43] local.INFO: TCP Data received {"connection_id":122292,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:06:43] local.INFO: Processing buffer {"connection_id":122292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:06:43] local.INFO: Packet analysis {"connection_id":122292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:06:43] local.INFO: Extracted packet for processing {"connection_id":122292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:06:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502102784001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211640000,"timestamp_ms":1783211640000,"timestamp_seconds":1783211640,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb244c0"} 
[2026-07-05 06:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:06: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-07-05 06:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502102784001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502102784001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:06:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:06:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502102784001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":122292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:06:43] local.INFO: GPS data processed {"connection_id":122292,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:06:43] local.INFO: Acknowledgment sent {"connection_id":122292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:07:07] local.INFO: TCP Data received {"connection_id":122294,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:07:07] local.INFO: Processing buffer {"connection_id":122294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:07:07] local.INFO: IMEI packet received {"connection_id":122294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":122294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:07:11] local.INFO: TCP Data received {"connection_id":122294,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:07:11] local.INFO: Processing buffer {"connection_id":122294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:07:11] local.INFO: IMEI packet received {"connection_id":122294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":122294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:07:12] local.INFO: TCP Data received {"connection_id":122294,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:07:12] local.INFO: Processing buffer {"connection_id":122294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:07:12] local.INFO: Packet analysis {"connection_id":122294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:07:12] local.INFO: Extracted packet for processing {"connection_id":122294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:07:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502102784001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:07:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211640000,"timestamp_ms":1783211640000,"timestamp_seconds":1783211640,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb244c0"} 
[2026-07-05 06:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502102784001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502102784001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:07:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:07:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502102784001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":122294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:07:12] local.INFO: GPS data processed {"connection_id":122294,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:07:12] local.INFO: Acknowledgment sent {"connection_id":122294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:07:20] local.INFO: TCP Data received {"connection_id":122295,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:07:20] local.INFO: Processing buffer {"connection_id":122295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:07:20] local.INFO: IMEI packet received {"connection_id":122295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":122295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:07:43] local.INFO: TCP Data received {"connection_id":122294,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:07:43] local.INFO: Processing buffer {"connection_id":122294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:07:43] local.INFO: Packet analysis {"connection_id":122294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:07:43] local.INFO: Extracted packet for processing {"connection_id":122294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:07:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502102784001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:07:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211640000,"timestamp_ms":1783211640000,"timestamp_seconds":1783211640,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb244c0"} 
[2026-07-05 06:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:07: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-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:07: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-07-05 06: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-07-05 06:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502102784001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502102784001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:07:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:07:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502102784001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":122294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:07:43] local.INFO: GPS data processed {"connection_id":122294,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:07:43] local.INFO: Acknowledgment sent {"connection_id":122294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:08:05] local.INFO: TCP Data received {"connection_id":123085,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:08:05] local.INFO: Processing buffer {"connection_id":123085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:08:05] local.INFO: IMEI packet received {"connection_id":123085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":123085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:08:06] local.INFO: TCP Data received {"connection_id":124273,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:08:06] local.INFO: Processing buffer {"connection_id":124273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:08:06] local.INFO: IMEI packet received {"connection_id":124273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":124273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:08:11] local.INFO: TCP Data received {"connection_id":124273,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:08:11] local.INFO: Processing buffer {"connection_id":124273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:08:11] local.INFO: IMEI packet received {"connection_id":124273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":124273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:08:12] local.INFO: TCP Data received {"connection_id":124273,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:08:12] local.INFO: Processing buffer {"connection_id":124273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:08:12] local.INFO: Packet analysis {"connection_id":124273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:08:12] local.INFO: Extracted packet for processing {"connection_id":124273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:08:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502102784001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211640000,"timestamp_ms":1783211640000,"timestamp_seconds":1783211640,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb244c0"} 
[2026-07-05 06:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502102784001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502102784001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:08:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502102784001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":124273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:08:12] local.INFO: GPS data processed {"connection_id":124273,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:08:12] local.INFO: Acknowledgment sent {"connection_id":124273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:08:43] local.INFO: TCP Data received {"connection_id":124273,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:08:43] local.INFO: Processing buffer {"connection_id":124273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:08:43] local.INFO: Packet analysis {"connection_id":124273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:08:43] local.INFO: Extracted packet for processing {"connection_id":124273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:08:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502102784001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:08:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211640000,"timestamp_ms":1783211640000,"timestamp_seconds":1783211640,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb244c0"} 
[2026-07-05 06:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:08: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-07-05 06:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502102784001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502102784001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:08:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:08:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:08:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502102784001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":124273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:08:43] local.INFO: GPS data processed {"connection_id":124273,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:08:43] local.INFO: Acknowledgment sent {"connection_id":124273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:09:06] local.INFO: TCP Data received {"connection_id":124274,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:09:06] local.INFO: Processing buffer {"connection_id":124274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:09:06] local.INFO: IMEI packet received {"connection_id":124274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":124274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:09:11] local.INFO: TCP Data received {"connection_id":124274,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:09:11] local.INFO: Processing buffer {"connection_id":124274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:09:11] local.INFO: IMEI packet received {"connection_id":124274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":124274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:09:12] local.INFO: TCP Data received {"connection_id":124274,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:09:12] local.INFO: Processing buffer {"connection_id":124274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb244c0012cb2a2c007823a880047013b2c..."} 
[2026-07-05 06:09:12] local.INFO: Packet analysis {"connection_id":124274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:09:12] local.INFO: Extracted packet for processing {"connection_id":124274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb2"} 
[2026-07-05 06:09:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502102784001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211640000,"timestamp_ms":1783211640000,"timestamp_seconds":1783211640,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb244c0"} 
[2026-07-05 06:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502102784001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502102784001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:09:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502102784001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":124274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:09:12] local.INFO: GPS data processed {"connection_id":124274,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:09:12] local.INFO: Acknowledgment sent {"connection_id":124274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:09:43] local.INFO: TCP Data received {"connection_id":124274,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:09:43] local.INFO: Processing buffer {"connection_id":124274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:09:43] local.INFO: Packet analysis {"connection_id":124274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:09:43] local.INFO: Extracted packet for processing {"connection_id":124274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:09:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502179840001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211941000,"timestamp_ms":1783211941000,"timestamp_seconds":1783211941,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb6dc88"} 
[2026-07-05 06:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:09: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-07-05 06:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502179840001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502179840001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:09:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502179840001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":124274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:09:43] local.INFO: GPS data processed {"connection_id":124274,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:09:43] local.INFO: Acknowledgment sent {"connection_id":124274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:10:11] local.INFO: TCP Data received {"connection_id":122367,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:10:11] local.INFO: Processing buffer {"connection_id":122367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:10:11] local.INFO: IMEI packet received {"connection_id":122367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":122367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:10:16] local.INFO: TCP Data received {"connection_id":122367,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:10:16] local.INFO: Processing buffer {"connection_id":122367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:10:16] local.INFO: IMEI packet received {"connection_id":122367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":122367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:10:17] local.INFO: TCP Data received {"connection_id":122367,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:10:17] local.INFO: Processing buffer {"connection_id":122367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:10:17] local.INFO: Packet analysis {"connection_id":122367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:10:17] local.INFO: Extracted packet for processing {"connection_id":122367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:10:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502179840001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:10:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783211941000,"timestamp_ms":1783211941000,"timestamp_seconds":1783211941,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb6dc88"} 
[2026-07-05 06:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502179840001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502179840001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:10:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:10:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:10:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502179840001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":122367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:10:17] local.INFO: GPS data processed {"connection_id":122367,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:10:17] local.INFO: Acknowledgment sent {"connection_id":122367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:10:48] local.INFO: TCP Data received {"connection_id":122367,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:10:48] local.INFO: Processing buffer {"connection_id":122367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:10:48] local.INFO: Packet analysis {"connection_id":122367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:10:48] local.INFO: Extracted packet for processing {"connection_id":122367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:10:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502179840001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:10:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783211941000,"timestamp_ms":1783211941000,"timestamp_seconds":1783211941,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb6dc88"} 
[2026-07-05 06:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502179840001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502179840001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:10:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:10:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:10:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502179840001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":122367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:10:48] local.INFO: GPS data processed {"connection_id":122367,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:10:48] local.INFO: Acknowledgment sent {"connection_id":122367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:11:06] local.INFO: TCP Data received {"connection_id":122296,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:11:06] local.INFO: Processing buffer {"connection_id":122296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:11:06] local.INFO: IMEI packet received {"connection_id":122296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":122296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:11:11] local.INFO: TCP Data received {"connection_id":122296,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:11:11] local.INFO: Processing buffer {"connection_id":122296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:11:11] local.INFO: IMEI packet received {"connection_id":122296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":122296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:11:12] local.INFO: TCP Data received {"connection_id":122296,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:11:12] local.INFO: Processing buffer {"connection_id":122296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:11:12] local.INFO: Packet analysis {"connection_id":122296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:11:12] local.INFO: Extracted packet for processing {"connection_id":122296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:11:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502179840001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211941000,"timestamp_ms":1783211941000,"timestamp_seconds":1783211941,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb6dc88"} 
[2026-07-05 06:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502179840001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502179840001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:11:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502179840001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":122296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:11:12] local.INFO: GPS data processed {"connection_id":122296,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:11:12] local.INFO: Acknowledgment sent {"connection_id":122296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:11:43] local.INFO: TCP Data received {"connection_id":122296,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:11:43] local.INFO: Processing buffer {"connection_id":122296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:11:43] local.INFO: Packet analysis {"connection_id":122296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:11:43] local.INFO: Extracted packet for processing {"connection_id":122296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:11:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502179840001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211941000,"timestamp_ms":1783211941000,"timestamp_seconds":1783211941,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb6dc88"} 
[2026-07-05 06:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06: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-07-05 06: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502179840001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502179840001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:11:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502179840001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":122296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:11:43] local.INFO: GPS data processed {"connection_id":122296,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:11:43] local.INFO: Acknowledgment sent {"connection_id":122296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:12:07] local.INFO: TCP Data received {"connection_id":123088,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:12:07] local.INFO: Processing buffer {"connection_id":123088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:12:07] local.INFO: IMEI packet received {"connection_id":123088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":123088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:12:11] local.INFO: TCP Data received {"connection_id":123088,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:12:11] local.INFO: Processing buffer {"connection_id":123088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:12:11] local.INFO: IMEI packet received {"connection_id":123088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":123088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:12:12] local.INFO: TCP Data received {"connection_id":123088,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:12:12] local.INFO: Processing buffer {"connection_id":123088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:12:12] local.INFO: Packet analysis {"connection_id":123088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:12:12] local.INFO: Extracted packet for processing {"connection_id":123088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:12:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502179840001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211941000,"timestamp_ms":1783211941000,"timestamp_seconds":1783211941,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb6dc88"} 
[2026-07-05 06:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502179840001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502179840001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:12:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502179840001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":123088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:12:12] local.INFO: GPS data processed {"connection_id":123088,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:12:12] local.INFO: Acknowledgment sent {"connection_id":123088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:12:43] local.INFO: TCP Data received {"connection_id":123088,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:12:43] local.INFO: Processing buffer {"connection_id":123088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:12:43] local.INFO: Packet analysis {"connection_id":123088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:12:43] local.INFO: Extracted packet for processing {"connection_id":123088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:12:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:12: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-07-05 06:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502179840001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211941000,"timestamp_ms":1783211941000,"timestamp_seconds":1783211941,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb6dc88"} 
[2026-07-05 06:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:12: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-07-05 06:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:12: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-07-05 06:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502179840001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502179840001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:12:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:12:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502179840001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":123088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:12:43] local.INFO: GPS data processed {"connection_id":123088,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:12:43] local.INFO: Acknowledgment sent {"connection_id":123088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:13:06] local.INFO: TCP Data received {"connection_id":124277,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:13:06] local.INFO: Processing buffer {"connection_id":124277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:13:06] local.INFO: IMEI packet received {"connection_id":124277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":124277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:13:11] local.INFO: TCP Data received {"connection_id":124277,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:13:11] local.INFO: Processing buffer {"connection_id":124277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:13:11] local.INFO: IMEI packet received {"connection_id":124277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":124277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:13:12] local.INFO: TCP Data received {"connection_id":124277,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:13:12] local.INFO: Processing buffer {"connection_id":124277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:13:12] local.INFO: Packet analysis {"connection_id":124277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:13:12] local.INFO: Extracted packet for processing {"connection_id":124277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:13:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502179840001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783211941000,"timestamp_ms":1783211941000,"timestamp_seconds":1783211941,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb6dc88"} 
[2026-07-05 06:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502179840001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502179840001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:13:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502179840001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":124277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:13:12] local.INFO: GPS data processed {"connection_id":124277,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:13:12] local.INFO: Acknowledgment sent {"connection_id":124277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:13:35] local.INFO: TCP Data received {"connection_id":124276,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:13:35] local.INFO: Processing buffer {"connection_id":124276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:13:35] local.INFO: IMEI packet received {"connection_id":124276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":124276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:13:43] local.INFO: TCP Data received {"connection_id":124277,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:13:43] local.INFO: Processing buffer {"connection_id":124277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:13:43] local.INFO: Packet analysis {"connection_id":124277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:13:43] local.INFO: Extracted packet for processing {"connection_id":124277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:13:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502179840001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:13:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783211941000,"timestamp_ms":1783211941000,"timestamp_seconds":1783211941,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb6dc88"} 
[2026-07-05 06:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:13: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-07-05 06:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502179840001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502179840001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:13:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:13:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:13:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502179840001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":124277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:13:43] local.INFO: GPS data processed {"connection_id":124277,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:13:43] local.INFO: Acknowledgment sent {"connection_id":124277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:14:05] local.INFO: TCP Data received {"connection_id":123089,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:14:05] local.INFO: Processing buffer {"connection_id":123089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:14:05] local.INFO: IMEI packet received {"connection_id":123089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":123089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:14:11] local.INFO: TCP Data received {"connection_id":123090,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:14:11] local.INFO: Processing buffer {"connection_id":123090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:14:11] local.INFO: IMEI packet received {"connection_id":123090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":123090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:14:16] local.INFO: TCP Data received {"connection_id":123090,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:14:16] local.INFO: Processing buffer {"connection_id":123090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:14:16] local.INFO: IMEI packet received {"connection_id":123090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":123090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:14:17] local.INFO: TCP Data received {"connection_id":123090,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:14:17] local.INFO: Processing buffer {"connection_id":123090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:14:17] local.INFO: Packet analysis {"connection_id":123090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:14:17] local.INFO: Extracted packet for processing {"connection_id":123090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:14:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502179840001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:14:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783211941000,"timestamp_ms":1783211941000,"timestamp_seconds":1783211941,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb6dc88"} 
[2026-07-05 06:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502179840001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502179840001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:14:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:14:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:14:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502179840001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":123090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:14:17] local.INFO: GPS data processed {"connection_id":123090,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:14:17] local.INFO: Acknowledgment sent {"connection_id":123090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:14:21] local.INFO: TCP Data received {"connection_id":123090,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:14:21] local.INFO: Processing buffer {"connection_id":123090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fb6dc88012cb2a2c007823a880047013b30..."} 
[2026-07-05 06:14:21] local.INFO: Packet analysis {"connection_id":123090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:14:21] local.INFO: Extracted packet for processing {"connection_id":123090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fb6"} 
[2026-07-05 06:14:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502179840001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783211941000,"timestamp_ms":1783211941000,"timestamp_seconds":1783211941,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fb6dc88"} 
[2026-07-05 06:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502179840001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502179840001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:14:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502179840001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":123090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:14:21] local.INFO: GPS data processed {"connection_id":123090,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:14:21] local.INFO: Acknowledgment sent {"connection_id":123090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:15:06] local.INFO: TCP Data received {"connection_id":123091,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:15:06] local.INFO: Processing buffer {"connection_id":123091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:15:06] local.INFO: IMEI packet received {"connection_id":123091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":123091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:15:11] local.INFO: TCP Data received {"connection_id":123091,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:15:11] local.INFO: Processing buffer {"connection_id":123091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:15:11] local.INFO: IMEI packet received {"connection_id":123091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":123091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:15:12] local.INFO: TCP Data received {"connection_id":123091,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:15:12] local.INFO: Processing buffer {"connection_id":123091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:15:12] local.INFO: Packet analysis {"connection_id":123091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:15:12] local.INFO: Extracted packet for processing {"connection_id":123091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:15:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502256896001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783212242000,"timestamp_ms":1783212242000,"timestamp_seconds":1783212242,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fbb7450"} 
[2026-07-05 06:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502256896001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502256896001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:15:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502256896001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":123091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:15:12] local.INFO: GPS data processed {"connection_id":123091,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:15:12] local.INFO: Acknowledgment sent {"connection_id":123091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:15:43] local.INFO: TCP Data received {"connection_id":123091,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:15:43] local.INFO: Processing buffer {"connection_id":123091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:15:43] local.INFO: Packet analysis {"connection_id":123091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:15:43] local.INFO: Extracted packet for processing {"connection_id":123091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:15:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502256896001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:15:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783212242000,"timestamp_ms":1783212242000,"timestamp_seconds":1783212242,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fbb7450"} 
[2026-07-05 06:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:15: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-07-05 06:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502256896001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502256896001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:15:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:15:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502256896001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":123091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:15:43] local.INFO: GPS data processed {"connection_id":123091,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:15:43] local.INFO: Acknowledgment sent {"connection_id":123091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:16:06] local.INFO: TCP Data received {"connection_id":124279,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:16:06] local.INFO: Processing buffer {"connection_id":124279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:16:06] local.INFO: IMEI packet received {"connection_id":124279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":124279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:16:11] local.INFO: TCP Data received {"connection_id":124279,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:16:11] local.INFO: Processing buffer {"connection_id":124279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:16:11] local.INFO: IMEI packet received {"connection_id":124279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":124279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:16:12] local.INFO: TCP Data received {"connection_id":124279,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:16:12] local.INFO: Processing buffer {"connection_id":124279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:16:12] local.INFO: Packet analysis {"connection_id":124279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:16:12] local.INFO: Extracted packet for processing {"connection_id":124279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:16:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502256896001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783212242000,"timestamp_ms":1783212242000,"timestamp_seconds":1783212242,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fbb7450"} 
[2026-07-05 06:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502256896001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502256896001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:16:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502256896001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":124279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:16:12] local.INFO: GPS data processed {"connection_id":124279,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:16:12] local.INFO: Acknowledgment sent {"connection_id":124279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:16:43] local.INFO: TCP Data received {"connection_id":124279,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:16:43] local.INFO: Processing buffer {"connection_id":124279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:16:43] local.INFO: Packet analysis {"connection_id":124279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:16:43] local.INFO: Extracted packet for processing {"connection_id":124279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:16:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502256896001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:16:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783212242000,"timestamp_ms":1783212242000,"timestamp_seconds":1783212242,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fbb7450"} 
[2026-07-05 06:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:16: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-07-05 06:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502256896001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502256896001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:16:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:16:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:16:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502256896001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":124279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:16:43] local.INFO: GPS data processed {"connection_id":124279,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:16:43] local.INFO: Acknowledgment sent {"connection_id":124279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:17:06] local.INFO: TCP Data received {"connection_id":123092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:17:06] local.INFO: Processing buffer {"connection_id":123092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:17:06] local.INFO: IMEI packet received {"connection_id":123092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":123092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:17:11] local.INFO: TCP Data received {"connection_id":123092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:17:11] local.INFO: Processing buffer {"connection_id":123092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:17:11] local.INFO: IMEI packet received {"connection_id":123092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":123092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:17:12] local.INFO: TCP Data received {"connection_id":123092,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:17:12] local.INFO: Processing buffer {"connection_id":123092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:17:12] local.INFO: Packet analysis {"connection_id":123092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:17:12] local.INFO: Extracted packet for processing {"connection_id":123092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:17:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502256896001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783212242000,"timestamp_ms":1783212242000,"timestamp_seconds":1783212242,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fbb7450"} 
[2026-07-05 06:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502256896001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502256896001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:17:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502256896001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":123092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:17:12] local.INFO: GPS data processed {"connection_id":123092,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:17:12] local.INFO: Acknowledgment sent {"connection_id":123092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:17:43] local.INFO: TCP Data received {"connection_id":123092,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:17:43] local.INFO: Processing buffer {"connection_id":123092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:17:43] local.INFO: Packet analysis {"connection_id":123092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:17:43] local.INFO: Extracted packet for processing {"connection_id":123092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:17:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502256896001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783212242000,"timestamp_ms":1783212242000,"timestamp_seconds":1783212242,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fbb7450"} 
[2026-07-05 06:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:17: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-07-05 06: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-07-05 06: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-07-05 06: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-07-05 06:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502256896001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502256896001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:17:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:17:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502256896001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":123092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:17:43] local.INFO: GPS data processed {"connection_id":123092,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:17:43] local.INFO: Acknowledgment sent {"connection_id":123092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:18:06] local.INFO: TCP Data received {"connection_id":122298,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:18:06] local.INFO: Processing buffer {"connection_id":122298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:18:06] local.INFO: IMEI packet received {"connection_id":122298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":122298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:18:11] local.INFO: TCP Data received {"connection_id":122298,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:18:11] local.INFO: Processing buffer {"connection_id":122298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:18:11] local.INFO: IMEI packet received {"connection_id":122298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":122298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:18:12] local.INFO: TCP Data received {"connection_id":122298,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:18:12] local.INFO: Processing buffer {"connection_id":122298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:18:12] local.INFO: Packet analysis {"connection_id":122298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:18:12] local.INFO: Extracted packet for processing {"connection_id":122298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:18:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502256896001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783212242000,"timestamp_ms":1783212242000,"timestamp_seconds":1783212242,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fbb7450"} 
[2026-07-05 06:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502256896001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502256896001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:18:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502256896001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":122298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:18:12] local.INFO: GPS data processed {"connection_id":122298,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:18:12] local.INFO: Acknowledgment sent {"connection_id":122298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:18:43] local.INFO: TCP Data received {"connection_id":122298,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:18:43] local.INFO: Processing buffer {"connection_id":122298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:18:43] local.INFO: Packet analysis {"connection_id":122298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:18:43] local.INFO: Extracted packet for processing {"connection_id":122298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:18:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502256896001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:18:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783212242000,"timestamp_ms":1783212242000,"timestamp_seconds":1783212242,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fbb7450"} 
[2026-07-05 06:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:18: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-07-05 06:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502256896001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502256896001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:18:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:18:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502256896001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":122298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:18:43] local.INFO: GPS data processed {"connection_id":122298,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:18:43] local.INFO: Acknowledgment sent {"connection_id":122298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:19:11] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:19:11] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:19:11] local.INFO: IMEI packet received {"connection_id":124281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":124281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:19:16] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:19:16] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:19:16] local.INFO: IMEI packet received {"connection_id":124281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":124281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:19:17] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:19:17] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:19:17] local.INFO: Packet analysis {"connection_id":124281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:19:17] local.INFO: Extracted packet for processing {"connection_id":124281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:19:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502256896001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:19:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783212242000,"timestamp_ms":1783212242000,"timestamp_seconds":1783212242,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fbb7450"} 
[2026-07-05 06:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502256896001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502256896001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:19:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:19:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502256896001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":124281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:19:17] local.INFO: GPS data processed {"connection_id":124281,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:19:17] local.INFO: Acknowledgment sent {"connection_id":124281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:19:21] local.INFO: TCP Data received {"connection_id":124281,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:19:21] local.INFO: Processing buffer {"connection_id":124281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fbb7450012cb2a2c007823a880047013b2f..."} 
[2026-07-05 06:19:21] local.INFO: Packet analysis {"connection_id":124281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:19:21] local.INFO: Extracted packet for processing {"connection_id":124281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fbb"} 
[2026-07-05 06:19:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":71,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502256896001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783212242000,"timestamp_ms":1783212242000,"timestamp_seconds":1783212242,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fbb7450"} 
[2026-07-05 06:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502256896001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502256896001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:19:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502256896001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":124281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:19:21] local.INFO: GPS data processed {"connection_id":124281,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:19:21] local.INFO: Acknowledgment sent {"connection_id":124281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:19:30] local.INFO: TCP Data received {"connection_id":123093,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:19:30] local.INFO: Processing buffer {"connection_id":123093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:19:30] local.INFO: IMEI packet received {"connection_id":123093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":123093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:20:05] local.INFO: TCP Data received {"connection_id":123094,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:20:05] local.INFO: Processing buffer {"connection_id":123094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:20:05] local.INFO: IMEI packet received {"connection_id":123094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":123094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:20:06] local.INFO: TCP Data received {"connection_id":123095,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:20:06] local.INFO: Processing buffer {"connection_id":123095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:20:06] local.INFO: IMEI packet received {"connection_id":123095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":123095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:20:11] local.INFO: TCP Data received {"connection_id":123095,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:20:11] local.INFO: Processing buffer {"connection_id":123095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:20:11] local.INFO: IMEI packet received {"connection_id":123095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":123095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:20:13] local.INFO: TCP Data received {"connection_id":123095,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:20:13] local.INFO: Processing buffer {"connection_id":123095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:20:13] local.INFO: Packet analysis {"connection_id":123095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:20:13] local.INFO: Extracted packet for processing {"connection_id":123095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:20:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502333952001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783212543000,"timestamp_ms":1783212543000,"timestamp_seconds":1783212543,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc00c18"} 
[2026-07-05 06:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":123095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":123095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":123095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502333952001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502333952001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:20:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502333952001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":123095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:20:13] local.INFO: GPS data processed {"connection_id":123095,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:20:13] local.INFO: Acknowledgment sent {"connection_id":123095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:20:46] local.INFO: TCP Data received {"connection_id":123095,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:20:46] local.INFO: Processing buffer {"connection_id":123095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:20:46] local.INFO: Packet analysis {"connection_id":123095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:20:46] local.INFO: Extracted packet for processing {"connection_id":123095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:20:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502333952001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:20:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783212543000,"timestamp_ms":1783212543000,"timestamp_seconds":1783212543,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc00c18"} 
[2026-07-05 06:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":123095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":123095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":123095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502333952001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502333952001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:20:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:20:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502333952001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":123095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:20:46] local.INFO: GPS data processed {"connection_id":123095,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:20:46] local.INFO: Acknowledgment sent {"connection_id":123095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:21:08] local.INFO: TCP Data received {"connection_id":122370,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:21:08] local.INFO: Processing buffer {"connection_id":122370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:21:08] local.INFO: IMEI packet received {"connection_id":122370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":122370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:21:11] local.INFO: TCP Data received {"connection_id":122370,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:21:11] local.INFO: Processing buffer {"connection_id":122370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:21:11] local.INFO: IMEI packet received {"connection_id":122370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":122370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:21:12] local.INFO: TCP Data received {"connection_id":122370,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:21:12] local.INFO: Processing buffer {"connection_id":122370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:21:12] local.INFO: Packet analysis {"connection_id":122370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:21:12] local.INFO: Extracted packet for processing {"connection_id":122370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:21:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502333952001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783212543000,"timestamp_ms":1783212543000,"timestamp_seconds":1783212543,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc00c18"} 
[2026-07-05 06:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502333952001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502333952001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:21:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502333952001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":122370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:21:12] local.INFO: GPS data processed {"connection_id":122370,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:21:12] local.INFO: Acknowledgment sent {"connection_id":122370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:21:44] local.INFO: TCP Data received {"connection_id":122370,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:21:44] local.INFO: Processing buffer {"connection_id":122370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:21:44] local.INFO: Packet analysis {"connection_id":122370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:21:44] local.INFO: Extracted packet for processing {"connection_id":122370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:21:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502333952001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:21:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783212543000,"timestamp_ms":1783212543000,"timestamp_seconds":1783212543,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc00c18"} 
[2026-07-05 06:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:21: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-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:21: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-07-05 06: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-07-05 06:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502333952001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502333952001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:21:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:21:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:21:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502333952001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":122370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:21:44] local.INFO: GPS data processed {"connection_id":122370,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:21:44] local.INFO: Acknowledgment sent {"connection_id":122370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:22:06] local.INFO: TCP Data received {"connection_id":122299,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:22:06] local.INFO: Processing buffer {"connection_id":122299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:22:06] local.INFO: IMEI packet received {"connection_id":122299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":122299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:22:11] local.INFO: TCP Data received {"connection_id":122299,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:22:11] local.INFO: Processing buffer {"connection_id":122299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:22:11] local.INFO: IMEI packet received {"connection_id":122299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":122299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:22:12] local.INFO: TCP Data received {"connection_id":122299,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:22:12] local.INFO: Processing buffer {"connection_id":122299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:22:12] local.INFO: Packet analysis {"connection_id":122299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:22:12] local.INFO: Extracted packet for processing {"connection_id":122299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:22:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502333952001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783212543000,"timestamp_ms":1783212543000,"timestamp_seconds":1783212543,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc00c18"} 
[2026-07-05 06:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502333952001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502333952001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:22:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502333952001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":122299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:22:12] local.INFO: GPS data processed {"connection_id":122299,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:22:12] local.INFO: Acknowledgment sent {"connection_id":122299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:22:43] local.INFO: TCP Data received {"connection_id":122299,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:22:43] local.INFO: Processing buffer {"connection_id":122299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:22:43] local.INFO: Packet analysis {"connection_id":122299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:22:43] local.INFO: Extracted packet for processing {"connection_id":122299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:22:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502333952001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:22:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783212543000,"timestamp_ms":1783212543000,"timestamp_seconds":1783212543,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc00c18"} 
[2026-07-05 06:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:22: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-07-05 06:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502333952001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502333952001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:22:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:22:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502333952001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":122299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:22:43] local.INFO: GPS data processed {"connection_id":122299,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:22:43] local.INFO: Acknowledgment sent {"connection_id":122299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:23:11] local.INFO: TCP Data received {"connection_id":122300,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:23:11] local.INFO: Processing buffer {"connection_id":122300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:23:11] local.INFO: IMEI packet received {"connection_id":122300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":122300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:23:16] local.INFO: TCP Data received {"connection_id":122300,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:23:16] local.INFO: Processing buffer {"connection_id":122300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:23:16] local.INFO: IMEI packet received {"connection_id":122300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":122300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:23:17] local.INFO: TCP Data received {"connection_id":122300,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:23:17] local.INFO: Processing buffer {"connection_id":122300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:23:17] local.INFO: Packet analysis {"connection_id":122300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:23:17] local.INFO: Extracted packet for processing {"connection_id":122300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:23:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502333952001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:23:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783212543000,"timestamp_ms":1783212543000,"timestamp_seconds":1783212543,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc00c18"} 
[2026-07-05 06:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502333952001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502333952001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:23:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:23:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502333952001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":122300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:23:17] local.INFO: GPS data processed {"connection_id":122300,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:23:17] local.INFO: Acknowledgment sent {"connection_id":122300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:23:21] local.INFO: TCP Data received {"connection_id":122300,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:23:21] local.INFO: Processing buffer {"connection_id":122300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:23:21] local.INFO: Packet analysis {"connection_id":122300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:23:21] local.INFO: Extracted packet for processing {"connection_id":122300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:23:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502333952001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783212543000,"timestamp_ms":1783212543000,"timestamp_seconds":1783212543,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc00c18"} 
[2026-07-05 06:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502333952001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502333952001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:23:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502333952001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":122300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:23:21] local.INFO: GPS data processed {"connection_id":122300,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:23:21] local.INFO: Acknowledgment sent {"connection_id":122300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:24:06] local.INFO: TCP Data received {"connection_id":122371,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:24:06] local.INFO: Processing buffer {"connection_id":122371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:24:06] local.INFO: IMEI packet received {"connection_id":122371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":122371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:24:11] local.INFO: TCP Data received {"connection_id":122371,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:24:11] local.INFO: Processing buffer {"connection_id":122371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:24:11] local.INFO: IMEI packet received {"connection_id":122371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":122371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:24:12] local.INFO: TCP Data received {"connection_id":122371,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:24:12] local.INFO: Processing buffer {"connection_id":122371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:24:12] local.INFO: Packet analysis {"connection_id":122371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:24:12] local.INFO: Extracted packet for processing {"connection_id":122371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:24:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502333952001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783212543000,"timestamp_ms":1783212543000,"timestamp_seconds":1783212543,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc00c18"} 
[2026-07-05 06:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502333952001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502333952001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:24:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502333952001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":122371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:24:12] local.INFO: GPS data processed {"connection_id":122371,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:24:12] local.INFO: Acknowledgment sent {"connection_id":122371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:24:16] local.INFO: TCP Data received {"connection_id":122371,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:24:16] local.INFO: Processing buffer {"connection_id":122371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc00c18012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:24:16] local.INFO: Packet analysis {"connection_id":122371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:24:16] local.INFO: Extracted packet for processing {"connection_id":122371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc0"} 
[2026-07-05 06:24:16] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502333952001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:24:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783212543000,"timestamp_ms":1783212543000,"timestamp_seconds":1783212543,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc00c18"} 
[2026-07-05 06:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502333952001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502333952001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:24:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:24:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:24:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502333952001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":122371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:24:16] local.INFO: GPS data processed {"connection_id":122371,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:24:16] local.INFO: Acknowledgment sent {"connection_id":122371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:24:47] local.INFO: TCP Data received {"connection_id":122371,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:24:47] local.INFO: Processing buffer {"connection_id":122371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:24:47] local.INFO: Packet analysis {"connection_id":122371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:24:47] local.INFO: Extracted packet for processing {"connection_id":122371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:24:47] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502411008001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:24:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783212844000,"timestamp_ms":1783212844000,"timestamp_seconds":1783212844,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc4a3e0"} 
[2026-07-05 06:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502411008001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502411008001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:24:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:24:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:24:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502411008001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":122371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:24:47] local.INFO: GPS data processed {"connection_id":122371,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:24:47] local.INFO: Acknowledgment sent {"connection_id":122371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:25:06] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:25:06] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:25:06] local.INFO: IMEI packet received {"connection_id":124285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":124285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:25:11] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:25:11] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:25:11] local.INFO: IMEI packet received {"connection_id":124285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":124285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:25:12] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:25:12] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:25:12] local.INFO: Packet analysis {"connection_id":124285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:25:12] local.INFO: Extracted packet for processing {"connection_id":124285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:25:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502411008001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783212844000,"timestamp_ms":1783212844000,"timestamp_seconds":1783212844,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc4a3e0"} 
[2026-07-05 06:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502411008001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502411008001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:25:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502411008001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":124285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:25:12] local.INFO: GPS data processed {"connection_id":124285,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:25:12] local.INFO: Acknowledgment sent {"connection_id":124285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:25:25] local.INFO: TCP Data received {"connection_id":124284,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:25:25] local.INFO: Processing buffer {"connection_id":124284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:25:25] local.INFO: IMEI packet received {"connection_id":124284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":124284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:25:43] local.INFO: TCP Data received {"connection_id":124285,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:25:43] local.INFO: Processing buffer {"connection_id":124285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:25:43] local.INFO: Packet analysis {"connection_id":124285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:25:43] local.INFO: Extracted packet for processing {"connection_id":124285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:25:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502411008001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783212844000,"timestamp_ms":1783212844000,"timestamp_seconds":1783212844,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc4a3e0"} 
[2026-07-05 06:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:25: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-07-05 06:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502411008001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502411008001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:25:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502411008001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":124285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:25:43] local.INFO: GPS data processed {"connection_id":124285,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:25:43] local.INFO: Acknowledgment sent {"connection_id":124285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:26:06] local.INFO: TCP Data received {"connection_id":122302,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:26:06] local.INFO: Processing buffer {"connection_id":122302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:26:06] local.INFO: IMEI packet received {"connection_id":122302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":122302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:26:06] local.INFO: TCP Data received {"connection_id":124286,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:26:06] local.INFO: Processing buffer {"connection_id":124286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:26:06] local.INFO: IMEI packet received {"connection_id":124286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":124286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:26:11] local.INFO: TCP Data received {"connection_id":122302,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:26:11] local.INFO: Processing buffer {"connection_id":122302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:26:11] local.INFO: IMEI packet received {"connection_id":122302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":122302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:26:12] local.INFO: TCP Data received {"connection_id":122302,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:26:12] local.INFO: Processing buffer {"connection_id":122302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:26:12] local.INFO: Packet analysis {"connection_id":122302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:26:12] local.INFO: Extracted packet for processing {"connection_id":122302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:26:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502411008001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783212844000,"timestamp_ms":1783212844000,"timestamp_seconds":1783212844,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc4a3e0"} 
[2026-07-05 06:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502411008001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502411008001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:26:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502411008001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":122302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:26:12] local.INFO: GPS data processed {"connection_id":122302,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:26:12] local.INFO: Acknowledgment sent {"connection_id":122302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:26:43] local.INFO: TCP Data received {"connection_id":122302,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:26:43] local.INFO: Processing buffer {"connection_id":122302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:26:43] local.INFO: Packet analysis {"connection_id":122302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:26:43] local.INFO: Extracted packet for processing {"connection_id":122302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:26:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502411008001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:26:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783212844000,"timestamp_ms":1783212844000,"timestamp_seconds":1783212844,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc4a3e0"} 
[2026-07-05 06:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:26: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-07-05 06:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502411008001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502411008001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:26:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:26:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:26:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502411008001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":122302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:26:43] local.INFO: GPS data processed {"connection_id":122302,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:26:43] local.INFO: Acknowledgment sent {"connection_id":122302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:27:06] local.INFO: TCP Data received {"connection_id":122304,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:27:06] local.INFO: Processing buffer {"connection_id":122304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:27:06] local.INFO: IMEI packet received {"connection_id":122304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":122304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:27:11] local.INFO: TCP Data received {"connection_id":122304,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:27:11] local.INFO: Processing buffer {"connection_id":122304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:27:11] local.INFO: IMEI packet received {"connection_id":122304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":122304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:27:12] local.INFO: TCP Data received {"connection_id":122304,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:27:12] local.INFO: Processing buffer {"connection_id":122304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:27:12] local.INFO: Packet analysis {"connection_id":122304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:27:12] local.INFO: Extracted packet for processing {"connection_id":122304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:27:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502411008001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783212844000,"timestamp_ms":1783212844000,"timestamp_seconds":1783212844,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc4a3e0"} 
[2026-07-05 06:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502411008001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502411008001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:27:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502411008001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":122304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:27:12] local.INFO: GPS data processed {"connection_id":122304,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:27:12] local.INFO: Acknowledgment sent {"connection_id":122304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:27:43] local.INFO: TCP Data received {"connection_id":122304,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:27:43] local.INFO: Processing buffer {"connection_id":122304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:27:43] local.INFO: Packet analysis {"connection_id":122304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:27:43] local.INFO: Extracted packet for processing {"connection_id":122304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:27:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502411008001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:27:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783212844000,"timestamp_ms":1783212844000,"timestamp_seconds":1783212844,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc4a3e0"} 
[2026-07-05 06:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:27: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-07-05 06:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502411008001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502411008001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:27:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:27:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502411008001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":122304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:27:43] local.INFO: GPS data processed {"connection_id":122304,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:27:43] local.INFO: Acknowledgment sent {"connection_id":122304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:28:11] local.INFO: TCP Data received {"connection_id":124287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:28:11] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:28:11] local.INFO: IMEI packet received {"connection_id":124287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":124287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:28:16] local.INFO: TCP Data received {"connection_id":124287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:28:16] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:28:16] local.INFO: IMEI packet received {"connection_id":124287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":124287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:28:17] local.INFO: TCP Data received {"connection_id":124287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:28:17] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:28:17] local.INFO: Packet analysis {"connection_id":124287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:28:17] local.INFO: Extracted packet for processing {"connection_id":124287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:28:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502411008001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783212844000,"timestamp_ms":1783212844000,"timestamp_seconds":1783212844,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc4a3e0"} 
[2026-07-05 06:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502411008001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502411008001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:28:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:28:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:28:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502411008001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":124287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:28:17] local.INFO: GPS data processed {"connection_id":124287,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:28:17] local.INFO: Acknowledgment sent {"connection_id":124287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:28:21] local.INFO: TCP Data received {"connection_id":124287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:28:21] local.INFO: Processing buffer {"connection_id":124287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:28:21] local.INFO: Packet analysis {"connection_id":124287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:28:21] local.INFO: Extracted packet for processing {"connection_id":124287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:28:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502411008001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783212844000,"timestamp_ms":1783212844000,"timestamp_seconds":1783212844,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc4a3e0"} 
[2026-07-05 06:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502411008001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502411008001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:28:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502411008001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":124287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:28:21] local.INFO: GPS data processed {"connection_id":124287,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:28:21] local.INFO: Acknowledgment sent {"connection_id":124287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:29:06] local.INFO: TCP Data received {"connection_id":124288,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:29:06] local.INFO: Processing buffer {"connection_id":124288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:29:06] local.INFO: IMEI packet received {"connection_id":124288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":124288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:29:11] local.INFO: TCP Data received {"connection_id":124288,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:29:11] local.INFO: Processing buffer {"connection_id":124288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:29:11] local.INFO: IMEI packet received {"connection_id":124288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":124288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:29:12] local.INFO: TCP Data received {"connection_id":124288,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:29:12] local.INFO: Processing buffer {"connection_id":124288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:29:12] local.INFO: Packet analysis {"connection_id":124288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:29:12] local.INFO: Extracted packet for processing {"connection_id":124288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:29:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502411008001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783212844000,"timestamp_ms":1783212844000,"timestamp_seconds":1783212844,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc4a3e0"} 
[2026-07-05 06:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502411008001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502411008001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:29:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502411008001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":124288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:29:12] local.INFO: GPS data processed {"connection_id":124288,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:29:12] local.INFO: Acknowledgment sent {"connection_id":124288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:29:43] local.INFO: TCP Data received {"connection_id":124288,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:29:43] local.INFO: Processing buffer {"connection_id":124288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc4a3e0012cb2a2c007823a88004b013b2d..."} 
[2026-07-05 06:29:43] local.INFO: Packet analysis {"connection_id":124288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:29:43] local.INFO: Extracted packet for processing {"connection_id":124288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc4"} 
[2026-07-05 06:29:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502411008001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783212844000,"timestamp_ms":1783212844000,"timestamp_seconds":1783212844,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc4a3e0"} 
[2026-07-05 06:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:29: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-07-05 06:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502411008001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502411008001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:29:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502411008001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":124288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:29:43] local.INFO: GPS data processed {"connection_id":124288,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:29:43] local.INFO: Acknowledgment sent {"connection_id":124288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:30:06] local.INFO: TCP Data received {"connection_id":122306,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:30:06] local.INFO: Processing buffer {"connection_id":122306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:30:06] local.INFO: IMEI packet received {"connection_id":122306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":122306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:30:11] local.INFO: TCP Data received {"connection_id":122306,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:30:11] local.INFO: Processing buffer {"connection_id":122306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:30:11] local.INFO: IMEI packet received {"connection_id":122306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":122306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:30:12] local.INFO: TCP Data received {"connection_id":122306,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:30:12] local.INFO: Processing buffer {"connection_id":122306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:30:12] local.INFO: Packet analysis {"connection_id":122306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:30:12] local.INFO: Extracted packet for processing {"connection_id":122306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:30:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502488064001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:30:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783213145000,"timestamp_ms":1783213145000,"timestamp_seconds":1783213145,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc93ba8"} 
[2026-07-05 06:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502488064001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502488064001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:30:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:30:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:30:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502488064001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":122306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:30:12] local.INFO: GPS data processed {"connection_id":122306,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:30:12] local.INFO: Acknowledgment sent {"connection_id":122306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:30:43] local.INFO: TCP Data received {"connection_id":122306,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:30:43] local.INFO: Processing buffer {"connection_id":122306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:30:43] local.INFO: Packet analysis {"connection_id":122306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:30:43] local.INFO: Extracted packet for processing {"connection_id":122306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:30:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502488064001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:30:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783213145000,"timestamp_ms":1783213145000,"timestamp_seconds":1783213145,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc93ba8"} 
[2026-07-05 06:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:30: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-07-05 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:30: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-07-05 06: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-07-05 06:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502488064001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502488064001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:30:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:30:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:30:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502488064001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":122306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:30:43] local.INFO: GPS data processed {"connection_id":122306,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:30:43] local.INFO: Acknowledgment sent {"connection_id":122306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:31:06] local.INFO: TCP Data received {"connection_id":122374,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:31:06] local.INFO: Processing buffer {"connection_id":122374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:31:06] local.INFO: IMEI packet received {"connection_id":122374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":122374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:31:11] local.INFO: TCP Data received {"connection_id":122374,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:31:11] local.INFO: Processing buffer {"connection_id":122374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:31:11] local.INFO: IMEI packet received {"connection_id":122374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":122374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:31:12] local.INFO: TCP Data received {"connection_id":122374,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:31:12] local.INFO: Processing buffer {"connection_id":122374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:31:12] local.INFO: Packet analysis {"connection_id":122374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:31:12] local.INFO: Extracted packet for processing {"connection_id":122374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:31:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502488064001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783213145000,"timestamp_ms":1783213145000,"timestamp_seconds":1783213145,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc93ba8"} 
[2026-07-05 06:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502488064001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502488064001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:31:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502488064001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":122374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:31:12] local.INFO: GPS data processed {"connection_id":122374,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:31:12] local.INFO: Acknowledgment sent {"connection_id":122374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:31:25] local.INFO: TCP Data received {"connection_id":122373,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:31:25] local.INFO: Processing buffer {"connection_id":122373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:31:25] local.INFO: IMEI packet received {"connection_id":122373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":122373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:31:43] local.INFO: TCP Data received {"connection_id":122374,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:31:43] local.INFO: Processing buffer {"connection_id":122374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:31:43] local.INFO: Packet analysis {"connection_id":122374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:31:43] local.INFO: Extracted packet for processing {"connection_id":122374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:31:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502488064001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:31:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783213145000,"timestamp_ms":1783213145000,"timestamp_seconds":1783213145,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc93ba8"} 
[2026-07-05 06:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:31: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-07-05 06:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502488064001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502488064001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:31:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:31:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502488064001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":122374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:31:43] local.INFO: GPS data processed {"connection_id":122374,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:31:43] local.INFO: Acknowledgment sent {"connection_id":122374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:32:05] local.INFO: TCP Data received {"connection_id":123098,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:32:05] local.INFO: Processing buffer {"connection_id":123098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:32:05] local.INFO: IMEI packet received {"connection_id":123098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":123098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:32:06] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:32:06] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:32:06] local.INFO: IMEI packet received {"connection_id":124289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":124289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:32:11] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:32:11] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:32:11] local.INFO: IMEI packet received {"connection_id":124289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":124289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:32:12] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:32:12] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:32:12] local.INFO: Packet analysis {"connection_id":124289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:32:12] local.INFO: Extracted packet for processing {"connection_id":124289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:32:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502488064001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783213145000,"timestamp_ms":1783213145000,"timestamp_seconds":1783213145,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc93ba8"} 
[2026-07-05 06:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502488064001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502488064001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:32:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502488064001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":124289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:32:12] local.INFO: GPS data processed {"connection_id":124289,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:32:12] local.INFO: Acknowledgment sent {"connection_id":124289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:32:43] local.INFO: TCP Data received {"connection_id":124289,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:32:43] local.INFO: Processing buffer {"connection_id":124289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:32:43] local.INFO: Packet analysis {"connection_id":124289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:32:43] local.INFO: Extracted packet for processing {"connection_id":124289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:32:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502488064001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783213145000,"timestamp_ms":1783213145000,"timestamp_seconds":1783213145,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc93ba8"} 
[2026-07-05 06:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:32: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-07-05 06:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502488064001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502488064001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:32:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502488064001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":124289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:32:43] local.INFO: GPS data processed {"connection_id":124289,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:32:43] local.INFO: Acknowledgment sent {"connection_id":124289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:33:11] local.INFO: TCP Data received {"connection_id":122307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:33:11] local.INFO: Processing buffer {"connection_id":122307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:33:11] local.INFO: IMEI packet received {"connection_id":122307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":122307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:33:16] local.INFO: TCP Data received {"connection_id":122307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:33:16] local.INFO: Processing buffer {"connection_id":122307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:33:16] local.INFO: IMEI packet received {"connection_id":122307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":122307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:33:17] local.INFO: TCP Data received {"connection_id":122307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:33:17] local.INFO: Processing buffer {"connection_id":122307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:33:17] local.INFO: Packet analysis {"connection_id":122307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:33:17] local.INFO: Extracted packet for processing {"connection_id":122307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:33:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502488064001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:33:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783213145000,"timestamp_ms":1783213145000,"timestamp_seconds":1783213145,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc93ba8"} 
[2026-07-05 06:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502488064001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502488064001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:33:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:33:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:33:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502488064001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":122307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:33:17] local.INFO: GPS data processed {"connection_id":122307,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:33:17] local.INFO: Acknowledgment sent {"connection_id":122307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:33:21] local.INFO: TCP Data received {"connection_id":122307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:33:21] local.INFO: Processing buffer {"connection_id":122307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:33:21] local.INFO: Packet analysis {"connection_id":122307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:33:21] local.INFO: Extracted packet for processing {"connection_id":122307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:33:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502488064001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783213145000,"timestamp_ms":1783213145000,"timestamp_seconds":1783213145,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc93ba8"} 
[2026-07-05 06:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502488064001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502488064001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:33:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502488064001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":122307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:33:21] local.INFO: GPS data processed {"connection_id":122307,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:33:21] local.INFO: Acknowledgment sent {"connection_id":122307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:34:06] local.INFO: TCP Data received {"connection_id":123099,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:34:06] local.INFO: Processing buffer {"connection_id":123099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:34:06] local.INFO: IMEI packet received {"connection_id":123099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":123099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:34:11] local.INFO: TCP Data received {"connection_id":123099,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:34:11] local.INFO: Processing buffer {"connection_id":123099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:34:11] local.INFO: IMEI packet received {"connection_id":123099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":123099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:34:12] local.INFO: TCP Data received {"connection_id":123099,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:34:12] local.INFO: Processing buffer {"connection_id":123099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:34:12] local.INFO: Packet analysis {"connection_id":123099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:34:12] local.INFO: Extracted packet for processing {"connection_id":123099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:34:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502488064001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783213145000,"timestamp_ms":1783213145000,"timestamp_seconds":1783213145,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc93ba8"} 
[2026-07-05 06:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502488064001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502488064001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:34:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502488064001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":123099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:34:12] local.INFO: GPS data processed {"connection_id":123099,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:34:12] local.INFO: Acknowledgment sent {"connection_id":123099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:34:45] local.INFO: TCP Data received {"connection_id":123099,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:34:45] local.INFO: Processing buffer {"connection_id":123099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fc93ba8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:34:45] local.INFO: Packet analysis {"connection_id":123099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:34:45] local.INFO: Extracted packet for processing {"connection_id":123099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fc9"} 
[2026-07-05 06:34:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:34: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-07-05 06:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502488064001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:34:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783213145000,"timestamp_ms":1783213145000,"timestamp_seconds":1783213145,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fc93ba8"} 
[2026-07-05 06:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 06:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":123099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":123099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":123099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502488064001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502488064001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:34:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:34:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:34:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502488064001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":123099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:34:45] local.INFO: GPS data processed {"connection_id":123099,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:34:45] local.INFO: Acknowledgment sent {"connection_id":123099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:35:06] local.INFO: TCP Data received {"connection_id":122376,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:35:06] local.INFO: Processing buffer {"connection_id":122376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:35:06] local.INFO: IMEI packet received {"connection_id":122376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":122376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:35:11] local.INFO: TCP Data received {"connection_id":122376,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:35:11] local.INFO: Processing buffer {"connection_id":122376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:35:11] local.INFO: IMEI packet received {"connection_id":122376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":122376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:35:12] local.INFO: TCP Data received {"connection_id":122376,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:35:12] local.INFO: Processing buffer {"connection_id":122376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:35:12] local.INFO: Packet analysis {"connection_id":122376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:35:12] local.INFO: Extracted packet for processing {"connection_id":122376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:35:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502565120001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783213446000,"timestamp_ms":1783213446000,"timestamp_seconds":1783213446,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fcdd370"} 
[2026-07-05 06:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502565120001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502565120001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:35:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502565120001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":122376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:35:12] local.INFO: GPS data processed {"connection_id":122376,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:35:12] local.INFO: Acknowledgment sent {"connection_id":122376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:35:43] local.INFO: TCP Data received {"connection_id":122376,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:35:43] local.INFO: Processing buffer {"connection_id":122376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:35:43] local.INFO: Packet analysis {"connection_id":122376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:35:43] local.INFO: Extracted packet for processing {"connection_id":122376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:35:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 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-07-05 06:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502565120001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783213446000,"timestamp_ms":1783213446000,"timestamp_seconds":1783213446,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fcdd370"} 
[2026-07-05 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-07-05 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-07-05 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":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 06:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502565120001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502565120001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:35:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502565120001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":122376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:35:43] local.INFO: GPS data processed {"connection_id":122376,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:35:43] local.INFO: Acknowledgment sent {"connection_id":122376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:36:11] local.INFO: TCP Data received {"connection_id":124292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:36:11] local.INFO: Processing buffer {"connection_id":124292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:36:11] local.INFO: IMEI packet received {"connection_id":124292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":124292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:36:16] local.INFO: TCP Data received {"connection_id":124292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:36:16] local.INFO: Processing buffer {"connection_id":124292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:36:16] local.INFO: IMEI packet received {"connection_id":124292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":124292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:36:21] local.INFO: TCP Data received {"connection_id":124292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:36:21] local.INFO: Processing buffer {"connection_id":124292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:36:21] local.INFO: Packet analysis {"connection_id":124292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:36:21] local.INFO: Extracted packet for processing {"connection_id":124292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502565120001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783213446000,"timestamp_ms":1783213446000,"timestamp_seconds":1783213446,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fcdd370"} 
[2026-07-05 06:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502565120001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502565120001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502565120001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":124292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:36:21] local.INFO: GPS data processed {"connection_id":124292,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:36:21] local.INFO: Acknowledgment sent {"connection_id":124292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:36:21] local.INFO: TCP Data received {"connection_id":124292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:36:21] local.INFO: Processing buffer {"connection_id":124292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:36:21] local.INFO: Packet analysis {"connection_id":124292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:36:21] local.INFO: Extracted packet for processing {"connection_id":124292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502565120001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783213446000,"timestamp_ms":1783213446000,"timestamp_seconds":1783213446,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fcdd370"} 
[2026-07-05 06:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502565120001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502565120001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502565120001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":124292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:36:21] local.INFO: GPS data processed {"connection_id":124292,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:36:21] local.INFO: Acknowledgment sent {"connection_id":124292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:37:06] local.INFO: TCP Data received {"connection_id":122309,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:37:06] local.INFO: Processing buffer {"connection_id":122309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:37:06] local.INFO: IMEI packet received {"connection_id":122309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":122309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:37:11] local.INFO: TCP Data received {"connection_id":122309,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:37:11] local.INFO: Processing buffer {"connection_id":122309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:37:11] local.INFO: IMEI packet received {"connection_id":122309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":122309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:37:12] local.INFO: TCP Data received {"connection_id":122309,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:37:12] local.INFO: Processing buffer {"connection_id":122309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:37:12] local.INFO: Packet analysis {"connection_id":122309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:37:12] local.INFO: Extracted packet for processing {"connection_id":122309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:37:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502565120001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783213446000,"timestamp_ms":1783213446000,"timestamp_seconds":1783213446,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fcdd370"} 
[2026-07-05 06:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502565120001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502565120001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:37:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502565120001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":122309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:37:12] local.INFO: GPS data processed {"connection_id":122309,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:37:12] local.INFO: Acknowledgment sent {"connection_id":122309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:37:30] local.INFO: TCP Data received {"connection_id":122310,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:37:30] local.INFO: Processing buffer {"connection_id":122310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:37:30] local.INFO: IMEI packet received {"connection_id":122310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":122310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:37:43] local.INFO: TCP Data received {"connection_id":122309,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:37:43] local.INFO: Processing buffer {"connection_id":122309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:37:43] local.INFO: Packet analysis {"connection_id":122309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:37:43] local.INFO: Extracted packet for processing {"connection_id":122309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:37:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502565120001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783213446000,"timestamp_ms":1783213446000,"timestamp_seconds":1783213446,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fcdd370"} 
[2026-07-05 06:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:37: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-07-05 06:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502565120001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502565120001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:37:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502565120001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":122309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:37:43] local.INFO: GPS data processed {"connection_id":122309,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:37:43] local.INFO: Acknowledgment sent {"connection_id":122309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:38:05] local.INFO: TCP Data received {"connection_id":123100,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:38:05] local.INFO: Processing buffer {"connection_id":123100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:38:05] local.INFO: IMEI packet received {"connection_id":123100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":123100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:38:06] local.INFO: TCP Data received {"connection_id":122377,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:38:06] local.INFO: Processing buffer {"connection_id":122377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:38:06] local.INFO: IMEI packet received {"connection_id":122377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":122377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:38:11] local.INFO: TCP Data received {"connection_id":122377,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:38:11] local.INFO: Processing buffer {"connection_id":122377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:38:11] local.INFO: IMEI packet received {"connection_id":122377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":122377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:38:12] local.INFO: TCP Data received {"connection_id":122377,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:38:12] local.INFO: Processing buffer {"connection_id":122377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:38:12] local.INFO: Packet analysis {"connection_id":122377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:38:12] local.INFO: Extracted packet for processing {"connection_id":122377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:38:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502565120001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783213446000,"timestamp_ms":1783213446000,"timestamp_seconds":1783213446,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fcdd370"} 
[2026-07-05 06:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502565120001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502565120001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:38:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502565120001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":122377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:38:12] local.INFO: GPS data processed {"connection_id":122377,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:38:12] local.INFO: Acknowledgment sent {"connection_id":122377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:38:43] local.INFO: TCP Data received {"connection_id":122377,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:38:43] local.INFO: Processing buffer {"connection_id":122377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:38:43] local.INFO: Packet analysis {"connection_id":122377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:38:43] local.INFO: Extracted packet for processing {"connection_id":122377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:38:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502565120001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:38:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783213446000,"timestamp_ms":1783213446000,"timestamp_seconds":1783213446,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fcdd370"} 
[2026-07-05 06:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:38: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-07-05 06:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502565120001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502565120001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:38:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:38:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502565120001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":122377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:38:43] local.INFO: GPS data processed {"connection_id":122377,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:38:43] local.INFO: Acknowledgment sent {"connection_id":122377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:39:08] local.INFO: TCP Data received {"connection_id":122312,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:39:08] local.INFO: Processing buffer {"connection_id":122312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:39:08] local.INFO: IMEI packet received {"connection_id":122312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":122312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:39:11] local.INFO: TCP Data received {"connection_id":122312,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:39:11] local.INFO: Processing buffer {"connection_id":122312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:39:11] local.INFO: IMEI packet received {"connection_id":122312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":122312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:39:12] local.INFO: TCP Data received {"connection_id":122312,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:39:12] local.INFO: Processing buffer {"connection_id":122312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:39:12] local.INFO: Packet analysis {"connection_id":122312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:39:12] local.INFO: Extracted packet for processing {"connection_id":122312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:39:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502565120001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783213446000,"timestamp_ms":1783213446000,"timestamp_seconds":1783213446,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fcdd370"} 
[2026-07-05 06:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502565120001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502565120001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:39:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502565120001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":122312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:39:12] local.INFO: GPS data processed {"connection_id":122312,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:39:12] local.INFO: Acknowledgment sent {"connection_id":122312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:39:43] local.INFO: TCP Data received {"connection_id":122312,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:39:43] local.INFO: Processing buffer {"connection_id":122312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fcdd370012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 06:39:43] local.INFO: Packet analysis {"connection_id":122312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:39:43] local.INFO: Extracted packet for processing {"connection_id":122312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fcd"} 
[2026-07-05 06:39:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502565120001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:39:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783213446000,"timestamp_ms":1783213446000,"timestamp_seconds":1783213446,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fcdd370"} 
[2026-07-05 06:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:39: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-07-05 06:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502565120001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502565120001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:39:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:39:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502565120001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":122312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:39:43] local.INFO: GPS data processed {"connection_id":122312,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:39:43] local.INFO: Acknowledgment sent {"connection_id":122312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:40:06] local.INFO: TCP Data received {"connection_id":122379,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:40:06] local.INFO: Processing buffer {"connection_id":122379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:40:06] local.INFO: IMEI packet received {"connection_id":122379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":122379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:40:11] local.INFO: TCP Data received {"connection_id":122379,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:40:11] local.INFO: Processing buffer {"connection_id":122379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:40:11] local.INFO: IMEI packet received {"connection_id":122379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":122379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:40:12] local.INFO: TCP Data received {"connection_id":122379,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:40:12] local.INFO: Processing buffer {"connection_id":122379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:40:12] local.INFO: Packet analysis {"connection_id":122379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:40:12] local.INFO: Extracted packet for processing {"connection_id":122379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:40:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502642176001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783213747000,"timestamp_ms":1783213747000,"timestamp_seconds":1783213747,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd26b38"} 
[2026-07-05 06:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502642176001,"66":25180,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502642176001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:40:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502642176001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":122379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:40:12] local.INFO: GPS data processed {"connection_id":122379,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:40:12] local.INFO: Acknowledgment sent {"connection_id":122379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:40:43] local.INFO: TCP Data received {"connection_id":122379,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:40:43] local.INFO: Processing buffer {"connection_id":122379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:40:43] local.INFO: Packet analysis {"connection_id":122379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:40:43] local.INFO: Extracted packet for processing {"connection_id":122379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:40:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502642176001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:40:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783213747000,"timestamp_ms":1783213747000,"timestamp_seconds":1783213747,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd26b38"} 
[2026-07-05 06:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:40: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-07-05 06:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502642176001,"66":25180,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502642176001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:40:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:40:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502642176001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":122379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:40:43] local.INFO: GPS data processed {"connection_id":122379,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:40:43] local.INFO: Acknowledgment sent {"connection_id":122379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:41:11] local.INFO: TCP Data received {"connection_id":122314,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:41:11] local.INFO: Processing buffer {"connection_id":122314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:41:11] local.INFO: IMEI packet received {"connection_id":122314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":122314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:41:16] local.INFO: TCP Data received {"connection_id":122314,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:41:16] local.INFO: Processing buffer {"connection_id":122314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:41:16] local.INFO: IMEI packet received {"connection_id":122314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":122314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:41:27] local.INFO: TCP Data received {"connection_id":122314,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:41:27] local.INFO: Processing buffer {"connection_id":122314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:41:27] local.INFO: Packet analysis {"connection_id":122314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:41:27] local.INFO: Extracted packet for processing {"connection_id":122314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:41:27] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502642176001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:41:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783213747000,"timestamp_ms":1783213747000,"timestamp_seconds":1783213747,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd26b38"} 
[2026-07-05 06:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502642176001,"66":25180,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502642176001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:41:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:41:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502642176001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":122314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:41:27] local.INFO: GPS data processed {"connection_id":122314,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:41:27] local.INFO: Acknowledgment sent {"connection_id":122314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:41:28] local.INFO: TCP Data received {"connection_id":122314,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:41:28] local.INFO: Processing buffer {"connection_id":122314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:41:28] local.INFO: Packet analysis {"connection_id":122314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:41:28] local.INFO: Extracted packet for processing {"connection_id":122314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:41:28] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502642176001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:41:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783213747000,"timestamp_ms":1783213747000,"timestamp_seconds":1783213747,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd26b38"} 
[2026-07-05 06:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":122314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":122314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":122314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502642176001,"66":25180,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502642176001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:41:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:41:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502642176001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":122314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:41:28] local.INFO: GPS data processed {"connection_id":122314,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:41:28] local.INFO: Acknowledgment sent {"connection_id":122314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:42:06] local.INFO: TCP Data received {"connection_id":122315,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:42:06] local.INFO: Processing buffer {"connection_id":122315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:42:06] local.INFO: IMEI packet received {"connection_id":122315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":122315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:42:11] local.INFO: TCP Data received {"connection_id":122315,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:42:11] local.INFO: Processing buffer {"connection_id":122315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:42:11] local.INFO: IMEI packet received {"connection_id":122315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":122315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:42:33] local.INFO: TCP Data received {"connection_id":122315,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:42:33] local.INFO: Processing buffer {"connection_id":122315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:42:33] local.INFO: Packet analysis {"connection_id":122315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:42:33] local.INFO: Extracted packet for processing {"connection_id":122315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:42:33] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502642176001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:42:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783213747000,"timestamp_ms":1783213747000,"timestamp_seconds":1783213747,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd26b38"} 
[2026-07-05 06:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:42: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-07-05 06:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":122315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":122315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":122315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502642176001,"66":25180,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502642176001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:42:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:42:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502642176001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":122315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:42:33] local.INFO: GPS data processed {"connection_id":122315,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:42:33] local.INFO: Acknowledgment sent {"connection_id":122315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:43:06] local.INFO: TCP Data received {"connection_id":122316,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:43:06] local.INFO: Processing buffer {"connection_id":122316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:43:06] local.INFO: IMEI packet received {"connection_id":122316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":122316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:43:11] local.INFO: TCP Data received {"connection_id":122316,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:43:11] local.INFO: Processing buffer {"connection_id":122316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:43:11] local.INFO: IMEI packet received {"connection_id":122316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":122316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:43:12] local.INFO: TCP Data received {"connection_id":122316,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:43:12] local.INFO: Processing buffer {"connection_id":122316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:43:12] local.INFO: Packet analysis {"connection_id":122316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:43:12] local.INFO: Extracted packet for processing {"connection_id":122316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:43:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502642176001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783213747000,"timestamp_ms":1783213747000,"timestamp_seconds":1783213747,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd26b38"} 
[2026-07-05 06:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502642176001,"66":25180,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502642176001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:43:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502642176001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":122316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:43:12] local.INFO: GPS data processed {"connection_id":122316,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:43:12] local.INFO: Acknowledgment sent {"connection_id":122316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:43:25] local.INFO: TCP Data received {"connection_id":122381,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:43:25] local.INFO: Processing buffer {"connection_id":122381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:43:25] local.INFO: IMEI packet received {"connection_id":122381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":122381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:43:43] local.INFO: TCP Data received {"connection_id":122316,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:43:43] local.INFO: Processing buffer {"connection_id":122316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:43:43] local.INFO: Packet analysis {"connection_id":122316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:43:43] local.INFO: Extracted packet for processing {"connection_id":122316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:43:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502642176001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:43:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783213747000,"timestamp_ms":1783213747000,"timestamp_seconds":1783213747,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd26b38"} 
[2026-07-05 06:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:43: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-07-05 06:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502642176001,"66":25180,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502642176001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:43:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:43:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502642176001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":122316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:43:43] local.INFO: GPS data processed {"connection_id":122316,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:43:43] local.INFO: Acknowledgment sent {"connection_id":122316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:44:06] local.INFO: TCP Data received {"connection_id":122382,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:44:06] local.INFO: Processing buffer {"connection_id":122382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:44:06] local.INFO: IMEI packet received {"connection_id":122382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":122382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:44:06] local.INFO: TCP Data received {"connection_id":123101,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:44:06] local.INFO: Processing buffer {"connection_id":123101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:44:06] local.INFO: IMEI packet received {"connection_id":123101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":123101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:44:11] local.INFO: TCP Data received {"connection_id":122382,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:44:11] local.INFO: Processing buffer {"connection_id":122382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:44:11] local.INFO: IMEI packet received {"connection_id":122382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":122382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:44:12] local.INFO: TCP Data received {"connection_id":122382,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:44:12] local.INFO: Processing buffer {"connection_id":122382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:44:12] local.INFO: Packet analysis {"connection_id":122382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:44:12] local.INFO: Extracted packet for processing {"connection_id":122382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:44:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502642176001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783213747000,"timestamp_ms":1783213747000,"timestamp_seconds":1783213747,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd26b38"} 
[2026-07-05 06:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502642176001,"66":25180,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502642176001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:44:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502642176001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":122382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:44:12] local.INFO: GPS data processed {"connection_id":122382,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:44:12] local.INFO: Acknowledgment sent {"connection_id":122382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:44:46] local.INFO: TCP Data received {"connection_id":122382,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:44:46] local.INFO: Processing buffer {"connection_id":122382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd26b38012cb2a2c007823a88004b013b2e..."} 
[2026-07-05 06:44:46] local.INFO: Packet analysis {"connection_id":122382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:44:46] local.INFO: Extracted packet for processing {"connection_id":122382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd2"} 
[2026-07-05 06:44:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502642176001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:44:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783213747000,"timestamp_ms":1783213747000,"timestamp_seconds":1783213747,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd26b38"} 
[2026-07-05 06:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502642176001,"66":25180,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502642176001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:44:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:44:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502642176001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":122382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:44:46] local.INFO: GPS data processed {"connection_id":122382,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:44:46] local.INFO: Acknowledgment sent {"connection_id":122382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:45:11] local.INFO: TCP Data received {"connection_id":123102,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:45:11] local.INFO: Processing buffer {"connection_id":123102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:45:11] local.INFO: IMEI packet received {"connection_id":123102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":123102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:45:16] local.INFO: TCP Data received {"connection_id":123102,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:45:16] local.INFO: Processing buffer {"connection_id":123102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:45:16] local.INFO: IMEI packet received {"connection_id":123102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":123102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:45:17] local.INFO: TCP Data received {"connection_id":123102,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:45:17] local.INFO: Processing buffer {"connection_id":123102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:45:17] local.INFO: Packet analysis {"connection_id":123102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:45:17] local.INFO: Extracted packet for processing {"connection_id":123102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:45:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502719232001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783214048000,"timestamp_ms":1783214048000,"timestamp_seconds":1783214048,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd70300"} 
[2026-07-05 06:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 06:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502719232001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502719232001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:45:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:45:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:45:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502719232001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":123102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:45:17] local.INFO: GPS data processed {"connection_id":123102,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:45:17] local.INFO: Acknowledgment sent {"connection_id":123102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:45:48] local.INFO: TCP Data received {"connection_id":123102,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:45:48] local.INFO: Processing buffer {"connection_id":123102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:45:48] local.INFO: Packet analysis {"connection_id":123102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:45:48] local.INFO: Extracted packet for processing {"connection_id":123102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:45:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502719232001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:45:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783214048000,"timestamp_ms":1783214048000,"timestamp_seconds":1783214048,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd70300"} 
[2026-07-05 06:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 06:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":123102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":123102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":123102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502719232001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502719232001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:45:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:45:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:45:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502719232001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":123102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:45:48] local.INFO: GPS data processed {"connection_id":123102,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:45:48] local.INFO: Acknowledgment sent {"connection_id":123102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:46:06] local.INFO: TCP Data received {"connection_id":122383,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:46:06] local.INFO: Processing buffer {"connection_id":122383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:46:06] local.INFO: IMEI packet received {"connection_id":122383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":122383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:46:11] local.INFO: TCP Data received {"connection_id":122383,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:46:11] local.INFO: Processing buffer {"connection_id":122383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:46:11] local.INFO: IMEI packet received {"connection_id":122383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":122383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:46:24] local.INFO: TCP Data received {"connection_id":122383,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:46:24] local.INFO: Processing buffer {"connection_id":122383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:46:24] local.INFO: Packet analysis {"connection_id":122383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:46:24] local.INFO: Extracted packet for processing {"connection_id":122383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:46:24] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502719232001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:46:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783214048000,"timestamp_ms":1783214048000,"timestamp_seconds":1783214048,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd70300"} 
[2026-07-05 06:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 06:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":122383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":122383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":122383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502719232001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502719232001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:46:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:46:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:46:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502719232001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":122383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:46:24] local.INFO: GPS data processed {"connection_id":122383,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:46:24] local.INFO: Acknowledgment sent {"connection_id":122383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:47:06] local.INFO: TCP Data received {"connection_id":123104,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:47:06] local.INFO: Processing buffer {"connection_id":123104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:47:06] local.INFO: IMEI packet received {"connection_id":123104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":123104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:47:11] local.INFO: TCP Data received {"connection_id":123104,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:47:11] local.INFO: Processing buffer {"connection_id":123104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:47:11] local.INFO: IMEI packet received {"connection_id":123104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":123104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:47:49] local.INFO: TCP Data received {"connection_id":123104,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:47:49] local.INFO: Processing buffer {"connection_id":123104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:47:49] local.INFO: Packet analysis {"connection_id":123104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:47:49] local.INFO: Extracted packet for processing {"connection_id":123104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:47:49] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502719232001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:47:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783214048000,"timestamp_ms":1783214048000,"timestamp_seconds":1783214048,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd70300"} 
[2026-07-05 06:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 06:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":123104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":123104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":123104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502719232001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502719232001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:47:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:47:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:47:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502719232001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":123104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:47:49] local.INFO: GPS data processed {"connection_id":123104,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:47:49] local.INFO: Acknowledgment sent {"connection_id":123104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:47:50] local.INFO: TCP Data received {"connection_id":123104,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:47:50] local.INFO: Processing buffer {"connection_id":123104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:47:50] local.INFO: Packet analysis {"connection_id":123104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:47:50] local.INFO: Extracted packet for processing {"connection_id":123104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:47:50] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502719232001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783214048000,"timestamp_ms":1783214048000,"timestamp_seconds":1783214048,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd70300"} 
[2026-07-05 06:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 06:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":123104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":123104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":123104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502719232001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502719232001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:47:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:47:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502719232001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":123104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:47:50] local.INFO: GPS data processed {"connection_id":123104,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:47:50] local.INFO: Acknowledgment sent {"connection_id":123104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:48:06] local.INFO: TCP Data received {"connection_id":122318,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:48:06] local.INFO: Processing buffer {"connection_id":122318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:48:06] local.INFO: IMEI packet received {"connection_id":122318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":122318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:48:11] local.INFO: TCP Data received {"connection_id":122318,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:48:11] local.INFO: Processing buffer {"connection_id":122318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:48:11] local.INFO: IMEI packet received {"connection_id":122318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":122318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:48:15] local.INFO: TCP Data received {"connection_id":122318,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:48:15] local.INFO: Processing buffer {"connection_id":122318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:48:15] local.INFO: Packet analysis {"connection_id":122318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:48:15] local.INFO: Extracted packet for processing {"connection_id":122318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:48:15] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502719232001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:48:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783214048000,"timestamp_ms":1783214048000,"timestamp_seconds":1783214048,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd70300"} 
[2026-07-05 06:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 06:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502719232001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502719232001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:48:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:48:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:48:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502719232001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":122318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:48:15] local.INFO: GPS data processed {"connection_id":122318,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:48:15] local.INFO: Acknowledgment sent {"connection_id":122318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:48:46] local.INFO: TCP Data received {"connection_id":122318,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:48:46] local.INFO: Processing buffer {"connection_id":122318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:48:46] local.INFO: Packet analysis {"connection_id":122318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:48:46] local.INFO: Extracted packet for processing {"connection_id":122318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:48:46] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502719232001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:48:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783214048000,"timestamp_ms":1783214048000,"timestamp_seconds":1783214048,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd70300"} 
[2026-07-05 06:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 06:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502719232001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502719232001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:48:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:48:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:48:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502719232001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":122318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:48:46] local.INFO: GPS data processed {"connection_id":122318,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:48:46] local.INFO: Acknowledgment sent {"connection_id":122318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:49:11] local.INFO: TCP Data received {"connection_id":123105,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:49:11] local.INFO: Processing buffer {"connection_id":123105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:49:11] local.INFO: IMEI packet received {"connection_id":123105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":123105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:49:16] local.INFO: TCP Data received {"connection_id":123105,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:49:16] local.INFO: Processing buffer {"connection_id":123105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:49:16] local.INFO: IMEI packet received {"connection_id":123105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":123105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:49:20] local.INFO: TCP Data received {"connection_id":123105,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:49:20] local.INFO: Processing buffer {"connection_id":123105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:49:20] local.INFO: Packet analysis {"connection_id":123105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:49:20] local.INFO: Extracted packet for processing {"connection_id":123105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502719232001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783214048000,"timestamp_ms":1783214048000,"timestamp_seconds":1783214048,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd70300"} 
[2026-07-05 06:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 06:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502719232001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502719232001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:49:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502719232001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":123105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:49:20] local.INFO: GPS data processed {"connection_id":123105,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:49:20] local.INFO: Acknowledgment sent {"connection_id":123105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:49:35] local.INFO: TCP Data received {"connection_id":123105,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:49:35] local.INFO: Processing buffer {"connection_id":123105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fd70300012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:49:35] local.INFO: Packet analysis {"connection_id":123105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:49:35] local.INFO: Extracted packet for processing {"connection_id":123105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fd7"} 
[2026-07-05 06:49:35] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502719232001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:49:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783214048000,"timestamp_ms":1783214048000,"timestamp_seconds":1783214048,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fd70300"} 
[2026-07-05 06:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:49: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-07-05 06:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 06:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":123105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":123105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":123105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502719232001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502719232001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:49:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:49:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:49:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502719232001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":123105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:49:35] local.INFO: GPS data processed {"connection_id":123105,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:49:35] local.INFO: Acknowledgment sent {"connection_id":123105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:49:40] local.INFO: TCP Data received {"connection_id":124295,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:49:40] local.INFO: Processing buffer {"connection_id":124295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:49:40] local.INFO: IMEI packet received {"connection_id":124295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":124295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:50:06] local.INFO: TCP Data received {"connection_id":123106,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:50:06] local.INFO: Processing buffer {"connection_id":123106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:50:06] local.INFO: IMEI packet received {"connection_id":123106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":123106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:50:10] local.INFO: TCP Data received {"connection_id":122319,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:50:10] local.INFO: Processing buffer {"connection_id":122319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:50:10] local.INFO: IMEI packet received {"connection_id":122319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":122319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:50:11] local.INFO: TCP Data received {"connection_id":123106,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:50:11] local.INFO: Processing buffer {"connection_id":123106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:50:11] local.INFO: IMEI packet received {"connection_id":123106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":123106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:50:12] local.INFO: TCP Data received {"connection_id":123106,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:50:12] local.INFO: Processing buffer {"connection_id":123106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:50:12] local.INFO: Packet analysis {"connection_id":123106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:50:12] local.INFO: Extracted packet for processing {"connection_id":123106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:50:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502796288001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214349000,"timestamp_ms":1783214349000,"timestamp_seconds":1783214349,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fdb9ac8"} 
[2026-07-05 06:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502796288001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502796288001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:50:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502796288001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":123106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:50:12] local.INFO: GPS data processed {"connection_id":123106,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:50:12] local.INFO: Acknowledgment sent {"connection_id":123106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:50:16] local.INFO: TCP Data received {"connection_id":123106,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:50:16] local.INFO: Processing buffer {"connection_id":123106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:50:16] local.INFO: Packet analysis {"connection_id":123106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:50:16] local.INFO: Extracted packet for processing {"connection_id":123106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:50:16] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502796288001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:50:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783214349000,"timestamp_ms":1783214349000,"timestamp_seconds":1783214349,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fdb9ac8"} 
[2026-07-05 06:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502796288001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502796288001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:50:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:50:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502796288001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":123106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:50:16] local.INFO: GPS data processed {"connection_id":123106,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:50:16] local.INFO: Acknowledgment sent {"connection_id":123106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:50:48] local.INFO: TCP Data received {"connection_id":123106,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:50:48] local.INFO: Processing buffer {"connection_id":123106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:50:48] local.INFO: Packet analysis {"connection_id":123106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:50:48] local.INFO: Extracted packet for processing {"connection_id":123106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:50:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502796288001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:50:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783214349000,"timestamp_ms":1783214349000,"timestamp_seconds":1783214349,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fdb9ac8"} 
[2026-07-05 06:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":123106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":123106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":123106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502796288001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502796288001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:50:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:50:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:50:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502796288001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":123106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:50:48] local.INFO: GPS data processed {"connection_id":123106,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:50:48] local.INFO: Acknowledgment sent {"connection_id":123106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:51:06] local.INFO: TCP Data received {"connection_id":122321,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:51:06] local.INFO: Processing buffer {"connection_id":122321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:51:06] local.INFO: IMEI packet received {"connection_id":122321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":122321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:51:11] local.INFO: TCP Data received {"connection_id":122321,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:51:11] local.INFO: Processing buffer {"connection_id":122321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:51:11] local.INFO: IMEI packet received {"connection_id":122321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":122321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:51:12] local.INFO: TCP Data received {"connection_id":122321,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:51:12] local.INFO: Processing buffer {"connection_id":122321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:51:12] local.INFO: Packet analysis {"connection_id":122321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:51:12] local.INFO: Extracted packet for processing {"connection_id":122321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:51:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502796288001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214349000,"timestamp_ms":1783214349000,"timestamp_seconds":1783214349,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fdb9ac8"} 
[2026-07-05 06:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502796288001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502796288001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:51:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502796288001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":122321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:51:12] local.INFO: GPS data processed {"connection_id":122321,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:51:12] local.INFO: Acknowledgment sent {"connection_id":122321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:51:44] local.INFO: TCP Data received {"connection_id":122321,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:51:44] local.INFO: Processing buffer {"connection_id":122321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:51:44] local.INFO: Packet analysis {"connection_id":122321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:51:44] local.INFO: Extracted packet for processing {"connection_id":122321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:51:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502796288001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:51:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783214349000,"timestamp_ms":1783214349000,"timestamp_seconds":1783214349,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fdb9ac8"} 
[2026-07-05 06:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502796288001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502796288001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:51:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:51:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:51:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502796288001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":122321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:51:44] local.INFO: GPS data processed {"connection_id":122321,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:51:44] local.INFO: Acknowledgment sent {"connection_id":122321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:52:07] local.INFO: TCP Data received {"connection_id":122384,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:52:07] local.INFO: Processing buffer {"connection_id":122384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:52:07] local.INFO: IMEI packet received {"connection_id":122384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":122384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:52:11] local.INFO: TCP Data received {"connection_id":122384,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:52:11] local.INFO: Processing buffer {"connection_id":122384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:52:11] local.INFO: IMEI packet received {"connection_id":122384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":122384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:52:12] local.INFO: TCP Data received {"connection_id":122384,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:52:12] local.INFO: Processing buffer {"connection_id":122384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:52:12] local.INFO: Packet analysis {"connection_id":122384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:52:12] local.INFO: Extracted packet for processing {"connection_id":122384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:52:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502796288001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214349000,"timestamp_ms":1783214349000,"timestamp_seconds":1783214349,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fdb9ac8"} 
[2026-07-05 06:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502796288001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502796288001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:52:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502796288001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":122384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:52:12] local.INFO: GPS data processed {"connection_id":122384,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:52:12] local.INFO: Acknowledgment sent {"connection_id":122384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:52:43] local.INFO: TCP Data received {"connection_id":122384,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:52:43] local.INFO: Processing buffer {"connection_id":122384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:52:43] local.INFO: Packet analysis {"connection_id":122384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:52:43] local.INFO: Extracted packet for processing {"connection_id":122384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:52:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:52: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-07-05 06:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502796288001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:52:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783214349000,"timestamp_ms":1783214349000,"timestamp_seconds":1783214349,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fdb9ac8"} 
[2026-07-05 06:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:52: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-07-05 06:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:52: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-07-05 06:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502796288001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502796288001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:52:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:52:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:52:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502796288001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":122384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:52:43] local.INFO: GPS data processed {"connection_id":122384,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:52:43] local.INFO: Acknowledgment sent {"connection_id":122384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:53:06] local.INFO: TCP Data received {"connection_id":122323,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:53:06] local.INFO: Processing buffer {"connection_id":122323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:53:06] local.INFO: IMEI packet received {"connection_id":122323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":122323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:53:11] local.INFO: TCP Data received {"connection_id":122323,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:53:11] local.INFO: Processing buffer {"connection_id":122323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:53:11] local.INFO: IMEI packet received {"connection_id":122323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":122323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:53:12] local.INFO: TCP Data received {"connection_id":122323,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:53:12] local.INFO: Processing buffer {"connection_id":122323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:53:12] local.INFO: Packet analysis {"connection_id":122323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:53:12] local.INFO: Extracted packet for processing {"connection_id":122323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:53:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502796288001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214349000,"timestamp_ms":1783214349000,"timestamp_seconds":1783214349,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fdb9ac8"} 
[2026-07-05 06:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502796288001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502796288001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:53:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502796288001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":122323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:53:12] local.INFO: GPS data processed {"connection_id":122323,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:53:12] local.INFO: Acknowledgment sent {"connection_id":122323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:53:44] local.INFO: TCP Data received {"connection_id":122323,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:53:44] local.INFO: Processing buffer {"connection_id":122323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:53:44] local.INFO: Packet analysis {"connection_id":122323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:53:44] local.INFO: Extracted packet for processing {"connection_id":122323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:53:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502796288001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:53:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783214349000,"timestamp_ms":1783214349000,"timestamp_seconds":1783214349,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fdb9ac8"} 
[2026-07-05 06:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502796288001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502796288001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:53:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:53:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:53:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502796288001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":122323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:53:44] local.INFO: GPS data processed {"connection_id":122323,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:53:44] local.INFO: Acknowledgment sent {"connection_id":122323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:54:11] local.INFO: TCP Data received {"connection_id":122324,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:54:11] local.INFO: Processing buffer {"connection_id":122324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:54:11] local.INFO: IMEI packet received {"connection_id":122324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":122324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:54:16] local.INFO: TCP Data received {"connection_id":122324,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:54:16] local.INFO: Processing buffer {"connection_id":122324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:54:16] local.INFO: IMEI packet received {"connection_id":122324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":122324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:54:17] local.INFO: TCP Data received {"connection_id":122324,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:54:17] local.INFO: Processing buffer {"connection_id":122324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:54:17] local.INFO: Packet analysis {"connection_id":122324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:54:17] local.INFO: Extracted packet for processing {"connection_id":122324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:54:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502796288001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:54:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783214349000,"timestamp_ms":1783214349000,"timestamp_seconds":1783214349,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fdb9ac8"} 
[2026-07-05 06:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502796288001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502796288001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:54:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:54:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:54:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502796288001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":122324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:54:17] local.INFO: GPS data processed {"connection_id":122324,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:54:17] local.INFO: Acknowledgment sent {"connection_id":122324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:54:48] local.INFO: TCP Data received {"connection_id":122324,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:54:48] local.INFO: Processing buffer {"connection_id":122324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fdb9ac8012cb2a2c007823a88004b013b30..."} 
[2026-07-05 06:54:48] local.INFO: Packet analysis {"connection_id":122324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:54:48] local.INFO: Extracted packet for processing {"connection_id":122324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fdb"} 
[2026-07-05 06:54:48] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502796288001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:54:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783214349000,"timestamp_ms":1783214349000,"timestamp_seconds":1783214349,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fdb9ac8"} 
[2026-07-05 06:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502796288001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502796288001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:54:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:54:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:54:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502796288001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":122324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:54:48] local.INFO: GPS data processed {"connection_id":122324,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:54:48] local.INFO: Acknowledgment sent {"connection_id":122324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:55:06] local.INFO: TCP Data received {"connection_id":122325,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:55:06] local.INFO: Processing buffer {"connection_id":122325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:55:06] local.INFO: IMEI packet received {"connection_id":122325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":122325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:55:11] local.INFO: TCP Data received {"connection_id":122325,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:55:11] local.INFO: Processing buffer {"connection_id":122325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:55:11] local.INFO: IMEI packet received {"connection_id":122325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":122325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:55:12] local.INFO: TCP Data received {"connection_id":122325,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:55:12] local.INFO: Processing buffer {"connection_id":122325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:55:12] local.INFO: Packet analysis {"connection_id":122325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:55:12] local.INFO: Extracted packet for processing {"connection_id":122325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:55:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502873344001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214650000,"timestamp_ms":1783214650000,"timestamp_seconds":1783214650,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe03290"} 
[2026-07-05 06:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502873344001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502873344001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:55:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502873344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":122325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:55:12] local.INFO: GPS data processed {"connection_id":122325,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:55:12] local.INFO: Acknowledgment sent {"connection_id":122325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:55:40] local.INFO: TCP Data received {"connection_id":122385,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:55:40] local.INFO: Processing buffer {"connection_id":122385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:55:40] local.INFO: IMEI packet received {"connection_id":122385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":122385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:55:43] local.INFO: TCP Data received {"connection_id":122325,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:55:43] local.INFO: Processing buffer {"connection_id":122325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:55:43] local.INFO: Packet analysis {"connection_id":122325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:55:43] local.INFO: Extracted packet for processing {"connection_id":122325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:55:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502873344001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:55:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783214650000,"timestamp_ms":1783214650000,"timestamp_seconds":1783214650,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe03290"} 
[2026-07-05 06:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:55: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-07-05 06:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502873344001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502873344001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:55:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:55:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502873344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":122325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:55:43] local.INFO: GPS data processed {"connection_id":122325,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:55:43] local.INFO: Acknowledgment sent {"connection_id":122325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:56:07] local.INFO: TCP Data received {"connection_id":122386,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:56:07] local.INFO: Processing buffer {"connection_id":122386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 06:56:07] local.INFO: IMEI packet received {"connection_id":122386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 06:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":122386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:56:07] local.INFO: TCP Data received {"connection_id":123107,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:56:07] local.INFO: Processing buffer {"connection_id":123107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:56:07] local.INFO: IMEI packet received {"connection_id":123107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":123107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:56:11] local.INFO: TCP Data received {"connection_id":123107,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:56:11] local.INFO: Processing buffer {"connection_id":123107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:56:11] local.INFO: IMEI packet received {"connection_id":123107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":123107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:56:12] local.INFO: TCP Data received {"connection_id":123107,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:56:12] local.INFO: Processing buffer {"connection_id":123107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:56:12] local.INFO: Packet analysis {"connection_id":123107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:56:12] local.INFO: Extracted packet for processing {"connection_id":123107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:56:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502873344001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214650000,"timestamp_ms":1783214650000,"timestamp_seconds":1783214650,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe03290"} 
[2026-07-05 06:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502873344001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502873344001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:56:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502873344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":123107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:56:12] local.INFO: GPS data processed {"connection_id":123107,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:56:12] local.INFO: Acknowledgment sent {"connection_id":123107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:56:43] local.INFO: TCP Data received {"connection_id":123107,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:56:43] local.INFO: Processing buffer {"connection_id":123107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:56:43] local.INFO: Packet analysis {"connection_id":123107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:56:43] local.INFO: Extracted packet for processing {"connection_id":123107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:56:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502873344001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:56:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783214650000,"timestamp_ms":1783214650000,"timestamp_seconds":1783214650,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe03290"} 
[2026-07-05 06:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:56: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-07-05 06:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502873344001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502873344001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:56:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:56:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502873344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":123107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:56:43] local.INFO: GPS data processed {"connection_id":123107,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:56:43] local.INFO: Acknowledgment sent {"connection_id":123107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:57:05] local.INFO: TCP Data received {"connection_id":124299,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:57:05] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:57:05] local.INFO: IMEI packet received {"connection_id":124299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":124299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:57:11] local.INFO: TCP Data received {"connection_id":124299,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:57:11] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:57:11] local.INFO: IMEI packet received {"connection_id":124299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":124299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:57:12] local.INFO: TCP Data received {"connection_id":124299,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:57:12] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:57:12] local.INFO: Packet analysis {"connection_id":124299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:57:12] local.INFO: Extracted packet for processing {"connection_id":124299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:57:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502873344001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:57:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214650000,"timestamp_ms":1783214650000,"timestamp_seconds":1783214650,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe03290"} 
[2026-07-05 06:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502873344001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502873344001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:57:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:57:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502873344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":124299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:57:12] local.INFO: GPS data processed {"connection_id":124299,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:57:12] local.INFO: Acknowledgment sent {"connection_id":124299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:57:43] local.INFO: TCP Data received {"connection_id":124299,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:57:43] local.INFO: Processing buffer {"connection_id":124299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:57:43] local.INFO: Packet analysis {"connection_id":124299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:57:43] local.INFO: Extracted packet for processing {"connection_id":124299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:57:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502873344001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:57:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783214650000,"timestamp_ms":1783214650000,"timestamp_seconds":1783214650,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe03290"} 
[2026-07-05 06:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:57: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-07-05 06:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502873344001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502873344001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:57:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:57:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502873344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":124299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:57:43] local.INFO: GPS data processed {"connection_id":124299,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:57:43] local.INFO: Acknowledgment sent {"connection_id":124299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:58:11] local.INFO: TCP Data received {"connection_id":124301,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:58:11] local.INFO: Processing buffer {"connection_id":124301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:58:11] local.INFO: IMEI packet received {"connection_id":124301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":124301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:58:16] local.INFO: TCP Data received {"connection_id":124301,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:58:16] local.INFO: Processing buffer {"connection_id":124301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:58:16] local.INFO: IMEI packet received {"connection_id":124301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":124301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:58:17] local.INFO: TCP Data received {"connection_id":124301,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:58:17] local.INFO: Processing buffer {"connection_id":124301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:58:17] local.INFO: Packet analysis {"connection_id":124301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:58:17] local.INFO: Extracted packet for processing {"connection_id":124301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:58:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502873344001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:58:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783214650000,"timestamp_ms":1783214650000,"timestamp_seconds":1783214650,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe03290"} 
[2026-07-05 06:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502873344001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502873344001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:58:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:58:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:58:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502873344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":124301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:58:17] local.INFO: GPS data processed {"connection_id":124301,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:58:17] local.INFO: Acknowledgment sent {"connection_id":124301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:58:21] local.INFO: TCP Data received {"connection_id":124301,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:58:21] local.INFO: Processing buffer {"connection_id":124301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:58:21] local.INFO: Packet analysis {"connection_id":124301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:58:21] local.INFO: Extracted packet for processing {"connection_id":124301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:58:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06: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-07-05 06:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502873344001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783214650000,"timestamp_ms":1783214650000,"timestamp_seconds":1783214650,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe03290"} 
[2026-07-05 06:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06: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-07-05 06:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502873344001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502873344001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:58:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502873344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":124301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:58:21] local.INFO: GPS data processed {"connection_id":124301,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:58:21] local.INFO: Acknowledgment sent {"connection_id":124301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:59:06] local.INFO: TCP Data received {"connection_id":122387,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:59:06] local.INFO: Processing buffer {"connection_id":122387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:59:06] local.INFO: IMEI packet received {"connection_id":122387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 06:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":122387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 06:59:11] local.INFO: TCP Data received {"connection_id":122387,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:59:11] local.INFO: Processing buffer {"connection_id":122387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 06:59:11] local.INFO: IMEI packet received {"connection_id":122387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 06:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":122387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 06:59:12] local.INFO: TCP Data received {"connection_id":122387,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:59:12] local.INFO: Processing buffer {"connection_id":122387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:59:12] local.INFO: Packet analysis {"connection_id":122387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:59:12] local.INFO: Extracted packet for processing {"connection_id":122387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:59:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502873344001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214650000,"timestamp_ms":1783214650000,"timestamp_seconds":1783214650,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe03290"} 
[2026-07-05 06:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 06:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502873344001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502873344001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:59:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502873344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":122387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:59:12] local.INFO: GPS data processed {"connection_id":122387,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:59:12] local.INFO: Acknowledgment sent {"connection_id":122387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 06:59:43] local.INFO: TCP Data received {"connection_id":122387,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:59:43] local.INFO: Processing buffer {"connection_id":122387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe03290012cb2a2c007823a88004b013b31..."} 
[2026-07-05 06:59:43] local.INFO: Packet analysis {"connection_id":122387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:59:43] local.INFO: Extracted packet for processing {"connection_id":122387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe0"} 
[2026-07-05 06:59:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 06:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 06:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502873344001,"note":"Value kept but may cause issues"} 
[2026-07-05 06:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 06:59:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 06:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 06:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783214650000,"timestamp_ms":1783214650000,"timestamp_seconds":1783214650,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe03290"} 
[2026-07-05 06:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 06:59: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-07-05 06:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 06:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 06:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 06:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 06:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 06:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 06:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 06:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 06:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 06:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 06:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502873344001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 06:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 06:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 06:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502873344001,"description":"Unknown IO ID 0"} 
[2026-07-05 06:59:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 06:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 06:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 06:59:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 06:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502873344001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 06:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":122387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 06:59:43] local.INFO: GPS data processed {"connection_id":122387,"processed":1,"errors":0,"total":1} 
[2026-07-05 06:59:43] local.INFO: Acknowledgment sent {"connection_id":122387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:00:06] local.INFO: TCP Data received {"connection_id":123110,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:00:06] local.INFO: Processing buffer {"connection_id":123110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:00:06] local.INFO: IMEI packet received {"connection_id":123110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":123110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:00:11] local.INFO: TCP Data received {"connection_id":123110,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:00:11] local.INFO: Processing buffer {"connection_id":123110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:00:11] local.INFO: IMEI packet received {"connection_id":123110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":123110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:00:12] local.INFO: TCP Data received {"connection_id":123110,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:00:12] local.INFO: Processing buffer {"connection_id":123110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:00:12] local.INFO: Packet analysis {"connection_id":123110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:00:12] local.INFO: Extracted packet for processing {"connection_id":123110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:00:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502950400001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214951000,"timestamp_ms":1783214951000,"timestamp_seconds":1783214951,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe4ca58"} 
[2026-07-05 07:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502950400001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502950400001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:00:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502950400001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":123110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:00:12] local.INFO: GPS data processed {"connection_id":123110,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:00:12] local.INFO: Acknowledgment sent {"connection_id":123110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:00:43] local.INFO: TCP Data received {"connection_id":123110,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:00:43] local.INFO: Processing buffer {"connection_id":123110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:00:43] local.INFO: Packet analysis {"connection_id":123110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:00:43] local.INFO: Extracted packet for processing {"connection_id":123110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:00:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502950400001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783214951000,"timestamp_ms":1783214951000,"timestamp_seconds":1783214951,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe4ca58"} 
[2026-07-05 07:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:00: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-07-05 07:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502950400001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502950400001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:00:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502950400001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":123110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:00:43] local.INFO: GPS data processed {"connection_id":123110,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:00:43] local.INFO: Acknowledgment sent {"connection_id":123110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:01:11] local.INFO: TCP Data received {"connection_id":122389,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:01:11] local.INFO: Processing buffer {"connection_id":122389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:01:11] local.INFO: IMEI packet received {"connection_id":122389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":122389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:01:16] local.INFO: TCP Data received {"connection_id":122389,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:01:16] local.INFO: Processing buffer {"connection_id":122389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:01:16] local.INFO: IMEI packet received {"connection_id":122389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":122389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:01:17] local.INFO: TCP Data received {"connection_id":122389,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:01:17] local.INFO: Processing buffer {"connection_id":122389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:01:17] local.INFO: Packet analysis {"connection_id":122389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:01:17] local.INFO: Extracted packet for processing {"connection_id":122389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:01:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502950400001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:01:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783214951000,"timestamp_ms":1783214951000,"timestamp_seconds":1783214951,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe4ca58"} 
[2026-07-05 07:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502950400001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502950400001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:01:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:01:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:01:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502950400001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":122389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:01:17] local.INFO: GPS data processed {"connection_id":122389,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:01:17] local.INFO: Acknowledgment sent {"connection_id":122389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:01:21] local.INFO: TCP Data received {"connection_id":122389,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:01:21] local.INFO: Processing buffer {"connection_id":122389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:01:21] local.INFO: Packet analysis {"connection_id":122389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:01:21] local.INFO: Extracted packet for processing {"connection_id":122389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:01:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502950400001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783214951000,"timestamp_ms":1783214951000,"timestamp_seconds":1783214951,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe4ca58"} 
[2026-07-05 07:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502950400001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502950400001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:01:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502950400001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":122389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:01:21] local.INFO: GPS data processed {"connection_id":122389,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:01:21] local.INFO: Acknowledgment sent {"connection_id":122389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:01:25] local.INFO: TCP Data received {"connection_id":122388,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:01:25] local.INFO: Processing buffer {"connection_id":122388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:01:25] local.INFO: IMEI packet received {"connection_id":122388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":122388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:02:05] local.INFO: TCP Data received {"connection_id":122390,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:02:05] local.INFO: Processing buffer {"connection_id":122390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:02:05] local.INFO: IMEI packet received {"connection_id":122390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":122390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:02:05] local.INFO: TCP Data received {"connection_id":123111,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:02:06] local.INFO: Processing buffer {"connection_id":123111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:02:06] local.INFO: IMEI packet received {"connection_id":123111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":123111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:02:11] local.INFO: TCP Data received {"connection_id":123111,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:02:11] local.INFO: Processing buffer {"connection_id":123111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:02:11] local.INFO: IMEI packet received {"connection_id":123111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":123111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:02:12] local.INFO: TCP Data received {"connection_id":123111,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:02:12] local.INFO: Processing buffer {"connection_id":123111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:02:12] local.INFO: Packet analysis {"connection_id":123111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:02:12] local.INFO: Extracted packet for processing {"connection_id":123111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:02:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502950400001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214951000,"timestamp_ms":1783214951000,"timestamp_seconds":1783214951,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe4ca58"} 
[2026-07-05 07:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502950400001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502950400001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:02:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502950400001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":123111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:02:12] local.INFO: GPS data processed {"connection_id":123111,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:02:12] local.INFO: Acknowledgment sent {"connection_id":123111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:02:43] local.INFO: TCP Data received {"connection_id":123111,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:02:43] local.INFO: Processing buffer {"connection_id":123111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:02:43] local.INFO: Packet analysis {"connection_id":123111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:02:43] local.INFO: Extracted packet for processing {"connection_id":123111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:02:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502950400001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783214951000,"timestamp_ms":1783214951000,"timestamp_seconds":1783214951,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe4ca58"} 
[2026-07-05 07:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:02: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-07-05 07:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502950400001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502950400001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:02:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502950400001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":123111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:02:43] local.INFO: GPS data processed {"connection_id":123111,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:02:43] local.INFO: Acknowledgment sent {"connection_id":123111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:03:06] local.INFO: TCP Data received {"connection_id":122391,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:03:06] local.INFO: Processing buffer {"connection_id":122391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:03:06] local.INFO: IMEI packet received {"connection_id":122391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":122391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:03:11] local.INFO: TCP Data received {"connection_id":122391,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:03:11] local.INFO: Processing buffer {"connection_id":122391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:03:11] local.INFO: IMEI packet received {"connection_id":122391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":122391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:03:12] local.INFO: TCP Data received {"connection_id":122391,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:03:12] local.INFO: Processing buffer {"connection_id":122391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:03:12] local.INFO: Packet analysis {"connection_id":122391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:03:12] local.INFO: Extracted packet for processing {"connection_id":122391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:03:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502950400001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214951000,"timestamp_ms":1783214951000,"timestamp_seconds":1783214951,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe4ca58"} 
[2026-07-05 07:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502950400001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502950400001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:03:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502950400001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":122391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:03:12] local.INFO: GPS data processed {"connection_id":122391,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:03:12] local.INFO: Acknowledgment sent {"connection_id":122391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:03:53] local.INFO: TCP Data received {"connection_id":122391,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:03:53] local.INFO: Processing buffer {"connection_id":122391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:03:53] local.INFO: Packet analysis {"connection_id":122391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:03:53] local.INFO: Extracted packet for processing {"connection_id":122391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:03:53] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502950400001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:03:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783214951000,"timestamp_ms":1783214951000,"timestamp_seconds":1783214951,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe4ca58"} 
[2026-07-05 07:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":122391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":122391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":122391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502950400001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502950400001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:03:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:03:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:03:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502950400001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":122391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:03:53] local.INFO: GPS data processed {"connection_id":122391,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:03:53] local.INFO: Acknowledgment sent {"connection_id":122391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:04:08] local.INFO: TCP Data received {"connection_id":122392,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:04:08] local.INFO: Processing buffer {"connection_id":122392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:04:08] local.INFO: IMEI packet received {"connection_id":122392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":122392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:04:11] local.INFO: TCP Data received {"connection_id":122392,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:04:11] local.INFO: Processing buffer {"connection_id":122392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:04:11] local.INFO: IMEI packet received {"connection_id":122392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":122392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:04:12] local.INFO: TCP Data received {"connection_id":122392,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:04:12] local.INFO: Processing buffer {"connection_id":122392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:04:12] local.INFO: Packet analysis {"connection_id":122392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:04:12] local.INFO: Extracted packet for processing {"connection_id":122392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:04:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502950400001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783214951000,"timestamp_ms":1783214951000,"timestamp_seconds":1783214951,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe4ca58"} 
[2026-07-05 07:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502950400001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502950400001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:04:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:04:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502950400001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":122392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:04:12] local.INFO: GPS data processed {"connection_id":122392,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:04:12] local.INFO: Acknowledgment sent {"connection_id":122392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:04:43] local.INFO: TCP Data received {"connection_id":122392,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:04:43] local.INFO: Processing buffer {"connection_id":122392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe4ca58012cb2a2c007823a88004b013b30..."} 
[2026-07-05 07:04:43] local.INFO: Packet analysis {"connection_id":122392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:04:43] local.INFO: Extracted packet for processing {"connection_id":122392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe4"} 
[2026-07-05 07:04:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456502950400001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783214951000,"timestamp_ms":1783214951000,"timestamp_seconds":1783214951,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe4ca58"} 
[2026-07-05 07:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:04: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-07-05 07:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456502950400001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456502950400001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:04:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456502950400001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":122392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:04:43] local.INFO: GPS data processed {"connection_id":122392,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:04:43] local.INFO: Acknowledgment sent {"connection_id":122392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:05:13] local.INFO: TCP Data received {"connection_id":123113,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:05:13] local.INFO: Processing buffer {"connection_id":123113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:05:13] local.INFO: IMEI packet received {"connection_id":123113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":123113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:05:17] local.INFO: TCP Data received {"connection_id":123113,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:05:17] local.INFO: Processing buffer {"connection_id":123113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:05:17] local.INFO: IMEI packet received {"connection_id":123113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":123113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:05:18] local.INFO: TCP Data received {"connection_id":123113,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:05:18] local.INFO: Processing buffer {"connection_id":123113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:05:18] local.INFO: Packet analysis {"connection_id":123113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:05:18] local.INFO: Extracted packet for processing {"connection_id":123113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:05:18] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503027456001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:05:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783215252000,"timestamp_ms":1783215252000,"timestamp_seconds":1783215252,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe96220"} 
[2026-07-05 07:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":123113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":123113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":123113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503027456001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503027456001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:05:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:05:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:05:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503027456001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":123113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:05:18] local.INFO: GPS data processed {"connection_id":123113,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:05:18] local.INFO: Acknowledgment sent {"connection_id":123113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:05:21] local.INFO: TCP Data received {"connection_id":123113,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:05:21] local.INFO: Processing buffer {"connection_id":123113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:05:21] local.INFO: Packet analysis {"connection_id":123113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:05:21] local.INFO: Extracted packet for processing {"connection_id":123113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:05:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503027456001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783215252000,"timestamp_ms":1783215252000,"timestamp_seconds":1783215252,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe96220"} 
[2026-07-05 07:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503027456001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503027456001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:05:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503027456001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":123113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:05:21] local.INFO: GPS data processed {"connection_id":123113,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:05:21] local.INFO: Acknowledgment sent {"connection_id":123113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:06:06] local.INFO: TCP Data received {"connection_id":122328,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:06:06] local.INFO: Processing buffer {"connection_id":122328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:06:06] local.INFO: IMEI packet received {"connection_id":122328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":122328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:06:11] local.INFO: TCP Data received {"connection_id":122328,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:06:11] local.INFO: Processing buffer {"connection_id":122328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:06:11] local.INFO: IMEI packet received {"connection_id":122328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":122328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:06:12] local.INFO: TCP Data received {"connection_id":122328,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:06:12] local.INFO: Processing buffer {"connection_id":122328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:06:12] local.INFO: Packet analysis {"connection_id":122328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:06:12] local.INFO: Extracted packet for processing {"connection_id":122328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503027456001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783215252000,"timestamp_ms":1783215252000,"timestamp_seconds":1783215252,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe96220"} 
[2026-07-05 07:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503027456001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503027456001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:06:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503027456001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":122328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:06:12] local.INFO: GPS data processed {"connection_id":122328,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:06:12] local.INFO: Acknowledgment sent {"connection_id":122328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:06:16] local.INFO: TCP Data received {"connection_id":122328,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:06:16] local.INFO: Processing buffer {"connection_id":122328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:06:16] local.INFO: Packet analysis {"connection_id":122328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:06:16] local.INFO: Extracted packet for processing {"connection_id":122328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:06:16] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503027456001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783215252000,"timestamp_ms":1783215252000,"timestamp_seconds":1783215252,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe96220"} 
[2026-07-05 07:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503027456001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503027456001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:06:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:06:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503027456001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":122328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:06:16] local.INFO: GPS data processed {"connection_id":122328,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:06:16] local.INFO: Acknowledgment sent {"connection_id":122328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:06:47] local.INFO: TCP Data received {"connection_id":122328,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:06:47] local.INFO: Processing buffer {"connection_id":122328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:06:47] local.INFO: Packet analysis {"connection_id":122328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:06:47] local.INFO: Extracted packet for processing {"connection_id":122328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:06:47] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503027456001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:06:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783215252000,"timestamp_ms":1783215252000,"timestamp_seconds":1783215252,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe96220"} 
[2026-07-05 07:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503027456001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503027456001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:06:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:06:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503027456001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":122328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:06:47] local.INFO: GPS data processed {"connection_id":122328,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:06:47] local.INFO: Acknowledgment sent {"connection_id":122328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:07:06] local.INFO: TCP Data received {"connection_id":123115,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:07:06] local.INFO: Processing buffer {"connection_id":123115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:07:06] local.INFO: IMEI packet received {"connection_id":123115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":123115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:07:11] local.INFO: TCP Data received {"connection_id":123115,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:07:11] local.INFO: Processing buffer {"connection_id":123115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:07:11] local.INFO: IMEI packet received {"connection_id":123115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":123115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:07:12] local.INFO: TCP Data received {"connection_id":123115,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:07:12] local.INFO: Processing buffer {"connection_id":123115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:07:12] local.INFO: Packet analysis {"connection_id":123115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:07:12] local.INFO: Extracted packet for processing {"connection_id":123115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:07:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503027456001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:07:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783215252000,"timestamp_ms":1783215252000,"timestamp_seconds":1783215252,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe96220"} 
[2026-07-05 07:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503027456001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503027456001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:07:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:07:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503027456001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":123115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:07:12] local.INFO: GPS data processed {"connection_id":123115,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:07:12] local.INFO: Acknowledgment sent {"connection_id":123115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:07:25] local.INFO: TCP Data received {"connection_id":123114,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:07:25] local.INFO: Processing buffer {"connection_id":123114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:07:25] local.INFO: IMEI packet received {"connection_id":123114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":123114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:07:43] local.INFO: TCP Data received {"connection_id":123115,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:07:43] local.INFO: Processing buffer {"connection_id":123115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:07:43] local.INFO: Packet analysis {"connection_id":123115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:07:43] local.INFO: Extracted packet for processing {"connection_id":123115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:07:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503027456001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:07:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783215252000,"timestamp_ms":1783215252000,"timestamp_seconds":1783215252,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe96220"} 
[2026-07-05 07:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:07: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-07-05 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503027456001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503027456001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:07:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:07:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503027456001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":123115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:07:43] local.INFO: GPS data processed {"connection_id":123115,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:07:43] local.INFO: Acknowledgment sent {"connection_id":123115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:08:06] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:08:06] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:08:06] local.INFO: IMEI packet received {"connection_id":124304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":124304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:08:07] local.INFO: TCP Data received {"connection_id":124303,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:08:07] local.INFO: Processing buffer {"connection_id":124303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:08:07] local.INFO: IMEI packet received {"connection_id":124303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":124303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:08:11] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:08:11] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:08:11] local.INFO: IMEI packet received {"connection_id":124304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":124304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:08:12] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:08:12] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:08:12] local.INFO: Packet analysis {"connection_id":124304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:08:12] local.INFO: Extracted packet for processing {"connection_id":124304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:08:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503027456001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783215252000,"timestamp_ms":1783215252000,"timestamp_seconds":1783215252,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe96220"} 
[2026-07-05 07:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503027456001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503027456001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:08:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503027456001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":124304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:08:12] local.INFO: GPS data processed {"connection_id":124304,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:08:12] local.INFO: Acknowledgment sent {"connection_id":124304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:08:43] local.INFO: TCP Data received {"connection_id":124304,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:08:43] local.INFO: Processing buffer {"connection_id":124304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:08:43] local.INFO: Packet analysis {"connection_id":124304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:08:43] local.INFO: Extracted packet for processing {"connection_id":124304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:08:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503027456001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:08:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783215252000,"timestamp_ms":1783215252000,"timestamp_seconds":1783215252,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe96220"} 
[2026-07-05 07:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:08: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-07-05 07:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503027456001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503027456001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:08:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:08:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:08:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503027456001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":124304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:08:43] local.INFO: GPS data processed {"connection_id":124304,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:08:43] local.INFO: Acknowledgment sent {"connection_id":124304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:09:05] local.INFO: TCP Data received {"connection_id":123116,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:09:05] local.INFO: Processing buffer {"connection_id":123116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:09:05] local.INFO: IMEI packet received {"connection_id":123116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":123116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:09:11] local.INFO: TCP Data received {"connection_id":123116,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:09:11] local.INFO: Processing buffer {"connection_id":123116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:09:11] local.INFO: IMEI packet received {"connection_id":123116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":123116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:09:12] local.INFO: TCP Data received {"connection_id":123116,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:09:12] local.INFO: Processing buffer {"connection_id":123116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:09:12] local.INFO: Packet analysis {"connection_id":123116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:09:12] local.INFO: Extracted packet for processing {"connection_id":123116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:09:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503027456001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783215252000,"timestamp_ms":1783215252000,"timestamp_seconds":1783215252,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe96220"} 
[2026-07-05 07:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503027456001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503027456001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:09:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503027456001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":123116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:09:12] local.INFO: GPS data processed {"connection_id":123116,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:09:12] local.INFO: Acknowledgment sent {"connection_id":123116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:09:43] local.INFO: TCP Data received {"connection_id":123116,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:09:43] local.INFO: Processing buffer {"connection_id":123116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fe96220012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:09:43] local.INFO: Packet analysis {"connection_id":123116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:09:43] local.INFO: Extracted packet for processing {"connection_id":123116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fe9"} 
[2026-07-05 07:09:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503027456001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783215252000,"timestamp_ms":1783215252000,"timestamp_seconds":1783215252,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fe96220"} 
[2026-07-05 07:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:09: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-07-05 07:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503027456001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503027456001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:09:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503027456001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":123116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:09:43] local.INFO: GPS data processed {"connection_id":123116,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:09:43] local.INFO: Acknowledgment sent {"connection_id":123116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:10:11] local.INFO: TCP Data received {"connection_id":124305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:10:11] local.INFO: Processing buffer {"connection_id":124305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:10:11] local.INFO: IMEI packet received {"connection_id":124305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":124305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:10:15] local.INFO: TCP Data received {"connection_id":124305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:10:15] local.INFO: Processing buffer {"connection_id":124305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:10:15] local.INFO: IMEI packet received {"connection_id":124305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":124305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:10:16] local.INFO: TCP Data received {"connection_id":124305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:10:16] local.INFO: Processing buffer {"connection_id":124305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:10:16] local.INFO: Packet analysis {"connection_id":124305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:10:16] local.INFO: Extracted packet for processing {"connection_id":124305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":50,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503104512001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783215553000,"timestamp_ms":1783215553000,"timestamp_seconds":1783215553,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fedf9e8"} 
[2026-07-05 07:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503104512001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503104512001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:10:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503104512001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":124305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:10:16] local.INFO: GPS data processed {"connection_id":124305,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:10:16] local.INFO: Acknowledgment sent {"connection_id":124305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:10:26] local.INFO: TCP Data received {"connection_id":124305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:10:26] local.INFO: Processing buffer {"connection_id":124305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:10:26] local.INFO: Packet analysis {"connection_id":124305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:10:26] local.INFO: Extracted packet for processing {"connection_id":124305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:10:26] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":50,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503104512001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:10:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783215553000,"timestamp_ms":1783215553000,"timestamp_seconds":1783215553,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fedf9e8"} 
[2026-07-05 07:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":124305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":124305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":124305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503104512001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503104512001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:10:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:10:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:10:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503104512001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":124305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:10:26] local.INFO: GPS data processed {"connection_id":124305,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:10:26] local.INFO: Acknowledgment sent {"connection_id":124305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:11:05] local.INFO: TCP Data received {"connection_id":122330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:11:05] local.INFO: Processing buffer {"connection_id":122330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:11:05] local.INFO: IMEI packet received {"connection_id":122330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":122330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:11:12] local.INFO: TCP Data received {"connection_id":122330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:11:12] local.INFO: Processing buffer {"connection_id":122330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:11:12] local.INFO: IMEI packet received {"connection_id":122330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":122330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:11:13] local.INFO: TCP Data received {"connection_id":122330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:11:13] local.INFO: Processing buffer {"connection_id":122330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:11:13] local.INFO: Packet analysis {"connection_id":122330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:11:13] local.INFO: Extracted packet for processing {"connection_id":122330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:11:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":50,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503104512001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783215553000,"timestamp_ms":1783215553000,"timestamp_seconds":1783215553,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fedf9e8"} 
[2026-07-05 07:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503104512001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503104512001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:11:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503104512001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":122330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:11:13] local.INFO: GPS data processed {"connection_id":122330,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:11:13] local.INFO: Acknowledgment sent {"connection_id":122330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:11:45] local.INFO: TCP Data received {"connection_id":122330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:11:45] local.INFO: Processing buffer {"connection_id":122330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:11:45] local.INFO: Packet analysis {"connection_id":122330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:11:45] local.INFO: Extracted packet for processing {"connection_id":122330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:11:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":50,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503104512001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:11:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783215553000,"timestamp_ms":1783215553000,"timestamp_seconds":1783215553,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fedf9e8"} 
[2026-07-05 07:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503104512001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503104512001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:11:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:11:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503104512001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":122330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:11:45] local.INFO: GPS data processed {"connection_id":122330,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:11:45] local.INFO: Acknowledgment sent {"connection_id":122330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:12:06] local.INFO: TCP Data received {"connection_id":123118,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:12:06] local.INFO: Processing buffer {"connection_id":123118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:12:06] local.INFO: IMEI packet received {"connection_id":123118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":123118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:12:11] local.INFO: TCP Data received {"connection_id":123118,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:12:11] local.INFO: Processing buffer {"connection_id":123118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:12:11] local.INFO: IMEI packet received {"connection_id":123118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":123118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:12:12] local.INFO: TCP Data received {"connection_id":123118,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:12:12] local.INFO: Processing buffer {"connection_id":123118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:12:12] local.INFO: Packet analysis {"connection_id":123118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:12:12] local.INFO: Extracted packet for processing {"connection_id":123118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:12:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":50,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503104512001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783215553000,"timestamp_ms":1783215553000,"timestamp_seconds":1783215553,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fedf9e8"} 
[2026-07-05 07:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503104512001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503104512001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:12:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503104512001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":123118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:12:12] local.INFO: GPS data processed {"connection_id":123118,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:12:12] local.INFO: Acknowledgment sent {"connection_id":123118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:12:43] local.INFO: TCP Data received {"connection_id":123118,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:12:43] local.INFO: Processing buffer {"connection_id":123118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:12:43] local.INFO: Packet analysis {"connection_id":123118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:12:43] local.INFO: Extracted packet for processing {"connection_id":123118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:12:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":50,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:12: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-07-05 07:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503104512001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783215553000,"timestamp_ms":1783215553000,"timestamp_seconds":1783215553,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fedf9e8"} 
[2026-07-05 07:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:12: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-07-05 07:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:12: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-07-05 07:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503104512001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503104512001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:12:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:12:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503104512001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":123118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:12:43] local.INFO: GPS data processed {"connection_id":123118,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:12:43] local.INFO: Acknowledgment sent {"connection_id":123118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:13:06] local.INFO: TCP Data received {"connection_id":124307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:13:06] local.INFO: Processing buffer {"connection_id":124307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:13:06] local.INFO: IMEI packet received {"connection_id":124307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":124307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:13:12] local.INFO: TCP Data received {"connection_id":124307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:13:12] local.INFO: Processing buffer {"connection_id":124307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:13:12] local.INFO: IMEI packet received {"connection_id":124307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":124307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:13:14] local.INFO: TCP Data received {"connection_id":124307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:13:14] local.INFO: Processing buffer {"connection_id":124307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:13:14] local.INFO: Packet analysis {"connection_id":124307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:13:14] local.INFO: Extracted packet for processing {"connection_id":124307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:13:14] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":50,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503104512001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:13:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783215553000,"timestamp_ms":1783215553000,"timestamp_seconds":1783215553,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fedf9e8"} 
[2026-07-05 07:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503104512001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503104512001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:13:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:13:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:13:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503104512001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":124307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:13:14] local.INFO: GPS data processed {"connection_id":124307,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:13:14] local.INFO: Acknowledgment sent {"connection_id":124307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:13:25] local.INFO: TCP Data received {"connection_id":122394,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:13:25] local.INFO: Processing buffer {"connection_id":122394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:13:25] local.INFO: IMEI packet received {"connection_id":122394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":122394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:13:45] local.INFO: TCP Data received {"connection_id":124307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:13:45] local.INFO: Processing buffer {"connection_id":124307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:13:45] local.INFO: Packet analysis {"connection_id":124307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:13:45] local.INFO: Extracted packet for processing {"connection_id":124307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:13:45] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":50,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503104512001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:13:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783215553000,"timestamp_ms":1783215553000,"timestamp_seconds":1783215553,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fedf9e8"} 
[2026-07-05 07:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503104512001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503104512001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:13:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:13:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:13:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503104512001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":124307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:13:45] local.INFO: GPS data processed {"connection_id":124307,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:13:45] local.INFO: Acknowledgment sent {"connection_id":124307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:14:06] local.INFO: TCP Data received {"connection_id":122331,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:14:06] local.INFO: Processing buffer {"connection_id":122331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:14:06] local.INFO: IMEI packet received {"connection_id":122331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":122331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:14:10] local.INFO: TCP Data received {"connection_id":122332,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:14:10] local.INFO: Processing buffer {"connection_id":122332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:14:10] local.INFO: IMEI packet received {"connection_id":122332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":122332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:14:11] local.INFO: TCP Data received {"connection_id":122331,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:14:11] local.INFO: Processing buffer {"connection_id":122331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:14:11] local.INFO: IMEI packet received {"connection_id":122331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":122331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:14:12] local.INFO: TCP Data received {"connection_id":122331,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:14:12] local.INFO: Processing buffer {"connection_id":122331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:14:12] local.INFO: Packet analysis {"connection_id":122331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:14:12] local.INFO: Extracted packet for processing {"connection_id":122331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:14:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":50,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503104512001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783215553000,"timestamp_ms":1783215553000,"timestamp_seconds":1783215553,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fedf9e8"} 
[2026-07-05 07:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503104512001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503104512001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:14:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503104512001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":122331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:14:12] local.INFO: GPS data processed {"connection_id":122331,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:14:12] local.INFO: Acknowledgment sent {"connection_id":122331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:14:43] local.INFO: TCP Data received {"connection_id":122331,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:14:43] local.INFO: Processing buffer {"connection_id":122331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2fedf9e8012cb2a2c007823a88004b013b32..."} 
[2026-07-05 07:14:43] local.INFO: Packet analysis {"connection_id":122331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:14:43] local.INFO: Extracted packet for processing {"connection_id":122331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2fed"} 
[2026-07-05 07:14:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":50,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503104512001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:14:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783215553000,"timestamp_ms":1783215553000,"timestamp_seconds":1783215553,"priority":1,"record_length":96,"hex_timestamp":"0000019f2fedf9e8"} 
[2026-07-05 07:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:14: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-07-05 07:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503104512001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503104512001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:14:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:14:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503104512001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":122331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:14:43] local.INFO: GPS data processed {"connection_id":122331,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:14:43] local.INFO: Acknowledgment sent {"connection_id":122331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:15:05] local.INFO: TCP Data received {"connection_id":123119,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:15:05] local.INFO: Processing buffer {"connection_id":123119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:15:05] local.INFO: IMEI packet received {"connection_id":123119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":123119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:15:12] local.INFO: TCP Data received {"connection_id":123119,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:15:12] local.INFO: Processing buffer {"connection_id":123119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:15:12] local.INFO: IMEI packet received {"connection_id":123119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":123119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:15:16] local.INFO: TCP Data received {"connection_id":123119,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:15:16] local.INFO: Processing buffer {"connection_id":123119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:15:16] local.INFO: Packet analysis {"connection_id":123119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:15:16] local.INFO: Extracted packet for processing {"connection_id":123119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:15:16] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503181568001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:15:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783215854000,"timestamp_ms":1783215854000,"timestamp_seconds":1783215854,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff291b0"} 
[2026-07-05 07:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503181568001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503181568001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:15:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:15:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503181568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":123119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:15:16] local.INFO: GPS data processed {"connection_id":123119,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:15:16] local.INFO: Acknowledgment sent {"connection_id":123119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:15:47] local.INFO: TCP Data received {"connection_id":123119,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:15:47] local.INFO: Processing buffer {"connection_id":123119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:15:47] local.INFO: Packet analysis {"connection_id":123119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:15:47] local.INFO: Extracted packet for processing {"connection_id":123119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:15:47] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503181568001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:15:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783215854000,"timestamp_ms":1783215854000,"timestamp_seconds":1783215854,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff291b0"} 
[2026-07-05 07:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":123119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":123119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":123119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503181568001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503181568001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:15:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:15:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:15:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503181568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":123119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:15:47] local.INFO: GPS data processed {"connection_id":123119,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:15:47] local.INFO: Acknowledgment sent {"connection_id":123119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:16:06] local.INFO: TCP Data received {"connection_id":122335,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:16:06] local.INFO: Processing buffer {"connection_id":122335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:16:06] local.INFO: IMEI packet received {"connection_id":122335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":122335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:16:11] local.INFO: TCP Data received {"connection_id":122335,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:16:11] local.INFO: Processing buffer {"connection_id":122335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:16:11] local.INFO: IMEI packet received {"connection_id":122335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":122335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:16:12] local.INFO: TCP Data received {"connection_id":122335,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:16:12] local.INFO: Processing buffer {"connection_id":122335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:16:12] local.INFO: Packet analysis {"connection_id":122335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:16:12] local.INFO: Extracted packet for processing {"connection_id":122335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:16:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503181568001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783215854000,"timestamp_ms":1783215854000,"timestamp_seconds":1783215854,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff291b0"} 
[2026-07-05 07:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503181568001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503181568001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:16:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503181568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":122335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:16:12] local.INFO: GPS data processed {"connection_id":122335,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:16:12] local.INFO: Acknowledgment sent {"connection_id":122335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:16:43] local.INFO: TCP Data received {"connection_id":122335,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:16:43] local.INFO: Processing buffer {"connection_id":122335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:16:43] local.INFO: Packet analysis {"connection_id":122335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:16:43] local.INFO: Extracted packet for processing {"connection_id":122335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:16:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503181568001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:16:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783215854000,"timestamp_ms":1783215854000,"timestamp_seconds":1783215854,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff291b0"} 
[2026-07-05 07:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:16: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-07-05 07:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503181568001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503181568001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:16:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:16:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:16:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503181568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":122335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:16:43] local.INFO: GPS data processed {"connection_id":122335,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:16:43] local.INFO: Acknowledgment sent {"connection_id":122335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:17:06] local.INFO: TCP Data received {"connection_id":122395,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:17:06] local.INFO: Processing buffer {"connection_id":122395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:17:06] local.INFO: IMEI packet received {"connection_id":122395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":122395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:17:11] local.INFO: TCP Data received {"connection_id":122395,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:17:11] local.INFO: Processing buffer {"connection_id":122395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:17:11] local.INFO: IMEI packet received {"connection_id":122395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":122395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:17:12] local.INFO: TCP Data received {"connection_id":122395,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:17:12] local.INFO: Processing buffer {"connection_id":122395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:17:12] local.INFO: Packet analysis {"connection_id":122395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:17:12] local.INFO: Extracted packet for processing {"connection_id":122395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:17:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503181568001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783215854000,"timestamp_ms":1783215854000,"timestamp_seconds":1783215854,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff291b0"} 
[2026-07-05 07:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503181568001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503181568001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:17:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:17:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503181568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":122395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:17:12] local.INFO: GPS data processed {"connection_id":122395,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:17:12] local.INFO: Acknowledgment sent {"connection_id":122395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:17:43] local.INFO: TCP Data received {"connection_id":122395,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:17:43] local.INFO: Processing buffer {"connection_id":122395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:17:43] local.INFO: Packet analysis {"connection_id":122395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:17:43] local.INFO: Extracted packet for processing {"connection_id":122395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:17:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503181568001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:17:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783215854000,"timestamp_ms":1783215854000,"timestamp_seconds":1783215854,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff291b0"} 
[2026-07-05 07:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:17: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-07-05 07: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503181568001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503181568001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:17:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:17:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:17:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503181568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":122395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:17:43] local.INFO: GPS data processed {"connection_id":122395,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:17:43] local.INFO: Acknowledgment sent {"connection_id":122395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:18:05] local.INFO: TCP Data received {"connection_id":122397,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:18:05] local.INFO: Processing buffer {"connection_id":122397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:18:05] local.INFO: IMEI packet received {"connection_id":122397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":122397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:18:11] local.INFO: TCP Data received {"connection_id":122397,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:18:11] local.INFO: Processing buffer {"connection_id":122397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:18:11] local.INFO: IMEI packet received {"connection_id":122397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":122397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:18:12] local.INFO: TCP Data received {"connection_id":122397,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:18:12] local.INFO: Processing buffer {"connection_id":122397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:18:12] local.INFO: Packet analysis {"connection_id":122397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:18:12] local.INFO: Extracted packet for processing {"connection_id":122397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:18:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503181568001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783215854000,"timestamp_ms":1783215854000,"timestamp_seconds":1783215854,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff291b0"} 
[2026-07-05 07:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503181568001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503181568001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:18:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503181568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":122397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:18:12] local.INFO: GPS data processed {"connection_id":122397,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:18:12] local.INFO: Acknowledgment sent {"connection_id":122397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:18:43] local.INFO: TCP Data received {"connection_id":122397,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:18:43] local.INFO: Processing buffer {"connection_id":122397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:18:43] local.INFO: Packet analysis {"connection_id":122397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:18:43] local.INFO: Extracted packet for processing {"connection_id":122397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:18:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503181568001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:18:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783215854000,"timestamp_ms":1783215854000,"timestamp_seconds":1783215854,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff291b0"} 
[2026-07-05 07:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:18: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-07-05 07:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503181568001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503181568001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:18:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:18:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503181568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":122397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:18:43] local.INFO: GPS data processed {"connection_id":122397,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:18:43] local.INFO: Acknowledgment sent {"connection_id":122397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:19:05] local.INFO: TCP Data received {"connection_id":122338,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:19:05] local.INFO: Processing buffer {"connection_id":122338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:19:05] local.INFO: IMEI packet received {"connection_id":122338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":122338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:19:11] local.INFO: TCP Data received {"connection_id":122338,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:19:11] local.INFO: Processing buffer {"connection_id":122338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:19:11] local.INFO: IMEI packet received {"connection_id":122338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":122338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:19:12] local.INFO: TCP Data received {"connection_id":122338,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:19:12] local.INFO: Processing buffer {"connection_id":122338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:19:12] local.INFO: Packet analysis {"connection_id":122338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:19:12] local.INFO: Extracted packet for processing {"connection_id":122338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:19:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503181568001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783215854000,"timestamp_ms":1783215854000,"timestamp_seconds":1783215854,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff291b0"} 
[2026-07-05 07:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503181568001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503181568001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:19:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503181568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":122338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:19:12] local.INFO: GPS data processed {"connection_id":122338,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:19:12] local.INFO: Acknowledgment sent {"connection_id":122338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:19:25] local.INFO: TCP Data received {"connection_id":122337,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:19:25] local.INFO: Processing buffer {"connection_id":122337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:19:25] local.INFO: IMEI packet received {"connection_id":122337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":122337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:19:43] local.INFO: TCP Data received {"connection_id":122338,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:19:43] local.INFO: Processing buffer {"connection_id":122338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff291b0012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:19:43] local.INFO: Packet analysis {"connection_id":122338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:19:43] local.INFO: Extracted packet for processing {"connection_id":122338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff2"} 
[2026-07-05 07:19:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503181568001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:19:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783215854000,"timestamp_ms":1783215854000,"timestamp_seconds":1783215854,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff291b0"} 
[2026-07-05 07:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:19: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-07-05 07:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 07:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503181568001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503181568001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:19:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:19:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:19:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503181568001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":122338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:19:43] local.INFO: GPS data processed {"connection_id":122338,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:19:43] local.INFO: Acknowledgment sent {"connection_id":122338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:20:05] local.INFO: TCP Data received {"connection_id":122339,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:20:05] local.INFO: Processing buffer {"connection_id":122339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:20:05] local.INFO: IMEI packet received {"connection_id":122339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":122339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:20:11] local.INFO: TCP Data received {"connection_id":122340,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:20:11] local.INFO: Processing buffer {"connection_id":122340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:20:11] local.INFO: IMEI packet received {"connection_id":122340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":122340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:20:16] local.INFO: TCP Data received {"connection_id":122340,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:20:16] local.INFO: Processing buffer {"connection_id":122340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:20:16] local.INFO: IMEI packet received {"connection_id":122340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":122340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:20:17] local.INFO: TCP Data received {"connection_id":122340,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:20:17] local.INFO: Processing buffer {"connection_id":122340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:20:17] local.INFO: Packet analysis {"connection_id":122340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:20:17] local.INFO: Extracted packet for processing {"connection_id":122340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:20:17] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503258624001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:20:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783216155000,"timestamp_ms":1783216155000,"timestamp_seconds":1783216155,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff72978"} 
[2026-07-05 07:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503258624001,"66":25071,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503258624001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:20:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:20:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503258624001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":122340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:20:17] local.INFO: GPS data processed {"connection_id":122340,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:20:17] local.INFO: Acknowledgment sent {"connection_id":122340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:20:21] local.INFO: TCP Data received {"connection_id":122340,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:20:21] local.INFO: Processing buffer {"connection_id":122340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:20:21] local.INFO: Packet analysis {"connection_id":122340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:20:21] local.INFO: Extracted packet for processing {"connection_id":122340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:20:21] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503258624001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783216155000,"timestamp_ms":1783216155000,"timestamp_seconds":1783216155,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff72978"} 
[2026-07-05 07:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503258624001,"66":25071,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503258624001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:20:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503258624001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":122340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:20:21] local.INFO: GPS data processed {"connection_id":122340,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:20:21] local.INFO: Acknowledgment sent {"connection_id":122340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:21:06] local.INFO: TCP Data received {"connection_id":122398,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:21:06] local.INFO: Processing buffer {"connection_id":122398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:21:06] local.INFO: IMEI packet received {"connection_id":122398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":122398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:21:11] local.INFO: TCP Data received {"connection_id":122398,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:21:11] local.INFO: Processing buffer {"connection_id":122398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:21:11] local.INFO: IMEI packet received {"connection_id":122398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":122398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:21:12] local.INFO: TCP Data received {"connection_id":122398,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:21:12] local.INFO: Processing buffer {"connection_id":122398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:21:12] local.INFO: Packet analysis {"connection_id":122398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:21:12] local.INFO: Extracted packet for processing {"connection_id":122398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:21:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503258624001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783216155000,"timestamp_ms":1783216155000,"timestamp_seconds":1783216155,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff72978"} 
[2026-07-05 07:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503258624001,"66":25071,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503258624001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:21:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503258624001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":122398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:21:12] local.INFO: GPS data processed {"connection_id":122398,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:21:12] local.INFO: Acknowledgment sent {"connection_id":122398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:21:43] local.INFO: TCP Data received {"connection_id":122398,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:21:43] local.INFO: Processing buffer {"connection_id":122398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:21:43] local.INFO: Packet analysis {"connection_id":122398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:21:43] local.INFO: Extracted packet for processing {"connection_id":122398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:21:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503258624001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:21:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783216155000,"timestamp_ms":1783216155000,"timestamp_seconds":1783216155,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff72978"} 
[2026-07-05 07:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:21: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-07-05 07:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:21: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-07-05 07:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503258624001,"66":25071,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503258624001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:21:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:21:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503258624001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":122398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:21:43] local.INFO: GPS data processed {"connection_id":122398,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:21:43] local.INFO: Acknowledgment sent {"connection_id":122398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:22:05] local.INFO: TCP Data received {"connection_id":123120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:22:05] local.INFO: Processing buffer {"connection_id":123120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:22:05] local.INFO: IMEI packet received {"connection_id":123120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":123120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:22:10] local.INFO: TCP Data received {"connection_id":123120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:22:10] local.INFO: Processing buffer {"connection_id":123120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:22:10] local.INFO: IMEI packet received {"connection_id":123120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":123120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:22:11] local.INFO: TCP Data received {"connection_id":123120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:22:11] local.INFO: Processing buffer {"connection_id":123120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:22:11] local.INFO: Packet analysis {"connection_id":123120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:22:11] local.INFO: Extracted packet for processing {"connection_id":123120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503258624001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783216155000,"timestamp_ms":1783216155000,"timestamp_seconds":1783216155,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff72978"} 
[2026-07-05 07:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:22: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-07-05 07:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503258624001,"66":25071,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503258624001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:22:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503258624001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":123120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:22:11] local.INFO: GPS data processed {"connection_id":123120,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:22:11] local.INFO: Acknowledgment sent {"connection_id":123120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:22:43] local.INFO: TCP Data received {"connection_id":123120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:22:43] local.INFO: Processing buffer {"connection_id":123120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:22:43] local.INFO: Packet analysis {"connection_id":123120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:22:43] local.INFO: Extracted packet for processing {"connection_id":123120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:22:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503258624001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:22:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783216155000,"timestamp_ms":1783216155000,"timestamp_seconds":1783216155,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff72978"} 
[2026-07-05 07:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503258624001,"66":25071,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503258624001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:22:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:22:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503258624001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":123120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:22:43] local.INFO: GPS data processed {"connection_id":123120,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:22:43] local.INFO: Acknowledgment sent {"connection_id":123120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:23:11] local.INFO: TCP Data received {"connection_id":123121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:23:11] local.INFO: Processing buffer {"connection_id":123121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:23:11] local.INFO: IMEI packet received {"connection_id":123121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":123121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:23:15] local.INFO: TCP Data received {"connection_id":123121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:23:15] local.INFO: Processing buffer {"connection_id":123121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:23:15] local.INFO: IMEI packet received {"connection_id":123121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":123121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:23:20] local.INFO: TCP Data received {"connection_id":123121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:23:20] local.INFO: Processing buffer {"connection_id":123121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:23:20] local.INFO: Packet analysis {"connection_id":123121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:23:20] local.INFO: Extracted packet for processing {"connection_id":123121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:23:20] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503258624001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783216155000,"timestamp_ms":1783216155000,"timestamp_seconds":1783216155,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff72978"} 
[2026-07-05 07:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503258624001,"66":25071,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503258624001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:23:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503258624001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":123121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:23:20] local.INFO: GPS data processed {"connection_id":123121,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:23:20] local.INFO: Acknowledgment sent {"connection_id":123121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:23:24] local.INFO: TCP Data received {"connection_id":123121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:23:24] local.INFO: Processing buffer {"connection_id":123121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:23:24] local.INFO: Packet analysis {"connection_id":123121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:23:24] local.INFO: Extracted packet for processing {"connection_id":123121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:23:24] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:23: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-07-05 07:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503258624001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:23:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783216155000,"timestamp_ms":1783216155000,"timestamp_seconds":1783216155,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff72978"} 
[2026-07-05 07:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:23: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-07-05 07:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":123121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":123121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":123121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503258624001,"66":25071,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503258624001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:23:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:23:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:23:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503258624001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":123121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:23:24] local.INFO: GPS data processed {"connection_id":123121,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:23:24] local.INFO: Acknowledgment sent {"connection_id":123121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:24:06] local.INFO: TCP Data received {"connection_id":124309,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:24:06] local.INFO: Processing buffer {"connection_id":124309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:24:06] local.INFO: IMEI packet received {"connection_id":124309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":124309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:24:11] local.INFO: TCP Data received {"connection_id":124309,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:24:11] local.INFO: Processing buffer {"connection_id":124309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:24:11] local.INFO: IMEI packet received {"connection_id":124309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":124309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:24:12] local.INFO: TCP Data received {"connection_id":124309,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:24:12] local.INFO: Processing buffer {"connection_id":124309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:24:12] local.INFO: Packet analysis {"connection_id":124309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:24:12] local.INFO: Extracted packet for processing {"connection_id":124309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:24:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503258624001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783216155000,"timestamp_ms":1783216155000,"timestamp_seconds":1783216155,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff72978"} 
[2026-07-05 07:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503258624001,"66":25071,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503258624001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:24:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503258624001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":124309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:24:12] local.INFO: GPS data processed {"connection_id":124309,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:24:12] local.INFO: Acknowledgment sent {"connection_id":124309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:24:44] local.INFO: TCP Data received {"connection_id":124309,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:24:44] local.INFO: Processing buffer {"connection_id":124309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ff72978012cb2a2c007823a88004b013b2f..."} 
[2026-07-05 07:24:44] local.INFO: Packet analysis {"connection_id":124309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:24:44] local.INFO: Extracted packet for processing {"connection_id":124309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ff7"} 
[2026-07-05 07:24:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503258624001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:24:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783216155000,"timestamp_ms":1783216155000,"timestamp_seconds":1783216155,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ff72978"} 
[2026-07-05 07:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:24: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-07-05 07:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503258624001,"66":25071,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503258624001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:24:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:24:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:24:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503258624001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":124309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:24:44] local.INFO: GPS data processed {"connection_id":124309,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:24:44] local.INFO: Acknowledgment sent {"connection_id":124309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:25:06] local.INFO: TCP Data received {"connection_id":124310,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:25:06] local.INFO: Processing buffer {"connection_id":124310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:25:06] local.INFO: IMEI packet received {"connection_id":124310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":124310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:25:11] local.INFO: TCP Data received {"connection_id":124310,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:25:11] local.INFO: Processing buffer {"connection_id":124310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:25:11] local.INFO: IMEI packet received {"connection_id":124310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":124310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:25:12] local.INFO: TCP Data received {"connection_id":124310,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:25:12] local.INFO: Processing buffer {"connection_id":124310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:25:12] local.INFO: Packet analysis {"connection_id":124310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:25:12] local.INFO: Extracted packet for processing {"connection_id":124310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:25:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503335680001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783216456000,"timestamp_ms":1783216456000,"timestamp_seconds":1783216456,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ffbc140"} 
[2026-07-05 07:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-05 07:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503335680001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503335680001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:25:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503335680001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":124310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:25:12] local.INFO: GPS data processed {"connection_id":124310,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:25:12] local.INFO: Acknowledgment sent {"connection_id":124310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:25:35] local.INFO: TCP Data received {"connection_id":124311,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:25:35] local.INFO: Processing buffer {"connection_id":124311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:25:35] local.INFO: IMEI packet received {"connection_id":124311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":124311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:25:43] local.INFO: TCP Data received {"connection_id":124310,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:25:43] local.INFO: Processing buffer {"connection_id":124310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:25:43] local.INFO: Packet analysis {"connection_id":124310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:25:43] local.INFO: Extracted packet for processing {"connection_id":124310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:25:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503335680001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783216456000,"timestamp_ms":1783216456000,"timestamp_seconds":1783216456,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ffbc140"} 
[2026-07-05 07:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:25: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-07-05 07:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-05 07:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503335680001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503335680001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:25:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503335680001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":124310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:25:43] local.INFO: GPS data processed {"connection_id":124310,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:25:43] local.INFO: Acknowledgment sent {"connection_id":124310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:26:05] local.INFO: TCP Data received {"connection_id":122400,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:26:05] local.INFO: Processing buffer {"connection_id":122400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:26:05] local.INFO: IMEI packet received {"connection_id":122400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":122400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:26:06] local.INFO: TCP Data received {"connection_id":122399,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:26:06] local.INFO: Processing buffer {"connection_id":122399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:26:06] local.INFO: IMEI packet received {"connection_id":122399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":122399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:26:12] local.INFO: TCP Data received {"connection_id":122399,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:26:12] local.INFO: Processing buffer {"connection_id":122399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:26:12] local.INFO: IMEI packet received {"connection_id":122399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":122399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:26:13] local.INFO: TCP Data received {"connection_id":122399,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:26:13] local.INFO: Processing buffer {"connection_id":122399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:26:13] local.INFO: Packet analysis {"connection_id":122399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:26:13] local.INFO: Extracted packet for processing {"connection_id":122399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:26:13] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503335680001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:26:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783216456000,"timestamp_ms":1783216456000,"timestamp_seconds":1783216456,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ffbc140"} 
[2026-07-05 07:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-05 07:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503335680001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503335680001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:26:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:26:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:26:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503335680001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":122399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:26:13] local.INFO: GPS data processed {"connection_id":122399,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:26:13] local.INFO: Acknowledgment sent {"connection_id":122399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:26:44] local.INFO: TCP Data received {"connection_id":122399,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:26:44] local.INFO: Processing buffer {"connection_id":122399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:26:44] local.INFO: Packet analysis {"connection_id":122399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:26:44] local.INFO: Extracted packet for processing {"connection_id":122399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:26:44] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503335680001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:26:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783216456000,"timestamp_ms":1783216456000,"timestamp_seconds":1783216456,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ffbc140"} 
[2026-07-05 07:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-05 07:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503335680001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503335680001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:26:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:26:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503335680001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":122399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:26:44] local.INFO: GPS data processed {"connection_id":122399,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:26:44] local.INFO: Acknowledgment sent {"connection_id":122399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:27:06] local.INFO: TCP Data received {"connection_id":124312,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:27:06] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:27:06] local.INFO: IMEI packet received {"connection_id":124312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":124312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:27:11] local.INFO: TCP Data received {"connection_id":124312,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:27:11] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:27:11] local.INFO: IMEI packet received {"connection_id":124312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":124312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:27:12] local.INFO: TCP Data received {"connection_id":124312,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:27:12] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:27:12] local.INFO: Packet analysis {"connection_id":124312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:27:12] local.INFO: Extracted packet for processing {"connection_id":124312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:27:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503335680001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783216456000,"timestamp_ms":1783216456000,"timestamp_seconds":1783216456,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ffbc140"} 
[2026-07-05 07:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-05 07:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503335680001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503335680001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:27:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503335680001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":124312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:27:12] local.INFO: GPS data processed {"connection_id":124312,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:27:12] local.INFO: Acknowledgment sent {"connection_id":124312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:27:43] local.INFO: TCP Data received {"connection_id":124312,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:27:43] local.INFO: Processing buffer {"connection_id":124312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:27:43] local.INFO: Packet analysis {"connection_id":124312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:27:43] local.INFO: Extracted packet for processing {"connection_id":124312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:27:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503335680001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:27:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783216456000,"timestamp_ms":1783216456000,"timestamp_seconds":1783216456,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ffbc140"} 
[2026-07-05 07:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:27: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-07-05 07:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-05 07:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503335680001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503335680001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:27:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:27:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503335680001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":124312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:27:43] local.INFO: GPS data processed {"connection_id":124312,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:27:43] local.INFO: Acknowledgment sent {"connection_id":124312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:28:05] local.INFO: TCP Data received {"connection_id":123123,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:28:05] local.INFO: Processing buffer {"connection_id":123123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:28:05] local.INFO: IMEI packet received {"connection_id":123123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":123123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:28:11] local.INFO: TCP Data received {"connection_id":123123,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:28:11] local.INFO: Processing buffer {"connection_id":123123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:28:11] local.INFO: IMEI packet received {"connection_id":123123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":123123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:28:12] local.INFO: TCP Data received {"connection_id":123123,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:28:12] local.INFO: Processing buffer {"connection_id":123123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:28:12] local.INFO: Packet analysis {"connection_id":123123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:28:12] local.INFO: Extracted packet for processing {"connection_id":123123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:28:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503335680001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783216456000,"timestamp_ms":1783216456000,"timestamp_seconds":1783216456,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ffbc140"} 
[2026-07-05 07:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-05 07:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503335680001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503335680001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:28:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503335680001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":123123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:28:12] local.INFO: GPS data processed {"connection_id":123123,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:28:12] local.INFO: Acknowledgment sent {"connection_id":123123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:28:43] local.INFO: TCP Data received {"connection_id":123123,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:28:43] local.INFO: Processing buffer {"connection_id":123123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:28:43] local.INFO: Packet analysis {"connection_id":123123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:28:43] local.INFO: Extracted packet for processing {"connection_id":123123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:28:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503335680001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783216456000,"timestamp_ms":1783216456000,"timestamp_seconds":1783216456,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ffbc140"} 
[2026-07-05 07:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:28: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-07-05 07:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-05 07:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503335680001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503335680001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:28:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503335680001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":123123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:28:43] local.INFO: GPS data processed {"connection_id":123123,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:28:43] local.INFO: Acknowledgment sent {"connection_id":123123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:29:05] local.INFO: TCP Data received {"connection_id":123125,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:29:05] local.INFO: Processing buffer {"connection_id":123125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:29:05] local.INFO: IMEI packet received {"connection_id":123125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":123125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:29:11] local.INFO: TCP Data received {"connection_id":123125,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:29:11] local.INFO: Processing buffer {"connection_id":123125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:29:11] local.INFO: IMEI packet received {"connection_id":123125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":123125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:29:12] local.INFO: TCP Data received {"connection_id":123125,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:29:12] local.INFO: Processing buffer {"connection_id":123125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:29:12] local.INFO: Packet analysis {"connection_id":123125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:29:12] local.INFO: Extracted packet for processing {"connection_id":123125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:29:12] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503335680001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783216456000,"timestamp_ms":1783216456000,"timestamp_seconds":1783216456,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ffbc140"} 
[2026-07-05 07:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-05 07:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503335680001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503335680001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:29:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:29:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503335680001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":123125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:29:12] local.INFO: GPS data processed {"connection_id":123125,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:29:12] local.INFO: Acknowledgment sent {"connection_id":123125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:29:43] local.INFO: TCP Data received {"connection_id":123125,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:29:43] local.INFO: Processing buffer {"connection_id":123125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f2ffbc140012cb2a2c007823a88004b013b31..."} 
[2026-07-05 07:29:43] local.INFO: Packet analysis {"connection_id":123125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:29:43] local.INFO: Extracted packet for processing {"connection_id":123125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f2ffb"} 
[2026-07-05 07:29:43] local.INFO: GPS Element Parsed {"raw_longitude":749904576,"raw_latitude":125975176,"longitude_deg":74.9904576,"latitude_deg":12.5975176,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a2c0","hex_latitude":"07823a88","is_valid_coordinates":true} 
[2026-07-05 07:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503335680001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783216456000,"timestamp_ms":1783216456000,"timestamp_seconds":1783216456,"priority":1,"record_length":96,"hex_timestamp":"0000019f2ffbc140"} 
[2026-07-05 07:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:29: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-07-05 07:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-05 07:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503335680001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503335680001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:29:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503335680001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":123125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:29:43] local.INFO: GPS data processed {"connection_id":123125,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:29:43] local.INFO: Acknowledgment sent {"connection_id":123125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:30:11] local.INFO: TCP Data received {"connection_id":122402,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:30:11] local.INFO: Processing buffer {"connection_id":122402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:30:11] local.INFO: IMEI packet received {"connection_id":122402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":122402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:30:16] local.INFO: TCP Data received {"connection_id":122402,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:30:16] local.INFO: Processing buffer {"connection_id":122402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:30:16] local.INFO: IMEI packet received {"connection_id":122402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":122402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:30:17] local.INFO: TCP Data received {"connection_id":122402,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:30:17] local.INFO: Processing buffer {"connection_id":122402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:30:17] local.INFO: Packet analysis {"connection_id":122402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:30:17] local.INFO: Extracted packet for processing {"connection_id":122402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:30:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503412736001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783216757000,"timestamp_ms":1783216757000,"timestamp_seconds":1783216757,"priority":1,"record_length":96,"hex_timestamp":"0000019f30005908"} 
[2026-07-05 07:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:30:17] 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-07-05 07: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-07-05 07:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503412736001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503412736001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:30:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:30:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:30:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503412736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":122402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:30:17] local.INFO: GPS data processed {"connection_id":122402,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:30:17] local.INFO: Acknowledgment sent {"connection_id":122402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:30:21] local.INFO: TCP Data received {"connection_id":122402,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:30:21] local.INFO: Processing buffer {"connection_id":122402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:30:21] local.INFO: Packet analysis {"connection_id":122402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:30:21] local.INFO: Extracted packet for processing {"connection_id":122402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:30:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503412736001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783216757000,"timestamp_ms":1783216757000,"timestamp_seconds":1783216757,"priority":1,"record_length":96,"hex_timestamp":"0000019f30005908"} 
[2026-07-05 07:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:30:21] 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-07-05 07: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-07-05 07:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503412736001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503412736001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:30:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503412736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":122402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:30:21] local.INFO: GPS data processed {"connection_id":122402,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:30:21] local.INFO: Acknowledgment sent {"connection_id":122402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:31:06] local.INFO: TCP Data received {"connection_id":122403,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:31:06] local.INFO: Processing buffer {"connection_id":122403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:31:06] local.INFO: IMEI packet received {"connection_id":122403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":122403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:31:11] local.INFO: TCP Data received {"connection_id":122403,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:31:11] local.INFO: Processing buffer {"connection_id":122403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:31:11] local.INFO: IMEI packet received {"connection_id":122403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":122403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:31:15] local.INFO: TCP Data received {"connection_id":122403,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:31:15] local.INFO: Processing buffer {"connection_id":122403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:31:15] local.INFO: Packet analysis {"connection_id":122403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:31:15] local.INFO: Extracted packet for processing {"connection_id":122403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:31:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503412736001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783216757000,"timestamp_ms":1783216757000,"timestamp_seconds":1783216757,"priority":1,"record_length":96,"hex_timestamp":"0000019f30005908"} 
[2026-07-05 07:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:31:15] 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-07-05 07:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503412736001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503412736001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:31:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503412736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":122403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:31:15] local.INFO: GPS data processed {"connection_id":122403,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:31:15] local.INFO: Acknowledgment sent {"connection_id":122403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:31:25] local.INFO: TCP Data received {"connection_id":122344,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:31:25] local.INFO: Processing buffer {"connection_id":122344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:31:25] local.INFO: IMEI packet received {"connection_id":122344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":122344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:31:48] local.INFO: TCP Data received {"connection_id":122403,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:31:48] local.INFO: Processing buffer {"connection_id":122403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:31:48] local.INFO: Packet analysis {"connection_id":122403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:31:48] local.INFO: Extracted packet for processing {"connection_id":122403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:31:48] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503412736001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783216757000,"timestamp_ms":1783216757000,"timestamp_seconds":1783216757,"priority":1,"record_length":96,"hex_timestamp":"0000019f30005908"} 
[2026-07-05 07:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503412736001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503412736001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:31:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:31:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503412736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":122403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:31:48] local.INFO: GPS data processed {"connection_id":122403,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:31:48] local.INFO: Acknowledgment sent {"connection_id":122403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:32:10] local.INFO: TCP Data received {"connection_id":123126,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:32:10] local.INFO: Processing buffer {"connection_id":123126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:32:10] local.INFO: IMEI packet received {"connection_id":123126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":123126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:32:11] local.INFO: TCP Data received {"connection_id":122404,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:32:11] local.INFO: Processing buffer {"connection_id":122404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:32:11] local.INFO: IMEI packet received {"connection_id":122404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":122404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:32:16] local.INFO: TCP Data received {"connection_id":122404,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:32:16] local.INFO: Processing buffer {"connection_id":122404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:32:16] local.INFO: IMEI packet received {"connection_id":122404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":122404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:32:17] local.INFO: TCP Data received {"connection_id":122404,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:32:17] local.INFO: Processing buffer {"connection_id":122404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:32:17] local.INFO: Packet analysis {"connection_id":122404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:32:17] local.INFO: Extracted packet for processing {"connection_id":122404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:32:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503412736001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:32:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783216757000,"timestamp_ms":1783216757000,"timestamp_seconds":1783216757,"priority":1,"record_length":96,"hex_timestamp":"0000019f30005908"} 
[2026-07-05 07:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:32:17] 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-07-05 07:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503412736001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503412736001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:32:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:32:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:32:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503412736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":122404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:32:17] local.INFO: GPS data processed {"connection_id":122404,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:32:17] local.INFO: Acknowledgment sent {"connection_id":122404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:32:21] local.INFO: TCP Data received {"connection_id":122404,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:32:21] local.INFO: Processing buffer {"connection_id":122404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:32:21] local.INFO: Packet analysis {"connection_id":122404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:32:21] local.INFO: Extracted packet for processing {"connection_id":122404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:32:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503412736001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783216757000,"timestamp_ms":1783216757000,"timestamp_seconds":1783216757,"priority":1,"record_length":96,"hex_timestamp":"0000019f30005908"} 
[2026-07-05 07:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:32:21] 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-07-05 07:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503412736001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503412736001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:32:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503412736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":122404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:32:21] local.INFO: GPS data processed {"connection_id":122404,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:32:21] local.INFO: Acknowledgment sent {"connection_id":122404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:33:06] local.INFO: TCP Data received {"connection_id":124314,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:33:06] local.INFO: Processing buffer {"connection_id":124314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:33:06] local.INFO: IMEI packet received {"connection_id":124314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":124314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:33:11] local.INFO: TCP Data received {"connection_id":124314,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:33:11] local.INFO: Processing buffer {"connection_id":124314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:33:11] local.INFO: IMEI packet received {"connection_id":124314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":124314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:33:12] local.INFO: TCP Data received {"connection_id":124314,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:33:12] local.INFO: Processing buffer {"connection_id":124314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:33:12] local.INFO: Packet analysis {"connection_id":124314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:33:12] local.INFO: Extracted packet for processing {"connection_id":124314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:33:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503412736001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783216757000,"timestamp_ms":1783216757000,"timestamp_seconds":1783216757,"priority":1,"record_length":96,"hex_timestamp":"0000019f30005908"} 
[2026-07-05 07:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503412736001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503412736001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:33:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503412736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":124314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:33:12] local.INFO: GPS data processed {"connection_id":124314,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:33:12] local.INFO: Acknowledgment sent {"connection_id":124314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:33:43] local.INFO: TCP Data received {"connection_id":124314,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:33:43] local.INFO: Processing buffer {"connection_id":124314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:33:43] local.INFO: Packet analysis {"connection_id":124314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:33:43] local.INFO: Extracted packet for processing {"connection_id":124314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:33:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503412736001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:33:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783216757000,"timestamp_ms":1783216757000,"timestamp_seconds":1783216757,"priority":1,"record_length":96,"hex_timestamp":"0000019f30005908"} 
[2026-07-05 07:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:33: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-07-05 07:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:33: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-07-05 07:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503412736001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503412736001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:33:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:33:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503412736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":124314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:33:43] local.INFO: GPS data processed {"connection_id":124314,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:33:43] local.INFO: Acknowledgment sent {"connection_id":124314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:34:06] local.INFO: TCP Data received {"connection_id":122346,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:34:06] local.INFO: Processing buffer {"connection_id":122346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:34:06] local.INFO: IMEI packet received {"connection_id":122346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":122346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:34:11] local.INFO: TCP Data received {"connection_id":122346,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:34:11] local.INFO: Processing buffer {"connection_id":122346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:34:11] local.INFO: IMEI packet received {"connection_id":122346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":122346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:34:12] local.INFO: TCP Data received {"connection_id":122346,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:34:12] local.INFO: Processing buffer {"connection_id":122346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:34:12] local.INFO: Packet analysis {"connection_id":122346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:34:12] local.INFO: Extracted packet for processing {"connection_id":122346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:34:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503412736001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783216757000,"timestamp_ms":1783216757000,"timestamp_seconds":1783216757,"priority":1,"record_length":96,"hex_timestamp":"0000019f30005908"} 
[2026-07-05 07:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503412736001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503412736001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:34:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503412736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":122346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:34:12] local.INFO: GPS data processed {"connection_id":122346,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:34:12] local.INFO: Acknowledgment sent {"connection_id":122346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:34:43] local.INFO: TCP Data received {"connection_id":122346,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:34:43] local.INFO: Processing buffer {"connection_id":122346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30005908012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:34:43] local.INFO: Packet analysis {"connection_id":122346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:34:43] local.INFO: Extracted packet for processing {"connection_id":122346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3000"} 
[2026-07-05 07:34:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503412736001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:34:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249074688,"note":"Value kept but may cause issues"} 
[2026-07-05 07:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783216757000,"timestamp_ms":1783216757000,"timestamp_seconds":1783216757,"priority":1,"record_length":96,"hex_timestamp":"0000019f30005908"} 
[2026-07-05 07:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:34: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-07-05 07:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:34: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-07-05 07:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503412736001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574682250249074688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503412736001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:34:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:34:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:34:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249074688,"description":"Unknown IO ID 44"} 
[2026-07-05 07:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503412736001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574682250249074688}} 
[2026-07-05 07:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":122346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:34:43] local.INFO: GPS data processed {"connection_id":122346,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:34:43] local.INFO: Acknowledgment sent {"connection_id":122346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:35:06] local.INFO: TCP Data received {"connection_id":123127,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:35:06] local.INFO: Processing buffer {"connection_id":123127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:35:06] local.INFO: IMEI packet received {"connection_id":123127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":123127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:35:11] local.INFO: TCP Data received {"connection_id":123127,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:35:11] local.INFO: Processing buffer {"connection_id":123127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:35:11] local.INFO: IMEI packet received {"connection_id":123127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":123127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:35:12] local.INFO: TCP Data received {"connection_id":123127,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:35:12] local.INFO: Processing buffer {"connection_id":123127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:35:12] local.INFO: Packet analysis {"connection_id":123127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:35:12] local.INFO: Extracted packet for processing {"connection_id":123127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:35:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503489792001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217058000,"timestamp_ms":1783217058000,"timestamp_seconds":1783217058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3004f0d0"} 
[2026-07-05 07:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503489792001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503489792001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:35:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503489792001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":123127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:35:12] local.INFO: GPS data processed {"connection_id":123127,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:35:12] local.INFO: Acknowledgment sent {"connection_id":123127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:35:43] local.INFO: TCP Data received {"connection_id":123127,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:35:43] local.INFO: Processing buffer {"connection_id":123127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:35:43] local.INFO: Packet analysis {"connection_id":123127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:35:43] local.INFO: Extracted packet for processing {"connection_id":123127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:35:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503489792001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217058000,"timestamp_ms":1783217058000,"timestamp_seconds":1783217058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3004f0d0"} 
[2026-07-05 07:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07: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-07-05 07:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503489792001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503489792001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:35:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503489792001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":123127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:35:43] local.INFO: GPS data processed {"connection_id":123127,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:35:43] local.INFO: Acknowledgment sent {"connection_id":123127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:36:06] local.INFO: TCP Data received {"connection_id":124315,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:36:06] local.INFO: Processing buffer {"connection_id":124315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:36:06] local.INFO: IMEI packet received {"connection_id":124315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":124315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:36:11] local.INFO: TCP Data received {"connection_id":124315,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:36:11] local.INFO: Processing buffer {"connection_id":124315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:36:11] local.INFO: IMEI packet received {"connection_id":124315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":124315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:36:12] local.INFO: TCP Data received {"connection_id":124315,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:36:12] local.INFO: Processing buffer {"connection_id":124315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:36:12] local.INFO: Packet analysis {"connection_id":124315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:36:12] local.INFO: Extracted packet for processing {"connection_id":124315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:36:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503489792001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217058000,"timestamp_ms":1783217058000,"timestamp_seconds":1783217058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3004f0d0"} 
[2026-07-05 07:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503489792001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503489792001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:36:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503489792001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":124315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:36:12] local.INFO: GPS data processed {"connection_id":124315,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:36:12] local.INFO: Acknowledgment sent {"connection_id":124315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:36:43] local.INFO: TCP Data received {"connection_id":124315,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:36:43] local.INFO: Processing buffer {"connection_id":124315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:36:43] local.INFO: Packet analysis {"connection_id":124315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:36:43] local.INFO: Extracted packet for processing {"connection_id":124315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:36:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503489792001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:36:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217058000,"timestamp_ms":1783217058000,"timestamp_seconds":1783217058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3004f0d0"} 
[2026-07-05 07:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:36: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-07-05 07:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:36: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-07-05 07:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503489792001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503489792001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:36:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:36:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503489792001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":124315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:36:43] local.INFO: GPS data processed {"connection_id":124315,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:36:43] local.INFO: Acknowledgment sent {"connection_id":124315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:37:06] local.INFO: TCP Data received {"connection_id":122348,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:37:06] local.INFO: Processing buffer {"connection_id":122348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:37:06] local.INFO: IMEI packet received {"connection_id":122348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":122348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:37:11] local.INFO: TCP Data received {"connection_id":122348,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:37:11] local.INFO: Processing buffer {"connection_id":122348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:37:11] local.INFO: IMEI packet received {"connection_id":122348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":122348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:37:12] local.INFO: TCP Data received {"connection_id":122348,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:37:12] local.INFO: Processing buffer {"connection_id":122348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:37:12] local.INFO: Packet analysis {"connection_id":122348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:37:12] local.INFO: Extracted packet for processing {"connection_id":122348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:37:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503489792001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217058000,"timestamp_ms":1783217058000,"timestamp_seconds":1783217058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3004f0d0"} 
[2026-07-05 07:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503489792001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503489792001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:37:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503489792001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":122348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:37:12] local.INFO: GPS data processed {"connection_id":122348,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:37:12] local.INFO: Acknowledgment sent {"connection_id":122348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:37:40] local.INFO: TCP Data received {"connection_id":122405,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:37:40] local.INFO: Processing buffer {"connection_id":122405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:37:40] local.INFO: IMEI packet received {"connection_id":122405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":122405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:37:43] local.INFO: TCP Data received {"connection_id":122348,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:37:43] local.INFO: Processing buffer {"connection_id":122348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:37:43] local.INFO: Packet analysis {"connection_id":122348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:37:43] local.INFO: Extracted packet for processing {"connection_id":122348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:37:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503489792001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217058000,"timestamp_ms":1783217058000,"timestamp_seconds":1783217058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3004f0d0"} 
[2026-07-05 07:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:37: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-07-05 07:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503489792001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503489792001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:37:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503489792001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":122348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:37:43] local.INFO: GPS data processed {"connection_id":122348,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:37:43] local.INFO: Acknowledgment sent {"connection_id":122348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:38:05] local.INFO: TCP Data received {"connection_id":122406,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:38:05] local.INFO: Processing buffer {"connection_id":122406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:38:05] local.INFO: IMEI packet received {"connection_id":122406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":122406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:38:05] local.INFO: TCP Data received {"connection_id":122407,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:38:05] local.INFO: Processing buffer {"connection_id":122407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:38:05] local.INFO: IMEI packet received {"connection_id":122407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":122407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:38:11] local.INFO: TCP Data received {"connection_id":122407,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:38:11] local.INFO: Processing buffer {"connection_id":122407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:38:11] local.INFO: IMEI packet received {"connection_id":122407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":122407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:38:12] local.INFO: TCP Data received {"connection_id":122407,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:38:12] local.INFO: Processing buffer {"connection_id":122407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:38:12] local.INFO: Packet analysis {"connection_id":122407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:38:12] local.INFO: Extracted packet for processing {"connection_id":122407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:38:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503489792001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217058000,"timestamp_ms":1783217058000,"timestamp_seconds":1783217058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3004f0d0"} 
[2026-07-05 07:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503489792001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503489792001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:38:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503489792001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":122407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:38:12] local.INFO: GPS data processed {"connection_id":122407,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:38:12] local.INFO: Acknowledgment sent {"connection_id":122407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:38:43] local.INFO: TCP Data received {"connection_id":122407,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:38:43] local.INFO: Processing buffer {"connection_id":122407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:38:43] local.INFO: Packet analysis {"connection_id":122407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:38:43] local.INFO: Extracted packet for processing {"connection_id":122407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:38:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503489792001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:38:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217058000,"timestamp_ms":1783217058000,"timestamp_seconds":1783217058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3004f0d0"} 
[2026-07-05 07:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:38: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-07-05 07:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:38: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-07-05 07:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503489792001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503489792001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:38:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:38:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503489792001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":122407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:38:43] local.INFO: GPS data processed {"connection_id":122407,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:38:43] local.INFO: Acknowledgment sent {"connection_id":122407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:39:11] local.INFO: TCP Data received {"connection_id":124317,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:39:11] local.INFO: Processing buffer {"connection_id":124317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:39:11] local.INFO: IMEI packet received {"connection_id":124317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":124317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:39:16] local.INFO: TCP Data received {"connection_id":124317,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:39:16] local.INFO: Processing buffer {"connection_id":124317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:39:16] local.INFO: IMEI packet received {"connection_id":124317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":124317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:39:17] local.INFO: TCP Data received {"connection_id":124317,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:39:17] local.INFO: Processing buffer {"connection_id":124317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:39:17] local.INFO: Packet analysis {"connection_id":124317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:39:17] local.INFO: Extracted packet for processing {"connection_id":124317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:39:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503489792001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:39:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783217058000,"timestamp_ms":1783217058000,"timestamp_seconds":1783217058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3004f0d0"} 
[2026-07-05 07:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503489792001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503489792001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:39:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:39:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:39:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503489792001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":124317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:39:17] local.INFO: GPS data processed {"connection_id":124317,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:39:17] local.INFO: Acknowledgment sent {"connection_id":124317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:39:21] local.INFO: TCP Data received {"connection_id":124317,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:39:21] local.INFO: Processing buffer {"connection_id":124317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3004f0d0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 07:39:21] local.INFO: Packet analysis {"connection_id":124317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:39:21] local.INFO: Extracted packet for processing {"connection_id":124317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3004"} 
[2026-07-05 07:39:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503489792001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783217058000,"timestamp_ms":1783217058000,"timestamp_seconds":1783217058,"priority":1,"record_length":96,"hex_timestamp":"0000019f3004f0d0"} 
[2026-07-05 07:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503489792001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503489792001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:39:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503489792001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":124317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:39:21] local.INFO: GPS data processed {"connection_id":124317,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:39:21] local.INFO: Acknowledgment sent {"connection_id":124317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:40:06] local.INFO: TCP Data received {"connection_id":124318,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:40:06] local.INFO: Processing buffer {"connection_id":124318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:40:06] local.INFO: IMEI packet received {"connection_id":124318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":124318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:40:11] local.INFO: TCP Data received {"connection_id":124318,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:40:11] local.INFO: Processing buffer {"connection_id":124318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:40:11] local.INFO: IMEI packet received {"connection_id":124318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":124318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:40:12] local.INFO: TCP Data received {"connection_id":124318,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:40:12] local.INFO: Processing buffer {"connection_id":124318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:40:12] local.INFO: Packet analysis {"connection_id":124318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:40:12] local.INFO: Extracted packet for processing {"connection_id":124318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:40:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503566848001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217359000,"timestamp_ms":1783217359000,"timestamp_seconds":1783217359,"priority":1,"record_length":96,"hex_timestamp":"0000019f30098898"} 
[2026-07-05 07:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503566848001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503566848001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:40:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:40:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503566848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":124318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:40:12] local.INFO: GPS data processed {"connection_id":124318,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:40:12] local.INFO: Acknowledgment sent {"connection_id":124318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:40:19] local.INFO: TCP Data received {"connection_id":124318,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:40:19] local.INFO: Processing buffer {"connection_id":124318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:40:19] local.INFO: Packet analysis {"connection_id":124318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:40:19] local.INFO: Extracted packet for processing {"connection_id":124318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:40:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503566848001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:40:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783217359000,"timestamp_ms":1783217359000,"timestamp_seconds":1783217359,"priority":1,"record_length":96,"hex_timestamp":"0000019f30098898"} 
[2026-07-05 07:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503566848001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503566848001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:40:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:40:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503566848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":124318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:40:19] local.INFO: GPS data processed {"connection_id":124318,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:40:19] local.INFO: Acknowledgment sent {"connection_id":124318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:40:51] local.INFO: TCP Data received {"connection_id":124318,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:40:51] local.INFO: Processing buffer {"connection_id":124318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:40:51] local.INFO: Packet analysis {"connection_id":124318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:40:51] local.INFO: Extracted packet for processing {"connection_id":124318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:40:51] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503566848001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783217359000,"timestamp_ms":1783217359000,"timestamp_seconds":1783217359,"priority":1,"record_length":96,"hex_timestamp":"0000019f30098898"} 
[2026-07-05 07:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":124318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":124318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":124318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503566848001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503566848001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:40:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503566848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":124318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:40:51] local.INFO: GPS data processed {"connection_id":124318,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:40:51] local.INFO: Acknowledgment sent {"connection_id":124318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:41:07] local.INFO: TCP Data received {"connection_id":123130,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:41:07] local.INFO: Processing buffer {"connection_id":123130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:41:07] local.INFO: IMEI packet received {"connection_id":123130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":123130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:41:11] local.INFO: TCP Data received {"connection_id":123130,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:41:11] local.INFO: Processing buffer {"connection_id":123130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:41:11] local.INFO: IMEI packet received {"connection_id":123130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":123130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:41:12] local.INFO: TCP Data received {"connection_id":123130,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:41:12] local.INFO: Processing buffer {"connection_id":123130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:41:12] local.INFO: Packet analysis {"connection_id":123130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:41:12] local.INFO: Extracted packet for processing {"connection_id":123130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:41:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503566848001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217359000,"timestamp_ms":1783217359000,"timestamp_seconds":1783217359,"priority":1,"record_length":96,"hex_timestamp":"0000019f30098898"} 
[2026-07-05 07:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503566848001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503566848001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:41:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503566848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":123130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:41:12] local.INFO: GPS data processed {"connection_id":123130,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:41:12] local.INFO: Acknowledgment sent {"connection_id":123130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:41:43] local.INFO: TCP Data received {"connection_id":123130,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:41:43] local.INFO: Processing buffer {"connection_id":123130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:41:43] local.INFO: Packet analysis {"connection_id":123130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:41:43] local.INFO: Extracted packet for processing {"connection_id":123130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:41:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503566848001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:41:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217359000,"timestamp_ms":1783217359000,"timestamp_seconds":1783217359,"priority":1,"record_length":96,"hex_timestamp":"0000019f30098898"} 
[2026-07-05 07:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:41: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-07-05 07:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:41: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-07-05 07:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503566848001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503566848001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:41:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:41:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503566848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":123130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:41:43] local.INFO: GPS data processed {"connection_id":123130,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:41:43] local.INFO: Acknowledgment sent {"connection_id":123130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:42:05] local.INFO: TCP Data received {"connection_id":123131,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:42:05] local.INFO: Processing buffer {"connection_id":123131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:42:05] local.INFO: IMEI packet received {"connection_id":123131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":123131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:42:11] local.INFO: TCP Data received {"connection_id":123131,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:42:11] local.INFO: Processing buffer {"connection_id":123131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:42:11] local.INFO: IMEI packet received {"connection_id":123131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":123131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:42:16] local.INFO: TCP Data received {"connection_id":123131,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:42:16] local.INFO: Processing buffer {"connection_id":123131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:42:16] local.INFO: Packet analysis {"connection_id":123131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:42:16] local.INFO: Extracted packet for processing {"connection_id":123131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:42:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503566848001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:42:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783217359000,"timestamp_ms":1783217359000,"timestamp_seconds":1783217359,"priority":1,"record_length":96,"hex_timestamp":"0000019f30098898"} 
[2026-07-05 07:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503566848001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503566848001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:42:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:42:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:42:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503566848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":123131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:42:16] local.INFO: GPS data processed {"connection_id":123131,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:42:16] local.INFO: Acknowledgment sent {"connection_id":123131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:42:51] local.INFO: TCP Data received {"connection_id":123131,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:42:51] local.INFO: Processing buffer {"connection_id":123131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:42:51] local.INFO: Packet analysis {"connection_id":123131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:42:51] local.INFO: Extracted packet for processing {"connection_id":123131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:42:51] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503566848001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783217359000,"timestamp_ms":1783217359000,"timestamp_seconds":1783217359,"priority":1,"record_length":96,"hex_timestamp":"0000019f30098898"} 
[2026-07-05 07:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":123131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":123131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":123131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503566848001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503566848001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:42:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503566848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":123131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:42:51] local.INFO: GPS data processed {"connection_id":123131,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:42:51] local.INFO: Acknowledgment sent {"connection_id":123131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:43:05] local.INFO: TCP Data received {"connection_id":123133,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:43:05] local.INFO: Processing buffer {"connection_id":123133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:43:05] local.INFO: IMEI packet received {"connection_id":123133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":123133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:43:11] local.INFO: TCP Data received {"connection_id":123133,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:43:11] local.INFO: Processing buffer {"connection_id":123133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:43:11] local.INFO: IMEI packet received {"connection_id":123133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":123133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:43:12] local.INFO: TCP Data received {"connection_id":123133,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:43:12] local.INFO: Processing buffer {"connection_id":123133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:43:12] local.INFO: Packet analysis {"connection_id":123133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:43:12] local.INFO: Extracted packet for processing {"connection_id":123133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:43:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503566848001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217359000,"timestamp_ms":1783217359000,"timestamp_seconds":1783217359,"priority":1,"record_length":96,"hex_timestamp":"0000019f30098898"} 
[2026-07-05 07:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503566848001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503566848001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:43:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503566848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":123133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:43:12] local.INFO: GPS data processed {"connection_id":123133,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:43:12] local.INFO: Acknowledgment sent {"connection_id":123133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:43:20] local.INFO: TCP Data received {"connection_id":123132,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:43:20] local.INFO: Processing buffer {"connection_id":123132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:43:20] local.INFO: IMEI packet received {"connection_id":123132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":123132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:43:43] local.INFO: TCP Data received {"connection_id":123133,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:43:43] local.INFO: Processing buffer {"connection_id":123133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:43:43] local.INFO: Packet analysis {"connection_id":123133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:43:43] local.INFO: Extracted packet for processing {"connection_id":123133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:43:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503566848001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:43:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217359000,"timestamp_ms":1783217359000,"timestamp_seconds":1783217359,"priority":1,"record_length":96,"hex_timestamp":"0000019f30098898"} 
[2026-07-05 07:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:43: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-07-05 07:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:43: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-07-05 07:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503566848001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503566848001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:43:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:43:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503566848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":123133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:43:43] local.INFO: GPS data processed {"connection_id":123133,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:43:43] local.INFO: Acknowledgment sent {"connection_id":123133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:44:10] local.INFO: TCP Data received {"connection_id":124319,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:44:10] local.INFO: Processing buffer {"connection_id":124319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:44:10] local.INFO: IMEI packet received {"connection_id":124319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":124319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:44:11] local.INFO: TCP Data received {"connection_id":124320,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:44:11] local.INFO: Processing buffer {"connection_id":124320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:44:11] local.INFO: IMEI packet received {"connection_id":124320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":124320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:44:16] local.INFO: TCP Data received {"connection_id":124320,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:44:16] local.INFO: Processing buffer {"connection_id":124320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:44:16] local.INFO: IMEI packet received {"connection_id":124320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":124320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:44:17] local.INFO: TCP Data received {"connection_id":124320,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:44:17] local.INFO: Processing buffer {"connection_id":124320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:44:17] local.INFO: Packet analysis {"connection_id":124320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:44:17] local.INFO: Extracted packet for processing {"connection_id":124320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:44:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503566848001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:44:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783217359000,"timestamp_ms":1783217359000,"timestamp_seconds":1783217359,"priority":1,"record_length":96,"hex_timestamp":"0000019f30098898"} 
[2026-07-05 07:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:44:17] 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-07-05 07:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503566848001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503566848001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:44:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:44:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:44:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503566848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":124320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:44:17] local.INFO: GPS data processed {"connection_id":124320,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:44:17] local.INFO: Acknowledgment sent {"connection_id":124320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:44:21] local.INFO: TCP Data received {"connection_id":124320,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:44:21] local.INFO: Processing buffer {"connection_id":124320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30098898012cb2a24007823a98004b013b2d..."} 
[2026-07-05 07:44:21] local.INFO: Packet analysis {"connection_id":124320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:44:21] local.INFO: Extracted packet for processing {"connection_id":124320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3009"} 
[2026-07-05 07:44:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503566848001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783217359000,"timestamp_ms":1783217359000,"timestamp_seconds":1783217359,"priority":1,"record_length":96,"hex_timestamp":"0000019f30098898"} 
[2026-07-05 07:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 07:44:21] 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-07-05 07: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-07-05 07:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503566848001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503566848001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:44:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503566848001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":124320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:44:21] local.INFO: GPS data processed {"connection_id":124320,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:44:21] local.INFO: Acknowledgment sent {"connection_id":124320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:45:06] local.INFO: TCP Data received {"connection_id":122351,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:45:06] local.INFO: Processing buffer {"connection_id":122351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:45:06] local.INFO: IMEI packet received {"connection_id":122351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":122351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:45:11] local.INFO: TCP Data received {"connection_id":122351,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:45:11] local.INFO: Processing buffer {"connection_id":122351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:45:11] local.INFO: IMEI packet received {"connection_id":122351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":122351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:45:12] local.INFO: TCP Data received {"connection_id":122351,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:45:12] local.INFO: Processing buffer {"connection_id":122351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:45:12] local.INFO: Packet analysis {"connection_id":122351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:45:12] local.INFO: Extracted packet for processing {"connection_id":122351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:45:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503643904001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217660000,"timestamp_ms":1783217660000,"timestamp_seconds":1783217660,"priority":1,"record_length":96,"hex_timestamp":"0000019f300e2060"} 
[2026-07-05 07:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503643904001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503643904001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:45:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503643904001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":122351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:45:12] local.INFO: GPS data processed {"connection_id":122351,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:45:12] local.INFO: Acknowledgment sent {"connection_id":122351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:45:43] local.INFO: TCP Data received {"connection_id":122351,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:45:43] local.INFO: Processing buffer {"connection_id":122351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:45:43] local.INFO: Packet analysis {"connection_id":122351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:45:43] local.INFO: Extracted packet for processing {"connection_id":122351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:45:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503643904001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:45:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217660000,"timestamp_ms":1783217660000,"timestamp_seconds":1783217660,"priority":1,"record_length":96,"hex_timestamp":"0000019f300e2060"} 
[2026-07-05 07:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:45: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-07-05 07:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503643904001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503643904001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:45:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:45:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503643904001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":122351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:45:43] local.INFO: GPS data processed {"connection_id":122351,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:45:43] local.INFO: Acknowledgment sent {"connection_id":122351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:46:06] local.INFO: TCP Data received {"connection_id":122352,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:46:06] local.INFO: Processing buffer {"connection_id":122352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:46:06] local.INFO: IMEI packet received {"connection_id":122352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":122352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:46:11] local.INFO: TCP Data received {"connection_id":122352,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:46:11] local.INFO: Processing buffer {"connection_id":122352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:46:11] local.INFO: IMEI packet received {"connection_id":122352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":122352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:46:12] local.INFO: TCP Data received {"connection_id":122352,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:46:12] local.INFO: Processing buffer {"connection_id":122352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:46:12] local.INFO: Packet analysis {"connection_id":122352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:46:12] local.INFO: Extracted packet for processing {"connection_id":122352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:46:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503643904001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217660000,"timestamp_ms":1783217660000,"timestamp_seconds":1783217660,"priority":1,"record_length":96,"hex_timestamp":"0000019f300e2060"} 
[2026-07-05 07:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503643904001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503643904001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:46:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503643904001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":122352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:46:12] local.INFO: GPS data processed {"connection_id":122352,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:46:12] local.INFO: Acknowledgment sent {"connection_id":122352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:46:43] local.INFO: TCP Data received {"connection_id":122352,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:46:43] local.INFO: Processing buffer {"connection_id":122352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:46:43] local.INFO: Packet analysis {"connection_id":122352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:46:43] local.INFO: Extracted packet for processing {"connection_id":122352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:46:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503643904001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:46:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217660000,"timestamp_ms":1783217660000,"timestamp_seconds":1783217660,"priority":1,"record_length":96,"hex_timestamp":"0000019f300e2060"} 
[2026-07-05 07:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:46: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-07-05 07:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:46: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-07-05 07:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503643904001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503643904001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:46:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:46:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503643904001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":122352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:46:43] local.INFO: GPS data processed {"connection_id":122352,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:46:43] local.INFO: Acknowledgment sent {"connection_id":122352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:47:11] local.INFO: TCP Data received {"connection_id":122410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:47:11] local.INFO: Processing buffer {"connection_id":122410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:47:11] local.INFO: IMEI packet received {"connection_id":122410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":122410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:47:16] local.INFO: TCP Data received {"connection_id":122410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:47:16] local.INFO: Processing buffer {"connection_id":122410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:47:16] local.INFO: IMEI packet received {"connection_id":122410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":122410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:47:17] local.INFO: TCP Data received {"connection_id":122410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:47:17] local.INFO: Processing buffer {"connection_id":122410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:47:17] local.INFO: Packet analysis {"connection_id":122410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:47:17] local.INFO: Extracted packet for processing {"connection_id":122410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:47:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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":795,"current_offset":40} 
[2026-07-05 07:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503643904001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:47:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783217660000,"timestamp_ms":1783217660000,"timestamp_seconds":1783217660,"priority":1,"record_length":96,"hex_timestamp":"0000019f300e2060"} 
[2026-07-05 07:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503643904001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503643904001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:47:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:47:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:47:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503643904001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":122410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:47:17] local.INFO: GPS data processed {"connection_id":122410,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:47:17] local.INFO: Acknowledgment sent {"connection_id":122410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:47:48] local.INFO: TCP Data received {"connection_id":122410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:47:48] local.INFO: Processing buffer {"connection_id":122410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:47:48] local.INFO: Packet analysis {"connection_id":122410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:47:48] local.INFO: Extracted packet for processing {"connection_id":122410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:47:48] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503643904001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783217660000,"timestamp_ms":1783217660000,"timestamp_seconds":1783217660,"priority":1,"record_length":96,"hex_timestamp":"0000019f300e2060"} 
[2026-07-05 07:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503643904001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503643904001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:47:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:47:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503643904001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":122410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:47:48] local.INFO: GPS data processed {"connection_id":122410,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:47:48] local.INFO: Acknowledgment sent {"connection_id":122410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:48:05] local.INFO: TCP Data received {"connection_id":123135,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:48:05] local.INFO: Processing buffer {"connection_id":123135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:48:05] local.INFO: IMEI packet received {"connection_id":123135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":123135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:48:11] local.INFO: TCP Data received {"connection_id":123135,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:48:11] local.INFO: Processing buffer {"connection_id":123135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:48:11] local.INFO: IMEI packet received {"connection_id":123135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":123135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:48:12] local.INFO: TCP Data received {"connection_id":123135,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:48:12] local.INFO: Processing buffer {"connection_id":123135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:48:12] local.INFO: Packet analysis {"connection_id":123135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:48:12] local.INFO: Extracted packet for processing {"connection_id":123135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:48:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503643904001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217660000,"timestamp_ms":1783217660000,"timestamp_seconds":1783217660,"priority":1,"record_length":96,"hex_timestamp":"0000019f300e2060"} 
[2026-07-05 07:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503643904001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503643904001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:48:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503643904001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":123135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:48:12] local.INFO: GPS data processed {"connection_id":123135,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:48:12] local.INFO: Acknowledgment sent {"connection_id":123135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:48:43] local.INFO: TCP Data received {"connection_id":123135,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:48:43] local.INFO: Processing buffer {"connection_id":123135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:48:43] local.INFO: Packet analysis {"connection_id":123135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:48:43] local.INFO: Extracted packet for processing {"connection_id":123135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:48:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503643904001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:48:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217660000,"timestamp_ms":1783217660000,"timestamp_seconds":1783217660,"priority":1,"record_length":96,"hex_timestamp":"0000019f300e2060"} 
[2026-07-05 07:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:48: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-07-05 07:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:48: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-07-05 07:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503643904001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503643904001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:48:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:48:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503643904001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":123135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:48:43] local.INFO: GPS data processed {"connection_id":123135,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:48:43] local.INFO: Acknowledgment sent {"connection_id":123135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:49:05] local.INFO: TCP Data received {"connection_id":122411,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:49:05] local.INFO: Processing buffer {"connection_id":122411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:49:05] local.INFO: IMEI packet received {"connection_id":122411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":122411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:49:11] local.INFO: TCP Data received {"connection_id":122411,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:49:11] local.INFO: Processing buffer {"connection_id":122411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:49:11] local.INFO: IMEI packet received {"connection_id":122411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":122411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:49:12] local.INFO: TCP Data received {"connection_id":122411,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:49:12] local.INFO: Processing buffer {"connection_id":122411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:49:12] local.INFO: Packet analysis {"connection_id":122411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:49:12] local.INFO: Extracted packet for processing {"connection_id":122411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:49:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503643904001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217660000,"timestamp_ms":1783217660000,"timestamp_seconds":1783217660,"priority":1,"record_length":96,"hex_timestamp":"0000019f300e2060"} 
[2026-07-05 07:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503643904001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503643904001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:49:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503643904001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":122411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:49:12] local.INFO: GPS data processed {"connection_id":122411,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:49:12] local.INFO: Acknowledgment sent {"connection_id":122411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:49:40] local.INFO: TCP Data received {"connection_id":124323,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:49:40] local.INFO: Processing buffer {"connection_id":124323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:49:40] local.INFO: IMEI packet received {"connection_id":124323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":124323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:49:43] local.INFO: TCP Data received {"connection_id":122411,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:49:43] local.INFO: Processing buffer {"connection_id":122411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f300e2060012cb2a24007823a98004b013b2c..."} 
[2026-07-05 07:49:43] local.INFO: Packet analysis {"connection_id":122411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:49:43] local.INFO: Extracted packet for processing {"connection_id":122411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f300e"} 
[2026-07-05 07:49:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503643904001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:49:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217660000,"timestamp_ms":1783217660000,"timestamp_seconds":1783217660,"priority":1,"record_length":96,"hex_timestamp":"0000019f300e2060"} 
[2026-07-05 07:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:49: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-07-05 07:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:49: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-07-05 07:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503643904001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503643904001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:49:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:49:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503643904001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":122411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:49:43] local.INFO: GPS data processed {"connection_id":122411,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:49:43] local.INFO: Acknowledgment sent {"connection_id":122411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:50:05] local.INFO: TCP Data received {"connection_id":123136,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:50:05] local.INFO: Processing buffer {"connection_id":123136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:50:05] local.INFO: IMEI packet received {"connection_id":123136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":123136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:50:12] local.INFO: TCP Data received {"connection_id":122353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:50:12] local.INFO: Processing buffer {"connection_id":122353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:50:12] local.INFO: IMEI packet received {"connection_id":122353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":122353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:50:16] local.INFO: TCP Data received {"connection_id":122353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:50:16] local.INFO: Processing buffer {"connection_id":122353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:50:16] local.INFO: IMEI packet received {"connection_id":122353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":122353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:50:17] local.INFO: TCP Data received {"connection_id":122353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:50:17] local.INFO: Processing buffer {"connection_id":122353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:50:17] local.INFO: Packet analysis {"connection_id":122353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:50:17] local.INFO: Extracted packet for processing {"connection_id":122353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:50:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503720960001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:50:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783217961000,"timestamp_ms":1783217961000,"timestamp_seconds":1783217961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3012b828"} 
[2026-07-05 07:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503720960001,"66":25191,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503720960001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:50:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:50:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:50:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503720960001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":122353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:50:17] local.INFO: GPS data processed {"connection_id":122353,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:50:17] local.INFO: Acknowledgment sent {"connection_id":122353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:50:21] local.INFO: TCP Data received {"connection_id":122353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:50:21] local.INFO: Processing buffer {"connection_id":122353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:50:21] local.INFO: Packet analysis {"connection_id":122353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:50:21] local.INFO: Extracted packet for processing {"connection_id":122353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:50:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503720960001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783217961000,"timestamp_ms":1783217961000,"timestamp_seconds":1783217961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3012b828"} 
[2026-07-05 07:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503720960001,"66":25191,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503720960001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:50:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503720960001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":122353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:50:21] local.INFO: GPS data processed {"connection_id":122353,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:50:21] local.INFO: Acknowledgment sent {"connection_id":122353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:51:08] local.INFO: TCP Data received {"connection_id":122413,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:51:08] local.INFO: Processing buffer {"connection_id":122413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:51:08] local.INFO: IMEI packet received {"connection_id":122413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":122413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:51:12] local.INFO: TCP Data received {"connection_id":122413,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:51:12] local.INFO: Processing buffer {"connection_id":122413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:51:12] local.INFO: IMEI packet received {"connection_id":122413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":122413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:51:13] local.INFO: TCP Data received {"connection_id":122413,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:51:13] local.INFO: Processing buffer {"connection_id":122413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:51:13] local.INFO: Packet analysis {"connection_id":122413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:51:13] local.INFO: Extracted packet for processing {"connection_id":122413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:51:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503720960001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783217961000,"timestamp_ms":1783217961000,"timestamp_seconds":1783217961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3012b828"} 
[2026-07-05 07:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503720960001,"66":25191,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503720960001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:51:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503720960001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":122413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:51:13] local.INFO: GPS data processed {"connection_id":122413,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:51:13] local.INFO: Acknowledgment sent {"connection_id":122413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:51:16] local.INFO: TCP Data received {"connection_id":122413,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:51:16] local.INFO: Processing buffer {"connection_id":122413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:51:16] local.INFO: Packet analysis {"connection_id":122413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:51:16] local.INFO: Extracted packet for processing {"connection_id":122413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:51:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503720960001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:51:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783217961000,"timestamp_ms":1783217961000,"timestamp_seconds":1783217961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3012b828"} 
[2026-07-05 07:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503720960001,"66":25191,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503720960001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:51:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:51:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503720960001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":122413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:51:16] local.INFO: GPS data processed {"connection_id":122413,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:51:16] local.INFO: Acknowledgment sent {"connection_id":122413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:51:48] local.INFO: TCP Data received {"connection_id":122413,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:51:48] local.INFO: Processing buffer {"connection_id":122413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:51:48] local.INFO: Packet analysis {"connection_id":122413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:51:48] local.INFO: Extracted packet for processing {"connection_id":122413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503720960001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:51:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783217961000,"timestamp_ms":1783217961000,"timestamp_seconds":1783217961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3012b828"} 
[2026-07-05 07:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503720960001,"66":25191,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503720960001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:51:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:51:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:51:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503720960001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":122413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:51:48] local.INFO: GPS data processed {"connection_id":122413,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:51:48] local.INFO: Acknowledgment sent {"connection_id":122413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:52:05] local.INFO: TCP Data received {"connection_id":122354,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:52:05] local.INFO: Processing buffer {"connection_id":122354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:52:05] local.INFO: IMEI packet received {"connection_id":122354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":122354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:52:11] local.INFO: TCP Data received {"connection_id":122354,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:52:11] local.INFO: Processing buffer {"connection_id":122354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:52:11] local.INFO: IMEI packet received {"connection_id":122354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":122354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:52:12] local.INFO: TCP Data received {"connection_id":122354,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:52:12] local.INFO: Processing buffer {"connection_id":122354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:52:12] local.INFO: Packet analysis {"connection_id":122354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:52:12] local.INFO: Extracted packet for processing {"connection_id":122354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:52:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503720960001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217961000,"timestamp_ms":1783217961000,"timestamp_seconds":1783217961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3012b828"} 
[2026-07-05 07:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503720960001,"66":25191,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503720960001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:52:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503720960001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":122354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:52:12] local.INFO: GPS data processed {"connection_id":122354,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:52:12] local.INFO: Acknowledgment sent {"connection_id":122354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:52:43] local.INFO: TCP Data received {"connection_id":122354,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:52:43] local.INFO: Processing buffer {"connection_id":122354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:52:43] local.INFO: Packet analysis {"connection_id":122354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:52:43] local.INFO: Extracted packet for processing {"connection_id":122354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:52:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:52: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-07-05 07:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503720960001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:52:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217961000,"timestamp_ms":1783217961000,"timestamp_seconds":1783217961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3012b828"} 
[2026-07-05 07:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:52: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-07-05 07:52: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-07-05 07:52: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-07-05 07:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503720960001,"66":25191,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503720960001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:52:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:52:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:52:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503720960001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":122354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:52:43] local.INFO: GPS data processed {"connection_id":122354,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:52:43] local.INFO: Acknowledgment sent {"connection_id":122354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:53:05] local.INFO: TCP Data received {"connection_id":122414,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:53:05] local.INFO: Processing buffer {"connection_id":122414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:53:05] local.INFO: IMEI packet received {"connection_id":122414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":122414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:53:11] local.INFO: TCP Data received {"connection_id":122414,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:53:11] local.INFO: Processing buffer {"connection_id":122414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:53:11] local.INFO: IMEI packet received {"connection_id":122414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":122414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:53:12] local.INFO: TCP Data received {"connection_id":122414,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:53:12] local.INFO: Processing buffer {"connection_id":122414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:53:12] local.INFO: Packet analysis {"connection_id":122414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:53:12] local.INFO: Extracted packet for processing {"connection_id":122414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503720960001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783217961000,"timestamp_ms":1783217961000,"timestamp_seconds":1783217961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3012b828"} 
[2026-07-05 07:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503720960001,"66":25191,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503720960001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:53:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503720960001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":122414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:53:12] local.INFO: GPS data processed {"connection_id":122414,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:53:12] local.INFO: Acknowledgment sent {"connection_id":122414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:53:43] local.INFO: TCP Data received {"connection_id":122414,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:53:43] local.INFO: Processing buffer {"connection_id":122414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:53:43] local.INFO: Packet analysis {"connection_id":122414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:53:43] local.INFO: Extracted packet for processing {"connection_id":122414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:53:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503720960001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783217961000,"timestamp_ms":1783217961000,"timestamp_seconds":1783217961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3012b828"} 
[2026-07-05 07:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503720960001,"66":25191,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503720960001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:53:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503720960001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":122414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:53:43] local.INFO: GPS data processed {"connection_id":122414,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:53:43] local.INFO: Acknowledgment sent {"connection_id":122414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:54:10] local.INFO: TCP Data received {"connection_id":124325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:54:10] local.INFO: Processing buffer {"connection_id":124325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:54:10] local.INFO: IMEI packet received {"connection_id":124325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":124325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:54:16] local.INFO: TCP Data received {"connection_id":124325,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:54:16] local.INFO: Processing buffer {"connection_id":124325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:54:16] local.INFO: IMEI packet received {"connection_id":124325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":124325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:54:16] local.INFO: TCP Data received {"connection_id":124325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:54:16] local.INFO: Processing buffer {"connection_id":124325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:54:16] local.INFO: Packet analysis {"connection_id":124325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:54:16] local.INFO: Extracted packet for processing {"connection_id":124325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:54:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503720960001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:54:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783217961000,"timestamp_ms":1783217961000,"timestamp_seconds":1783217961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3012b828"} 
[2026-07-05 07:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503720960001,"66":25191,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503720960001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:54:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:54:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503720960001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":124325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:54:16] local.INFO: GPS data processed {"connection_id":124325,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:54:16] local.INFO: Acknowledgment sent {"connection_id":124325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:54:21] local.INFO: TCP Data received {"connection_id":124325,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:54:21] local.INFO: Processing buffer {"connection_id":124325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3012b828012cb2a24007823a98004b013b2f..."} 
[2026-07-05 07:54:21] local.INFO: Packet analysis {"connection_id":124325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:54:21] local.INFO: Extracted packet for processing {"connection_id":124325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3012"} 
[2026-07-05 07:54:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503720960001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783217961000,"timestamp_ms":1783217961000,"timestamp_seconds":1783217961,"priority":1,"record_length":96,"hex_timestamp":"0000019f3012b828"} 
[2026-07-05 07:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 07:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503720960001,"66":25191,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503720960001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:54:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503720960001,"power":25191,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":124325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:54:21] local.INFO: GPS data processed {"connection_id":124325,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:54:21] local.INFO: Acknowledgment sent {"connection_id":124325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:55:05] local.INFO: TCP Data received {"connection_id":122355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:55:05] local.INFO: Processing buffer {"connection_id":122355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:55:05] local.INFO: IMEI packet received {"connection_id":122355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":122355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:55:10] local.INFO: TCP Data received {"connection_id":122355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:55:10] local.INFO: Processing buffer {"connection_id":122355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:55:10] local.INFO: IMEI packet received {"connection_id":122355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":122355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:55:11] local.INFO: TCP Data received {"connection_id":122355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:55:11] local.INFO: Processing buffer {"connection_id":122355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:55:11] local.INFO: Packet analysis {"connection_id":122355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:55:11] local.INFO: Extracted packet for processing {"connection_id":122355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503798016001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783218262000,"timestamp_ms":1783218262000,"timestamp_seconds":1783218262,"priority":1,"record_length":96,"hex_timestamp":"0000019f30174ff0"} 
[2026-07-05 07:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:55: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-07-05 07:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-05 07:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503798016001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503798016001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:55:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503798016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":122355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:55:11] local.INFO: GPS data processed {"connection_id":122355,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:55:11] local.INFO: Acknowledgment sent {"connection_id":122355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:55:35] local.INFO: TCP Data received {"connection_id":122356,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:55:35] local.INFO: Processing buffer {"connection_id":122356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:55:35] local.INFO: IMEI packet received {"connection_id":122356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":122356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:55:42] local.INFO: TCP Data received {"connection_id":122355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:55:42] local.INFO: Processing buffer {"connection_id":122355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:55:42] local.INFO: Packet analysis {"connection_id":122355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:55:42] local.INFO: Extracted packet for processing {"connection_id":122355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503798016001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783218262000,"timestamp_ms":1783218262000,"timestamp_seconds":1783218262,"priority":1,"record_length":96,"hex_timestamp":"0000019f30174ff0"} 
[2026-07-05 07:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:55: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-07-05 07:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-05 07:55: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-07-05 07:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503798016001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503798016001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:55:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503798016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":122355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:55:42] local.INFO: GPS data processed {"connection_id":122355,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:55:42] local.INFO: Acknowledgment sent {"connection_id":122355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:56:05] local.INFO: TCP Data received {"connection_id":122417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:56:06] local.INFO: Processing buffer {"connection_id":122417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 07:56:06] local.INFO: IMEI packet received {"connection_id":122417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 07:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":122417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:56:06] local.INFO: TCP Data received {"connection_id":122418,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:56:06] local.INFO: Processing buffer {"connection_id":122418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:56:06] local.INFO: IMEI packet received {"connection_id":122418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":122418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:56:11] local.INFO: TCP Data received {"connection_id":122418,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:56:11] local.INFO: Processing buffer {"connection_id":122418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:56:11] local.INFO: IMEI packet received {"connection_id":122418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":122418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:56:12] local.INFO: TCP Data received {"connection_id":122418,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:56:12] local.INFO: Processing buffer {"connection_id":122418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:56:12] local.INFO: Packet analysis {"connection_id":122418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:56:12] local.INFO: Extracted packet for processing {"connection_id":122418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:56:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503798016001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783218262000,"timestamp_ms":1783218262000,"timestamp_seconds":1783218262,"priority":1,"record_length":96,"hex_timestamp":"0000019f30174ff0"} 
[2026-07-05 07:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-05 07:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503798016001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503798016001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:56:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503798016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":122418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:56:12] local.INFO: GPS data processed {"connection_id":122418,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:56:12] local.INFO: Acknowledgment sent {"connection_id":122418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:56:43] local.INFO: TCP Data received {"connection_id":122418,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:56:43] local.INFO: Processing buffer {"connection_id":122418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:56:43] local.INFO: Packet analysis {"connection_id":122418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:56:43] local.INFO: Extracted packet for processing {"connection_id":122418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:56:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503798016001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:56:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783218262000,"timestamp_ms":1783218262000,"timestamp_seconds":1783218262,"priority":1,"record_length":96,"hex_timestamp":"0000019f30174ff0"} 
[2026-07-05 07:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:56: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-07-05 07:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-05 07:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503798016001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503798016001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:56:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:56:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503798016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":122418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:56:43] local.INFO: GPS data processed {"connection_id":122418,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:56:43] local.INFO: Acknowledgment sent {"connection_id":122418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:57:05] local.INFO: TCP Data received {"connection_id":123137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:57:05] local.INFO: Processing buffer {"connection_id":123137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:57:05] local.INFO: IMEI packet received {"connection_id":123137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":123137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:57:11] local.INFO: TCP Data received {"connection_id":123137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:57:11] local.INFO: Processing buffer {"connection_id":123137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:57:11] local.INFO: IMEI packet received {"connection_id":123137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":123137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:57:12] local.INFO: TCP Data received {"connection_id":123137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:57:12] local.INFO: Processing buffer {"connection_id":123137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:57:12] local.INFO: Packet analysis {"connection_id":123137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:57:12] local.INFO: Extracted packet for processing {"connection_id":123137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:57:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503798016001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:57:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783218262000,"timestamp_ms":1783218262000,"timestamp_seconds":1783218262,"priority":1,"record_length":96,"hex_timestamp":"0000019f30174ff0"} 
[2026-07-05 07:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-05 07:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503798016001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503798016001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:57:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:57:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503798016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":123137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:57:12] local.INFO: GPS data processed {"connection_id":123137,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:57:12] local.INFO: Acknowledgment sent {"connection_id":123137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:57:43] local.INFO: TCP Data received {"connection_id":123137,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:57:43] local.INFO: Processing buffer {"connection_id":123137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:57:43] local.INFO: Packet analysis {"connection_id":123137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:57:43] local.INFO: Extracted packet for processing {"connection_id":123137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:57:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503798016001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:57:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783218262000,"timestamp_ms":1783218262000,"timestamp_seconds":1783218262,"priority":1,"record_length":96,"hex_timestamp":"0000019f30174ff0"} 
[2026-07-05 07:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:57: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-07-05 07:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-05 07:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503798016001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503798016001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:57:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:57:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503798016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":123137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:57:43] local.INFO: GPS data processed {"connection_id":123137,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:57:43] local.INFO: Acknowledgment sent {"connection_id":123137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:58:05] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:58:05] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:58:05] local.INFO: IMEI packet received {"connection_id":124326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":124326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:58:11] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:58:11] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:58:11] local.INFO: IMEI packet received {"connection_id":124326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":124326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:58:12] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:58:12] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:58:12] local.INFO: Packet analysis {"connection_id":124326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:58:12] local.INFO: Extracted packet for processing {"connection_id":124326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:58:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503798016001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783218262000,"timestamp_ms":1783218262000,"timestamp_seconds":1783218262,"priority":1,"record_length":96,"hex_timestamp":"0000019f30174ff0"} 
[2026-07-05 07:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-05 07:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503798016001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503798016001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:58:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:58:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503798016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":124326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:58:12] local.INFO: GPS data processed {"connection_id":124326,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:58:12] local.INFO: Acknowledgment sent {"connection_id":124326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:58:43] local.INFO: TCP Data received {"connection_id":124326,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:58:43] local.INFO: Processing buffer {"connection_id":124326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:58:43] local.INFO: Packet analysis {"connection_id":124326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:58:43] local.INFO: Extracted packet for processing {"connection_id":124326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:58:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503798016001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:58:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783218262000,"timestamp_ms":1783218262000,"timestamp_seconds":1783218262,"priority":1,"record_length":96,"hex_timestamp":"0000019f30174ff0"} 
[2026-07-05 07:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:58: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-07-05 07:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-05 07:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503798016001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503798016001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:58:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:58:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503798016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":124326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:58:43] local.INFO: GPS data processed {"connection_id":124326,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:58:43] local.INFO: Acknowledgment sent {"connection_id":124326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:59:11] local.INFO: TCP Data received {"connection_id":122360,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:59:11] local.INFO: Processing buffer {"connection_id":122360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:59:11] local.INFO: IMEI packet received {"connection_id":122360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 07:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":122360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 07:59:16] local.INFO: TCP Data received {"connection_id":122360,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:59:16] local.INFO: Processing buffer {"connection_id":122360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 07:59:16] local.INFO: IMEI packet received {"connection_id":122360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 07:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":122360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 07:59:17] local.INFO: TCP Data received {"connection_id":122360,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:59:17] local.INFO: Processing buffer {"connection_id":122360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:59:17] local.INFO: Packet analysis {"connection_id":122360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:59:17] local.INFO: Extracted packet for processing {"connection_id":122360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:59:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 07:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503798016001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:59:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783218262000,"timestamp_ms":1783218262000,"timestamp_seconds":1783218262,"priority":1,"record_length":96,"hex_timestamp":"0000019f30174ff0"} 
[2026-07-05 07:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-05 07:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 07:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503798016001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503798016001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:59:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:59:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:59:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503798016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":122360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:59:17] local.INFO: GPS data processed {"connection_id":122360,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:59:17] local.INFO: Acknowledgment sent {"connection_id":122360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 07:59:48] local.INFO: TCP Data received {"connection_id":122360,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:59:48] local.INFO: Processing buffer {"connection_id":122360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30174ff0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 07:59:48] local.INFO: Packet analysis {"connection_id":122360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:59:48] local.INFO: Extracted packet for processing {"connection_id":122360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3017"} 
[2026-07-05 07:59:48] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 07: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-07-05 07:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503798016001,"note":"Value kept but may cause issues"} 
[2026-07-05 07:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 07:59:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 07:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 07:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783218262000,"timestamp_ms":1783218262000,"timestamp_seconds":1783218262,"priority":1,"record_length":96,"hex_timestamp":"0000019f30174ff0"} 
[2026-07-05 07:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 07:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 07:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-05 07:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 07: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-07-05 07:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 07:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 07:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 07:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 07:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 07:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 07:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 07:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503798016001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 07:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 07:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 07:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503798016001,"description":"Unknown IO ID 0"} 
[2026-07-05 07:59:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 07:59:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 07:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 07:59:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 07:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503798016001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 07:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":122360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 07:59:48] local.INFO: GPS data processed {"connection_id":122360,"processed":1,"errors":0,"total":1} 
[2026-07-05 07:59:48] local.INFO: Acknowledgment sent {"connection_id":122360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:00:06] local.INFO: TCP Data received {"connection_id":124327,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:00:06] local.INFO: Processing buffer {"connection_id":124327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:00:06] local.INFO: IMEI packet received {"connection_id":124327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":124327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:00:11] local.INFO: TCP Data received {"connection_id":124327,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:00:11] local.INFO: Processing buffer {"connection_id":124327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:00:11] local.INFO: IMEI packet received {"connection_id":124327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":124327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:00:12] local.INFO: TCP Data received {"connection_id":124327,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:00:12] local.INFO: Processing buffer {"connection_id":124327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:00:12] local.INFO: Packet analysis {"connection_id":124327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:00:12] local.INFO: Extracted packet for processing {"connection_id":124327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:00:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503875072001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783218563000,"timestamp_ms":1783218563000,"timestamp_seconds":1783218563,"priority":1,"record_length":96,"hex_timestamp":"0000019f301be7b8"} 
[2026-07-05 08:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503875072001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503875072001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:00:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503875072001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":124327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:00:12] local.INFO: GPS data processed {"connection_id":124327,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:00:12] local.INFO: Acknowledgment sent {"connection_id":124327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:00:43] local.INFO: TCP Data received {"connection_id":124327,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:00:43] local.INFO: Processing buffer {"connection_id":124327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:00:43] local.INFO: Packet analysis {"connection_id":124327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:00:43] local.INFO: Extracted packet for processing {"connection_id":124327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:00:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503875072001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783218563000,"timestamp_ms":1783218563000,"timestamp_seconds":1783218563,"priority":1,"record_length":96,"hex_timestamp":"0000019f301be7b8"} 
[2026-07-05 08:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:00: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-07-05 08:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503875072001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503875072001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:00:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503875072001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":124327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:00:43] local.INFO: GPS data processed {"connection_id":124327,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:00:43] local.INFO: Acknowledgment sent {"connection_id":124327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:01:06] local.INFO: TCP Data received {"connection_id":123139,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:01:06] local.INFO: Processing buffer {"connection_id":123139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:01:06] local.INFO: IMEI packet received {"connection_id":123139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":123139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:01:11] local.INFO: TCP Data received {"connection_id":123139,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:01:11] local.INFO: Processing buffer {"connection_id":123139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:01:11] local.INFO: IMEI packet received {"connection_id":123139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":123139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:01:12] local.INFO: TCP Data received {"connection_id":123139,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:01:12] local.INFO: Processing buffer {"connection_id":123139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:01:12] local.INFO: Packet analysis {"connection_id":123139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:01:12] local.INFO: Extracted packet for processing {"connection_id":123139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:01:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503875072001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783218563000,"timestamp_ms":1783218563000,"timestamp_seconds":1783218563,"priority":1,"record_length":96,"hex_timestamp":"0000019f301be7b8"} 
[2026-07-05 08:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503875072001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503875072001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:01:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503875072001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":123139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:01:12] local.INFO: GPS data processed {"connection_id":123139,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:01:12] local.INFO: Acknowledgment sent {"connection_id":123139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:01:25] local.INFO: TCP Data received {"connection_id":122419,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:01:25] local.INFO: Processing buffer {"connection_id":122419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:01:25] local.INFO: IMEI packet received {"connection_id":122419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":122419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:01:43] local.INFO: TCP Data received {"connection_id":123139,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:01:43] local.INFO: Processing buffer {"connection_id":123139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:01:43] local.INFO: Packet analysis {"connection_id":123139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:01:43] local.INFO: Extracted packet for processing {"connection_id":123139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:01:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503875072001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:01:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783218563000,"timestamp_ms":1783218563000,"timestamp_seconds":1783218563,"priority":1,"record_length":96,"hex_timestamp":"0000019f301be7b8"} 
[2026-07-05 08:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:01: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-07-05 08:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:01: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-07-05 08:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503875072001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503875072001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:01:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:01:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503875072001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":123139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:01:43] local.INFO: GPS data processed {"connection_id":123139,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:01:43] local.INFO: Acknowledgment sent {"connection_id":123139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:02:05] local.INFO: TCP Data received {"connection_id":122420,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:02:05] local.INFO: Processing buffer {"connection_id":122420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:02:05] local.INFO: IMEI packet received {"connection_id":122420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":122420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:02:07] local.INFO: TCP Data received {"connection_id":122421,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:02:07] local.INFO: Processing buffer {"connection_id":122421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:02:07] local.INFO: IMEI packet received {"connection_id":122421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":122421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:02:11] local.INFO: TCP Data received {"connection_id":122421,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:02:11] local.INFO: Processing buffer {"connection_id":122421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:02:11] local.INFO: IMEI packet received {"connection_id":122421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":122421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:02:12] local.INFO: TCP Data received {"connection_id":122421,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:02:12] local.INFO: Processing buffer {"connection_id":122421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:02:12] local.INFO: Packet analysis {"connection_id":122421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:02:12] local.INFO: Extracted packet for processing {"connection_id":122421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:02:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503875072001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783218563000,"timestamp_ms":1783218563000,"timestamp_seconds":1783218563,"priority":1,"record_length":96,"hex_timestamp":"0000019f301be7b8"} 
[2026-07-05 08:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503875072001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503875072001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:02:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503875072001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":122421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:02:12] local.INFO: GPS data processed {"connection_id":122421,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:02:12] local.INFO: Acknowledgment sent {"connection_id":122421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:02:43] local.INFO: TCP Data received {"connection_id":122421,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:02:43] local.INFO: Processing buffer {"connection_id":122421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:02:43] local.INFO: Packet analysis {"connection_id":122421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:02:43] local.INFO: Extracted packet for processing {"connection_id":122421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:02:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503875072001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783218563000,"timestamp_ms":1783218563000,"timestamp_seconds":1783218563,"priority":1,"record_length":96,"hex_timestamp":"0000019f301be7b8"} 
[2026-07-05 08:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:02: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-07-05 08:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503875072001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503875072001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:02:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503875072001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":122421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:02:43] local.INFO: GPS data processed {"connection_id":122421,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:02:43] local.INFO: Acknowledgment sent {"connection_id":122421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:03:07] local.INFO: TCP Data received {"connection_id":124328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:03:07] local.INFO: Processing buffer {"connection_id":124328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:03:07] local.INFO: IMEI packet received {"connection_id":124328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":124328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:03:11] local.INFO: TCP Data received {"connection_id":124328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:03:11] local.INFO: Processing buffer {"connection_id":124328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:03:11] local.INFO: IMEI packet received {"connection_id":124328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":124328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:03:12] local.INFO: TCP Data received {"connection_id":124328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:03:12] local.INFO: Processing buffer {"connection_id":124328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:03:12] local.INFO: Packet analysis {"connection_id":124328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:03:12] local.INFO: Extracted packet for processing {"connection_id":124328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:03:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503875072001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783218563000,"timestamp_ms":1783218563000,"timestamp_seconds":1783218563,"priority":1,"record_length":96,"hex_timestamp":"0000019f301be7b8"} 
[2026-07-05 08:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503875072001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503875072001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:03:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503875072001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":124328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:03:12] local.INFO: GPS data processed {"connection_id":124328,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:03:12] local.INFO: Acknowledgment sent {"connection_id":124328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:03:43] local.INFO: TCP Data received {"connection_id":124328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:03:43] local.INFO: Processing buffer {"connection_id":124328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:03:43] local.INFO: Packet analysis {"connection_id":124328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:03:43] local.INFO: Extracted packet for processing {"connection_id":124328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:03:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503875072001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:03:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783218563000,"timestamp_ms":1783218563000,"timestamp_seconds":1783218563,"priority":1,"record_length":96,"hex_timestamp":"0000019f301be7b8"} 
[2026-07-05 08:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:03: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-07-05 08:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503875072001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503875072001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:03:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:03:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503875072001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":124328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:03:43] local.INFO: GPS data processed {"connection_id":124328,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:03:43] local.INFO: Acknowledgment sent {"connection_id":124328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:04:05] local.INFO: TCP Data received {"connection_id":124331,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:04:05] local.INFO: Processing buffer {"connection_id":124331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:04:05] local.INFO: IMEI packet received {"connection_id":124331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":124331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:04:11] local.INFO: TCP Data received {"connection_id":124331,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:04:11] local.INFO: Processing buffer {"connection_id":124331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:04:11] local.INFO: IMEI packet received {"connection_id":124331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":124331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:04:11] local.INFO: TCP Data received {"connection_id":124331,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:04:11] local.INFO: Processing buffer {"connection_id":124331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:04:11] local.INFO: Packet analysis {"connection_id":124331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:04:11] local.INFO: Extracted packet for processing {"connection_id":124331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:04:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503875072001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783218563000,"timestamp_ms":1783218563000,"timestamp_seconds":1783218563,"priority":1,"record_length":96,"hex_timestamp":"0000019f301be7b8"} 
[2026-07-05 08:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:04: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-07-05 08:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503875072001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503875072001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:04:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503875072001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":124331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:04:11] local.INFO: GPS data processed {"connection_id":124331,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:04:11] local.INFO: Acknowledgment sent {"connection_id":124331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:04:43] local.INFO: TCP Data received {"connection_id":124331,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:04:43] local.INFO: Processing buffer {"connection_id":124331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f301be7b8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:04:43] local.INFO: Packet analysis {"connection_id":124331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:04:43] local.INFO: Extracted packet for processing {"connection_id":124331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f301b"} 
[2026-07-05 08:04:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503875072001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783218563000,"timestamp_ms":1783218563000,"timestamp_seconds":1783218563,"priority":1,"record_length":96,"hex_timestamp":"0000019f301be7b8"} 
[2026-07-05 08:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:04: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-07-05 08:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503875072001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503875072001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:04:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503875072001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":124331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:04:43] local.INFO: GPS data processed {"connection_id":124331,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:04:43] local.INFO: Acknowledgment sent {"connection_id":124331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:05:08] local.INFO: TCP Data received {"connection_id":123141,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:05:08] local.INFO: Processing buffer {"connection_id":123141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:05:08] local.INFO: IMEI packet received {"connection_id":123141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":123141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:05:11] local.INFO: TCP Data received {"connection_id":123141,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:05:11] local.INFO: Processing buffer {"connection_id":123141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:05:11] local.INFO: IMEI packet received {"connection_id":123141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":123141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:05:12] local.INFO: TCP Data received {"connection_id":123141,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:05:12] local.INFO: Processing buffer {"connection_id":123141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:05:12] local.INFO: Packet analysis {"connection_id":123141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:05:12] local.INFO: Extracted packet for processing {"connection_id":123141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:05:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503952128001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783218864000,"timestamp_ms":1783218864000,"timestamp_seconds":1783218864,"priority":1,"record_length":96,"hex_timestamp":"0000019f30207f80"} 
[2026-07-05 08:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 08:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503952128001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503952128001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:05:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503952128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":123141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:05:12] local.INFO: GPS data processed {"connection_id":123141,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:05:12] local.INFO: Acknowledgment sent {"connection_id":123141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:06:06] local.INFO: TCP Data received {"connection_id":122361,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:06:06] local.INFO: Processing buffer {"connection_id":122361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:06:06] local.INFO: IMEI packet received {"connection_id":122361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":122361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:06:11] local.INFO: TCP Data received {"connection_id":122361,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:06:11] local.INFO: Processing buffer {"connection_id":122361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:06:11] local.INFO: IMEI packet received {"connection_id":122361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":122361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:06:16] local.INFO: TCP Data received {"connection_id":123141,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:06:16] local.INFO: Processing buffer {"connection_id":123141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:06:16] local.INFO: Packet analysis {"connection_id":123141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:06:16] local.INFO: Extracted packet for processing {"connection_id":123141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:06:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503952128001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783218864000,"timestamp_ms":1783218864000,"timestamp_seconds":1783218864,"priority":1,"record_length":96,"hex_timestamp":"0000019f30207f80"} 
[2026-07-05 08:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 08:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503952128001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503952128001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:06:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:06:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503952128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":123141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:06:16] local.INFO: GPS data processed {"connection_id":123141,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:06:16] local.INFO: Acknowledgment sent {"connection_id":123141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:06:22] local.INFO: TCP Data received {"connection_id":122361,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:06:22] local.INFO: Processing buffer {"connection_id":122361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:06:22] local.INFO: Packet analysis {"connection_id":122361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:06:22] local.INFO: Extracted packet for processing {"connection_id":122361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:06:22] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503952128001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:06:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783218864000,"timestamp_ms":1783218864000,"timestamp_seconds":1783218864,"priority":1,"record_length":96,"hex_timestamp":"0000019f30207f80"} 
[2026-07-05 08:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 08:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503952128001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503952128001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:06:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:06:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:06:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503952128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":122361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:06:22] local.INFO: GPS data processed {"connection_id":122361,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:06:22] local.INFO: Acknowledgment sent {"connection_id":122361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:07:06] local.INFO: TCP Data received {"connection_id":124333,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:07:06] local.INFO: Processing buffer {"connection_id":124333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:07:06] local.INFO: IMEI packet received {"connection_id":124333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":124333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:07:11] local.INFO: TCP Data received {"connection_id":124333,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:07:11] local.INFO: Processing buffer {"connection_id":124333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:07:11] local.INFO: IMEI packet received {"connection_id":124333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":124333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:07:12] local.INFO: TCP Data received {"connection_id":124333,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:07:12] local.INFO: Processing buffer {"connection_id":124333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:07:12] local.INFO: Packet analysis {"connection_id":124333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:07:12] local.INFO: Extracted packet for processing {"connection_id":124333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:07:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503952128001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:07:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783218864000,"timestamp_ms":1783218864000,"timestamp_seconds":1783218864,"priority":1,"record_length":96,"hex_timestamp":"0000019f30207f80"} 
[2026-07-05 08:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 08:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503952128001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503952128001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:07:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:07:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503952128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":124333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:07:12] local.INFO: GPS data processed {"connection_id":124333,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:07:12] local.INFO: Acknowledgment sent {"connection_id":124333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:07:30] local.INFO: TCP Data received {"connection_id":122362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:07:30] local.INFO: Processing buffer {"connection_id":122362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:07:30] local.INFO: IMEI packet received {"connection_id":122362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":122362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:07:45] local.INFO: TCP Data received {"connection_id":124333,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:07:45] local.INFO: Processing buffer {"connection_id":124333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:07:45] local.INFO: Packet analysis {"connection_id":124333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:07:45] local.INFO: Extracted packet for processing {"connection_id":124333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:07:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503952128001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:07:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783218864000,"timestamp_ms":1783218864000,"timestamp_seconds":1783218864,"priority":1,"record_length":96,"hex_timestamp":"0000019f30207f80"} 
[2026-07-05 08:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 08:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503952128001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503952128001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:07:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:07:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:07:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503952128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":124333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:07:45] local.INFO: GPS data processed {"connection_id":124333,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:07:45] local.INFO: Acknowledgment sent {"connection_id":124333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:08:05] local.INFO: TCP Data received {"connection_id":123142,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:08:05] local.INFO: Processing buffer {"connection_id":123142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:08:05] local.INFO: IMEI packet received {"connection_id":123142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":123142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:08:05] local.INFO: TCP Data received {"connection_id":123143,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:08:05] local.INFO: Processing buffer {"connection_id":123143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:08:05] local.INFO: IMEI packet received {"connection_id":123143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":123143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:08:11] local.INFO: TCP Data received {"connection_id":123143,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:08:11] local.INFO: Processing buffer {"connection_id":123143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:08:11] local.INFO: IMEI packet received {"connection_id":123143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":123143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:08:12] local.INFO: TCP Data received {"connection_id":123143,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:08:12] local.INFO: Processing buffer {"connection_id":123143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:08:12] local.INFO: Packet analysis {"connection_id":123143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:08:12] local.INFO: Extracted packet for processing {"connection_id":123143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:08:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503952128001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783218864000,"timestamp_ms":1783218864000,"timestamp_seconds":1783218864,"priority":1,"record_length":96,"hex_timestamp":"0000019f30207f80"} 
[2026-07-05 08:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 08:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503952128001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503952128001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:08:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503952128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":123143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:08:12] local.INFO: GPS data processed {"connection_id":123143,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:08:12] local.INFO: Acknowledgment sent {"connection_id":123143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:08:43] local.INFO: TCP Data received {"connection_id":123143,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:08:43] local.INFO: Processing buffer {"connection_id":123143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:08:43] local.INFO: Packet analysis {"connection_id":123143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:08:43] local.INFO: Extracted packet for processing {"connection_id":123143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:08:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503952128001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:08:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783218864000,"timestamp_ms":1783218864000,"timestamp_seconds":1783218864,"priority":1,"record_length":96,"hex_timestamp":"0000019f30207f80"} 
[2026-07-05 08:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:08: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-07-05 08:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 08:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503952128001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503952128001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:08:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:08:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:08:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503952128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":123143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:08:43] local.INFO: GPS data processed {"connection_id":123143,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:08:43] local.INFO: Acknowledgment sent {"connection_id":123143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:09:05] local.INFO: TCP Data received {"connection_id":122364,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:09:05] local.INFO: Processing buffer {"connection_id":122364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:09:05] local.INFO: IMEI packet received {"connection_id":122364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":122364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:09:11] local.INFO: TCP Data received {"connection_id":122364,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:09:11] local.INFO: Processing buffer {"connection_id":122364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:09:11] local.INFO: IMEI packet received {"connection_id":122364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":122364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:09:12] local.INFO: TCP Data received {"connection_id":122364,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:09:12] local.INFO: Processing buffer {"connection_id":122364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:09:12] local.INFO: Packet analysis {"connection_id":122364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:09:12] local.INFO: Extracted packet for processing {"connection_id":122364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:09:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503952128001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783218864000,"timestamp_ms":1783218864000,"timestamp_seconds":1783218864,"priority":1,"record_length":96,"hex_timestamp":"0000019f30207f80"} 
[2026-07-05 08:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 08:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503952128001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503952128001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:09:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503952128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":122364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:09:12] local.INFO: GPS data processed {"connection_id":122364,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:09:12] local.INFO: Acknowledgment sent {"connection_id":122364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:09:43] local.INFO: TCP Data received {"connection_id":122364,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:09:43] local.INFO: Processing buffer {"connection_id":122364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30207f80012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:09:43] local.INFO: Packet analysis {"connection_id":122364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:09:43] local.INFO: Extracted packet for processing {"connection_id":122364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3020"} 
[2026-07-05 08:09:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456503952128001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783218864000,"timestamp_ms":1783218864000,"timestamp_seconds":1783218864,"priority":1,"record_length":96,"hex_timestamp":"0000019f30207f80"} 
[2026-07-05 08:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:09: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-07-05 08:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 08:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456503952128001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456503952128001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:09:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456503952128001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":122364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:09:43] local.INFO: GPS data processed {"connection_id":122364,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:09:43] local.INFO: Acknowledgment sent {"connection_id":122364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:10:11] local.INFO: TCP Data received {"connection_id":123144,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:10:11] local.INFO: Processing buffer {"connection_id":123144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:10:11] local.INFO: IMEI packet received {"connection_id":123144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":123144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:10:16] local.INFO: TCP Data received {"connection_id":123144,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:10:16] local.INFO: Processing buffer {"connection_id":123144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:10:16] local.INFO: IMEI packet received {"connection_id":123144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":123144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:10:16] local.INFO: TCP Data received {"connection_id":123144,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:10:16] local.INFO: Processing buffer {"connection_id":123144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:10:16] local.INFO: Packet analysis {"connection_id":123144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:10:16] local.INFO: Extracted packet for processing {"connection_id":123144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504029184001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783219165000,"timestamp_ms":1783219165000,"timestamp_seconds":1783219165,"priority":1,"record_length":96,"hex_timestamp":"0000019f30251748"} 
[2026-07-05 08:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504029184001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504029184001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:10:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504029184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":123144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:10:16] local.INFO: GPS data processed {"connection_id":123144,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:10:16] local.INFO: Acknowledgment sent {"connection_id":123144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:10:21] local.INFO: TCP Data received {"connection_id":123144,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:10:21] local.INFO: Processing buffer {"connection_id":123144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:10:21] local.INFO: Packet analysis {"connection_id":123144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:10:21] local.INFO: Extracted packet for processing {"connection_id":123144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:10:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504029184001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783219165000,"timestamp_ms":1783219165000,"timestamp_seconds":1783219165,"priority":1,"record_length":96,"hex_timestamp":"0000019f30251748"} 
[2026-07-05 08:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504029184001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504029184001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:10:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504029184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":123144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:10:21] local.INFO: GPS data processed {"connection_id":123144,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:10:21] local.INFO: Acknowledgment sent {"connection_id":123144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:11:06] local.INFO: TCP Data received {"connection_id":124335,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:11:06] local.INFO: Processing buffer {"connection_id":124335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:11:06] local.INFO: IMEI packet received {"connection_id":124335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":124335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:11:11] local.INFO: TCP Data received {"connection_id":124335,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:11:11] local.INFO: Processing buffer {"connection_id":124335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:11:11] local.INFO: IMEI packet received {"connection_id":124335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":124335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:11:12] local.INFO: TCP Data received {"connection_id":124335,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:11:12] local.INFO: Processing buffer {"connection_id":124335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:11:12] local.INFO: Packet analysis {"connection_id":124335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:11:12] local.INFO: Extracted packet for processing {"connection_id":124335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:11:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504029184001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783219165000,"timestamp_ms":1783219165000,"timestamp_seconds":1783219165,"priority":1,"record_length":96,"hex_timestamp":"0000019f30251748"} 
[2026-07-05 08:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504029184001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504029184001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:11:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504029184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":124335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:11:12] local.INFO: GPS data processed {"connection_id":124335,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:11:12] local.INFO: Acknowledgment sent {"connection_id":124335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:11:43] local.INFO: TCP Data received {"connection_id":124335,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:11:43] local.INFO: Processing buffer {"connection_id":124335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:11:43] local.INFO: Packet analysis {"connection_id":124335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:11:43] local.INFO: Extracted packet for processing {"connection_id":124335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:11:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504029184001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783219165000,"timestamp_ms":1783219165000,"timestamp_seconds":1783219165,"priority":1,"record_length":96,"hex_timestamp":"0000019f30251748"} 
[2026-07-05 08:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:11: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-07-05 08: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-07-05 08: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-07-05 08: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-07-05 08:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504029184001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504029184001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:11:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504029184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":124335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:11:43] local.INFO: GPS data processed {"connection_id":124335,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:11:43] local.INFO: Acknowledgment sent {"connection_id":124335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:12:05] local.INFO: TCP Data received {"connection_id":122423,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:12:05] local.INFO: Processing buffer {"connection_id":122423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:12:05] local.INFO: IMEI packet received {"connection_id":122423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":122423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:12:11] local.INFO: TCP Data received {"connection_id":122423,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:12:11] local.INFO: Processing buffer {"connection_id":122423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:12:11] local.INFO: IMEI packet received {"connection_id":122423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":122423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:12:12] local.INFO: TCP Data received {"connection_id":122423,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:12:12] local.INFO: Processing buffer {"connection_id":122423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:12:12] local.INFO: Packet analysis {"connection_id":122423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:12:12] local.INFO: Extracted packet for processing {"connection_id":122423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:12:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 08:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504029184001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783219165000,"timestamp_ms":1783219165000,"timestamp_seconds":1783219165,"priority":1,"record_length":96,"hex_timestamp":"0000019f30251748"} 
[2026-07-05 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-07-05 08:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 08:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504029184001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504029184001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:12:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504029184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":122423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:12:12] local.INFO: GPS data processed {"connection_id":122423,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:12:12] local.INFO: Acknowledgment sent {"connection_id":122423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:12:43] local.INFO: TCP Data received {"connection_id":122423,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:12:43] local.INFO: Processing buffer {"connection_id":122423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:12:43] local.INFO: Packet analysis {"connection_id":122423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:12:43] local.INFO: Extracted packet for processing {"connection_id":122423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:12:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:12: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-07-05 08:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504029184001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783219165000,"timestamp_ms":1783219165000,"timestamp_seconds":1783219165,"priority":1,"record_length":96,"hex_timestamp":"0000019f30251748"} 
[2026-07-05 08:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:12: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-07-05 08:12: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-07-05 08:12: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-07-05 08:12: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-07-05 08:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504029184001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504029184001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:12:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:12:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504029184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":122423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:12:43] local.INFO: GPS data processed {"connection_id":122423,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:12:43] local.INFO: Acknowledgment sent {"connection_id":122423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:13:05] local.INFO: TCP Data received {"connection_id":122424,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:13:05] local.INFO: Processing buffer {"connection_id":122424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:13:05] local.INFO: IMEI packet received {"connection_id":122424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":122424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:13:11] local.INFO: TCP Data received {"connection_id":122424,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:13:11] local.INFO: Processing buffer {"connection_id":122424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:13:11] local.INFO: IMEI packet received {"connection_id":122424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":122424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:13:12] local.INFO: TCP Data received {"connection_id":122424,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:13:12] local.INFO: Processing buffer {"connection_id":122424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:13:12] local.INFO: Packet analysis {"connection_id":122424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:13:12] local.INFO: Extracted packet for processing {"connection_id":122424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:13:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504029184001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783219165000,"timestamp_ms":1783219165000,"timestamp_seconds":1783219165,"priority":1,"record_length":96,"hex_timestamp":"0000019f30251748"} 
[2026-07-05 08:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504029184001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504029184001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:13:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504029184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":122424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:13:12] local.INFO: GPS data processed {"connection_id":122424,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:13:12] local.INFO: Acknowledgment sent {"connection_id":122424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:13:35] local.INFO: TCP Data received {"connection_id":124338,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:13:35] local.INFO: Processing buffer {"connection_id":124338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:13:35] local.INFO: IMEI packet received {"connection_id":124338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":124338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:13:43] local.INFO: TCP Data received {"connection_id":122424,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:13:43] local.INFO: Processing buffer {"connection_id":122424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:13:43] local.INFO: Packet analysis {"connection_id":122424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:13:43] local.INFO: Extracted packet for processing {"connection_id":122424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:13:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504029184001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:13:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783219165000,"timestamp_ms":1783219165000,"timestamp_seconds":1783219165,"priority":1,"record_length":96,"hex_timestamp":"0000019f30251748"} 
[2026-07-05 08:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:13: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-07-05 08:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504029184001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504029184001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:13:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:13:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:13:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504029184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":122424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:13:43] local.INFO: GPS data processed {"connection_id":122424,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:13:43] local.INFO: Acknowledgment sent {"connection_id":122424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:14:05] local.INFO: TCP Data received {"connection_id":123145,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:14:05] local.INFO: Processing buffer {"connection_id":123145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:14:05] local.INFO: IMEI packet received {"connection_id":123145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":123145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:14:11] local.INFO: TCP Data received {"connection_id":122365,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:14:11] local.INFO: Processing buffer {"connection_id":122365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:14:11] local.INFO: IMEI packet received {"connection_id":122365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":122365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:14:16] local.INFO: TCP Data received {"connection_id":122365,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:14:16] local.INFO: Processing buffer {"connection_id":122365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:14:16] local.INFO: IMEI packet received {"connection_id":122365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":122365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:14:17] local.INFO: TCP Data received {"connection_id":122365,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:14:17] local.INFO: Processing buffer {"connection_id":122365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:14:17] local.INFO: Packet analysis {"connection_id":122365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:14:17] local.INFO: Extracted packet for processing {"connection_id":122365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:14:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504029184001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:14:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783219165000,"timestamp_ms":1783219165000,"timestamp_seconds":1783219165,"priority":1,"record_length":96,"hex_timestamp":"0000019f30251748"} 
[2026-07-05 08:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504029184001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504029184001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:14:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:14:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:14:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504029184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":122365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:14:17] local.INFO: GPS data processed {"connection_id":122365,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:14:17] local.INFO: Acknowledgment sent {"connection_id":122365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:14:24] local.INFO: TCP Data received {"connection_id":122365,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:14:24] local.INFO: Processing buffer {"connection_id":122365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30251748012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:14:24] local.INFO: Packet analysis {"connection_id":122365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:14:24] local.INFO: Extracted packet for processing {"connection_id":122365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3025"} 
[2026-07-05 08:14:24] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504029184001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:14:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783219165000,"timestamp_ms":1783219165000,"timestamp_seconds":1783219165,"priority":1,"record_length":96,"hex_timestamp":"0000019f30251748"} 
[2026-07-05 08:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":122365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":122365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":122365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504029184001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504029184001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:14:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:14:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:14:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504029184001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":122365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:14:24] local.INFO: GPS data processed {"connection_id":122365,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:14:24] local.INFO: Acknowledgment sent {"connection_id":122365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:15:04] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:15:04] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:15:04] local.INFO: IMEI packet received {"connection_id":124339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":124339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:15:05] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:15:05] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:15:05] local.INFO: IMEI packet received {"connection_id":124339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":124339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:15:11] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:15:11] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:15:11] local.INFO: IMEI packet received {"connection_id":124339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":124339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:15:12] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:15:12] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:15:12] local.INFO: Packet analysis {"connection_id":124339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:15:12] local.INFO: Extracted packet for processing {"connection_id":124339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:15:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504106240001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783219466000,"timestamp_ms":1783219466000,"timestamp_seconds":1783219466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3029af10"} 
[2026-07-05 08:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504106240001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504106240001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:15:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504106240001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":124339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:15:12] local.INFO: GPS data processed {"connection_id":124339,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:15:12] local.INFO: Acknowledgment sent {"connection_id":124339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:15:43] local.INFO: TCP Data received {"connection_id":124339,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:15:43] local.INFO: Processing buffer {"connection_id":124339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:15:43] local.INFO: Packet analysis {"connection_id":124339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:15:43] local.INFO: Extracted packet for processing {"connection_id":124339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:15:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504106240001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:15:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783219466000,"timestamp_ms":1783219466000,"timestamp_seconds":1783219466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3029af10"} 
[2026-07-05 08:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:15: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-07-05 08:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504106240001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504106240001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:15:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:15:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504106240001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":124339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:15:43] local.INFO: GPS data processed {"connection_id":124339,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:15:43] local.INFO: Acknowledgment sent {"connection_id":124339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:16:06] local.INFO: TCP Data received {"connection_id":122426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:16:06] local.INFO: Processing buffer {"connection_id":122426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:16:06] local.INFO: IMEI packet received {"connection_id":122426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":122426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:16:11] local.INFO: TCP Data received {"connection_id":122426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:16:11] local.INFO: Processing buffer {"connection_id":122426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:16:11] local.INFO: IMEI packet received {"connection_id":122426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":122426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:16:11] local.INFO: TCP Data received {"connection_id":122426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:16:11] local.INFO: Processing buffer {"connection_id":122426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:16:11] local.INFO: Packet analysis {"connection_id":122426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:16:11] local.INFO: Extracted packet for processing {"connection_id":122426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504106240001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783219466000,"timestamp_ms":1783219466000,"timestamp_seconds":1783219466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3029af10"} 
[2026-07-05 08:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504106240001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504106240001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:16:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504106240001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":122426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:16:11] local.INFO: GPS data processed {"connection_id":122426,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:16:11] local.INFO: Acknowledgment sent {"connection_id":122426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:16:43] local.INFO: TCP Data received {"connection_id":122426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:16:43] local.INFO: Processing buffer {"connection_id":122426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:16:43] local.INFO: Packet analysis {"connection_id":122426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:16:43] local.INFO: Extracted packet for processing {"connection_id":122426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:16:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504106240001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:16:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783219466000,"timestamp_ms":1783219466000,"timestamp_seconds":1783219466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3029af10"} 
[2026-07-05 08:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:16: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-07-05 08:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504106240001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504106240001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:16:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:16:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:16:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504106240001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":122426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:16:43] local.INFO: GPS data processed {"connection_id":122426,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:16:43] local.INFO: Acknowledgment sent {"connection_id":122426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:17:05] local.INFO: TCP Data received {"connection_id":122367,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:17:05] local.INFO: Processing buffer {"connection_id":122367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:17:05] local.INFO: IMEI packet received {"connection_id":122367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":122367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:17:11] local.INFO: TCP Data received {"connection_id":122367,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:17:11] local.INFO: Processing buffer {"connection_id":122367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:17:11] local.INFO: IMEI packet received {"connection_id":122367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":122367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:17:14] local.INFO: TCP Data received {"connection_id":122367,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:17:14] local.INFO: Processing buffer {"connection_id":122367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:17:14] local.INFO: Packet analysis {"connection_id":122367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:17:14] local.INFO: Extracted packet for processing {"connection_id":122367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:17:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504106240001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:17:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783219466000,"timestamp_ms":1783219466000,"timestamp_seconds":1783219466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3029af10"} 
[2026-07-05 08:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504106240001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504106240001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:17:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:17:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504106240001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":122367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:17:14] local.INFO: GPS data processed {"connection_id":122367,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:17:14] local.INFO: Acknowledgment sent {"connection_id":122367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:17:47] local.INFO: TCP Data received {"connection_id":122367,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:17:47] local.INFO: Processing buffer {"connection_id":122367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:17:47] local.INFO: Packet analysis {"connection_id":122367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:17:47] local.INFO: Extracted packet for processing {"connection_id":122367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:17:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504106240001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783219466000,"timestamp_ms":1783219466000,"timestamp_seconds":1783219466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3029af10"} 
[2026-07-05 08:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504106240001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504106240001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:17:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:17:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:17:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504106240001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":122367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:17:47] local.INFO: GPS data processed {"connection_id":122367,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:17:47] local.INFO: Acknowledgment sent {"connection_id":122367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:18:11] local.INFO: TCP Data received {"connection_id":122427,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:18:11] local.INFO: Processing buffer {"connection_id":122427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:18:11] local.INFO: IMEI packet received {"connection_id":122427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":122427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:18:16] local.INFO: TCP Data received {"connection_id":122427,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:18:16] local.INFO: Processing buffer {"connection_id":122427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:18:16] local.INFO: IMEI packet received {"connection_id":122427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":122427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:18:17] local.INFO: TCP Data received {"connection_id":122427,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:18:17] local.INFO: Processing buffer {"connection_id":122427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:18:17] local.INFO: Packet analysis {"connection_id":122427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:18:17] local.INFO: Extracted packet for processing {"connection_id":122427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:18:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504106240001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:18:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783219466000,"timestamp_ms":1783219466000,"timestamp_seconds":1783219466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3029af10"} 
[2026-07-05 08:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504106240001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504106240001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:18:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:18:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:18:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504106240001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":122427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:18:17] local.INFO: GPS data processed {"connection_id":122427,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:18:17] local.INFO: Acknowledgment sent {"connection_id":122427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:18:21] local.INFO: TCP Data received {"connection_id":122427,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:18:21] local.INFO: Processing buffer {"connection_id":122427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:18:21] local.INFO: Packet analysis {"connection_id":122427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:18:21] local.INFO: Extracted packet for processing {"connection_id":122427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:18:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504106240001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783219466000,"timestamp_ms":1783219466000,"timestamp_seconds":1783219466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3029af10"} 
[2026-07-05 08:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504106240001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504106240001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:18:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504106240001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":122427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:18:21] local.INFO: GPS data processed {"connection_id":122427,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:18:21] local.INFO: Acknowledgment sent {"connection_id":122427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:19:06] local.INFO: TCP Data received {"connection_id":122368,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:19:06] local.INFO: Processing buffer {"connection_id":122368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:19:06] local.INFO: IMEI packet received {"connection_id":122368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":122368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:19:11] local.INFO: TCP Data received {"connection_id":122368,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:19:11] local.INFO: Processing buffer {"connection_id":122368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:19:11] local.INFO: IMEI packet received {"connection_id":122368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":122368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:19:12] local.INFO: TCP Data received {"connection_id":122368,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:19:12] local.INFO: Processing buffer {"connection_id":122368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:19:12] local.INFO: Packet analysis {"connection_id":122368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:19:12] local.INFO: Extracted packet for processing {"connection_id":122368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:19:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504106240001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783219466000,"timestamp_ms":1783219466000,"timestamp_seconds":1783219466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3029af10"} 
[2026-07-05 08:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504106240001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504106240001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:19:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504106240001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":122368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:19:12] local.INFO: GPS data processed {"connection_id":122368,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:19:12] local.INFO: Acknowledgment sent {"connection_id":122368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:19:35] local.INFO: TCP Data received {"connection_id":124341,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:19:35] local.INFO: Processing buffer {"connection_id":124341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:19:35] local.INFO: IMEI packet received {"connection_id":124341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":124341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:19:43] local.INFO: TCP Data received {"connection_id":122368,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:19:43] local.INFO: Processing buffer {"connection_id":122368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3029af10012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:19:43] local.INFO: Packet analysis {"connection_id":122368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:19:43] local.INFO: Extracted packet for processing {"connection_id":122368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3029"} 
[2026-07-05 08:19:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504106240001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:19:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783219466000,"timestamp_ms":1783219466000,"timestamp_seconds":1783219466,"priority":1,"record_length":96,"hex_timestamp":"0000019f3029af10"} 
[2026-07-05 08:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:19: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-07-05 08:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504106240001,"66":25212,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504106240001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:19:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:19:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:19:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504106240001,"power":25212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":122368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:19:43] local.INFO: GPS data processed {"connection_id":122368,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:19:43] local.INFO: Acknowledgment sent {"connection_id":122368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:20:05] local.INFO: TCP Data received {"connection_id":122369,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:20:05] local.INFO: Processing buffer {"connection_id":122369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:20:05] local.INFO: IMEI packet received {"connection_id":122369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":122369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:20:06] local.INFO: TCP Data received {"connection_id":122369,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:20:06] local.INFO: Processing buffer {"connection_id":122369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:20:06] local.INFO: IMEI packet received {"connection_id":122369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":122369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:20:07] local.INFO: TCP Data received {"connection_id":124342,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:20:07] local.INFO: Processing buffer {"connection_id":124342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:20:07] local.INFO: IMEI packet received {"connection_id":124342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":124342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:20:11] local.INFO: TCP Data received {"connection_id":122369,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:20:11] local.INFO: Processing buffer {"connection_id":122369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:20:11] local.INFO: IMEI packet received {"connection_id":122369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":122369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:20:12] local.INFO: TCP Data received {"connection_id":122369,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:20:12] local.INFO: Processing buffer {"connection_id":122369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:20:12] local.INFO: Packet analysis {"connection_id":122369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:20:12] local.INFO: Extracted packet for processing {"connection_id":122369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:20:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504183296001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783219767000,"timestamp_ms":1783219767000,"timestamp_seconds":1783219767,"priority":1,"record_length":96,"hex_timestamp":"0000019f302e46d8"} 
[2026-07-05 08:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 08:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504183296001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504183296001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:20:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504183296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":122369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:20:12] local.INFO: GPS data processed {"connection_id":122369,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:20:12] local.INFO: Acknowledgment sent {"connection_id":122369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:20:43] local.INFO: TCP Data received {"connection_id":122369,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:20:43] local.INFO: Processing buffer {"connection_id":122369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:20:43] local.INFO: Packet analysis {"connection_id":122369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:20:43] local.INFO: Extracted packet for processing {"connection_id":122369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:20:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504183296001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:20:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783219767000,"timestamp_ms":1783219767000,"timestamp_seconds":1783219767,"priority":1,"record_length":96,"hex_timestamp":"0000019f302e46d8"} 
[2026-07-05 08:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:20: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-07-05 08:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 08:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504183296001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504183296001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:20:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:20:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504183296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":122369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:20:43] local.INFO: GPS data processed {"connection_id":122369,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:20:43] local.INFO: Acknowledgment sent {"connection_id":122369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:21:05] local.INFO: TCP Data received {"connection_id":124343,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:21:05] local.INFO: Processing buffer {"connection_id":124343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:21:05] local.INFO: IMEI packet received {"connection_id":124343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":124343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:21:11] local.INFO: TCP Data received {"connection_id":124343,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:21:11] local.INFO: Processing buffer {"connection_id":124343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:21:11] local.INFO: IMEI packet received {"connection_id":124343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":124343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:21:12] local.INFO: TCP Data received {"connection_id":124343,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:21:12] local.INFO: Processing buffer {"connection_id":124343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:21:12] local.INFO: Packet analysis {"connection_id":124343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:21:12] local.INFO: Extracted packet for processing {"connection_id":124343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:21:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504183296001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783219767000,"timestamp_ms":1783219767000,"timestamp_seconds":1783219767,"priority":1,"record_length":96,"hex_timestamp":"0000019f302e46d8"} 
[2026-07-05 08:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 08:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504183296001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504183296001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:21:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504183296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":124343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:21:12] local.INFO: GPS data processed {"connection_id":124343,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:21:12] local.INFO: Acknowledgment sent {"connection_id":124343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:21:43] local.INFO: TCP Data received {"connection_id":124343,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:21:43] local.INFO: Processing buffer {"connection_id":124343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:21:43] local.INFO: Packet analysis {"connection_id":124343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:21:43] local.INFO: Extracted packet for processing {"connection_id":124343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:21:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504183296001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:21:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783219767000,"timestamp_ms":1783219767000,"timestamp_seconds":1783219767,"priority":1,"record_length":96,"hex_timestamp":"0000019f302e46d8"} 
[2026-07-05 08:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:21: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-07-05 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 08:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504183296001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504183296001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:21:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:21:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504183296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":124343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:21:43] local.INFO: GPS data processed {"connection_id":124343,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:21:43] local.INFO: Acknowledgment sent {"connection_id":124343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:22:11] local.INFO: TCP Data received {"connection_id":122429,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:22:11] local.INFO: Processing buffer {"connection_id":122429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:22:11] local.INFO: IMEI packet received {"connection_id":122429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":122429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:22:16] local.INFO: TCP Data received {"connection_id":122429,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:22:16] local.INFO: Processing buffer {"connection_id":122429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:22:16] local.INFO: IMEI packet received {"connection_id":122429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":122429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:22:16] local.INFO: TCP Data received {"connection_id":122429,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:22:16] local.INFO: Processing buffer {"connection_id":122429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:22:16] local.INFO: Packet analysis {"connection_id":122429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:22:16] local.INFO: Extracted packet for processing {"connection_id":122429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:22:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504183296001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:22:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783219767000,"timestamp_ms":1783219767000,"timestamp_seconds":1783219767,"priority":1,"record_length":96,"hex_timestamp":"0000019f302e46d8"} 
[2026-07-05 08:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 08:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504183296001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504183296001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:22:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:22:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:22:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504183296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":122429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:22:16] local.INFO: GPS data processed {"connection_id":122429,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:22:16] local.INFO: Acknowledgment sent {"connection_id":122429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:22:21] local.INFO: TCP Data received {"connection_id":122429,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:22:21] local.INFO: Processing buffer {"connection_id":122429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:22:21] local.INFO: Packet analysis {"connection_id":122429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:22:21] local.INFO: Extracted packet for processing {"connection_id":122429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:22:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504183296001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783219767000,"timestamp_ms":1783219767000,"timestamp_seconds":1783219767,"priority":1,"record_length":96,"hex_timestamp":"0000019f302e46d8"} 
[2026-07-05 08:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 08:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504183296001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504183296001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:22:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504183296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":122429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:22:21] local.INFO: GPS data processed {"connection_id":122429,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:22:21] local.INFO: Acknowledgment sent {"connection_id":122429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:23:06] local.INFO: TCP Data received {"connection_id":123148,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:23:06] local.INFO: Processing buffer {"connection_id":123148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:23:06] local.INFO: IMEI packet received {"connection_id":123148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":123148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:23:11] local.INFO: TCP Data received {"connection_id":123148,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:23:11] local.INFO: Processing buffer {"connection_id":123148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:23:11] local.INFO: IMEI packet received {"connection_id":123148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":123148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:23:11] local.INFO: TCP Data received {"connection_id":123148,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:23:11] local.INFO: Processing buffer {"connection_id":123148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:23:11] local.INFO: Packet analysis {"connection_id":123148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:23:11] local.INFO: Extracted packet for processing {"connection_id":123148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504183296001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783219767000,"timestamp_ms":1783219767000,"timestamp_seconds":1783219767,"priority":1,"record_length":96,"hex_timestamp":"0000019f302e46d8"} 
[2026-07-05 08:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 08:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504183296001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504183296001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504183296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":123148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:23:11] local.INFO: GPS data processed {"connection_id":123148,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:23:11] local.INFO: Acknowledgment sent {"connection_id":123148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:23:43] local.INFO: TCP Data received {"connection_id":123148,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:23:43] local.INFO: Processing buffer {"connection_id":123148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:23:43] local.INFO: Packet analysis {"connection_id":123148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:23:43] local.INFO: Extracted packet for processing {"connection_id":123148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:23:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504183296001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783219767000,"timestamp_ms":1783219767000,"timestamp_seconds":1783219767,"priority":1,"record_length":96,"hex_timestamp":"0000019f302e46d8"} 
[2026-07-05 08:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:23: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-07-05 08:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 08:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504183296001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504183296001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:23:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:23:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504183296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":123148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:23:43] local.INFO: GPS data processed {"connection_id":123148,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:23:43] local.INFO: Acknowledgment sent {"connection_id":123148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:24:06] local.INFO: TCP Data received {"connection_id":122371,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:24:06] local.INFO: Processing buffer {"connection_id":122371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:24:06] local.INFO: IMEI packet received {"connection_id":122371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":122371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:24:11] local.INFO: TCP Data received {"connection_id":122371,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:24:11] local.INFO: Processing buffer {"connection_id":122371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:24:11] local.INFO: IMEI packet received {"connection_id":122371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":122371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:24:11] local.INFO: TCP Data received {"connection_id":122371,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:24:11] local.INFO: Processing buffer {"connection_id":122371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:24:11] local.INFO: Packet analysis {"connection_id":122371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:24:11] local.INFO: Extracted packet for processing {"connection_id":122371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:24:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:24: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-07-05 08:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504183296001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783219767000,"timestamp_ms":1783219767000,"timestamp_seconds":1783219767,"priority":1,"record_length":96,"hex_timestamp":"0000019f302e46d8"} 
[2026-07-05 08:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:24: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":124,"data_length":795,"current_offset":136} 
[2026-07-05 08:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:24: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-07-05 08:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504183296001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504183296001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:24:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504183296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":122371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:24:11] local.INFO: GPS data processed {"connection_id":122371,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:24:11] local.INFO: Acknowledgment sent {"connection_id":122371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:24:43] local.INFO: TCP Data received {"connection_id":122371,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:24:43] local.INFO: Processing buffer {"connection_id":122371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f302e46d8012cb2a24007823a98004b013b31..."} 
[2026-07-05 08:24:43] local.INFO: Packet analysis {"connection_id":122371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:24:43] local.INFO: Extracted packet for processing {"connection_id":122371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f302e"} 
[2026-07-05 08:24:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":49,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504183296001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783219767000,"timestamp_ms":1783219767000,"timestamp_seconds":1783219767,"priority":1,"record_length":96,"hex_timestamp":"0000019f302e46d8"} 
[2026-07-05 08:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:24: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-07-05 08: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 08:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504183296001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504183296001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:24:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504183296001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":122371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:24:43] local.INFO: GPS data processed {"connection_id":122371,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:24:43] local.INFO: Acknowledgment sent {"connection_id":122371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:25:06] local.INFO: TCP Data received {"connection_id":123149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:25:06] local.INFO: Processing buffer {"connection_id":123149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:25:06] local.INFO: IMEI packet received {"connection_id":123149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":123149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:25:06] local.INFO: TCP Data received {"connection_id":123149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:25:06] local.INFO: Processing buffer {"connection_id":123149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:25:06] local.INFO: IMEI packet received {"connection_id":123149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":123149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:25:11] local.INFO: TCP Data received {"connection_id":123149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:25:11] local.INFO: Processing buffer {"connection_id":123149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:25:11] local.INFO: IMEI packet received {"connection_id":123149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":123149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:25:12] local.INFO: TCP Data received {"connection_id":123149,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:25:12] local.INFO: Processing buffer {"connection_id":123149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:25:12] local.INFO: Packet analysis {"connection_id":123149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:25:12] local.INFO: Extracted packet for processing {"connection_id":123149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:25:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504260352001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783220068000,"timestamp_ms":1783220068000,"timestamp_seconds":1783220068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3032dea0"} 
[2026-07-05 08:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504260352001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504260352001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:25:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504260352001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":123149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:25:12] local.INFO: GPS data processed {"connection_id":123149,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:25:12] local.INFO: Acknowledgment sent {"connection_id":123149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:25:30] local.INFO: TCP Data received {"connection_id":123150,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:25:30] local.INFO: Processing buffer {"connection_id":123150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:25:30] local.INFO: IMEI packet received {"connection_id":123150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":123150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:25:43] local.INFO: TCP Data received {"connection_id":123149,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:25:43] local.INFO: Processing buffer {"connection_id":123149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:25:43] local.INFO: Packet analysis {"connection_id":123149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:25:43] local.INFO: Extracted packet for processing {"connection_id":123149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:25:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504260352001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220068000,"timestamp_ms":1783220068000,"timestamp_seconds":1783220068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3032dea0"} 
[2026-07-05 08:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:25: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-07-05 08:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504260352001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504260352001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:25:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504260352001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":123149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:25:43] local.INFO: GPS data processed {"connection_id":123149,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:25:43] local.INFO: Acknowledgment sent {"connection_id":123149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:26:10] local.INFO: TCP Data received {"connection_id":124345,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:26:10] local.INFO: Processing buffer {"connection_id":124345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:26:10] local.INFO: IMEI packet received {"connection_id":124345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":124345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:26:11] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:26:11] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:26:11] local.INFO: IMEI packet received {"connection_id":124346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":124346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:26:16] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:26:16] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:26:16] local.INFO: IMEI packet received {"connection_id":124346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":124346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:26:16] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:26:16] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:26:16] local.INFO: Packet analysis {"connection_id":124346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:26:16] local.INFO: Extracted packet for processing {"connection_id":124346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:26:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504260352001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:26:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783220068000,"timestamp_ms":1783220068000,"timestamp_seconds":1783220068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3032dea0"} 
[2026-07-05 08:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504260352001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504260352001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:26:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:26:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:26:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504260352001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":124346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:26:16] local.INFO: GPS data processed {"connection_id":124346,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:26:16] local.INFO: Acknowledgment sent {"connection_id":124346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:26:21] local.INFO: TCP Data received {"connection_id":124346,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:26:21] local.INFO: Processing buffer {"connection_id":124346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:26:21] local.INFO: Packet analysis {"connection_id":124346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:26:21] local.INFO: Extracted packet for processing {"connection_id":124346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504260352001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783220068000,"timestamp_ms":1783220068000,"timestamp_seconds":1783220068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3032dea0"} 
[2026-07-05 08:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504260352001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504260352001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504260352001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":124346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:26:21] local.INFO: GPS data processed {"connection_id":124346,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:26:21] local.INFO: Acknowledgment sent {"connection_id":124346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:27:06] local.INFO: TCP Data received {"connection_id":122373,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:27:06] local.INFO: Processing buffer {"connection_id":122373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:27:06] local.INFO: IMEI packet received {"connection_id":122373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":122373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:27:11] local.INFO: TCP Data received {"connection_id":122373,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:27:11] local.INFO: Processing buffer {"connection_id":122373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:27:11] local.INFO: IMEI packet received {"connection_id":122373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":122373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:27:11] local.INFO: TCP Data received {"connection_id":122373,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:27:11] local.INFO: Processing buffer {"connection_id":122373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:27:11] local.INFO: Packet analysis {"connection_id":122373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:27:11] local.INFO: Extracted packet for processing {"connection_id":122373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504260352001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220068000,"timestamp_ms":1783220068000,"timestamp_seconds":1783220068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3032dea0"} 
[2026-07-05 08:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:27: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-07-05 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504260352001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504260352001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504260352001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":122373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:27:11] local.INFO: GPS data processed {"connection_id":122373,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:27:11] local.INFO: Acknowledgment sent {"connection_id":122373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:27:43] local.INFO: TCP Data received {"connection_id":122373,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:27:43] local.INFO: Processing buffer {"connection_id":122373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:27:43] local.INFO: Packet analysis {"connection_id":122373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:27:43] local.INFO: Extracted packet for processing {"connection_id":122373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504260352001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:27:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220068000,"timestamp_ms":1783220068000,"timestamp_seconds":1783220068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3032dea0"} 
[2026-07-05 08:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:27: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-07-05 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504260352001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504260352001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:27:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:27:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504260352001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":122373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:27:43] local.INFO: GPS data processed {"connection_id":122373,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:27:43] local.INFO: Acknowledgment sent {"connection_id":122373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:28:06] local.INFO: TCP Data received {"connection_id":122374,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:28:06] local.INFO: Processing buffer {"connection_id":122374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:28:06] local.INFO: IMEI packet received {"connection_id":122374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":122374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:28:11] local.INFO: TCP Data received {"connection_id":122374,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:28:11] local.INFO: Processing buffer {"connection_id":122374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:28:11] local.INFO: IMEI packet received {"connection_id":122374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":122374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:28:11] local.INFO: TCP Data received {"connection_id":122374,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:28:11] local.INFO: Processing buffer {"connection_id":122374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:28:11] local.INFO: Packet analysis {"connection_id":122374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:28:11] local.INFO: Extracted packet for processing {"connection_id":122374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504260352001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220068000,"timestamp_ms":1783220068000,"timestamp_seconds":1783220068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3032dea0"} 
[2026-07-05 08:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:28: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-07-05 08:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504260352001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504260352001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:28:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504260352001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":122374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:28:11] local.INFO: GPS data processed {"connection_id":122374,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:28:11] local.INFO: Acknowledgment sent {"connection_id":122374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:28:43] local.INFO: TCP Data received {"connection_id":122374,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:28:43] local.INFO: Processing buffer {"connection_id":122374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:28:43] local.INFO: Packet analysis {"connection_id":122374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:28:43] local.INFO: Extracted packet for processing {"connection_id":122374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:28:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504260352001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220068000,"timestamp_ms":1783220068000,"timestamp_seconds":1783220068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3032dea0"} 
[2026-07-05 08:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:28: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-07-05 08:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:28: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-07-05 08:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504260352001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504260352001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:28:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504260352001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":122374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:28:43] local.INFO: GPS data processed {"connection_id":122374,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:28:43] local.INFO: Acknowledgment sent {"connection_id":122374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:29:07] local.INFO: TCP Data received {"connection_id":124348,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:29:07] local.INFO: Processing buffer {"connection_id":124348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:29:07] local.INFO: IMEI packet received {"connection_id":124348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":124348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:29:11] local.INFO: TCP Data received {"connection_id":124348,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:29:11] local.INFO: Processing buffer {"connection_id":124348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:29:11] local.INFO: IMEI packet received {"connection_id":124348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":124348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:29:11] local.INFO: TCP Data received {"connection_id":124348,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:29:11] local.INFO: Processing buffer {"connection_id":124348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:29:11] local.INFO: Packet analysis {"connection_id":124348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:29:11] local.INFO: Extracted packet for processing {"connection_id":124348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504260352001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220068000,"timestamp_ms":1783220068000,"timestamp_seconds":1783220068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3032dea0"} 
[2026-07-05 08:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:29: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-07-05 08:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504260352001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504260352001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504260352001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":124348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:29:11] local.INFO: GPS data processed {"connection_id":124348,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:29:11] local.INFO: Acknowledgment sent {"connection_id":124348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:29:42] local.INFO: TCP Data received {"connection_id":124348,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:29:42] local.INFO: Processing buffer {"connection_id":124348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3032dea0012cb2a24007823a98004b013b30..."} 
[2026-07-05 08:29:42] local.INFO: Packet analysis {"connection_id":124348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:29:42] local.INFO: Extracted packet for processing {"connection_id":124348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3032"} 
[2026-07-05 08:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504260352001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783220068000,"timestamp_ms":1783220068000,"timestamp_seconds":1783220068,"priority":1,"record_length":96,"hex_timestamp":"0000019f3032dea0"} 
[2026-07-05 08:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:29: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-07-05 08:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:29: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-07-05 08:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504260352001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504260352001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:29:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504260352001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":124348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:29:42] local.INFO: GPS data processed {"connection_id":124348,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:29:42] local.INFO: Acknowledgment sent {"connection_id":124348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:30:05] local.INFO: TCP Data received {"connection_id":122431,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:30:05] local.INFO: Processing buffer {"connection_id":122431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:30:05] local.INFO: IMEI packet received {"connection_id":122431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":122431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:30:06] local.INFO: TCP Data received {"connection_id":122431,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:30:06] local.INFO: Processing buffer {"connection_id":122431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:30:06] local.INFO: IMEI packet received {"connection_id":122431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":122431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:30:11] local.INFO: TCP Data received {"connection_id":122431,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:30:11] local.INFO: Processing buffer {"connection_id":122431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:30:11] local.INFO: IMEI packet received {"connection_id":122431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":122431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:30:11] local.INFO: TCP Data received {"connection_id":122431,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:30:11] local.INFO: Processing buffer {"connection_id":122431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:30:11] local.INFO: Packet analysis {"connection_id":122431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:30:11] local.INFO: Extracted packet for processing {"connection_id":122431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:30:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 08:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504337408001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220369000,"timestamp_ms":1783220369000,"timestamp_seconds":1783220369,"priority":1,"record_length":96,"hex_timestamp":"0000019f30377668"} 
[2026-07-05 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-07-05 08:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 08:30: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-07-05 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-07-05 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-07-05 08:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504337408001,"66":24582,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504337408001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:30:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504337408001,"power":24582,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":122431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:30:11] local.INFO: GPS data processed {"connection_id":122431,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:30:11] local.INFO: Acknowledgment sent {"connection_id":122431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:30:43] local.INFO: TCP Data received {"connection_id":122431,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:30:43] local.INFO: Processing buffer {"connection_id":122431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:30:43] local.INFO: Packet analysis {"connection_id":122431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:30:43] local.INFO: Extracted packet for processing {"connection_id":122431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:30:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504337408001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:30:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220369000,"timestamp_ms":1783220369000,"timestamp_seconds":1783220369,"priority":1,"record_length":96,"hex_timestamp":"0000019f30377668"} 
[2026-07-05 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-07-05 08:30: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-07-05 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 08:30: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-07-05 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-07-05 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-07-05 08:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504337408001,"66":24582,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504337408001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:30:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:30:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:30:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504337408001,"power":24582,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":122431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:30:43] local.INFO: GPS data processed {"connection_id":122431,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:30:43] local.INFO: Acknowledgment sent {"connection_id":122431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:31:06] local.INFO: TCP Data received {"connection_id":124349,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:31:06] local.INFO: Processing buffer {"connection_id":124349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:31:06] local.INFO: IMEI packet received {"connection_id":124349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":124349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:31:11] local.INFO: TCP Data received {"connection_id":124349,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:31:11] local.INFO: Processing buffer {"connection_id":124349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:31:11] local.INFO: IMEI packet received {"connection_id":124349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":124349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:31:11] local.INFO: TCP Data received {"connection_id":124349,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:31:11] local.INFO: Processing buffer {"connection_id":124349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:31:11] local.INFO: Packet analysis {"connection_id":124349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:31:11] local.INFO: Extracted packet for processing {"connection_id":124349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:31:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504337408001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:31:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220369000,"timestamp_ms":1783220369000,"timestamp_seconds":1783220369,"priority":1,"record_length":96,"hex_timestamp":"0000019f30377668"} 
[2026-07-05 08:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 08:31: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-07-05 08:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504337408001,"66":24582,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504337408001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:31:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504337408001,"power":24582,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":124349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:31:12] local.INFO: GPS data processed {"connection_id":124349,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:31:12] local.INFO: Acknowledgment sent {"connection_id":124349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:31:30] local.INFO: TCP Data received {"connection_id":124350,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:31:30] local.INFO: Processing buffer {"connection_id":124350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:31:30] local.INFO: IMEI packet received {"connection_id":124350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":124350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:31:43] local.INFO: TCP Data received {"connection_id":124349,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:31:43] local.INFO: Processing buffer {"connection_id":124349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:31:43] local.INFO: Packet analysis {"connection_id":124349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:31:43] local.INFO: Extracted packet for processing {"connection_id":124349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:31:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504337408001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:31:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220369000,"timestamp_ms":1783220369000,"timestamp_seconds":1783220369,"priority":1,"record_length":96,"hex_timestamp":"0000019f30377668"} 
[2026-07-05 08:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:31: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-07-05 08:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 08:31: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-07-05 08:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504337408001,"66":24582,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504337408001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:31:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:31:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504337408001,"power":24582,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":124349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:31:43] local.INFO: GPS data processed {"connection_id":124349,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:31:43] local.INFO: Acknowledgment sent {"connection_id":124349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:32:06] local.INFO: TCP Data received {"connection_id":122432,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:32:06] local.INFO: Processing buffer {"connection_id":122432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:32:06] local.INFO: IMEI packet received {"connection_id":122432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":122432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:32:10] local.INFO: TCP Data received {"connection_id":122433,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:32:10] local.INFO: Processing buffer {"connection_id":122433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:32:10] local.INFO: IMEI packet received {"connection_id":122433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":122433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:32:11] local.INFO: TCP Data received {"connection_id":122432,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:32:11] local.INFO: Processing buffer {"connection_id":122432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:32:11] local.INFO: IMEI packet received {"connection_id":122432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":122432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:32:11] local.INFO: TCP Data received {"connection_id":122432,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:32:11] local.INFO: Processing buffer {"connection_id":122432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:32:11] local.INFO: Packet analysis {"connection_id":122432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:32:11] local.INFO: Extracted packet for processing {"connection_id":122432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:32:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504337408001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220369000,"timestamp_ms":1783220369000,"timestamp_seconds":1783220369,"priority":1,"record_length":96,"hex_timestamp":"0000019f30377668"} 
[2026-07-05 08:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 08:32: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-07-05 08: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-07-05 08:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504337408001,"66":24582,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504337408001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504337408001,"power":24582,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":122432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:32:11] local.INFO: GPS data processed {"connection_id":122432,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:32:11] local.INFO: Acknowledgment sent {"connection_id":122432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:32:43] local.INFO: TCP Data received {"connection_id":122432,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:32:43] local.INFO: Processing buffer {"connection_id":122432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:32:43] local.INFO: Packet analysis {"connection_id":122432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:32:43] local.INFO: Extracted packet for processing {"connection_id":122432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:32:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504337408001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220369000,"timestamp_ms":1783220369000,"timestamp_seconds":1783220369,"priority":1,"record_length":96,"hex_timestamp":"0000019f30377668"} 
[2026-07-05 08:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:32: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-07-05 08:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 08:32: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-07-05 08:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504337408001,"66":24582,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504337408001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:32:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504337408001,"power":24582,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":122432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:32:43] local.INFO: GPS data processed {"connection_id":122432,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:32:43] local.INFO: Acknowledgment sent {"connection_id":122432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:33:06] local.INFO: TCP Data received {"connection_id":122375,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:33:06] local.INFO: Processing buffer {"connection_id":122375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:33:06] local.INFO: IMEI packet received {"connection_id":122375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":122375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:33:11] local.INFO: TCP Data received {"connection_id":122375,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:33:11] local.INFO: Processing buffer {"connection_id":122375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:33:11] local.INFO: IMEI packet received {"connection_id":122375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":122375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:33:12] local.INFO: TCP Data received {"connection_id":122375,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:33:12] local.INFO: Processing buffer {"connection_id":122375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:33:12] local.INFO: Packet analysis {"connection_id":122375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:33:12] local.INFO: Extracted packet for processing {"connection_id":122375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:33:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504337408001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783220369000,"timestamp_ms":1783220369000,"timestamp_seconds":1783220369,"priority":1,"record_length":96,"hex_timestamp":"0000019f30377668"} 
[2026-07-05 08:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 08:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504337408001,"66":24582,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504337408001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:33:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504337408001,"power":24582,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":122375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:33:12] local.INFO: GPS data processed {"connection_id":122375,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:33:12] local.INFO: Acknowledgment sent {"connection_id":122375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:33:43] local.INFO: TCP Data received {"connection_id":122375,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:33:43] local.INFO: Processing buffer {"connection_id":122375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:33:43] local.INFO: Packet analysis {"connection_id":122375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:33:43] local.INFO: Extracted packet for processing {"connection_id":122375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:33:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504337408001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:33:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220369000,"timestamp_ms":1783220369000,"timestamp_seconds":1783220369,"priority":1,"record_length":96,"hex_timestamp":"0000019f30377668"} 
[2026-07-05 08:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:33: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-07-05 08:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 08:33: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-07-05 08:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504337408001,"66":24582,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504337408001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:33:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:33:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504337408001,"power":24582,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":122375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:33:43] local.INFO: GPS data processed {"connection_id":122375,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:33:43] local.INFO: Acknowledgment sent {"connection_id":122375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:34:05] local.INFO: TCP Data received {"connection_id":123154,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:34:05] local.INFO: Processing buffer {"connection_id":123154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:34:05] local.INFO: IMEI packet received {"connection_id":123154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":123154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:34:11] local.INFO: TCP Data received {"connection_id":123154,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:34:11] local.INFO: Processing buffer {"connection_id":123154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:34:11] local.INFO: IMEI packet received {"connection_id":123154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":123154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:34:11] local.INFO: TCP Data received {"connection_id":123154,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:34:11] local.INFO: Processing buffer {"connection_id":123154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:34:11] local.INFO: Packet analysis {"connection_id":123154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:34:11] local.INFO: Extracted packet for processing {"connection_id":123154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:34:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504337408001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:34:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220369000,"timestamp_ms":1783220369000,"timestamp_seconds":1783220369,"priority":1,"record_length":96,"hex_timestamp":"0000019f30377668"} 
[2026-07-05 08:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 08:34: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-07-05 08:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504337408001,"66":24582,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504337408001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:34:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:34:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504337408001,"power":24582,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":123154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:34:11] local.INFO: GPS data processed {"connection_id":123154,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:34:11] local.INFO: Acknowledgment sent {"connection_id":123154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:34:42] local.INFO: TCP Data received {"connection_id":123154,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:34:42] local.INFO: Processing buffer {"connection_id":123154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30377668012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:34:42] local.INFO: Packet analysis {"connection_id":123154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:34:42] local.INFO: Extracted packet for processing {"connection_id":123154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3037"} 
[2026-07-05 08:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504337408001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783220369000,"timestamp_ms":1783220369000,"timestamp_seconds":1783220369,"priority":1,"record_length":96,"hex_timestamp":"0000019f30377668"} 
[2026-07-05 08:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:34: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-07-05 08:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 08:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504337408001,"66":24582,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504337408001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:34:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504337408001,"power":24582,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":123154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:34:43] local.INFO: GPS data processed {"connection_id":123154,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:34:43] local.INFO: Acknowledgment sent {"connection_id":123154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:35:05] local.INFO: TCP Data received {"connection_id":124351,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:35:05] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:35:05] local.INFO: IMEI packet received {"connection_id":124351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":124351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:35:08] local.INFO: TCP Data received {"connection_id":124351,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:35:08] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:35:08] local.INFO: IMEI packet received {"connection_id":124351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":124351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:35:11] local.INFO: TCP Data received {"connection_id":124351,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:35:11] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:35:11] local.INFO: IMEI packet received {"connection_id":124351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":124351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:35:11] local.INFO: TCP Data received {"connection_id":124351,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:35:11] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:35:11] local.INFO: Packet analysis {"connection_id":124351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:35:11] local.INFO: Extracted packet for processing {"connection_id":124351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:35:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504414464001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220670000,"timestamp_ms":1783220670000,"timestamp_seconds":1783220670,"priority":1,"record_length":96,"hex_timestamp":"0000019f303c0e30"} 
[2026-07-05 08:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:35: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-07-05 08: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":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-05 08:35:11] 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-07-05 08: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-07-05 08:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504414464001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504414464001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:35:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504414464001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":124351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:35:11] local.INFO: GPS data processed {"connection_id":124351,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:35:11] local.INFO: Acknowledgment sent {"connection_id":124351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:35:42] local.INFO: TCP Data received {"connection_id":124351,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:35:42] local.INFO: Processing buffer {"connection_id":124351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:35:42] local.INFO: Packet analysis {"connection_id":124351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:35:42] local.INFO: Extracted packet for processing {"connection_id":124351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:35:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504414464001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783220670000,"timestamp_ms":1783220670000,"timestamp_seconds":1783220670,"priority":1,"record_length":96,"hex_timestamp":"0000019f303c0e30"} 
[2026-07-05 08:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:35: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-07-05 08:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-05 08:35:42] 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-07-05 08:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504414464001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504414464001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:35:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504414464001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":124351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:35:42] local.INFO: GPS data processed {"connection_id":124351,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:35:42] local.INFO: Acknowledgment sent {"connection_id":124351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:36:06] local.INFO: TCP Data received {"connection_id":123155,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:36:06] local.INFO: Processing buffer {"connection_id":123155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:36:06] local.INFO: IMEI packet received {"connection_id":123155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":123155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:36:11] local.INFO: TCP Data received {"connection_id":123155,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:36:11] local.INFO: Processing buffer {"connection_id":123155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:36:11] local.INFO: IMEI packet received {"connection_id":123155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":123155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:36:11] local.INFO: TCP Data received {"connection_id":123155,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:36:11] local.INFO: Processing buffer {"connection_id":123155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:36:11] local.INFO: Packet analysis {"connection_id":123155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:36:11] local.INFO: Extracted packet for processing {"connection_id":123155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:36:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504414464001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220670000,"timestamp_ms":1783220670000,"timestamp_seconds":1783220670,"priority":1,"record_length":96,"hex_timestamp":"0000019f303c0e30"} 
[2026-07-05 08:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:36: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-07-05 08: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":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-05 08:36:11] 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-07-05 08: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-07-05 08:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504414464001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504414464001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:36:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504414464001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":123155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:36:11] local.INFO: GPS data processed {"connection_id":123155,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:36:11] local.INFO: Acknowledgment sent {"connection_id":123155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:36:43] local.INFO: TCP Data received {"connection_id":123155,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:36:43] local.INFO: Processing buffer {"connection_id":123155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:36:43] local.INFO: Packet analysis {"connection_id":123155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:36:43] local.INFO: Extracted packet for processing {"connection_id":123155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:36:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504414464001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:36:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220670000,"timestamp_ms":1783220670000,"timestamp_seconds":1783220670,"priority":1,"record_length":96,"hex_timestamp":"0000019f303c0e30"} 
[2026-07-05 08:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:36: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-07-05 08:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-05 08:36:43] 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-07-05 08:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504414464001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504414464001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:36:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:36:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504414464001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":123155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:36:43] local.INFO: GPS data processed {"connection_id":123155,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:36:43] local.INFO: Acknowledgment sent {"connection_id":123155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:37:06] local.INFO: TCP Data received {"connection_id":123158,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:37:06] local.INFO: Processing buffer {"connection_id":123158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:37:06] local.INFO: IMEI packet received {"connection_id":123158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":123158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:37:11] local.INFO: TCP Data received {"connection_id":123158,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:37:11] local.INFO: Processing buffer {"connection_id":123158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:37:11] local.INFO: IMEI packet received {"connection_id":123158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":123158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:37:12] local.INFO: TCP Data received {"connection_id":123158,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:37:12] local.INFO: Processing buffer {"connection_id":123158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:37:12] local.INFO: Packet analysis {"connection_id":123158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:37:12] local.INFO: Extracted packet for processing {"connection_id":123158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:37:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504414464001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783220670000,"timestamp_ms":1783220670000,"timestamp_seconds":1783220670,"priority":1,"record_length":96,"hex_timestamp":"0000019f303c0e30"} 
[2026-07-05 08:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-05 08:37:12] 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-07-05 08:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504414464001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504414464001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:37:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:37:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504414464001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":123158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:37:12] local.INFO: GPS data processed {"connection_id":123158,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:37:12] local.INFO: Acknowledgment sent {"connection_id":123158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:37:25] local.INFO: TCP Data received {"connection_id":123157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:37:25] local.INFO: Processing buffer {"connection_id":123157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:37:25] local.INFO: IMEI packet received {"connection_id":123157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":123157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:37:43] local.INFO: TCP Data received {"connection_id":123158,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:37:43] local.INFO: Processing buffer {"connection_id":123158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:37:43] local.INFO: Packet analysis {"connection_id":123158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:37:43] local.INFO: Extracted packet for processing {"connection_id":123158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:37:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504414464001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:37:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220670000,"timestamp_ms":1783220670000,"timestamp_seconds":1783220670,"priority":1,"record_length":96,"hex_timestamp":"0000019f303c0e30"} 
[2026-07-05 08:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:37: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-07-05 08:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-05 08:37:43] 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-07-05 08:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504414464001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504414464001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:37:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:37:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504414464001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":123158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:37:43] local.INFO: GPS data processed {"connection_id":123158,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:37:43] local.INFO: Acknowledgment sent {"connection_id":123158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:38:05] local.INFO: TCP Data received {"connection_id":123159,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:38:05] local.INFO: Processing buffer {"connection_id":123159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:38:05] local.INFO: IMEI packet received {"connection_id":123159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":123159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:38:05] local.INFO: TCP Data received {"connection_id":124352,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:38:05] local.INFO: Processing buffer {"connection_id":124352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:38:05] local.INFO: IMEI packet received {"connection_id":124352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":124352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:38:11] local.INFO: TCP Data received {"connection_id":124352,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:38:11] local.INFO: Processing buffer {"connection_id":124352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:38:11] local.INFO: IMEI packet received {"connection_id":124352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":124352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:38:12] local.INFO: TCP Data received {"connection_id":124352,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:38:12] local.INFO: Processing buffer {"connection_id":124352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:38:12] local.INFO: Packet analysis {"connection_id":124352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:38:12] local.INFO: Extracted packet for processing {"connection_id":124352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:38:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504414464001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783220670000,"timestamp_ms":1783220670000,"timestamp_seconds":1783220670,"priority":1,"record_length":96,"hex_timestamp":"0000019f303c0e30"} 
[2026-07-05 08:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-05 08:38:12] 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-07-05 08:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504414464001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504414464001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:38:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504414464001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":124352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:38:12] local.INFO: GPS data processed {"connection_id":124352,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:38:12] local.INFO: Acknowledgment sent {"connection_id":124352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:38:43] local.INFO: TCP Data received {"connection_id":124352,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:38:43] local.INFO: Processing buffer {"connection_id":124352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:38:43] local.INFO: Packet analysis {"connection_id":124352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:38:43] local.INFO: Extracted packet for processing {"connection_id":124352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:38:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504414464001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:38:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220670000,"timestamp_ms":1783220670000,"timestamp_seconds":1783220670,"priority":1,"record_length":96,"hex_timestamp":"0000019f303c0e30"} 
[2026-07-05 08:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:38: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-07-05 08:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-05 08:38:43] 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-07-05 08:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504414464001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504414464001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:38:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:38:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504414464001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":124352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:38:43] local.INFO: GPS data processed {"connection_id":124352,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:38:43] local.INFO: Acknowledgment sent {"connection_id":124352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:39:05] local.INFO: TCP Data received {"connection_id":122435,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:39:05] local.INFO: Processing buffer {"connection_id":122435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:39:05] local.INFO: IMEI packet received {"connection_id":122435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":122435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:39:11] local.INFO: TCP Data received {"connection_id":122435,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:39:11] local.INFO: Processing buffer {"connection_id":122435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:39:11] local.INFO: IMEI packet received {"connection_id":122435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":122435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:39:11] local.INFO: TCP Data received {"connection_id":122435,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:39:11] local.INFO: Processing buffer {"connection_id":122435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:39:11] local.INFO: Packet analysis {"connection_id":122435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:39:11] local.INFO: Extracted packet for processing {"connection_id":122435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:39:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504414464001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220670000,"timestamp_ms":1783220670000,"timestamp_seconds":1783220670,"priority":1,"record_length":96,"hex_timestamp":"0000019f303c0e30"} 
[2026-07-05 08:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:39: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-07-05 08:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-05 08:39:11] 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-07-05 08:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504414464001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504414464001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:39:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504414464001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":122435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:39:11] local.INFO: GPS data processed {"connection_id":122435,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:39:11] local.INFO: Acknowledgment sent {"connection_id":122435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:39:43] local.INFO: TCP Data received {"connection_id":122435,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:39:43] local.INFO: Processing buffer {"connection_id":122435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f303c0e30012cb2a24007823a98004b013b2f..."} 
[2026-07-05 08:39:43] local.INFO: Packet analysis {"connection_id":122435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:39:43] local.INFO: Extracted packet for processing {"connection_id":122435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f303c"} 
[2026-07-05 08:39:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":47,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504414464001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:39:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220670000,"timestamp_ms":1783220670000,"timestamp_seconds":1783220670,"priority":1,"record_length":96,"hex_timestamp":"0000019f303c0e30"} 
[2026-07-05 08:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:39: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-07-05 08:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-05 08:39:43] 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-07-05 08:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504414464001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504414464001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:39:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:39:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504414464001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":122435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:39:43] local.INFO: GPS data processed {"connection_id":122435,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:39:43] local.INFO: Acknowledgment sent {"connection_id":122435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:40:09] local.INFO: TCP Data received {"connection_id":123161,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:40:09] local.INFO: Processing buffer {"connection_id":123161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:40:09] local.INFO: IMEI packet received {"connection_id":123161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":123161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:40:10] local.INFO: TCP Data received {"connection_id":123161,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:40:10] local.INFO: Processing buffer {"connection_id":123161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:40:10] local.INFO: IMEI packet received {"connection_id":123161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":123161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:40:16] local.INFO: TCP Data received {"connection_id":123161,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:40:16] local.INFO: Processing buffer {"connection_id":123161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:40:16] local.INFO: IMEI packet received {"connection_id":123161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":123161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:40:16] local.INFO: TCP Data received {"connection_id":123161,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:40:16] local.INFO: Processing buffer {"connection_id":123161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:40:16] local.INFO: Packet analysis {"connection_id":123161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:40:16] local.INFO: Extracted packet for processing {"connection_id":123161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:40:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504491520001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783220971000,"timestamp_ms":1783220971000,"timestamp_seconds":1783220971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3040a5f8"} 
[2026-07-05 08:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:40:16] 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-07-05 08: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-07-05 08:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504491520001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504491520001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:40:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504491520001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":123161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:40:16] local.INFO: GPS data processed {"connection_id":123161,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:40:16] local.INFO: Acknowledgment sent {"connection_id":123161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:40:47] local.INFO: TCP Data received {"connection_id":123161,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:40:47] local.INFO: Processing buffer {"connection_id":123161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:40:47] local.INFO: Packet analysis {"connection_id":123161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:40:47] local.INFO: Extracted packet for processing {"connection_id":123161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:40:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504491520001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:40:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783220971000,"timestamp_ms":1783220971000,"timestamp_seconds":1783220971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3040a5f8"} 
[2026-07-05 08:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":123161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":123161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":123161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504491520001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504491520001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:40:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:40:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504491520001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":123161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:40:47] local.INFO: GPS data processed {"connection_id":123161,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:40:47] local.INFO: Acknowledgment sent {"connection_id":123161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:41:05] local.INFO: TCP Data received {"connection_id":124353,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:41:05] local.INFO: Processing buffer {"connection_id":124353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:41:05] local.INFO: IMEI packet received {"connection_id":124353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":124353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:41:11] local.INFO: TCP Data received {"connection_id":124353,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:41:11] local.INFO: Processing buffer {"connection_id":124353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:41:11] local.INFO: IMEI packet received {"connection_id":124353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":124353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:41:11] local.INFO: TCP Data received {"connection_id":124353,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:41:11] local.INFO: Processing buffer {"connection_id":124353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:41:11] local.INFO: Packet analysis {"connection_id":124353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:41:11] local.INFO: Extracted packet for processing {"connection_id":124353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504491520001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220971000,"timestamp_ms":1783220971000,"timestamp_seconds":1783220971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3040a5f8"} 
[2026-07-05 08:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:41: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-07-05 08: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504491520001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504491520001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504491520001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":124353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:41:11] local.INFO: GPS data processed {"connection_id":124353,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:41:11] local.INFO: Acknowledgment sent {"connection_id":124353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:41:43] local.INFO: TCP Data received {"connection_id":124353,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:41:43] local.INFO: Processing buffer {"connection_id":124353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:41:43] local.INFO: Packet analysis {"connection_id":124353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:41:43] local.INFO: Extracted packet for processing {"connection_id":124353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:41:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504491520001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:41:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220971000,"timestamp_ms":1783220971000,"timestamp_seconds":1783220971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3040a5f8"} 
[2026-07-05 08:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:41: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-07-05 08:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504491520001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504491520001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:41:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:41:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504491520001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":124353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:41:43] local.INFO: GPS data processed {"connection_id":124353,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:41:43] local.INFO: Acknowledgment sent {"connection_id":124353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:42:05] local.INFO: TCP Data received {"connection_id":123164,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:42:05] local.INFO: Processing buffer {"connection_id":123164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:42:05] local.INFO: IMEI packet received {"connection_id":123164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":123164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:42:11] local.INFO: TCP Data received {"connection_id":123164,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:42:11] local.INFO: Processing buffer {"connection_id":123164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:42:11] local.INFO: IMEI packet received {"connection_id":123164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":123164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:42:11] local.INFO: TCP Data received {"connection_id":123164,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:42:11] local.INFO: Processing buffer {"connection_id":123164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:42:11] local.INFO: Packet analysis {"connection_id":123164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:42:11] local.INFO: Extracted packet for processing {"connection_id":123164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504491520001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220971000,"timestamp_ms":1783220971000,"timestamp_seconds":1783220971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3040a5f8"} 
[2026-07-05 08:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:42: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-07-05 08:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504491520001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504491520001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:42:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504491520001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":123164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:42:12] local.INFO: GPS data processed {"connection_id":123164,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:42:12] local.INFO: Acknowledgment sent {"connection_id":123164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:42:43] local.INFO: TCP Data received {"connection_id":123164,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:42:43] local.INFO: Processing buffer {"connection_id":123164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:42:43] local.INFO: Packet analysis {"connection_id":123164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:42:43] local.INFO: Extracted packet for processing {"connection_id":123164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:42:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504491520001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:42:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220971000,"timestamp_ms":1783220971000,"timestamp_seconds":1783220971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3040a5f8"} 
[2026-07-05 08:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:42: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-07-05 08:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504491520001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504491520001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:42:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:42:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504491520001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":123164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:42:43] local.INFO: GPS data processed {"connection_id":123164,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:42:43] local.INFO: Acknowledgment sent {"connection_id":123164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:43:11] local.INFO: TCP Data received {"connection_id":123166,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:43:11] local.INFO: Processing buffer {"connection_id":123166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:43:11] local.INFO: IMEI packet received {"connection_id":123166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":123166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:43:16] local.INFO: TCP Data received {"connection_id":123166,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:43:16] local.INFO: Processing buffer {"connection_id":123166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:43:16] local.INFO: IMEI packet received {"connection_id":123166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":123166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:43:16] local.INFO: TCP Data received {"connection_id":123166,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:43:16] local.INFO: Processing buffer {"connection_id":123166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:43:16] local.INFO: Packet analysis {"connection_id":123166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:43:16] local.INFO: Extracted packet for processing {"connection_id":123166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:43:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504491520001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:43:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783220971000,"timestamp_ms":1783220971000,"timestamp_seconds":1783220971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3040a5f8"} 
[2026-07-05 08:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:43:16] 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-07-05 08: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-07-05 08:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504491520001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504491520001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:43:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:43:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:43:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504491520001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":123166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:43:16] local.INFO: GPS data processed {"connection_id":123166,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:43:16] local.INFO: Acknowledgment sent {"connection_id":123166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:43:21] local.INFO: TCP Data received {"connection_id":123166,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:43:21] local.INFO: Processing buffer {"connection_id":123166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:43:21] local.INFO: Packet analysis {"connection_id":123166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:43:21] local.INFO: Extracted packet for processing {"connection_id":123166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:43:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504491520001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783220971000,"timestamp_ms":1783220971000,"timestamp_seconds":1783220971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3040a5f8"} 
[2026-07-05 08:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:43:21] 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-07-05 08: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-07-05 08:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504491520001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504491520001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:43:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504491520001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":123166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:43:21] local.INFO: GPS data processed {"connection_id":123166,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:43:21] local.INFO: Acknowledgment sent {"connection_id":123166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:43:30] local.INFO: TCP Data received {"connection_id":123165,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:43:30] local.INFO: Processing buffer {"connection_id":123165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:43:30] local.INFO: IMEI packet received {"connection_id":123165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":123165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:44:05] local.INFO: TCP Data received {"connection_id":122379,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:44:05] local.INFO: Processing buffer {"connection_id":122379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:44:05] local.INFO: IMEI packet received {"connection_id":122379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":122379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:44:06] local.INFO: TCP Data received {"connection_id":122378,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:44:06] local.INFO: Processing buffer {"connection_id":122378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:44:06] local.INFO: IMEI packet received {"connection_id":122378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":122378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:44:11] local.INFO: TCP Data received {"connection_id":122378,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:44:11] local.INFO: Processing buffer {"connection_id":122378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:44:11] local.INFO: IMEI packet received {"connection_id":122378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":122378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:44:11] local.INFO: TCP Data received {"connection_id":122378,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:44:11] local.INFO: Processing buffer {"connection_id":122378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:44:11] local.INFO: Packet analysis {"connection_id":122378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:44:11] local.INFO: Extracted packet for processing {"connection_id":122378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:44:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504491520001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220971000,"timestamp_ms":1783220971000,"timestamp_seconds":1783220971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3040a5f8"} 
[2026-07-05 08:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:44: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-07-05 08:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504491520001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504491520001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504491520001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":122378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:44:12] local.INFO: GPS data processed {"connection_id":122378,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:44:12] local.INFO: Acknowledgment sent {"connection_id":122378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:44:43] local.INFO: TCP Data received {"connection_id":122378,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:44:43] local.INFO: Processing buffer {"connection_id":122378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3040a5f8012cb2a24007823a98004b013b2a..."} 
[2026-07-05 08:44:43] local.INFO: Packet analysis {"connection_id":122378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:44:43] local.INFO: Extracted packet for processing {"connection_id":122378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3040"} 
[2026-07-05 08:44:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504491520001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:44:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783220971000,"timestamp_ms":1783220971000,"timestamp_seconds":1783220971,"priority":1,"record_length":96,"hex_timestamp":"0000019f3040a5f8"} 
[2026-07-05 08:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:44: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-07-05 08:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:44: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-07-05 08:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504491520001,"66":25223,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504491520001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:44:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:44:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:44:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504491520001,"power":25223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":122378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:44:43] local.INFO: GPS data processed {"connection_id":122378,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:44:43] local.INFO: Acknowledgment sent {"connection_id":122378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:45:06] local.INFO: TCP Data received {"connection_id":124354,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:45:06] local.INFO: Processing buffer {"connection_id":124354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:45:06] local.INFO: IMEI packet received {"connection_id":124354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":124354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:45:10] local.INFO: TCP Data received {"connection_id":124354,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:45:10] local.INFO: Processing buffer {"connection_id":124354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:45:10] local.INFO: IMEI packet received {"connection_id":124354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":124354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:45:11] local.INFO: TCP Data received {"connection_id":124354,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:45:11] local.INFO: Processing buffer {"connection_id":124354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:45:11] local.INFO: Packet analysis {"connection_id":124354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:45:11] local.INFO: Extracted packet for processing {"connection_id":124354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504568576001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783221272000,"timestamp_ms":1783221272000,"timestamp_seconds":1783221272,"priority":1,"record_length":96,"hex_timestamp":"0000019f30453dc0"} 
[2026-07-05 08:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504568576001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504568576001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:45:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504568576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":124354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:45:11] local.INFO: GPS data processed {"connection_id":124354,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:45:11] local.INFO: Acknowledgment sent {"connection_id":124354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:45:42] local.INFO: TCP Data received {"connection_id":124354,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:45:42] local.INFO: Processing buffer {"connection_id":124354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:45:42] local.INFO: Packet analysis {"connection_id":124354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:45:42] local.INFO: Extracted packet for processing {"connection_id":124354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504568576001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783221272000,"timestamp_ms":1783221272000,"timestamp_seconds":1783221272,"priority":1,"record_length":96,"hex_timestamp":"0000019f30453dc0"} 
[2026-07-05 08:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:45: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-07-05 08:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504568576001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504568576001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:45:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504568576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":124354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:45:42] local.INFO: GPS data processed {"connection_id":124354,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:45:42] local.INFO: Acknowledgment sent {"connection_id":124354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:46:11] local.INFO: TCP Data received {"connection_id":122381,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:46:11] local.INFO: Processing buffer {"connection_id":122381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:46:11] local.INFO: IMEI packet received {"connection_id":122381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":122381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:46:16] local.INFO: TCP Data received {"connection_id":122381,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:46:16] local.INFO: Processing buffer {"connection_id":122381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:46:16] local.INFO: IMEI packet received {"connection_id":122381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":122381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:46:17] local.INFO: TCP Data received {"connection_id":122381,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:46:17] local.INFO: Processing buffer {"connection_id":122381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:46:17] local.INFO: Packet analysis {"connection_id":122381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:46:17] local.INFO: Extracted packet for processing {"connection_id":122381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:46:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504568576001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783221272000,"timestamp_ms":1783221272000,"timestamp_seconds":1783221272,"priority":1,"record_length":96,"hex_timestamp":"0000019f30453dc0"} 
[2026-07-05 08:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:46:17] 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-07-05 08:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504568576001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504568576001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:46:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:46:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:46:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504568576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":122381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:46:17] local.INFO: GPS data processed {"connection_id":122381,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:46:17] local.INFO: Acknowledgment sent {"connection_id":122381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:46:21] local.INFO: TCP Data received {"connection_id":122381,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:46:21] local.INFO: Processing buffer {"connection_id":122381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:46:21] local.INFO: Packet analysis {"connection_id":122381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:46:21] local.INFO: Extracted packet for processing {"connection_id":122381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:46:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 08:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504568576001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783221272000,"timestamp_ms":1783221272000,"timestamp_seconds":1783221272,"priority":1,"record_length":96,"hex_timestamp":"0000019f30453dc0"} 
[2026-07-05 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-07-05 08:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:46:21] 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-07-05 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-07-05 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-07-05 08:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504568576001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504568576001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:46:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504568576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":122381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:46:21] local.INFO: GPS data processed {"connection_id":122381,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:46:21] local.INFO: Acknowledgment sent {"connection_id":122381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:47:06] local.INFO: TCP Data received {"connection_id":123167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:47:06] local.INFO: Processing buffer {"connection_id":123167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:47:06] local.INFO: IMEI packet received {"connection_id":123167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":123167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:47:11] local.INFO: TCP Data received {"connection_id":123167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:47:11] local.INFO: Processing buffer {"connection_id":123167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:47:11] local.INFO: IMEI packet received {"connection_id":123167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":123167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:47:12] local.INFO: TCP Data received {"connection_id":123167,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:47:12] local.INFO: Processing buffer {"connection_id":123167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:47:12] local.INFO: Packet analysis {"connection_id":123167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:47:12] local.INFO: Extracted packet for processing {"connection_id":123167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:47:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504568576001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783221272000,"timestamp_ms":1783221272000,"timestamp_seconds":1783221272,"priority":1,"record_length":96,"hex_timestamp":"0000019f30453dc0"} 
[2026-07-05 08:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504568576001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504568576001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:47:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504568576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":123167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:47:12] local.INFO: GPS data processed {"connection_id":123167,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:47:12] local.INFO: Acknowledgment sent {"connection_id":123167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:47:43] local.INFO: TCP Data received {"connection_id":123167,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:47:43] local.INFO: Processing buffer {"connection_id":123167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:47:43] local.INFO: Packet analysis {"connection_id":123167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:47:43] local.INFO: Extracted packet for processing {"connection_id":123167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:47:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504568576001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:47:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783221272000,"timestamp_ms":1783221272000,"timestamp_seconds":1783221272,"priority":1,"record_length":96,"hex_timestamp":"0000019f30453dc0"} 
[2026-07-05 08:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504568576001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504568576001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:47:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:47:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504568576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":123167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:47:43] local.INFO: GPS data processed {"connection_id":123167,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:47:43] local.INFO: Acknowledgment sent {"connection_id":123167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:48:06] local.INFO: TCP Data received {"connection_id":123168,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:48:06] local.INFO: Processing buffer {"connection_id":123168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:48:06] local.INFO: IMEI packet received {"connection_id":123168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":123168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:48:11] local.INFO: TCP Data received {"connection_id":123168,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:48:11] local.INFO: Processing buffer {"connection_id":123168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:48:11] local.INFO: IMEI packet received {"connection_id":123168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":123168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:48:12] local.INFO: TCP Data received {"connection_id":123168,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:48:12] local.INFO: Processing buffer {"connection_id":123168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:48:12] local.INFO: Packet analysis {"connection_id":123168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:48:12] local.INFO: Extracted packet for processing {"connection_id":123168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:48:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504568576001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783221272000,"timestamp_ms":1783221272000,"timestamp_seconds":1783221272,"priority":1,"record_length":96,"hex_timestamp":"0000019f30453dc0"} 
[2026-07-05 08:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504568576001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504568576001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:48:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504568576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":123168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":434999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:48:12] local.INFO: GPS data processed {"connection_id":123168,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:48:12] local.INFO: Acknowledgment sent {"connection_id":123168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:48:43] local.INFO: TCP Data received {"connection_id":123168,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:48:43] local.INFO: Processing buffer {"connection_id":123168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:48:43] local.INFO: Packet analysis {"connection_id":123168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:48:43] local.INFO: Extracted packet for processing {"connection_id":123168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:48:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504568576001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:48:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783221272000,"timestamp_ms":1783221272000,"timestamp_seconds":1783221272,"priority":1,"record_length":96,"hex_timestamp":"0000019f30453dc0"} 
[2026-07-05 08:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504568576001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504568576001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:48:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:48:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504568576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":123168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:48:43] local.INFO: GPS data processed {"connection_id":123168,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:48:43] local.INFO: Acknowledgment sent {"connection_id":123168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:49:06] local.INFO: TCP Data received {"connection_id":122384,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:49:06] local.INFO: Processing buffer {"connection_id":122384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:49:06] local.INFO: IMEI packet received {"connection_id":122384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":122384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:49:11] local.INFO: TCP Data received {"connection_id":122384,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:49:11] local.INFO: Processing buffer {"connection_id":122384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:49:11] local.INFO: IMEI packet received {"connection_id":122384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":122384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:49:11] local.INFO: TCP Data received {"connection_id":122384,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:49:12] local.INFO: Processing buffer {"connection_id":122384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:49:12] local.INFO: Packet analysis {"connection_id":122384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:49:12] local.INFO: Extracted packet for processing {"connection_id":122384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:49:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504568576001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783221272000,"timestamp_ms":1783221272000,"timestamp_seconds":1783221272,"priority":1,"record_length":96,"hex_timestamp":"0000019f30453dc0"} 
[2026-07-05 08:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504568576001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504568576001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:49:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504568576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":122384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:49:12] local.INFO: GPS data processed {"connection_id":122384,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:49:12] local.INFO: Acknowledgment sent {"connection_id":122384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:49:30] local.INFO: TCP Data received {"connection_id":122383,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:49:30] local.INFO: Processing buffer {"connection_id":122383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:49:30] local.INFO: IMEI packet received {"connection_id":122383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":122383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:49:43] local.INFO: TCP Data received {"connection_id":122384,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:49:43] local.INFO: Processing buffer {"connection_id":122384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30453dc0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 08:49:43] local.INFO: Packet analysis {"connection_id":122384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:49:43] local.INFO: Extracted packet for processing {"connection_id":122384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3045"} 
[2026-07-05 08:49:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504568576001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:49:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783221272000,"timestamp_ms":1783221272000,"timestamp_seconds":1783221272,"priority":1,"record_length":96,"hex_timestamp":"0000019f30453dc0"} 
[2026-07-05 08:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 08:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504568576001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504568576001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:49:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:49:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504568576001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":122384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:49:43] local.INFO: GPS data processed {"connection_id":122384,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:49:43] local.INFO: Acknowledgment sent {"connection_id":122384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:50:05] local.INFO: TCP Data received {"connection_id":124356,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:50:05] local.INFO: Processing buffer {"connection_id":124356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:50:05] local.INFO: IMEI packet received {"connection_id":124356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":124356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:50:05] local.INFO: TCP Data received {"connection_id":123169,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:50:05] local.INFO: Processing buffer {"connection_id":123169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:50:05] local.INFO: IMEI packet received {"connection_id":123169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":123169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:50:11] local.INFO: TCP Data received {"connection_id":123169,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:50:11] local.INFO: Processing buffer {"connection_id":123169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:50:11] local.INFO: IMEI packet received {"connection_id":123169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":123169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:50:12] local.INFO: TCP Data received {"connection_id":123169,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:50:12] local.INFO: Processing buffer {"connection_id":123169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:50:12] local.INFO: Packet analysis {"connection_id":123169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:50:12] local.INFO: Extracted packet for processing {"connection_id":123169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:50:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504645632001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783221573000,"timestamp_ms":1783221573000,"timestamp_seconds":1783221573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3049d588"} 
[2026-07-05 08:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504645632001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504645632001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:50:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504645632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":123169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:50:12] local.INFO: GPS data processed {"connection_id":123169,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:50:12] local.INFO: Acknowledgment sent {"connection_id":123169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:50:43] local.INFO: TCP Data received {"connection_id":123169,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:50:43] local.INFO: Processing buffer {"connection_id":123169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:50:43] local.INFO: Packet analysis {"connection_id":123169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:50:43] local.INFO: Extracted packet for processing {"connection_id":123169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:50:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504645632001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:50:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783221573000,"timestamp_ms":1783221573000,"timestamp_seconds":1783221573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3049d588"} 
[2026-07-05 08:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:50: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-07-05 08:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:50: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-07-05 08:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504645632001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504645632001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:50:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:50:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504645632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":123169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:50:43] local.INFO: GPS data processed {"connection_id":123169,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:50:43] local.INFO: Acknowledgment sent {"connection_id":123169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:51:06] local.INFO: TCP Data received {"connection_id":123170,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:51:06] local.INFO: Processing buffer {"connection_id":123170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:51:06] local.INFO: IMEI packet received {"connection_id":123170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":123170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:51:11] local.INFO: TCP Data received {"connection_id":123170,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:51:11] local.INFO: Processing buffer {"connection_id":123170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:51:11] local.INFO: IMEI packet received {"connection_id":123170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":123170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:51:12] local.INFO: TCP Data received {"connection_id":123170,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:51:12] local.INFO: Processing buffer {"connection_id":123170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:51:12] local.INFO: Packet analysis {"connection_id":123170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:51:12] local.INFO: Extracted packet for processing {"connection_id":123170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:51:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504645632001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783221573000,"timestamp_ms":1783221573000,"timestamp_seconds":1783221573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3049d588"} 
[2026-07-05 08:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504645632001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504645632001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:51:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:51:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504645632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":123170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:51:12] local.INFO: GPS data processed {"connection_id":123170,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:51:12] local.INFO: Acknowledgment sent {"connection_id":123170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:51:43] local.INFO: TCP Data received {"connection_id":123170,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:51:43] local.INFO: Processing buffer {"connection_id":123170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:51:43] local.INFO: Packet analysis {"connection_id":123170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:51:43] local.INFO: Extracted packet for processing {"connection_id":123170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:51:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504645632001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:51:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783221573000,"timestamp_ms":1783221573000,"timestamp_seconds":1783221573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3049d588"} 
[2026-07-05 08:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:51: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-07-05 08:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504645632001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504645632001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:51:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:51:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504645632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":123170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:51:43] local.INFO: GPS data processed {"connection_id":123170,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:51:43] local.INFO: Acknowledgment sent {"connection_id":123170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:52:06] local.INFO: TCP Data received {"connection_id":124357,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:52:06] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:52:06] local.INFO: IMEI packet received {"connection_id":124357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":124357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:52:11] local.INFO: TCP Data received {"connection_id":124357,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:52:11] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:52:11] local.INFO: IMEI packet received {"connection_id":124357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":124357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:52:12] local.INFO: TCP Data received {"connection_id":124357,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:52:12] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:52:12] local.INFO: Packet analysis {"connection_id":124357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:52:12] local.INFO: Extracted packet for processing {"connection_id":124357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:52:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504645632001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783221573000,"timestamp_ms":1783221573000,"timestamp_seconds":1783221573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3049d588"} 
[2026-07-05 08:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504645632001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504645632001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:52:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:52:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504645632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":124357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:52:12] local.INFO: GPS data processed {"connection_id":124357,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:52:12] local.INFO: Acknowledgment sent {"connection_id":124357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:52:48] local.INFO: TCP Data received {"connection_id":124357,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:52:48] local.INFO: Processing buffer {"connection_id":124357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:52:48] local.INFO: Packet analysis {"connection_id":124357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:52:48] local.INFO: Extracted packet for processing {"connection_id":124357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:52:48] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504645632001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:52:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783221573000,"timestamp_ms":1783221573000,"timestamp_seconds":1783221573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3049d588"} 
[2026-07-05 08:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504645632001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504645632001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:52:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:52:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:52:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504645632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":124357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:52:48] local.INFO: GPS data processed {"connection_id":124357,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:52:48] local.INFO: Acknowledgment sent {"connection_id":124357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:53:06] local.INFO: TCP Data received {"connection_id":122439,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:53:06] local.INFO: Processing buffer {"connection_id":122439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:53:06] local.INFO: IMEI packet received {"connection_id":122439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":122439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:53:11] local.INFO: TCP Data received {"connection_id":122439,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:53:11] local.INFO: Processing buffer {"connection_id":122439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:53:11] local.INFO: IMEI packet received {"connection_id":122439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":122439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:53:11] local.INFO: TCP Data received {"connection_id":122439,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:53:11] local.INFO: Processing buffer {"connection_id":122439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:53:11] local.INFO: Packet analysis {"connection_id":122439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:53:11] local.INFO: Extracted packet for processing {"connection_id":122439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:53:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504645632001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783221573000,"timestamp_ms":1783221573000,"timestamp_seconds":1783221573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3049d588"} 
[2026-07-05 08:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:53: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-07-05 08:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504645632001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504645632001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:53:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504645632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":122439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:53:11] local.INFO: GPS data processed {"connection_id":122439,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:53:11] local.INFO: Acknowledgment sent {"connection_id":122439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:53:43] local.INFO: TCP Data received {"connection_id":122439,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:53:43] local.INFO: Processing buffer {"connection_id":122439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:53:43] local.INFO: Packet analysis {"connection_id":122439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:53:43] local.INFO: Extracted packet for processing {"connection_id":122439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:53:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504645632001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783221573000,"timestamp_ms":1783221573000,"timestamp_seconds":1783221573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3049d588"} 
[2026-07-05 08:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:53: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-07-05 08:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504645632001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504645632001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:53:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504645632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":122439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:53:43] local.INFO: GPS data processed {"connection_id":122439,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:53:43] local.INFO: Acknowledgment sent {"connection_id":122439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:54:05] local.INFO: TCP Data received {"connection_id":122386,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:54:05] local.INFO: Processing buffer {"connection_id":122386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:54:05] local.INFO: IMEI packet received {"connection_id":122386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":122386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:54:11] local.INFO: TCP Data received {"connection_id":122386,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:54:11] local.INFO: Processing buffer {"connection_id":122386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:54:11] local.INFO: IMEI packet received {"connection_id":122386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":122386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:54:12] local.INFO: TCP Data received {"connection_id":122386,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:54:12] local.INFO: Processing buffer {"connection_id":122386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:54:12] local.INFO: Packet analysis {"connection_id":122386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:54:12] local.INFO: Extracted packet for processing {"connection_id":122386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:54:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504645632001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783221573000,"timestamp_ms":1783221573000,"timestamp_seconds":1783221573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3049d588"} 
[2026-07-05 08:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504645632001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504645632001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:54:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504645632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":122386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:54:12] local.INFO: GPS data processed {"connection_id":122386,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:54:12] local.INFO: Acknowledgment sent {"connection_id":122386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:54:43] local.INFO: TCP Data received {"connection_id":122386,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:54:43] local.INFO: Processing buffer {"connection_id":122386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:54:43] local.INFO: Packet analysis {"connection_id":122386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:54:43] local.INFO: Extracted packet for processing {"connection_id":122386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:54:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504645632001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783221573000,"timestamp_ms":1783221573000,"timestamp_seconds":1783221573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3049d588"} 
[2026-07-05 08:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:54: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-07-05 08:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:54: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-07-05 08:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504645632001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504645632001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:54:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504645632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":122386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:54:43] local.INFO: GPS data processed {"connection_id":122386,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:54:43] local.INFO: Acknowledgment sent {"connection_id":122386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:55:05] local.INFO: TCP Data received {"connection_id":124359,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:55:05] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:55:05] local.INFO: IMEI packet received {"connection_id":124359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":124359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:55:11] local.INFO: TCP Data received {"connection_id":124359,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:55:11] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:55:11] local.INFO: IMEI packet received {"connection_id":124359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":124359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:55:11] local.INFO: TCP Data received {"connection_id":124359,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:55:11] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3049d588012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:55:11] local.INFO: Packet analysis {"connection_id":124359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:55:11] local.INFO: Extracted packet for processing {"connection_id":124359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3049"} 
[2026-07-05 08:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504645632001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783221573000,"timestamp_ms":1783221573000,"timestamp_seconds":1783221573,"priority":1,"record_length":96,"hex_timestamp":"0000019f3049d588"} 
[2026-07-05 08:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:55: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-07-05 08:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504645632001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504645632001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:55:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504645632001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":124359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:55:12] local.INFO: GPS data processed {"connection_id":124359,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:55:12] local.INFO: Acknowledgment sent {"connection_id":124359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:55:20] local.INFO: TCP Data received {"connection_id":124358,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:55:20] local.INFO: Processing buffer {"connection_id":124358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:55:20] local.INFO: IMEI packet received {"connection_id":124358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":124358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:55:42] local.INFO: TCP Data received {"connection_id":124359,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:55:42] local.INFO: Processing buffer {"connection_id":124359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:55:42] local.INFO: Packet analysis {"connection_id":124359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:55:42] local.INFO: Extracted packet for processing {"connection_id":124359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504722688001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783221873000,"timestamp_ms":1783221873000,"timestamp_seconds":1783221873,"priority":1,"record_length":96,"hex_timestamp":"0000019f304e6968"} 
[2026-07-05 08:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:55: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-07-05 08:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504722688001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504722688001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:55:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504722688001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":124359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:55:42] local.INFO: GPS data processed {"connection_id":124359,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:55:42] local.INFO: Acknowledgment sent {"connection_id":124359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:56:05] local.INFO: TCP Data received {"connection_id":124360,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:56:05] local.INFO: Processing buffer {"connection_id":124360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:56:05] local.INFO: IMEI packet received {"connection_id":124360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":124360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:56:06] local.INFO: TCP Data received {"connection_id":122440,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:56:06] local.INFO: Processing buffer {"connection_id":122440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:56:06] local.INFO: IMEI packet received {"connection_id":122440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":122440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:56:10] local.INFO: TCP Data received {"connection_id":124360,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:56:10] local.INFO: Processing buffer {"connection_id":124360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:56:10] local.INFO: IMEI packet received {"connection_id":124360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 08:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":124360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:56:11] local.INFO: TCP Data received {"connection_id":122440,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:56:11] local.INFO: Processing buffer {"connection_id":122440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:56:11] local.INFO: IMEI packet received {"connection_id":122440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":122440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:56:11] local.INFO: TCP Data received {"connection_id":124360,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f30395ac8012cb2a10007823b38004400c12a..."} 
[2026-07-05 08:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30395ac8012cb2a10007823b38004400c12a..."} 
[2026-07-05 08:56:11] local.INFO: Processing buffer {"connection_id":124360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30395ac8012cb2a10007823b38004400c12a..."} 
[2026-07-05 08:56:11] local.INFO: Packet analysis {"connection_id":124360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3039"} 
[2026-07-05 08:56:11] local.INFO: Extracted packet for processing {"connection_id":124360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3039"} 
[2026-07-05 08:56:11] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":68,"angle":193,"satellites":42,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 08:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504369152001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 08:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 08:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783220493000,"timestamp_ms":1783220493000,"timestamp_seconds":1783220493,"priority":1,"record_length":96,"hex_timestamp":"0000019f30395ac8"} 
[2026-07-05 08:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 08:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 08:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 08:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 08:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 08:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504369152001,"66":25419,"221":206,"85":36864,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 08:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 08:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504369152001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:56:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 08:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504369152001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 08:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":124360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:56:11] local.INFO: GPS data processed {"connection_id":124360,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:56:11] local.INFO: Acknowledgment sent {"connection_id":124360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:56:12] local.INFO: TCP Data received {"connection_id":122440,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:56:12] local.INFO: Processing buffer {"connection_id":122440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:56:12] local.INFO: Packet analysis {"connection_id":122440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:56:12] local.INFO: Extracted packet for processing {"connection_id":122440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:56:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504722688001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783221873000,"timestamp_ms":1783221873000,"timestamp_seconds":1783221873,"priority":1,"record_length":96,"hex_timestamp":"0000019f304e6968"} 
[2026-07-05 08:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504722688001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504722688001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:56:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:56:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504722688001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":122440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:56:12] local.INFO: GPS data processed {"connection_id":122440,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:56:12] local.INFO: Acknowledgment sent {"connection_id":122440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:56:43] local.INFO: TCP Data received {"connection_id":122440,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:56:43] local.INFO: Processing buffer {"connection_id":122440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:56:43] local.INFO: Packet analysis {"connection_id":122440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:56:43] local.INFO: Extracted packet for processing {"connection_id":122440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:56:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504722688001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:56:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783221873000,"timestamp_ms":1783221873000,"timestamp_seconds":1783221873,"priority":1,"record_length":96,"hex_timestamp":"0000019f304e6968"} 
[2026-07-05 08:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:56: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-07-05 08:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504722688001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504722688001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:56:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:56:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504722688001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":122440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:56:43] local.INFO: GPS data processed {"connection_id":122440,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:56:43] local.INFO: Acknowledgment sent {"connection_id":122440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:56:55] local.INFO: TCP Data received {"connection_id":123172,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:56:55] local.INFO: Processing buffer {"connection_id":123172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 08:56:55] local.INFO: IMEI packet received {"connection_id":123172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 08:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":123172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:57:07] local.INFO: TCP Data received {"connection_id":122387,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:57:07] local.INFO: Processing buffer {"connection_id":122387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:57:07] local.INFO: IMEI packet received {"connection_id":122387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":122387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:57:11] local.INFO: TCP Data received {"connection_id":122387,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:57:11] local.INFO: Processing buffer {"connection_id":122387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:57:11] local.INFO: IMEI packet received {"connection_id":122387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":122387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:57:12] local.INFO: TCP Data received {"connection_id":122387,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:57:12] local.INFO: Processing buffer {"connection_id":122387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:57:12] local.INFO: Packet analysis {"connection_id":122387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:57:12] local.INFO: Extracted packet for processing {"connection_id":122387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:57:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504722688001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:57:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783221873000,"timestamp_ms":1783221873000,"timestamp_seconds":1783221873,"priority":1,"record_length":96,"hex_timestamp":"0000019f304e6968"} 
[2026-07-05 08:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504722688001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504722688001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:57:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:57:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504722688001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":122387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:57:12] local.INFO: GPS data processed {"connection_id":122387,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:57:12] local.INFO: Acknowledgment sent {"connection_id":122387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:57:44] local.INFO: TCP Data received {"connection_id":122387,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:57:44] local.INFO: Processing buffer {"connection_id":122387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:57:44] local.INFO: Packet analysis {"connection_id":122387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:57:44] local.INFO: Extracted packet for processing {"connection_id":122387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:57:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504722688001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:57:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783221873000,"timestamp_ms":1783221873000,"timestamp_seconds":1783221873,"priority":1,"record_length":96,"hex_timestamp":"0000019f304e6968"} 
[2026-07-05 08:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:57: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-07-05 08:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504722688001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504722688001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:57:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:57:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:57:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504722688001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":122387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:57:44] local.INFO: GPS data processed {"connection_id":122387,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:57:44] local.INFO: Acknowledgment sent {"connection_id":122387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:58:05] local.INFO: TCP Data received {"connection_id":122441,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:58:05] local.INFO: Processing buffer {"connection_id":122441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:58:05] local.INFO: IMEI packet received {"connection_id":122441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":122441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:58:11] local.INFO: TCP Data received {"connection_id":122441,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:58:11] local.INFO: Processing buffer {"connection_id":122441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:58:11] local.INFO: IMEI packet received {"connection_id":122441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":122441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:58:11] local.INFO: TCP Data received {"connection_id":122441,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:58:11] local.INFO: Processing buffer {"connection_id":122441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:58:11] local.INFO: Packet analysis {"connection_id":122441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:58:11] local.INFO: Extracted packet for processing {"connection_id":122441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504722688001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783221873000,"timestamp_ms":1783221873000,"timestamp_seconds":1783221873,"priority":1,"record_length":96,"hex_timestamp":"0000019f304e6968"} 
[2026-07-05 08:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:58: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-07-05 08:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504722688001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504722688001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504722688001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":122441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:58:11] local.INFO: GPS data processed {"connection_id":122441,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:58:11] local.INFO: Acknowledgment sent {"connection_id":122441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:58:43] local.INFO: TCP Data received {"connection_id":122441,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:58:43] local.INFO: Processing buffer {"connection_id":122441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:58:43] local.INFO: Packet analysis {"connection_id":122441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:58:43] local.INFO: Extracted packet for processing {"connection_id":122441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:58:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 08:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504722688001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:58:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783221873000,"timestamp_ms":1783221873000,"timestamp_seconds":1783221873,"priority":1,"record_length":96,"hex_timestamp":"0000019f304e6968"} 
[2026-07-05 08:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:58: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-07-05 08:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 08:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504722688001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504722688001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:58:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:58:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504722688001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":122441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:58:43] local.INFO: GPS data processed {"connection_id":122441,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:58:43] local.INFO: Acknowledgment sent {"connection_id":122441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:59:11] local.INFO: TCP Data received {"connection_id":123173,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:59:11] local.INFO: Processing buffer {"connection_id":123173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:59:11] local.INFO: IMEI packet received {"connection_id":123173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 08:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":123173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 08:59:16] local.INFO: TCP Data received {"connection_id":123173,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:59:16] local.INFO: Processing buffer {"connection_id":123173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 08:59:16] local.INFO: IMEI packet received {"connection_id":123173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 08:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":123173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 08:59:16] local.INFO: TCP Data received {"connection_id":123173,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:59:16] local.INFO: Processing buffer {"connection_id":123173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:59:16] local.INFO: Packet analysis {"connection_id":123173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:59:16] local.INFO: Extracted packet for processing {"connection_id":123173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:59:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504722688001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783221873000,"timestamp_ms":1783221873000,"timestamp_seconds":1783221873,"priority":1,"record_length":96,"hex_timestamp":"0000019f304e6968"} 
[2026-07-05 08:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504722688001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504722688001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:59:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504722688001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":123173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:59:16] local.INFO: GPS data processed {"connection_id":123173,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:59:16] local.INFO: Acknowledgment sent {"connection_id":123173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 08:59:21] local.INFO: TCP Data received {"connection_id":123173,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:59:21] local.INFO: Processing buffer {"connection_id":123173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 08:59:21] local.INFO: Packet analysis {"connection_id":123173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:59:21] local.INFO: Extracted packet for processing {"connection_id":123173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 08:59:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 08: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-07-05 08:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504722688001,"note":"Value kept but may cause issues"} 
[2026-07-05 08:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 08:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 08:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 08:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783221873000,"timestamp_ms":1783221873000,"timestamp_seconds":1783221873,"priority":1,"record_length":96,"hex_timestamp":"0000019f304e6968"} 
[2026-07-05 08:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 08:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 08:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 08: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-07-05 08:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 08:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 08:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 08:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 08:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 08:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 08:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 08:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504722688001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 08:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 08:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 08:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504722688001,"description":"Unknown IO ID 0"} 
[2026-07-05 08:59:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 08:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 08:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 08:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 08:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504722688001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 08:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":123173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 08:59:21] local.INFO: GPS data processed {"connection_id":123173,"processed":1,"errors":0,"total":1} 
[2026-07-05 08:59:21] local.INFO: Acknowledgment sent {"connection_id":123173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:00:06] local.INFO: TCP Data received {"connection_id":122442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:00:06] local.INFO: Processing buffer {"connection_id":122442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:00:06] local.INFO: IMEI packet received {"connection_id":122442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":122442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:00:11] local.INFO: TCP Data received {"connection_id":122442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:00:11] local.INFO: Processing buffer {"connection_id":122442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:00:11] local.INFO: IMEI packet received {"connection_id":122442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":122442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:00:11] local.INFO: TCP Data received {"connection_id":122442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:00:11] local.INFO: Processing buffer {"connection_id":122442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f304e6968012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:00:11] local.INFO: Packet analysis {"connection_id":122442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 09:00:11] local.INFO: Extracted packet for processing {"connection_id":122442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f304e"} 
[2026-07-05 09:00:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504722688001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783221873000,"timestamp_ms":1783221873000,"timestamp_seconds":1783221873,"priority":1,"record_length":96,"hex_timestamp":"0000019f304e6968"} 
[2026-07-05 09:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:00: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-07-05 09:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504722688001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504722688001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:00:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504722688001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":122442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:00:11] local.INFO: GPS data processed {"connection_id":122442,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:00:11] local.INFO: Acknowledgment sent {"connection_id":122442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:00:43] local.INFO: TCP Data received {"connection_id":122442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:00:43] local.INFO: Processing buffer {"connection_id":122442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:00:43] local.INFO: Packet analysis {"connection_id":122442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:00:43] local.INFO: Extracted packet for processing {"connection_id":122442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:00:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504799488001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783222174000,"timestamp_ms":1783222174000,"timestamp_seconds":1783222174,"priority":1,"record_length":96,"hex_timestamp":"0000019f30530130"} 
[2026-07-05 09:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:00: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-07-05 09:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504799488001,"66":24930,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504799488001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:00:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504799488001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":122442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:00:43] local.INFO: GPS data processed {"connection_id":122442,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:00:43] local.INFO: Acknowledgment sent {"connection_id":122442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:01:05] local.INFO: TCP Data received {"connection_id":122388,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:01:05] local.INFO: Processing buffer {"connection_id":122388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:01:05] local.INFO: IMEI packet received {"connection_id":122388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":122388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:01:11] local.INFO: TCP Data received {"connection_id":122388,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:01:11] local.INFO: Processing buffer {"connection_id":122388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:01:11] local.INFO: IMEI packet received {"connection_id":122388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":122388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:01:11] local.INFO: TCP Data received {"connection_id":122388,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:01:11] local.INFO: Processing buffer {"connection_id":122388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:01:11] local.INFO: Packet analysis {"connection_id":122388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:01:11] local.INFO: Extracted packet for processing {"connection_id":122388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504799488001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783222174000,"timestamp_ms":1783222174000,"timestamp_seconds":1783222174,"priority":1,"record_length":96,"hex_timestamp":"0000019f30530130"} 
[2026-07-05 09:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:01: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-07-05 09:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504799488001,"66":24930,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504799488001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504799488001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":122388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:01:11] local.INFO: GPS data processed {"connection_id":122388,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:01:11] local.INFO: Acknowledgment sent {"connection_id":122388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:01:43] local.INFO: TCP Data received {"connection_id":122388,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:01:43] local.INFO: Processing buffer {"connection_id":122388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:01:43] local.INFO: Packet analysis {"connection_id":122388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:01:43] local.INFO: Extracted packet for processing {"connection_id":122388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504799488001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:01:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783222174000,"timestamp_ms":1783222174000,"timestamp_seconds":1783222174,"priority":1,"record_length":96,"hex_timestamp":"0000019f30530130"} 
[2026-07-05 09:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:01: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-07-05 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504799488001,"66":24930,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504799488001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:01:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:01:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504799488001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":122388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:01:43] local.INFO: GPS data processed {"connection_id":122388,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:01:43] local.INFO: Acknowledgment sent {"connection_id":122388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:02:05] local.INFO: TCP Data received {"connection_id":122443,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:02:05] local.INFO: Processing buffer {"connection_id":122443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:02:05] local.INFO: IMEI packet received {"connection_id":122443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":122443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:02:11] local.INFO: TCP Data received {"connection_id":122443,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:02:11] local.INFO: Processing buffer {"connection_id":122443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:02:11] local.INFO: IMEI packet received {"connection_id":122443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":122443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:02:12] local.INFO: TCP Data received {"connection_id":122443,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:02:12] local.INFO: Processing buffer {"connection_id":122443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:02:12] local.INFO: Packet analysis {"connection_id":122443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:02:12] local.INFO: Extracted packet for processing {"connection_id":122443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504799488001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783222174000,"timestamp_ms":1783222174000,"timestamp_seconds":1783222174,"priority":1,"record_length":96,"hex_timestamp":"0000019f30530130"} 
[2026-07-05 09:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504799488001,"66":24930,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504799488001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:02:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504799488001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":122443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:02:12] local.INFO: GPS data processed {"connection_id":122443,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:02:12] local.INFO: Acknowledgment sent {"connection_id":122443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:02:30] local.INFO: TCP Data received {"connection_id":123175,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:02:30] local.INFO: Processing buffer {"connection_id":123175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:02:30] local.INFO: IMEI packet received {"connection_id":123175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":123175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:02:43] local.INFO: TCP Data received {"connection_id":122443,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:02:43] local.INFO: Processing buffer {"connection_id":122443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:02:43] local.INFO: Packet analysis {"connection_id":122443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:02:43] local.INFO: Extracted packet for processing {"connection_id":122443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:02:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504799488001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783222174000,"timestamp_ms":1783222174000,"timestamp_seconds":1783222174,"priority":1,"record_length":96,"hex_timestamp":"0000019f30530130"} 
[2026-07-05 09:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:02: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-07-05 09:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504799488001,"66":24930,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504799488001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:02:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504799488001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":122443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:02:43] local.INFO: GPS data processed {"connection_id":122443,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:02:43] local.INFO: Acknowledgment sent {"connection_id":122443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:03:05] local.INFO: TCP Data received {"connection_id":124364,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:03:05] local.INFO: Processing buffer {"connection_id":124364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:03:05] local.INFO: IMEI packet received {"connection_id":124364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:03:11] local.INFO: TCP Data received {"connection_id":123176,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:03:11] local.INFO: Processing buffer {"connection_id":123176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:03:11] local.INFO: IMEI packet received {"connection_id":123176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":123176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:03:16] local.INFO: TCP Data received {"connection_id":123176,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:03:16] local.INFO: Processing buffer {"connection_id":123176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:03:16] local.INFO: IMEI packet received {"connection_id":123176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":123176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:03:16] local.INFO: TCP Data received {"connection_id":123176,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:03:16] local.INFO: Processing buffer {"connection_id":123176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:03:16] local.INFO: Packet analysis {"connection_id":123176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:03:16] local.INFO: Extracted packet for processing {"connection_id":123176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:03:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504799488001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:03:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783222174000,"timestamp_ms":1783222174000,"timestamp_seconds":1783222174,"priority":1,"record_length":96,"hex_timestamp":"0000019f30530130"} 
[2026-07-05 09:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504799488001,"66":24930,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504799488001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:03:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:03:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504799488001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":123176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:03:16] local.INFO: GPS data processed {"connection_id":123176,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:03:16] local.INFO: Acknowledgment sent {"connection_id":123176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:03:21] local.INFO: TCP Data received {"connection_id":123176,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:03:21] local.INFO: Processing buffer {"connection_id":123176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:03:21] local.INFO: Packet analysis {"connection_id":123176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:03:21] local.INFO: Extracted packet for processing {"connection_id":123176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:03:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 09:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504799488001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783222174000,"timestamp_ms":1783222174000,"timestamp_seconds":1783222174,"priority":1,"record_length":96,"hex_timestamp":"0000019f30530130"} 
[2026-07-05 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-07-05 09:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 09:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504799488001,"66":24930,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504799488001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:03:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:03:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504799488001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":123176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:03:21] local.INFO: GPS data processed {"connection_id":123176,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:03:21] local.INFO: Acknowledgment sent {"connection_id":123176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:04:06] local.INFO: TCP Data received {"connection_id":122444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:04:06] local.INFO: Processing buffer {"connection_id":122444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:04:06] local.INFO: IMEI packet received {"connection_id":122444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":122444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:04:11] local.INFO: TCP Data received {"connection_id":122444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:04:11] local.INFO: Processing buffer {"connection_id":122444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:04:11] local.INFO: IMEI packet received {"connection_id":122444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":122444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:04:11] local.INFO: TCP Data received {"connection_id":122444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:04:11] local.INFO: Processing buffer {"connection_id":122444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:04:11] local.INFO: Packet analysis {"connection_id":122444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:04:11] local.INFO: Extracted packet for processing {"connection_id":122444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:04:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504799488001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783222174000,"timestamp_ms":1783222174000,"timestamp_seconds":1783222174,"priority":1,"record_length":96,"hex_timestamp":"0000019f30530130"} 
[2026-07-05 09:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:04: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-07-05 09:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504799488001,"66":24930,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504799488001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:04:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504799488001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":122444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:04:11] local.INFO: GPS data processed {"connection_id":122444,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:04:11] local.INFO: Acknowledgment sent {"connection_id":122444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:04:43] local.INFO: TCP Data received {"connection_id":122444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:04:43] local.INFO: Processing buffer {"connection_id":122444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:04:43] local.INFO: Packet analysis {"connection_id":122444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:04:43] local.INFO: Extracted packet for processing {"connection_id":122444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:04:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504799488001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783222174000,"timestamp_ms":1783222174000,"timestamp_seconds":1783222174,"priority":1,"record_length":96,"hex_timestamp":"0000019f30530130"} 
[2026-07-05 09:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:04: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-07-05 09:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504799488001,"66":24930,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504799488001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:04:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504799488001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":122444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:04:43] local.INFO: GPS data processed {"connection_id":122444,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:04:43] local.INFO: Acknowledgment sent {"connection_id":122444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:05:06] local.INFO: TCP Data received {"connection_id":122390,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:05:06] local.INFO: Processing buffer {"connection_id":122390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:05:06] local.INFO: IMEI packet received {"connection_id":122390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":122390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:05:11] local.INFO: TCP Data received {"connection_id":122390,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:05:11] local.INFO: Processing buffer {"connection_id":122390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:05:11] local.INFO: IMEI packet received {"connection_id":122390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":122390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:05:12] local.INFO: TCP Data received {"connection_id":122390,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:05:12] local.INFO: Processing buffer {"connection_id":122390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30530130012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:05:12] local.INFO: Packet analysis {"connection_id":122390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:05:12] local.INFO: Extracted packet for processing {"connection_id":122390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3053"} 
[2026-07-05 09:05:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504799488001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783222174000,"timestamp_ms":1783222174000,"timestamp_seconds":1783222174,"priority":1,"record_length":96,"hex_timestamp":"0000019f30530130"} 
[2026-07-05 09:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504799488001,"66":24930,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504799488001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:05:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:05:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504799488001,"power":24930,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":122390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:05:12] local.INFO: GPS data processed {"connection_id":122390,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:05:12] local.INFO: Acknowledgment sent {"connection_id":122390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:05:43] local.INFO: TCP Data received {"connection_id":122390,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:05:43] local.INFO: Processing buffer {"connection_id":122390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:05:43] local.INFO: Packet analysis {"connection_id":122390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:05:43] local.INFO: Extracted packet for processing {"connection_id":122390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:05:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504876544001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783222475000,"timestamp_ms":1783222475000,"timestamp_seconds":1783222475,"priority":1,"record_length":96,"hex_timestamp":"0000019f305798f8"} 
[2026-07-05 09:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:05: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-07-05 09:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 09:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504876544001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504876544001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:05:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504876544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":122390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:05:43] local.INFO: GPS data processed {"connection_id":122390,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:05:43] local.INFO: Acknowledgment sent {"connection_id":122390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:06:11] local.INFO: TCP Data received {"connection_id":124366,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:06:11] local.INFO: Processing buffer {"connection_id":124366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:06:11] local.INFO: IMEI packet received {"connection_id":124366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":124366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:06:16] local.INFO: TCP Data received {"connection_id":124366,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:06:16] local.INFO: Processing buffer {"connection_id":124366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:06:16] local.INFO: IMEI packet received {"connection_id":124366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":124366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:06:16] local.INFO: TCP Data received {"connection_id":124366,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:06:16] local.INFO: Processing buffer {"connection_id":124366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:06:16] local.INFO: Packet analysis {"connection_id":124366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:06:16] local.INFO: Extracted packet for processing {"connection_id":124366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504876544001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:06:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783222475000,"timestamp_ms":1783222475000,"timestamp_seconds":1783222475,"priority":1,"record_length":96,"hex_timestamp":"0000019f305798f8"} 
[2026-07-05 09:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 09:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504876544001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504876544001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:06:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:06:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:06:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504876544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":124366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:06:16] local.INFO: GPS data processed {"connection_id":124366,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:06:16] local.INFO: Acknowledgment sent {"connection_id":124366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:06:21] local.INFO: TCP Data received {"connection_id":124366,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:06:21] local.INFO: Processing buffer {"connection_id":124366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:06:21] local.INFO: Packet analysis {"connection_id":124366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:06:21] local.INFO: Extracted packet for processing {"connection_id":124366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:06:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504876544001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783222475000,"timestamp_ms":1783222475000,"timestamp_seconds":1783222475,"priority":1,"record_length":96,"hex_timestamp":"0000019f305798f8"} 
[2026-07-05 09:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 09:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504876544001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504876544001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504876544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":124366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:06:21] local.INFO: GPS data processed {"connection_id":124366,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:06:21] local.INFO: Acknowledgment sent {"connection_id":124366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:07:06] local.INFO: TCP Data received {"connection_id":122445,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:07:06] local.INFO: Processing buffer {"connection_id":122445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:07:06] local.INFO: IMEI packet received {"connection_id":122445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":122445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:07:11] local.INFO: TCP Data received {"connection_id":122445,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:07:11] local.INFO: Processing buffer {"connection_id":122445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:07:11] local.INFO: IMEI packet received {"connection_id":122445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":122445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:07:11] local.INFO: TCP Data received {"connection_id":122445,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:07:11] local.INFO: Processing buffer {"connection_id":122445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:07:11] local.INFO: Packet analysis {"connection_id":122445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:07:11] local.INFO: Extracted packet for processing {"connection_id":122445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504876544001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783222475000,"timestamp_ms":1783222475000,"timestamp_seconds":1783222475,"priority":1,"record_length":96,"hex_timestamp":"0000019f305798f8"} 
[2026-07-05 09:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:07: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-07-05 09:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 09:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504876544001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504876544001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504876544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":122445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:07:11] local.INFO: GPS data processed {"connection_id":122445,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:07:11] local.INFO: Acknowledgment sent {"connection_id":122445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:07:43] local.INFO: TCP Data received {"connection_id":122445,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:07:43] local.INFO: Processing buffer {"connection_id":122445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:07:43] local.INFO: Packet analysis {"connection_id":122445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:07:43] local.INFO: Extracted packet for processing {"connection_id":122445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:07:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504876544001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:07:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783222475000,"timestamp_ms":1783222475000,"timestamp_seconds":1783222475,"priority":1,"record_length":96,"hex_timestamp":"0000019f305798f8"} 
[2026-07-05 09:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:07: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-07-05 09: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 09:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504876544001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504876544001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:07:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:07:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504876544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":122445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:07:43] local.INFO: GPS data processed {"connection_id":122445,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:07:43] local.INFO: Acknowledgment sent {"connection_id":122445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:08:06] local.INFO: TCP Data received {"connection_id":122447,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:08:06] local.INFO: Processing buffer {"connection_id":122447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:08:06] local.INFO: IMEI packet received {"connection_id":122447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":122447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:08:11] local.INFO: TCP Data received {"connection_id":122447,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:08:11] local.INFO: Processing buffer {"connection_id":122447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:08:11] local.INFO: IMEI packet received {"connection_id":122447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":122447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:08:14] local.INFO: TCP Data received {"connection_id":122447,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:08:14] local.INFO: Processing buffer {"connection_id":122447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:08:14] local.INFO: Packet analysis {"connection_id":122447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:08:14] local.INFO: Extracted packet for processing {"connection_id":122447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:08:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504876544001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:08:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783222475000,"timestamp_ms":1783222475000,"timestamp_seconds":1783222475,"priority":1,"record_length":96,"hex_timestamp":"0000019f305798f8"} 
[2026-07-05 09:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 09:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504876544001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504876544001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:08:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:08:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504876544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":122447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:08:14] local.INFO: GPS data processed {"connection_id":122447,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:08:14] local.INFO: Acknowledgment sent {"connection_id":122447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:08:35] local.INFO: TCP Data received {"connection_id":124367,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:08:35] local.INFO: Processing buffer {"connection_id":124367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:08:35] local.INFO: IMEI packet received {"connection_id":124367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":124367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:08:45] local.INFO: TCP Data received {"connection_id":122447,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:08:45] local.INFO: Processing buffer {"connection_id":122447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:08:45] local.INFO: Packet analysis {"connection_id":122447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:08:45] local.INFO: Extracted packet for processing {"connection_id":122447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:08:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504876544001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:08:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783222475000,"timestamp_ms":1783222475000,"timestamp_seconds":1783222475,"priority":1,"record_length":96,"hex_timestamp":"0000019f305798f8"} 
[2026-07-05 09:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 09:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504876544001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504876544001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:08:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:08:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:08:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504876544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":122447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:08:45] local.INFO: GPS data processed {"connection_id":122447,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:08:45] local.INFO: Acknowledgment sent {"connection_id":122447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:09:05] local.INFO: TCP Data received {"connection_id":123177,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:09:05] local.INFO: Processing buffer {"connection_id":123177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:09:05] local.INFO: IMEI packet received {"connection_id":123177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":123177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:09:05] local.INFO: TCP Data received {"connection_id":124368,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:09:05] local.INFO: Processing buffer {"connection_id":124368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:09:05] local.INFO: IMEI packet received {"connection_id":124368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":124368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:09:11] local.INFO: TCP Data received {"connection_id":124368,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:09:11] local.INFO: Processing buffer {"connection_id":124368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:09:11] local.INFO: IMEI packet received {"connection_id":124368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":124368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:09:11] local.INFO: TCP Data received {"connection_id":124368,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:09:11] local.INFO: Processing buffer {"connection_id":124368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:09:11] local.INFO: Packet analysis {"connection_id":124368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:09:11] local.INFO: Extracted packet for processing {"connection_id":124368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 09:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504876544001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783222475000,"timestamp_ms":1783222475000,"timestamp_seconds":1783222475,"priority":1,"record_length":96,"hex_timestamp":"0000019f305798f8"} 
[2026-07-05 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-07-05 09:09: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-07-05 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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 09:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 09:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504876544001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504876544001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504876544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":124368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:09:11] local.INFO: GPS data processed {"connection_id":124368,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:09:11] local.INFO: Acknowledgment sent {"connection_id":124368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:09:43] local.INFO: TCP Data received {"connection_id":124368,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:09:43] local.INFO: Processing buffer {"connection_id":124368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:09:43] local.INFO: Packet analysis {"connection_id":124368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:09:43] local.INFO: Extracted packet for processing {"connection_id":124368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:09:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504876544001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783222475000,"timestamp_ms":1783222475000,"timestamp_seconds":1783222475,"priority":1,"record_length":96,"hex_timestamp":"0000019f305798f8"} 
[2026-07-05 09:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:09: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-07-05 09: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 09:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504876544001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504876544001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:09:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504876544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":124368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:09:43] local.INFO: GPS data processed {"connection_id":124368,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:09:43] local.INFO: Acknowledgment sent {"connection_id":124368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:10:05] local.INFO: TCP Data received {"connection_id":122392,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:10:05] local.INFO: Processing buffer {"connection_id":122392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:10:05] local.INFO: IMEI packet received {"connection_id":122392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":122392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:10:11] local.INFO: TCP Data received {"connection_id":122392,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:10:11] local.INFO: Processing buffer {"connection_id":122392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:10:11] local.INFO: IMEI packet received {"connection_id":122392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":122392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:10:11] local.INFO: TCP Data received {"connection_id":122392,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:10:11] local.INFO: Processing buffer {"connection_id":122392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305798f8012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:10:11] local.INFO: Packet analysis {"connection_id":122392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:10:11] local.INFO: Extracted packet for processing {"connection_id":122392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3057"} 
[2026-07-05 09:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504876544001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783222475000,"timestamp_ms":1783222475000,"timestamp_seconds":1783222475,"priority":1,"record_length":96,"hex_timestamp":"0000019f305798f8"} 
[2026-07-05 09:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:10: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-07-05 09:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 09:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504876544001,"66":25299,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504876544001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:10:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504876544001,"power":25299,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":122392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:10:11] local.INFO: GPS data processed {"connection_id":122392,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:10:11] local.INFO: Acknowledgment sent {"connection_id":122392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:10:42] local.INFO: TCP Data received {"connection_id":122392,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:10:42] local.INFO: Processing buffer {"connection_id":122392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:10:42] local.INFO: Packet analysis {"connection_id":122392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:10:42] local.INFO: Extracted packet for processing {"connection_id":122392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504953600001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783222776000,"timestamp_ms":1783222776000,"timestamp_seconds":1783222776,"priority":1,"record_length":96,"hex_timestamp":"0000019f305c30c0"} 
[2026-07-05 09:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:10: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-07-05 09:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 09:10: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-07-05 09:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504953600001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504953600001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:10:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504953600001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":122392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:10:42] local.INFO: GPS data processed {"connection_id":122392,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:10:42] local.INFO: Acknowledgment sent {"connection_id":122392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:11:06] local.INFO: TCP Data received {"connection_id":122449,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:11:06] local.INFO: Processing buffer {"connection_id":122449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:11:06] local.INFO: IMEI packet received {"connection_id":122449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":122449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:11:11] local.INFO: TCP Data received {"connection_id":122449,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:11:11] local.INFO: Processing buffer {"connection_id":122449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:11:11] local.INFO: IMEI packet received {"connection_id":122449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":122449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:11:11] local.INFO: TCP Data received {"connection_id":122449,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:11:11] local.INFO: Processing buffer {"connection_id":122449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:11:11] local.INFO: Packet analysis {"connection_id":122449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:11:11] local.INFO: Extracted packet for processing {"connection_id":122449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504953600001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783222776000,"timestamp_ms":1783222776000,"timestamp_seconds":1783222776,"priority":1,"record_length":96,"hex_timestamp":"0000019f305c30c0"} 
[2026-07-05 09:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:11: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-07-05 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 09:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504953600001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504953600001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:11:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504953600001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":122449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:11:11] local.INFO: GPS data processed {"connection_id":122449,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:11:11] local.INFO: Acknowledgment sent {"connection_id":122449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:11:43] local.INFO: TCP Data received {"connection_id":122449,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:11:43] local.INFO: Processing buffer {"connection_id":122449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:11:43] local.INFO: Packet analysis {"connection_id":122449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:11:43] local.INFO: Extracted packet for processing {"connection_id":122449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:11:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504953600001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:11:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783222776000,"timestamp_ms":1783222776000,"timestamp_seconds":1783222776,"priority":1,"record_length":96,"hex_timestamp":"0000019f305c30c0"} 
[2026-07-05 09:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:11: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-07-05 09: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 09:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504953600001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504953600001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:11:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:11:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504953600001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":122449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:11:43] local.INFO: GPS data processed {"connection_id":122449,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:11:43] local.INFO: Acknowledgment sent {"connection_id":122449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:12:07] local.INFO: TCP Data received {"connection_id":124369,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:12:07] local.INFO: Processing buffer {"connection_id":124369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:12:07] local.INFO: IMEI packet received {"connection_id":124369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":124369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:12:11] local.INFO: TCP Data received {"connection_id":124369,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:12:11] local.INFO: Processing buffer {"connection_id":124369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:12:11] local.INFO: IMEI packet received {"connection_id":124369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":124369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:12:11] local.INFO: TCP Data received {"connection_id":124369,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:12:11] local.INFO: Processing buffer {"connection_id":124369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:12:11] local.INFO: Packet analysis {"connection_id":124369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:12:11] local.INFO: Extracted packet for processing {"connection_id":124369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:12:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504953600001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783222776000,"timestamp_ms":1783222776000,"timestamp_seconds":1783222776,"priority":1,"record_length":96,"hex_timestamp":"0000019f305c30c0"} 
[2026-07-05 09:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 09:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504953600001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504953600001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:12:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504953600001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":124369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:12:12] local.INFO: GPS data processed {"connection_id":124369,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:12:12] local.INFO: Acknowledgment sent {"connection_id":124369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:12:43] local.INFO: TCP Data received {"connection_id":124369,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:12:43] local.INFO: Processing buffer {"connection_id":124369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:12:43] local.INFO: Packet analysis {"connection_id":124369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:12:43] local.INFO: Extracted packet for processing {"connection_id":124369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:12:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:12: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-07-05 09:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504953600001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783222776000,"timestamp_ms":1783222776000,"timestamp_seconds":1783222776,"priority":1,"record_length":96,"hex_timestamp":"0000019f305c30c0"} 
[2026-07-05 09:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:12: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-07-05 09:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 09:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:12: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-07-05 09:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504953600001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504953600001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:12:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:12:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504953600001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":124369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:12:43] local.INFO: GPS data processed {"connection_id":124369,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:12:43] local.INFO: Acknowledgment sent {"connection_id":124369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:13:05] local.INFO: TCP Data received {"connection_id":122394,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:13:05] local.INFO: Processing buffer {"connection_id":122394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:13:05] local.INFO: IMEI packet received {"connection_id":122394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":122394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:13:11] local.INFO: TCP Data received {"connection_id":122394,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:13:11] local.INFO: Processing buffer {"connection_id":122394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:13:11] local.INFO: IMEI packet received {"connection_id":122394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":122394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:13:11] local.INFO: TCP Data received {"connection_id":122394,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:13:11] local.INFO: Processing buffer {"connection_id":122394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:13:11] local.INFO: Packet analysis {"connection_id":122394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:13:11] local.INFO: Extracted packet for processing {"connection_id":122394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:13: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-07-05 09:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504953600001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783222776000,"timestamp_ms":1783222776000,"timestamp_seconds":1783222776,"priority":1,"record_length":96,"hex_timestamp":"0000019f305c30c0"} 
[2026-07-05 09:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:13: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-07-05 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 09:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504953600001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504953600001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504953600001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":122394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:13:11] local.INFO: GPS data processed {"connection_id":122394,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:13:11] local.INFO: Acknowledgment sent {"connection_id":122394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:13:43] local.INFO: TCP Data received {"connection_id":122394,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:13:43] local.INFO: Processing buffer {"connection_id":122394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:13:43] local.INFO: Packet analysis {"connection_id":122394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:13:43] local.INFO: Extracted packet for processing {"connection_id":122394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:13:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504953600001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:13:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783222776000,"timestamp_ms":1783222776000,"timestamp_seconds":1783222776,"priority":1,"record_length":96,"hex_timestamp":"0000019f305c30c0"} 
[2026-07-05 09:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:13: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-07-05 09:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 09:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504953600001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504953600001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:13:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:13:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:13:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504953600001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":122394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:13:43] local.INFO: GPS data processed {"connection_id":122394,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:13:43] local.INFO: Acknowledgment sent {"connection_id":122394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:14:05] local.INFO: TCP Data received {"connection_id":123179,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:14:05] local.INFO: Processing buffer {"connection_id":123179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:14:05] local.INFO: IMEI packet received {"connection_id":123179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":123179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:14:11] local.INFO: TCP Data received {"connection_id":123179,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:14:11] local.INFO: Processing buffer {"connection_id":123179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:14:11] local.INFO: IMEI packet received {"connection_id":123179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":123179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:14:11] local.INFO: TCP Data received {"connection_id":123179,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:14:11] local.INFO: Processing buffer {"connection_id":123179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:14:11] local.INFO: Packet analysis {"connection_id":123179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:14:11] local.INFO: Extracted packet for processing {"connection_id":123179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:14:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504953600001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783222776000,"timestamp_ms":1783222776000,"timestamp_seconds":1783222776,"priority":1,"record_length":96,"hex_timestamp":"0000019f305c30c0"} 
[2026-07-05 09:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:14: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-07-05 09: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 09:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504953600001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504953600001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:14:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504953600001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":123179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:14:11] local.INFO: GPS data processed {"connection_id":123179,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:14:11] local.INFO: Acknowledgment sent {"connection_id":123179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:14:20] local.INFO: TCP Data received {"connection_id":122451,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:14:20] local.INFO: Processing buffer {"connection_id":122451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:14:20] local.INFO: IMEI packet received {"connection_id":122451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":122451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:14:43] local.INFO: TCP Data received {"connection_id":123179,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:14:43] local.INFO: Processing buffer {"connection_id":123179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f305c30c0012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:14:43] local.INFO: Packet analysis {"connection_id":123179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:14:43] local.INFO: Extracted packet for processing {"connection_id":123179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f305c"} 
[2026-07-05 09:14:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456504953600001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:14:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783222776000,"timestamp_ms":1783222776000,"timestamp_seconds":1783222776,"priority":1,"record_length":96,"hex_timestamp":"0000019f305c30c0"} 
[2026-07-05 09:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:14: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-07-05 09:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 09:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456504953600001,"66":25288,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456504953600001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:14:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:14:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456504953600001,"power":25288,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":123179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:14:43] local.INFO: GPS data processed {"connection_id":123179,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:14:43] local.INFO: Acknowledgment sent {"connection_id":123179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:15:05] local.INFO: TCP Data received {"connection_id":124370,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:15:05] local.INFO: Processing buffer {"connection_id":124370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:15:05] local.INFO: IMEI packet received {"connection_id":124370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":124370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:15:11] local.INFO: TCP Data received {"connection_id":123180,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:15:11] local.INFO: Processing buffer {"connection_id":123180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:15:11] local.INFO: IMEI packet received {"connection_id":123180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":123180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:15:16] local.INFO: TCP Data received {"connection_id":123180,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:15:16] local.INFO: Processing buffer {"connection_id":123180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:15:16] local.INFO: IMEI packet received {"connection_id":123180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":123180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:15:17] local.INFO: TCP Data received {"connection_id":123180,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:15:17] local.INFO: Processing buffer {"connection_id":123180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:15:17] local.INFO: Packet analysis {"connection_id":123180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:15:17] local.INFO: Extracted packet for processing {"connection_id":123180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:15:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:15:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 09:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:15:17] 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-07-05 09:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:15:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:15:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:15:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":123180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:15:17] local.INFO: GPS data processed {"connection_id":123180,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:15:17] local.INFO: Acknowledgment sent {"connection_id":123180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:15:18] local.INFO: TCP Data received {"connection_id":123180,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:15:18] local.INFO: Processing buffer {"connection_id":123180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:15:18] local.INFO: Packet analysis {"connection_id":123180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:15:18] local.INFO: Extracted packet for processing {"connection_id":123180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:15:18] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:15:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 09:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":123180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":123180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":123180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:15:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:15:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:15:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":123180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:15:18] local.INFO: GPS data processed {"connection_id":123180,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:15:18] local.INFO: Acknowledgment sent {"connection_id":123180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:15:49] local.INFO: TCP Data received {"connection_id":123180,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:15:49] local.INFO: Processing buffer {"connection_id":123180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:15:49] local.INFO: Packet analysis {"connection_id":123180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:15:49] local.INFO: Extracted packet for processing {"connection_id":123180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:15:49] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 09:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:15:49] 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-07-05 09:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":123180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":123180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":123180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:15:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:15:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":123180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:15:49] local.INFO: GPS data processed {"connection_id":123180,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:15:49] local.INFO: Acknowledgment sent {"connection_id":123180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:16:07] local.INFO: TCP Data received {"connection_id":122395,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:16:08] local.INFO: Processing buffer {"connection_id":122395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:16:08] local.INFO: IMEI packet received {"connection_id":122395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":122395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:16:11] local.INFO: TCP Data received {"connection_id":122395,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:16:11] local.INFO: Processing buffer {"connection_id":122395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:16:11] local.INFO: IMEI packet received {"connection_id":122395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":122395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:16:12] local.INFO: TCP Data received {"connection_id":122395,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:16:12] local.INFO: Processing buffer {"connection_id":122395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:16:12] local.INFO: Packet analysis {"connection_id":122395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:16:12] local.INFO: Extracted packet for processing {"connection_id":122395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:16:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 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-07-05 09:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 09:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:16:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":122395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:16:12] local.INFO: GPS data processed {"connection_id":122395,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:16:12] local.INFO: Acknowledgment sent {"connection_id":122395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:16:43] local.INFO: TCP Data received {"connection_id":122395,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:16:43] local.INFO: Processing buffer {"connection_id":122395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:16:43] local.INFO: Packet analysis {"connection_id":122395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:16:43] local.INFO: Extracted packet for processing {"connection_id":122395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:16:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:16:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 09:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:16: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-07-05 09:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:16: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-07-05 09:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:16:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:16:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:16:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":122395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:16:43] local.INFO: GPS data processed {"connection_id":122395,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:16:43] local.INFO: Acknowledgment sent {"connection_id":122395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:17:05] local.INFO: TCP Data received {"connection_id":122453,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:17:05] local.INFO: Processing buffer {"connection_id":122453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:17:05] local.INFO: IMEI packet received {"connection_id":122453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":122453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:17:11] local.INFO: TCP Data received {"connection_id":122453,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:17:11] local.INFO: Processing buffer {"connection_id":122453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:17:11] local.INFO: IMEI packet received {"connection_id":122453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":122453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:17:14] local.INFO: TCP Data received {"connection_id":122453,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:17:14] local.INFO: Processing buffer {"connection_id":122453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:17:14] local.INFO: Packet analysis {"connection_id":122453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:17:14] local.INFO: Extracted packet for processing {"connection_id":122453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:17:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:17:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 09:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:17:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:17:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:17:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":122453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:17:14] local.INFO: GPS data processed {"connection_id":122453,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:17:14] local.INFO: Acknowledgment sent {"connection_id":122453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:17:45] local.INFO: TCP Data received {"connection_id":122453,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:17:45] local.INFO: Processing buffer {"connection_id":122453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:17:45] local.INFO: Packet analysis {"connection_id":122453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:17:45] local.INFO: Extracted packet for processing {"connection_id":122453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:17:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:17:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 09:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:17:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:17:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:17:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":122453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:17:45] local.INFO: GPS data processed {"connection_id":122453,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:17:45] local.INFO: Acknowledgment sent {"connection_id":122453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:18:05] local.INFO: TCP Data received {"connection_id":123181,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:18:05] local.INFO: Processing buffer {"connection_id":123181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:18:05] local.INFO: IMEI packet received {"connection_id":123181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":123181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:18:11] local.INFO: TCP Data received {"connection_id":123181,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:18:11] local.INFO: Processing buffer {"connection_id":123181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:18:11] local.INFO: IMEI packet received {"connection_id":123181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":123181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:18:11] local.INFO: TCP Data received {"connection_id":123181,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:18:11] local.INFO: Processing buffer {"connection_id":123181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:18:11] local.INFO: Packet analysis {"connection_id":123181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:18:11] local.INFO: Extracted packet for processing {"connection_id":123181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 09:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:18: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-07-05 09:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:18: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-07-05 09:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:18:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":123181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:18:11] local.INFO: GPS data processed {"connection_id":123181,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:18:11] local.INFO: Acknowledgment sent {"connection_id":123181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:18:43] local.INFO: TCP Data received {"connection_id":123181,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:18:43] local.INFO: Processing buffer {"connection_id":123181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:18:43] local.INFO: Packet analysis {"connection_id":123181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:18:43] local.INFO: Extracted packet for processing {"connection_id":123181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:18:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:18:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 09:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:18: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-07-05 09:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:18: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-07-05 09:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:18:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:18:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":123181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:18:43] local.INFO: GPS data processed {"connection_id":123181,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:18:43] local.INFO: Acknowledgment sent {"connection_id":123181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:19:11] local.INFO: TCP Data received {"connection_id":124373,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:19:11] local.INFO: Processing buffer {"connection_id":124373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:19:11] local.INFO: IMEI packet received {"connection_id":124373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":124373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:19:16] local.INFO: TCP Data received {"connection_id":124373,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:19:16] local.INFO: Processing buffer {"connection_id":124373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:19:16] local.INFO: IMEI packet received {"connection_id":124373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":124373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:19:16] local.INFO: TCP Data received {"connection_id":124373,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:19:16] local.INFO: Processing buffer {"connection_id":124373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:19:16] local.INFO: Packet analysis {"connection_id":124373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:19:16] local.INFO: Extracted packet for processing {"connection_id":124373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:19:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:19:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 09:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:19:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:19:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":124373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:19:17] local.INFO: GPS data processed {"connection_id":124373,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:19:17] local.INFO: Acknowledgment sent {"connection_id":124373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:19:21] local.INFO: TCP Data received {"connection_id":124373,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:19:21] local.INFO: Processing buffer {"connection_id":124373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:19:21] local.INFO: Packet analysis {"connection_id":124373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:19:21] local.INFO: Extracted packet for processing {"connection_id":124373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:19:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 09:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 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-07-05 09:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:19:21] 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-07-05 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-07-05 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-07-05 09:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:19:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":124373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:19:21] local.INFO: GPS data processed {"connection_id":124373,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:19:21] local.INFO: Acknowledgment sent {"connection_id":124373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:20:06] local.INFO: TCP Data received {"connection_id":122455,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:20:06] local.INFO: Processing buffer {"connection_id":122455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:20:06] local.INFO: IMEI packet received {"connection_id":122455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":122455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:20:11] local.INFO: TCP Data received {"connection_id":122455,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:20:11] local.INFO: Processing buffer {"connection_id":122455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:20:11] local.INFO: IMEI packet received {"connection_id":122455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":122455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:20:12] local.INFO: TCP Data received {"connection_id":122455,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:20:12] local.INFO: Processing buffer {"connection_id":122455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3060c888012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:20:12] local.INFO: Packet analysis {"connection_id":122455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:20:12] local.INFO: Extracted packet for processing {"connection_id":122455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3060"} 
[2026-07-05 09:20:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 09:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505030656001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783223077000,"timestamp_ms":1783223077000,"timestamp_seconds":1783223077,"priority":1,"record_length":96,"hex_timestamp":"0000019f3060c888"} 
[2026-07-05 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-07-05 09:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 09:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 09:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505030656001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505030656001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:20:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:20:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505030656001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":122455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:20:12] local.INFO: GPS data processed {"connection_id":122455,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:20:12] local.INFO: Acknowledgment sent {"connection_id":122455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:20:20] local.INFO: TCP Data received {"connection_id":123182,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:20:20] local.INFO: Processing buffer {"connection_id":123182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:20:20] local.INFO: IMEI packet received {"connection_id":123182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":123182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:20:43] local.INFO: TCP Data received {"connection_id":122455,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:20:43] local.INFO: Processing buffer {"connection_id":122455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:20:43] local.INFO: Packet analysis {"connection_id":122455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:20:43] local.INFO: Extracted packet for processing {"connection_id":122455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:20:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505107712001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:20:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223378000,"timestamp_ms":1783223378000,"timestamp_seconds":1783223378,"priority":1,"record_length":96,"hex_timestamp":"0000019f30656050"} 
[2026-07-05 09:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:20: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-07-05 09:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:20: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-07-05 09:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505107712001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505107712001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:20:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:20:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505107712001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":122455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:20:43] local.INFO: GPS data processed {"connection_id":122455,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:20:43] local.INFO: Acknowledgment sent {"connection_id":122455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:21:05] local.INFO: TCP Data received {"connection_id":122397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:21:05] local.INFO: Processing buffer {"connection_id":122397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:21:05] local.INFO: IMEI packet received {"connection_id":122397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":122397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:21:05] local.INFO: TCP Data received {"connection_id":124374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:21:05] local.INFO: Processing buffer {"connection_id":124374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:21:05] local.INFO: IMEI packet received {"connection_id":124374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":124374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:21:11] local.INFO: TCP Data received {"connection_id":122397,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:21:11] local.INFO: Processing buffer {"connection_id":122397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:21:11] local.INFO: IMEI packet received {"connection_id":122397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":122397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:21:12] local.INFO: TCP Data received {"connection_id":122397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:21:12] local.INFO: Processing buffer {"connection_id":122397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:21:12] local.INFO: Packet analysis {"connection_id":122397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:21:12] local.INFO: Extracted packet for processing {"connection_id":122397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:21:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505107712001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783223378000,"timestamp_ms":1783223378000,"timestamp_seconds":1783223378,"priority":1,"record_length":96,"hex_timestamp":"0000019f30656050"} 
[2026-07-05 09:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505107712001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505107712001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:21:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:21:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505107712001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":122397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:21:12] local.INFO: GPS data processed {"connection_id":122397,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:21:12] local.INFO: Acknowledgment sent {"connection_id":122397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:21:43] local.INFO: TCP Data received {"connection_id":122397,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:21:43] local.INFO: Processing buffer {"connection_id":122397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:21:43] local.INFO: Packet analysis {"connection_id":122397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:21:43] local.INFO: Extracted packet for processing {"connection_id":122397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:21:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505107712001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:21:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223378000,"timestamp_ms":1783223378000,"timestamp_seconds":1783223378,"priority":1,"record_length":96,"hex_timestamp":"0000019f30656050"} 
[2026-07-05 09:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:21: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-07-05 09:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:21: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-07-05 09:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505107712001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505107712001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:21:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:21:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505107712001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":122397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:21:43] local.INFO: GPS data processed {"connection_id":122397,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:21:43] local.INFO: Acknowledgment sent {"connection_id":122397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:22:05] local.INFO: TCP Data received {"connection_id":122399,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:22:05] local.INFO: Processing buffer {"connection_id":122399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:22:05] local.INFO: IMEI packet received {"connection_id":122399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":122399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:22:11] local.INFO: TCP Data received {"connection_id":122399,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:22:11] local.INFO: Processing buffer {"connection_id":122399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:22:11] local.INFO: IMEI packet received {"connection_id":122399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":122399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:22:12] local.INFO: TCP Data received {"connection_id":122399,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:22:12] local.INFO: Processing buffer {"connection_id":122399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:22:12] local.INFO: Packet analysis {"connection_id":122399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:22:12] local.INFO: Extracted packet for processing {"connection_id":122399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505107712001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783223378000,"timestamp_ms":1783223378000,"timestamp_seconds":1783223378,"priority":1,"record_length":96,"hex_timestamp":"0000019f30656050"} 
[2026-07-05 09:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505107712001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505107712001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:22:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505107712001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":122399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:22:12] local.INFO: GPS data processed {"connection_id":122399,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:22:12] local.INFO: Acknowledgment sent {"connection_id":122399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:22:43] local.INFO: TCP Data received {"connection_id":122399,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:22:43] local.INFO: Processing buffer {"connection_id":122399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:22:43] local.INFO: Packet analysis {"connection_id":122399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:22:43] local.INFO: Extracted packet for processing {"connection_id":122399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:22:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505107712001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:22:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223378000,"timestamp_ms":1783223378000,"timestamp_seconds":1783223378,"priority":1,"record_length":96,"hex_timestamp":"0000019f30656050"} 
[2026-07-05 09:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505107712001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505107712001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:22:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:22:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505107712001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":122399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:22:43] local.INFO: GPS data processed {"connection_id":122399,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:22:43] local.INFO: Acknowledgment sent {"connection_id":122399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:23:11] local.INFO: TCP Data received {"connection_id":123183,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:23:11] local.INFO: Processing buffer {"connection_id":123183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:23:11] local.INFO: IMEI packet received {"connection_id":123183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":123183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:23:16] local.INFO: TCP Data received {"connection_id":123183,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:23:16] local.INFO: Processing buffer {"connection_id":123183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:23:16] local.INFO: IMEI packet received {"connection_id":123183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":123183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:23:17] local.INFO: TCP Data received {"connection_id":123183,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:23:17] local.INFO: Processing buffer {"connection_id":123183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:23:17] local.INFO: Packet analysis {"connection_id":123183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:23:17] local.INFO: Extracted packet for processing {"connection_id":123183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:23:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505107712001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:23:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783223378000,"timestamp_ms":1783223378000,"timestamp_seconds":1783223378,"priority":1,"record_length":96,"hex_timestamp":"0000019f30656050"} 
[2026-07-05 09:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505107712001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505107712001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:23:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:23:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505107712001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":123183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:23:17] local.INFO: GPS data processed {"connection_id":123183,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:23:17] local.INFO: Acknowledgment sent {"connection_id":123183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:23:21] local.INFO: TCP Data received {"connection_id":123183,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:23:21] local.INFO: Processing buffer {"connection_id":123183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:23:21] local.INFO: Packet analysis {"connection_id":123183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:23:21] local.INFO: Extracted packet for processing {"connection_id":123183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:23:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505107712001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783223378000,"timestamp_ms":1783223378000,"timestamp_seconds":1783223378,"priority":1,"record_length":96,"hex_timestamp":"0000019f30656050"} 
[2026-07-05 09:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505107712001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505107712001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:23:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505107712001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":123183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:23:21] local.INFO: GPS data processed {"connection_id":123183,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:23:21] local.INFO: Acknowledgment sent {"connection_id":123183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:24:06] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:24:06] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:24:06] local.INFO: IMEI packet received {"connection_id":124377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":124377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:24:11] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:24:11] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:24:11] local.INFO: IMEI packet received {"connection_id":124377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":124377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:24:12] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:24:12] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:24:12] local.INFO: Packet analysis {"connection_id":124377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:24:12] local.INFO: Extracted packet for processing {"connection_id":124377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:24:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505107712001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783223378000,"timestamp_ms":1783223378000,"timestamp_seconds":1783223378,"priority":1,"record_length":96,"hex_timestamp":"0000019f30656050"} 
[2026-07-05 09:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505107712001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505107712001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:24:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:24:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505107712001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":124377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:24:12] local.INFO: GPS data processed {"connection_id":124377,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:24:12] local.INFO: Acknowledgment sent {"connection_id":124377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:24:43] local.INFO: TCP Data received {"connection_id":124377,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:24:43] local.INFO: Processing buffer {"connection_id":124377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:24:43] local.INFO: Packet analysis {"connection_id":124377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:24:43] local.INFO: Extracted packet for processing {"connection_id":124377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:24:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505107712001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223378000,"timestamp_ms":1783223378000,"timestamp_seconds":1783223378,"priority":1,"record_length":96,"hex_timestamp":"0000019f30656050"} 
[2026-07-05 09:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:24: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-07-05 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:24: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-07-05 09: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-07-05 09:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505107712001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505107712001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:24:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505107712001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":124377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:24:43] local.INFO: GPS data processed {"connection_id":124377,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:24:43] local.INFO: Acknowledgment sent {"connection_id":124377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:25:06] local.INFO: TCP Data received {"connection_id":122400,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:25:06] local.INFO: Processing buffer {"connection_id":122400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:25:06] local.INFO: IMEI packet received {"connection_id":122400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":122400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:25:11] local.INFO: TCP Data received {"connection_id":122400,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:25:11] local.INFO: Processing buffer {"connection_id":122400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:25:11] local.INFO: IMEI packet received {"connection_id":122400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":122400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:25:12] local.INFO: TCP Data received {"connection_id":122400,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:25:12] local.INFO: Processing buffer {"connection_id":122400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30656050012cb2a24007823a98004b013b2e..."} 
[2026-07-05 09:25:12] local.INFO: Packet analysis {"connection_id":122400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:25:12] local.INFO: Extracted packet for processing {"connection_id":122400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3065"} 
[2026-07-05 09:25:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 09:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505107712001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783223378000,"timestamp_ms":1783223378000,"timestamp_seconds":1783223378,"priority":1,"record_length":96,"hex_timestamp":"0000019f30656050"} 
[2026-07-05 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-07-05 09:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 09:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505107712001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505107712001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:25:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:25:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505107712001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":122400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:25:12] local.INFO: GPS data processed {"connection_id":122400,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:25:12] local.INFO: Acknowledgment sent {"connection_id":122400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:25:43] local.INFO: TCP Data received {"connection_id":122400,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:25:43] local.INFO: Processing buffer {"connection_id":122400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:25:43] local.INFO: Packet analysis {"connection_id":122400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:25:43] local.INFO: Extracted packet for processing {"connection_id":122400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:25:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505184768001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:25:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223679000,"timestamp_ms":1783223679000,"timestamp_seconds":1783223679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3069f818"} 
[2026-07-05 09:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:25: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-07-05 09:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505184768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505184768001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:25:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:25:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:25:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505184768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":122400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:25:43] local.INFO: GPS data processed {"connection_id":122400,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:25:43] local.INFO: Acknowledgment sent {"connection_id":122400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:26:11] local.INFO: TCP Data received {"connection_id":122458,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:26:11] local.INFO: Processing buffer {"connection_id":122458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:26:11] local.INFO: IMEI packet received {"connection_id":122458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":122458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:26:16] local.INFO: TCP Data received {"connection_id":122458,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:26:16] local.INFO: Processing buffer {"connection_id":122458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:26:16] local.INFO: IMEI packet received {"connection_id":122458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":122458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:26:17] local.INFO: TCP Data received {"connection_id":122458,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:26:17] local.INFO: Processing buffer {"connection_id":122458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:26:17] local.INFO: Packet analysis {"connection_id":122458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:26:17] local.INFO: Extracted packet for processing {"connection_id":122458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:26:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505184768001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:26:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783223679000,"timestamp_ms":1783223679000,"timestamp_seconds":1783223679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3069f818"} 
[2026-07-05 09:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505184768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505184768001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:26:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:26:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:26:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505184768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":122458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:26:17] local.INFO: GPS data processed {"connection_id":122458,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:26:17] local.INFO: Acknowledgment sent {"connection_id":122458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:26:21] local.INFO: TCP Data received {"connection_id":123184,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:26:21] local.INFO: Processing buffer {"connection_id":123184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:26:21] local.INFO: IMEI packet received {"connection_id":123184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":123184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:26:21] local.INFO: TCP Data received {"connection_id":122458,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:26:21] local.INFO: Processing buffer {"connection_id":122458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:26:21] local.INFO: Packet analysis {"connection_id":122458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:26:21] local.INFO: Extracted packet for processing {"connection_id":122458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505184768001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783223679000,"timestamp_ms":1783223679000,"timestamp_seconds":1783223679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3069f818"} 
[2026-07-05 09:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505184768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505184768001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505184768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":122458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:26:21] local.INFO: GPS data processed {"connection_id":122458,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:26:21] local.INFO: Acknowledgment sent {"connection_id":122458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:27:05] local.INFO: TCP Data received {"connection_id":124379,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:27:05] local.INFO: Processing buffer {"connection_id":124379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:27:05] local.INFO: IMEI packet received {"connection_id":124379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":124379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:27:06] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:27:06] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:27:06] local.INFO: IMEI packet received {"connection_id":124378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":124378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:27:11] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:27:11] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:27:11] local.INFO: IMEI packet received {"connection_id":124378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":124378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:27:12] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:27:12] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:27:12] local.INFO: Packet analysis {"connection_id":124378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:27:12] local.INFO: Extracted packet for processing {"connection_id":124378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:27:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505184768001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783223679000,"timestamp_ms":1783223679000,"timestamp_seconds":1783223679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3069f818"} 
[2026-07-05 09:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505184768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505184768001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:27:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:27:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505184768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":124378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:27:12] local.INFO: GPS data processed {"connection_id":124378,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:27:12] local.INFO: Acknowledgment sent {"connection_id":124378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:27:43] local.INFO: TCP Data received {"connection_id":124378,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:27:43] local.INFO: Processing buffer {"connection_id":124378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:27:43] local.INFO: Packet analysis {"connection_id":124378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:27:43] local.INFO: Extracted packet for processing {"connection_id":124378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:27:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505184768001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:27:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223679000,"timestamp_ms":1783223679000,"timestamp_seconds":1783223679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3069f818"} 
[2026-07-05 09:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:27: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-07-05 09:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505184768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505184768001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:27:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:27:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505184768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":124378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:27:43] local.INFO: GPS data processed {"connection_id":124378,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:27:43] local.INFO: Acknowledgment sent {"connection_id":124378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:28:06] local.INFO: TCP Data received {"connection_id":124380,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:28:06] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:28:06] local.INFO: IMEI packet received {"connection_id":124380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":124380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:28:11] local.INFO: TCP Data received {"connection_id":124380,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:28:11] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:28:11] local.INFO: IMEI packet received {"connection_id":124380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":124380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:28:11] local.INFO: TCP Data received {"connection_id":124380,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:28:11] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:28:11] local.INFO: Packet analysis {"connection_id":124380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:28:11] local.INFO: Extracted packet for processing {"connection_id":124380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505184768001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783223679000,"timestamp_ms":1783223679000,"timestamp_seconds":1783223679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3069f818"} 
[2026-07-05 09:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:28: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-07-05 09:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505184768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505184768001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:28:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505184768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":124380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:28:11] local.INFO: GPS data processed {"connection_id":124380,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:28:11] local.INFO: Acknowledgment sent {"connection_id":124380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:28:43] local.INFO: TCP Data received {"connection_id":124380,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:28:43] local.INFO: Processing buffer {"connection_id":124380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:28:43] local.INFO: Packet analysis {"connection_id":124380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:28:43] local.INFO: Extracted packet for processing {"connection_id":124380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:28:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505184768001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223679000,"timestamp_ms":1783223679000,"timestamp_seconds":1783223679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3069f818"} 
[2026-07-05 09:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:28: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-07-05 09:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:28: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-07-05 09:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505184768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505184768001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:28:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505184768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":124380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:28:43] local.INFO: GPS data processed {"connection_id":124380,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:28:43] local.INFO: Acknowledgment sent {"connection_id":124380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:29:07] local.INFO: TCP Data received {"connection_id":122401,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:29:07] local.INFO: Processing buffer {"connection_id":122401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:29:07] local.INFO: IMEI packet received {"connection_id":122401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":122401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:29:11] local.INFO: TCP Data received {"connection_id":122401,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:29:11] local.INFO: Processing buffer {"connection_id":122401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:29:11] local.INFO: IMEI packet received {"connection_id":122401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":122401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:29:11] local.INFO: TCP Data received {"connection_id":122401,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:29:11] local.INFO: Processing buffer {"connection_id":122401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:29:11] local.INFO: Packet analysis {"connection_id":122401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:29:11] local.INFO: Extracted packet for processing {"connection_id":122401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505184768001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783223679000,"timestamp_ms":1783223679000,"timestamp_seconds":1783223679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3069f818"} 
[2026-07-05 09:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:29: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-07-05 09:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505184768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505184768001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505184768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":122401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:29:12] local.INFO: GPS data processed {"connection_id":122401,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:29:12] local.INFO: Acknowledgment sent {"connection_id":122401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:29:43] local.INFO: TCP Data received {"connection_id":122401,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:29:43] local.INFO: Processing buffer {"connection_id":122401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:29:43] local.INFO: Packet analysis {"connection_id":122401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:29:43] local.INFO: Extracted packet for processing {"connection_id":122401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:29:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505184768001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223679000,"timestamp_ms":1783223679000,"timestamp_seconds":1783223679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3069f818"} 
[2026-07-05 09:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:29: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-07-05 09:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505184768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505184768001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:29:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505184768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":122401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:29:43] local.INFO: GPS data processed {"connection_id":122401,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:29:43] local.INFO: Acknowledgment sent {"connection_id":122401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:30:05] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:30:05] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:30:05] local.INFO: IMEI packet received {"connection_id":124382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":124382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:30:11] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:30:11] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:30:11] local.INFO: IMEI packet received {"connection_id":124382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":124382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:30:11] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:30:11] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3069f818012cb2a24007823a98004b013b2d..."} 
[2026-07-05 09:30:11] local.INFO: Packet analysis {"connection_id":124382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:30:11] local.INFO: Extracted packet for processing {"connection_id":124382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3069"} 
[2026-07-05 09:30:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505184768001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783223679000,"timestamp_ms":1783223679000,"timestamp_seconds":1783223679,"priority":1,"record_length":96,"hex_timestamp":"0000019f3069f818"} 
[2026-07-05 09:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:30: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-07-05 09:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505184768001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505184768001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:30:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505184768001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":124382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:30:11] local.INFO: GPS data processed {"connection_id":124382,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:30:11] local.INFO: Acknowledgment sent {"connection_id":124382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:30:42] local.INFO: TCP Data received {"connection_id":124382,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:30:42] local.INFO: Processing buffer {"connection_id":124382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:30:42] local.INFO: Packet analysis {"connection_id":124382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:30:42] local.INFO: Extracted packet for processing {"connection_id":124382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:30:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505261824001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783223980000,"timestamp_ms":1783223980000,"timestamp_seconds":1783223980,"priority":1,"record_length":96,"hex_timestamp":"0000019f306e8fe0"} 
[2026-07-05 09:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:30: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-07-05 09: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:30: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-07-05 09: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-07-05 09:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505261824001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505261824001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:30:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505261824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":124382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:30:42] local.INFO: GPS data processed {"connection_id":124382,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:30:42] local.INFO: Acknowledgment sent {"connection_id":124382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:31:06] local.INFO: TCP Data received {"connection_id":122461,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:31:06] local.INFO: Processing buffer {"connection_id":122461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:31:06] local.INFO: IMEI packet received {"connection_id":122461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":122461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:31:11] local.INFO: TCP Data received {"connection_id":122461,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:31:11] local.INFO: Processing buffer {"connection_id":122461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:31:11] local.INFO: IMEI packet received {"connection_id":122461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":122461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:31:11] local.INFO: TCP Data received {"connection_id":122461,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:31:11] local.INFO: Processing buffer {"connection_id":122461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:31:11] local.INFO: Packet analysis {"connection_id":122461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:31:11] local.INFO: Extracted packet for processing {"connection_id":122461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505261824001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:31:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783223980000,"timestamp_ms":1783223980000,"timestamp_seconds":1783223980,"priority":1,"record_length":96,"hex_timestamp":"0000019f306e8fe0"} 
[2026-07-05 09:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:31: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-07-05 09:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505261824001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505261824001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:31:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:31:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505261824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":122461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:31:11] local.INFO: GPS data processed {"connection_id":122461,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:31:11] local.INFO: Acknowledgment sent {"connection_id":122461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:31:43] local.INFO: TCP Data received {"connection_id":122461,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:31:43] local.INFO: Processing buffer {"connection_id":122461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:31:43] local.INFO: Packet analysis {"connection_id":122461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:31:43] local.INFO: Extracted packet for processing {"connection_id":122461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:31:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505261824001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:31:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223980000,"timestamp_ms":1783223980000,"timestamp_seconds":1783223980,"priority":1,"record_length":96,"hex_timestamp":"0000019f306e8fe0"} 
[2026-07-05 09:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:31: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-07-05 09:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505261824001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505261824001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:31:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:31:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505261824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":122461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:31:43] local.INFO: GPS data processed {"connection_id":122461,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:31:43] local.INFO: Acknowledgment sent {"connection_id":122461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:32:06] local.INFO: TCP Data received {"connection_id":124383,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:32:06] local.INFO: Processing buffer {"connection_id":124383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:32:06] local.INFO: IMEI packet received {"connection_id":124383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":124383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:32:14] local.INFO: TCP Data received {"connection_id":124383,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:32:14] local.INFO: Processing buffer {"connection_id":124383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:32:14] local.INFO: IMEI packet received {"connection_id":124383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":124383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:32:15] local.INFO: TCP Data received {"connection_id":124383,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:32:15] local.INFO: Processing buffer {"connection_id":124383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:32:15] local.INFO: Packet analysis {"connection_id":124383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:32:15] local.INFO: Extracted packet for processing {"connection_id":124383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:32:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505261824001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783223980000,"timestamp_ms":1783223980000,"timestamp_seconds":1783223980,"priority":1,"record_length":96,"hex_timestamp":"0000019f306e8fe0"} 
[2026-07-05 09:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505261824001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505261824001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:32:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:32:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505261824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":124383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:32:15] local.INFO: GPS data processed {"connection_id":124383,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:32:15] local.INFO: Acknowledgment sent {"connection_id":124383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:32:20] local.INFO: TCP Data received {"connection_id":124384,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:32:20] local.INFO: Processing buffer {"connection_id":124384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:32:20] local.INFO: IMEI packet received {"connection_id":124384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":124384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:32:47] local.INFO: TCP Data received {"connection_id":124383,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:32:47] local.INFO: Processing buffer {"connection_id":124383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:32:47] local.INFO: Packet analysis {"connection_id":124383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:32:47] local.INFO: Extracted packet for processing {"connection_id":124383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505261824001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783223980000,"timestamp_ms":1783223980000,"timestamp_seconds":1783223980,"priority":1,"record_length":96,"hex_timestamp":"0000019f306e8fe0"} 
[2026-07-05 09:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505261824001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505261824001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:32:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:32:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505261824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":124383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:32:47] local.INFO: GPS data processed {"connection_id":124383,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:32:47] local.INFO: Acknowledgment sent {"connection_id":124383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:33:05] local.INFO: TCP Data received {"connection_id":123186,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:33:05] local.INFO: Processing buffer {"connection_id":123186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:33:05] local.INFO: IMEI packet received {"connection_id":123186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":123186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:33:05] local.INFO: TCP Data received {"connection_id":122462,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:33:05] local.INFO: Processing buffer {"connection_id":122462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:33:05] local.INFO: IMEI packet received {"connection_id":122462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":122462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:33:11] local.INFO: TCP Data received {"connection_id":122462,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:33:11] local.INFO: Processing buffer {"connection_id":122462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:33:11] local.INFO: IMEI packet received {"connection_id":122462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":122462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:33:11] local.INFO: TCP Data received {"connection_id":122462,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:33:11] local.INFO: Processing buffer {"connection_id":122462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:33:11] local.INFO: Packet analysis {"connection_id":122462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:33:11] local.INFO: Extracted packet for processing {"connection_id":122462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505261824001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783223980000,"timestamp_ms":1783223980000,"timestamp_seconds":1783223980,"priority":1,"record_length":96,"hex_timestamp":"0000019f306e8fe0"} 
[2026-07-05 09:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:33: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-07-05 09:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505261824001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505261824001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505261824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":122462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:33:11] local.INFO: GPS data processed {"connection_id":122462,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:33:11] local.INFO: Acknowledgment sent {"connection_id":122462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:33:43] local.INFO: TCP Data received {"connection_id":122462,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:33:43] local.INFO: Processing buffer {"connection_id":122462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:33:43] local.INFO: Packet analysis {"connection_id":122462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:33:43] local.INFO: Extracted packet for processing {"connection_id":122462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:33:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505261824001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:33:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783223980000,"timestamp_ms":1783223980000,"timestamp_seconds":1783223980,"priority":1,"record_length":96,"hex_timestamp":"0000019f306e8fe0"} 
[2026-07-05 09:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:33: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-07-05 09:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:33: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-07-05 09:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505261824001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505261824001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:33:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:33:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505261824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":122462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:33:43] local.INFO: GPS data processed {"connection_id":122462,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:33:43] local.INFO: Acknowledgment sent {"connection_id":122462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:34:05] local.INFO: TCP Data received {"connection_id":122464,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:34:05] local.INFO: Processing buffer {"connection_id":122464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:34:05] local.INFO: IMEI packet received {"connection_id":122464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":122464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:34:11] local.INFO: TCP Data received {"connection_id":122464,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:34:11] local.INFO: Processing buffer {"connection_id":122464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:34:11] local.INFO: IMEI packet received {"connection_id":122464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":122464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:34:11] local.INFO: TCP Data received {"connection_id":122464,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:34:11] local.INFO: Processing buffer {"connection_id":122464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:34:11] local.INFO: Packet analysis {"connection_id":122464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:34:11] local.INFO: Extracted packet for processing {"connection_id":122464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:34:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505261824001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:34:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783223980000,"timestamp_ms":1783223980000,"timestamp_seconds":1783223980,"priority":1,"record_length":96,"hex_timestamp":"0000019f306e8fe0"} 
[2026-07-05 09:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:34: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-07-05 09:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505261824001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505261824001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:34:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:34:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505261824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":122464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:34:11] local.INFO: GPS data processed {"connection_id":122464,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:34:11] local.INFO: Acknowledgment sent {"connection_id":122464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:34:42] local.INFO: TCP Data received {"connection_id":122464,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:34:42] local.INFO: Processing buffer {"connection_id":122464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:34:42] local.INFO: Packet analysis {"connection_id":122464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:34:42] local.INFO: Extracted packet for processing {"connection_id":122464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505261824001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783223980000,"timestamp_ms":1783223980000,"timestamp_seconds":1783223980,"priority":1,"record_length":96,"hex_timestamp":"0000019f306e8fe0"} 
[2026-07-05 09:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:34: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-07-05 09:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:34: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-07-05 09:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505261824001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505261824001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:34:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505261824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":122464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:34:43] local.INFO: GPS data processed {"connection_id":122464,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:34:43] local.INFO: Acknowledgment sent {"connection_id":122464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:35:11] local.INFO: TCP Data received {"connection_id":123187,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:35:11] local.INFO: Processing buffer {"connection_id":123187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:35:11] local.INFO: IMEI packet received {"connection_id":123187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":123187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:35:15] local.INFO: TCP Data received {"connection_id":123187,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:35:15] local.INFO: Processing buffer {"connection_id":123187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:35:15] local.INFO: IMEI packet received {"connection_id":123187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":123187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:35:16] local.INFO: TCP Data received {"connection_id":123187,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:35:16] local.INFO: Processing buffer {"connection_id":123187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f306e8fe0012cb2a24007823a98004b013b2c..."} 
[2026-07-05 09:35:16] local.INFO: Packet analysis {"connection_id":123187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:35:16] local.INFO: Extracted packet for processing {"connection_id":123187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f306e"} 
[2026-07-05 09:35:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505261824001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:35:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783223980000,"timestamp_ms":1783223980000,"timestamp_seconds":1783223980,"priority":1,"record_length":96,"hex_timestamp":"0000019f306e8fe0"} 
[2026-07-05 09:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505261824001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505261824001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:35:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:35:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505261824001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":123187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:35:16] local.INFO: GPS data processed {"connection_id":123187,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:35:16] local.INFO: Acknowledgment sent {"connection_id":123187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:35:20] local.INFO: TCP Data received {"connection_id":123187,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:35:20] local.INFO: Processing buffer {"connection_id":123187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:35:20] local.INFO: Packet analysis {"connection_id":123187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:35:20] local.INFO: Extracted packet for processing {"connection_id":123187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505338880001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783224281000,"timestamp_ms":1783224281000,"timestamp_seconds":1783224281,"priority":1,"record_length":96,"hex_timestamp":"0000019f307327a8"} 
[2026-07-05 09:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505338880001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505338880001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:35:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505338880001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":123187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:35:20] local.INFO: GPS data processed {"connection_id":123187,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:35:20] local.INFO: Acknowledgment sent {"connection_id":123187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:36:06] local.INFO: TCP Data received {"connection_id":122403,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:36:06] local.INFO: Processing buffer {"connection_id":122403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:36:06] local.INFO: IMEI packet received {"connection_id":122403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":122403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:36:11] local.INFO: TCP Data received {"connection_id":122403,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:36:11] local.INFO: Processing buffer {"connection_id":122403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:36:11] local.INFO: IMEI packet received {"connection_id":122403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":122403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:36:12] local.INFO: TCP Data received {"connection_id":122403,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:36:12] local.INFO: Processing buffer {"connection_id":122403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:36:12] local.INFO: Packet analysis {"connection_id":122403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:36:12] local.INFO: Extracted packet for processing {"connection_id":122403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:36:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505338880001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783224281000,"timestamp_ms":1783224281000,"timestamp_seconds":1783224281,"priority":1,"record_length":96,"hex_timestamp":"0000019f307327a8"} 
[2026-07-05 09:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505338880001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505338880001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:36:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505338880001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":122403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:36:12] local.INFO: GPS data processed {"connection_id":122403,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:36:12] local.INFO: Acknowledgment sent {"connection_id":122403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:36:43] local.INFO: TCP Data received {"connection_id":122403,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:36:43] local.INFO: Processing buffer {"connection_id":122403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:36:43] local.INFO: Packet analysis {"connection_id":122403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:36:43] local.INFO: Extracted packet for processing {"connection_id":122403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:36:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505338880001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:36:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783224281000,"timestamp_ms":1783224281000,"timestamp_seconds":1783224281,"priority":1,"record_length":96,"hex_timestamp":"0000019f307327a8"} 
[2026-07-05 09:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:36: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-07-05 09:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:36: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-07-05 09:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505338880001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505338880001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:36:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:36:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505338880001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":122403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:36:43] local.INFO: GPS data processed {"connection_id":122403,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:36:43] local.INFO: Acknowledgment sent {"connection_id":122403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:37:35] local.INFO: TCP Data received {"connection_id":122404,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:37:35] local.INFO: Processing buffer {"connection_id":122404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:37:35] local.INFO: IMEI packet received {"connection_id":122404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":122404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:37:40] local.INFO: TCP Data received {"connection_id":122404,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:37:40] local.INFO: Processing buffer {"connection_id":122404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:37:40] local.INFO: IMEI packet received {"connection_id":122404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":122404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:37:42] local.INFO: TCP Data received {"connection_id":122404,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:37:42] local.INFO: Processing buffer {"connection_id":122404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:37:42] local.INFO: Packet analysis {"connection_id":122404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:37:42] local.INFO: Extracted packet for processing {"connection_id":122404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505338880001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783224281000,"timestamp_ms":1783224281000,"timestamp_seconds":1783224281,"priority":1,"record_length":96,"hex_timestamp":"0000019f307327a8"} 
[2026-07-05 09:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:37: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-07-05 09:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505338880001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505338880001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:37:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505338880001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":122404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:37:42] local.INFO: GPS data processed {"connection_id":122404,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:37:42] local.INFO: Acknowledgment sent {"connection_id":122404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:38:11] local.INFO: TCP Data received {"connection_id":123188,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:38:11] local.INFO: Processing buffer {"connection_id":123188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:38:11] local.INFO: IMEI packet received {"connection_id":123188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":123188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:38:15] local.INFO: TCP Data received {"connection_id":123188,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:38:15] local.INFO: Processing buffer {"connection_id":123188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:38:15] local.INFO: IMEI packet received {"connection_id":123188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":123188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:38:16] local.INFO: TCP Data received {"connection_id":123188,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:38:16] local.INFO: Processing buffer {"connection_id":123188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:38:16] local.INFO: Packet analysis {"connection_id":123188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:38:16] local.INFO: Extracted packet for processing {"connection_id":123188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:38:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505338880001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:38:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783224281000,"timestamp_ms":1783224281000,"timestamp_seconds":1783224281,"priority":1,"record_length":96,"hex_timestamp":"0000019f307327a8"} 
[2026-07-05 09:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505338880001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505338880001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:38:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:38:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:38:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505338880001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":123188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:38:16] local.INFO: GPS data processed {"connection_id":123188,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:38:16] local.INFO: Acknowledgment sent {"connection_id":123188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:38:21] local.INFO: TCP Data received {"connection_id":123188,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:38:21] local.INFO: Processing buffer {"connection_id":123188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:38:21] local.INFO: Packet analysis {"connection_id":123188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:38:21] local.INFO: Extracted packet for processing {"connection_id":123188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:38:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505338880001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783224281000,"timestamp_ms":1783224281000,"timestamp_seconds":1783224281,"priority":1,"record_length":96,"hex_timestamp":"0000019f307327a8"} 
[2026-07-05 09:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505338880001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505338880001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:38:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505338880001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":123188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:38:21] local.INFO: GPS data processed {"connection_id":123188,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:38:21] local.INFO: Acknowledgment sent {"connection_id":123188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:38:25] local.INFO: TCP Data received {"connection_id":122467,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:38:25] local.INFO: Processing buffer {"connection_id":122467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:38:25] local.INFO: IMEI packet received {"connection_id":122467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":122467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:39:05] local.INFO: TCP Data received {"connection_id":124388,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:39:05] local.INFO: Processing buffer {"connection_id":124388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:39:05] local.INFO: IMEI packet received {"connection_id":124388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":124388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:39:06] local.INFO: TCP Data received {"connection_id":123189,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:39:06] local.INFO: Processing buffer {"connection_id":123189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:39:06] local.INFO: IMEI packet received {"connection_id":123189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":123189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:39:11] local.INFO: TCP Data received {"connection_id":123189,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:39:11] local.INFO: Processing buffer {"connection_id":123189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:39:11] local.INFO: IMEI packet received {"connection_id":123189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":123189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:39:12] local.INFO: TCP Data received {"connection_id":123189,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:39:12] local.INFO: Processing buffer {"connection_id":123189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:39:12] local.INFO: Packet analysis {"connection_id":123189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:39:12] local.INFO: Extracted packet for processing {"connection_id":123189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:39:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505338880001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783224281000,"timestamp_ms":1783224281000,"timestamp_seconds":1783224281,"priority":1,"record_length":96,"hex_timestamp":"0000019f307327a8"} 
[2026-07-05 09:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505338880001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505338880001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:39:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505338880001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":123189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:39:12] local.INFO: GPS data processed {"connection_id":123189,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:39:12] local.INFO: Acknowledgment sent {"connection_id":123189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:39:43] local.INFO: TCP Data received {"connection_id":123189,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:39:43] local.INFO: Processing buffer {"connection_id":123189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:39:43] local.INFO: Packet analysis {"connection_id":123189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:39:43] local.INFO: Extracted packet for processing {"connection_id":123189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:39:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505338880001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:39:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783224281000,"timestamp_ms":1783224281000,"timestamp_seconds":1783224281,"priority":1,"record_length":96,"hex_timestamp":"0000019f307327a8"} 
[2026-07-05 09:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:39: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-07-05 09:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505338880001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505338880001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:39:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:39:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505338880001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":123189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:39:43] local.INFO: GPS data processed {"connection_id":123189,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:39:43] local.INFO: Acknowledgment sent {"connection_id":123189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:40:06] local.INFO: TCP Data received {"connection_id":122405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:40:06] local.INFO: Processing buffer {"connection_id":122405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:40:06] local.INFO: IMEI packet received {"connection_id":122405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":122405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:40:10] local.INFO: TCP Data received {"connection_id":122405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:40:11] local.INFO: Processing buffer {"connection_id":122405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:40:11] local.INFO: IMEI packet received {"connection_id":122405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":122405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:40:11] local.INFO: TCP Data received {"connection_id":122405,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:40:11] local.INFO: Processing buffer {"connection_id":122405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307327a8012cb2a24007823a98004b013b2b..."} 
[2026-07-05 09:40:11] local.INFO: Packet analysis {"connection_id":122405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:40:11] local.INFO: Extracted packet for processing {"connection_id":122405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3073"} 
[2026-07-05 09:40:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505338880001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783224281000,"timestamp_ms":1783224281000,"timestamp_seconds":1783224281,"priority":1,"record_length":96,"hex_timestamp":"0000019f307327a8"} 
[2026-07-05 09:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:40: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-07-05 09:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505338880001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505338880001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:40:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505338880001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":122405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:40:11] local.INFO: GPS data processed {"connection_id":122405,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:40:11] local.INFO: Acknowledgment sent {"connection_id":122405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:40:42] local.INFO: TCP Data received {"connection_id":122405,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:40:42] local.INFO: Processing buffer {"connection_id":122405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:40:42] local.INFO: Packet analysis {"connection_id":122405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:40:42] local.INFO: Extracted packet for processing {"connection_id":122405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505415936001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783224582000,"timestamp_ms":1783224582000,"timestamp_seconds":1783224582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3077bf70"} 
[2026-07-05 09:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:40: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-07-05 09:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505415936001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505415936001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:40:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505415936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":122405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:40:42] local.INFO: GPS data processed {"connection_id":122405,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:40:42] local.INFO: Acknowledgment sent {"connection_id":122405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:41:05] local.INFO: TCP Data received {"connection_id":122469,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:41:05] local.INFO: Processing buffer {"connection_id":122469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:41:05] local.INFO: IMEI packet received {"connection_id":122469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":122469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:41:10] local.INFO: TCP Data received {"connection_id":122469,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:41:10] local.INFO: Processing buffer {"connection_id":122469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:41:10] local.INFO: IMEI packet received {"connection_id":122469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":122469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:41:11] local.INFO: TCP Data received {"connection_id":122469,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:41:11] local.INFO: Processing buffer {"connection_id":122469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:41:11] local.INFO: Packet analysis {"connection_id":122469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:41:11] local.INFO: Extracted packet for processing {"connection_id":122469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505415936001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783224582000,"timestamp_ms":1783224582000,"timestamp_seconds":1783224582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3077bf70"} 
[2026-07-05 09:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:41: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-07-05 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505415936001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505415936001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505415936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":122469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:41:11] local.INFO: GPS data processed {"connection_id":122469,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:41:11] local.INFO: Acknowledgment sent {"connection_id":122469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:41:43] local.INFO: TCP Data received {"connection_id":122469,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:41:43] local.INFO: Processing buffer {"connection_id":122469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:41:43] local.INFO: Packet analysis {"connection_id":122469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:41:43] local.INFO: Extracted packet for processing {"connection_id":122469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:41:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505415936001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:41:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783224582000,"timestamp_ms":1783224582000,"timestamp_seconds":1783224582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3077bf70"} 
[2026-07-05 09:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:41: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-07-05 09:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505415936001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505415936001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:41:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:41:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505415936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":122469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:41:43] local.INFO: GPS data processed {"connection_id":122469,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:41:43] local.INFO: Acknowledgment sent {"connection_id":122469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:42:10] local.INFO: TCP Data received {"connection_id":123191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:42:10] local.INFO: Processing buffer {"connection_id":123191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:42:10] local.INFO: IMEI packet received {"connection_id":123191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":123191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:42:15] local.INFO: TCP Data received {"connection_id":123191,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:42:15] local.INFO: Processing buffer {"connection_id":123191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:42:15] local.INFO: IMEI packet received {"connection_id":123191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":123191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:42:17] local.INFO: TCP Data received {"connection_id":123191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:42:17] local.INFO: Processing buffer {"connection_id":123191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:42:17] local.INFO: Packet analysis {"connection_id":123191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:42:17] local.INFO: Extracted packet for processing {"connection_id":123191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:42:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505415936001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:42:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783224582000,"timestamp_ms":1783224582000,"timestamp_seconds":1783224582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3077bf70"} 
[2026-07-05 09:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505415936001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505415936001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:42:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:42:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:42:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505415936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":123191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:42:17] local.INFO: GPS data processed {"connection_id":123191,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:42:17] local.INFO: Acknowledgment sent {"connection_id":123191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:42:21] local.INFO: TCP Data received {"connection_id":123191,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:42:21] local.INFO: Processing buffer {"connection_id":123191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:42:21] local.INFO: Packet analysis {"connection_id":123191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:42:21] local.INFO: Extracted packet for processing {"connection_id":123191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:42:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505415936001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783224582000,"timestamp_ms":1783224582000,"timestamp_seconds":1783224582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3077bf70"} 
[2026-07-05 09:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505415936001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505415936001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:42:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505415936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":123191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:42:21] local.INFO: GPS data processed {"connection_id":123191,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:42:21] local.INFO: Acknowledgment sent {"connection_id":123191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:43:06] local.INFO: TCP Data received {"connection_id":124390,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:43:06] local.INFO: Processing buffer {"connection_id":124390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:43:06] local.INFO: IMEI packet received {"connection_id":124390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":124390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:43:10] local.INFO: TCP Data received {"connection_id":124390,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:43:10] local.INFO: Processing buffer {"connection_id":124390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:43:10] local.INFO: IMEI packet received {"connection_id":124390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":124390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:43:11] local.INFO: TCP Data received {"connection_id":124390,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:43:11] local.INFO: Processing buffer {"connection_id":124390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:43:11] local.INFO: Packet analysis {"connection_id":124390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:43:11] local.INFO: Extracted packet for processing {"connection_id":124390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505415936001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783224582000,"timestamp_ms":1783224582000,"timestamp_seconds":1783224582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3077bf70"} 
[2026-07-05 09:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:43: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-07-05 09:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505415936001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505415936001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:43:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505415936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":124390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:43:11] local.INFO: GPS data processed {"connection_id":124390,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:43:11] local.INFO: Acknowledgment sent {"connection_id":124390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:43:43] local.INFO: TCP Data received {"connection_id":124390,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:43:43] local.INFO: Processing buffer {"connection_id":124390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:43:43] local.INFO: Packet analysis {"connection_id":124390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:43:43] local.INFO: Extracted packet for processing {"connection_id":124390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:43:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505415936001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:43:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783224582000,"timestamp_ms":1783224582000,"timestamp_seconds":1783224582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3077bf70"} 
[2026-07-05 09:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:43: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-07-05 09:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:43: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-07-05 09:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505415936001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505415936001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:43:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:43:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505415936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":124390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:43:43] local.INFO: GPS data processed {"connection_id":124390,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:43:43] local.INFO: Acknowledgment sent {"connection_id":124390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:44:05] local.INFO: TCP Data received {"connection_id":123192,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:44:05] local.INFO: Processing buffer {"connection_id":123192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:44:05] local.INFO: IMEI packet received {"connection_id":123192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":123192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:44:10] local.INFO: TCP Data received {"connection_id":123192,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:44:10] local.INFO: Processing buffer {"connection_id":123192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:44:10] local.INFO: IMEI packet received {"connection_id":123192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":123192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:44:14] local.INFO: TCP Data received {"connection_id":123192,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:44:14] local.INFO: Processing buffer {"connection_id":123192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:44:14] local.INFO: Packet analysis {"connection_id":123192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:44:14] local.INFO: Extracted packet for processing {"connection_id":123192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:44:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:44: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-07-05 09:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505415936001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:44:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783224582000,"timestamp_ms":1783224582000,"timestamp_seconds":1783224582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3077bf70"} 
[2026-07-05 09:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:44: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-07-05 09:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":123192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":123192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":123192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505415936001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505415936001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:44:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:44:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:44:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505415936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":123192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:44:14] local.INFO: GPS data processed {"connection_id":123192,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:44:14] local.INFO: Acknowledgment sent {"connection_id":123192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:44:25] local.INFO: TCP Data received {"connection_id":122470,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:44:25] local.INFO: Processing buffer {"connection_id":122470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:44:25] local.INFO: IMEI packet received {"connection_id":122470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":122470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:44:45] local.INFO: TCP Data received {"connection_id":123192,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:44:45] local.INFO: Processing buffer {"connection_id":123192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:44:45] local.INFO: Packet analysis {"connection_id":123192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:44:45] local.INFO: Extracted packet for processing {"connection_id":123192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:44:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505415936001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783224582000,"timestamp_ms":1783224582000,"timestamp_seconds":1783224582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3077bf70"} 
[2026-07-05 09:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":123192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":123192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":123192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505415936001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505415936001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:44:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505415936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":123192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:44:45] local.INFO: GPS data processed {"connection_id":123192,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:44:45] local.INFO: Acknowledgment sent {"connection_id":123192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:45:05] local.INFO: TCP Data received {"connection_id":124392,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:45:05] local.INFO: Processing buffer {"connection_id":124392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:45:05] local.INFO: IMEI packet received {"connection_id":124392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":124392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:45:05] local.INFO: TCP Data received {"connection_id":122406,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:45:05] local.INFO: Processing buffer {"connection_id":122406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:45:05] local.INFO: IMEI packet received {"connection_id":122406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":122406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:45:10] local.INFO: TCP Data received {"connection_id":122406,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:45:10] local.INFO: Processing buffer {"connection_id":122406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:45:10] local.INFO: IMEI packet received {"connection_id":122406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":122406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:45:11] local.INFO: TCP Data received {"connection_id":122406,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:45:11] local.INFO: Processing buffer {"connection_id":122406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3077bf70012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:45:11] local.INFO: Packet analysis {"connection_id":122406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:45:11] local.INFO: Extracted packet for processing {"connection_id":122406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3077"} 
[2026-07-05 09:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505415936001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783224582000,"timestamp_ms":1783224582000,"timestamp_seconds":1783224582,"priority":1,"record_length":96,"hex_timestamp":"0000019f3077bf70"} 
[2026-07-05 09:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:45: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-07-05 09:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505415936001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505415936001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:45:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505415936001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":122406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:45:11] local.INFO: GPS data processed {"connection_id":122406,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:45:11] local.INFO: Acknowledgment sent {"connection_id":122406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:45:54] local.INFO: TCP Data received {"connection_id":122406,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:45:54] local.INFO: Processing buffer {"connection_id":122406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:45:54] local.INFO: Packet analysis {"connection_id":122406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:45:54] local.INFO: Extracted packet for processing {"connection_id":122406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:45:54] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505492992001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:45:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783224883000,"timestamp_ms":1783224883000,"timestamp_seconds":1783224883,"priority":1,"record_length":96,"hex_timestamp":"0000019f307c5738"} 
[2026-07-05 09:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":122406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":122406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":122406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505492992001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505492992001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:45:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:45:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:45:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505492992001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":122406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:45:54] local.INFO: GPS data processed {"connection_id":122406,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:45:54] local.INFO: Acknowledgment sent {"connection_id":122406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:46:10] local.INFO: TCP Data received {"connection_id":123193,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:46:10] local.INFO: Processing buffer {"connection_id":123193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:46:10] local.INFO: IMEI packet received {"connection_id":123193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":123193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:46:15] local.INFO: TCP Data received {"connection_id":123193,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:46:15] local.INFO: Processing buffer {"connection_id":123193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:46:15] local.INFO: IMEI packet received {"connection_id":123193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":123193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:46:16] local.INFO: TCP Data received {"connection_id":123193,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:46:16] local.INFO: Processing buffer {"connection_id":123193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:46:16] local.INFO: Packet analysis {"connection_id":123193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:46:16] local.INFO: Extracted packet for processing {"connection_id":123193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:46:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505492992001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:46:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783224883000,"timestamp_ms":1783224883000,"timestamp_seconds":1783224883,"priority":1,"record_length":96,"hex_timestamp":"0000019f307c5738"} 
[2026-07-05 09:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505492992001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505492992001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:46:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:46:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:46:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505492992001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":123193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:46:16] local.INFO: GPS data processed {"connection_id":123193,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:46:16] local.INFO: Acknowledgment sent {"connection_id":123193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:46:21] local.INFO: TCP Data received {"connection_id":123193,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:46:21] local.INFO: Processing buffer {"connection_id":123193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:46:21] local.INFO: Packet analysis {"connection_id":123193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:46:21] local.INFO: Extracted packet for processing {"connection_id":123193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:46:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505492992001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783224883000,"timestamp_ms":1783224883000,"timestamp_seconds":1783224883,"priority":1,"record_length":96,"hex_timestamp":"0000019f307c5738"} 
[2026-07-05 09:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505492992001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505492992001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:46:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505492992001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":123193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:46:21] local.INFO: GPS data processed {"connection_id":123193,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:46:21] local.INFO: Acknowledgment sent {"connection_id":123193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:47:05] local.INFO: TCP Data received {"connection_id":123194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:47:05] local.INFO: Processing buffer {"connection_id":123194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:47:05] local.INFO: IMEI packet received {"connection_id":123194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":123194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:47:10] local.INFO: TCP Data received {"connection_id":123194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:47:10] local.INFO: Processing buffer {"connection_id":123194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:47:10] local.INFO: IMEI packet received {"connection_id":123194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":123194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:47:12] local.INFO: TCP Data received {"connection_id":123194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:47:12] local.INFO: Processing buffer {"connection_id":123194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:47:12] local.INFO: Packet analysis {"connection_id":123194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:47:12] local.INFO: Extracted packet for processing {"connection_id":123194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505492992001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:47:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783224883000,"timestamp_ms":1783224883000,"timestamp_seconds":1783224883,"priority":1,"record_length":96,"hex_timestamp":"0000019f307c5738"} 
[2026-07-05 09:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505492992001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505492992001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:47:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:47:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:47:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505492992001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":123194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:47:12] local.INFO: GPS data processed {"connection_id":123194,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:47:12] local.INFO: Acknowledgment sent {"connection_id":123194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:47:43] local.INFO: TCP Data received {"connection_id":123194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:47:43] local.INFO: Processing buffer {"connection_id":123194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:47:43] local.INFO: Packet analysis {"connection_id":123194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:47:43] local.INFO: Extracted packet for processing {"connection_id":123194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:47:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505492992001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:47:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783224883000,"timestamp_ms":1783224883000,"timestamp_seconds":1783224883,"priority":1,"record_length":96,"hex_timestamp":"0000019f307c5738"} 
[2026-07-05 09:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:47: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-07-05 09:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:47: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-07-05 09:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505492992001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505492992001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:47:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:47:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505492992001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":123194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:47:43] local.INFO: GPS data processed {"connection_id":123194,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:47:43] local.INFO: Acknowledgment sent {"connection_id":123194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:48:05] local.INFO: TCP Data received {"connection_id":123195,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:48:05] local.INFO: Processing buffer {"connection_id":123195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:48:05] local.INFO: IMEI packet received {"connection_id":123195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":123195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:48:10] local.INFO: TCP Data received {"connection_id":123195,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:48:10] local.INFO: Processing buffer {"connection_id":123195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:48:10] local.INFO: IMEI packet received {"connection_id":123195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":123195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:48:11] local.INFO: TCP Data received {"connection_id":123195,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:48:11] local.INFO: Processing buffer {"connection_id":123195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:48:11] local.INFO: Packet analysis {"connection_id":123195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:48:11] local.INFO: Extracted packet for processing {"connection_id":123195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:48:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505492992001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783224883000,"timestamp_ms":1783224883000,"timestamp_seconds":1783224883,"priority":1,"record_length":96,"hex_timestamp":"0000019f307c5738"} 
[2026-07-05 09:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:48: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-07-05 09:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505492992001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505492992001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:48:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505492992001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":123195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:48:11] local.INFO: GPS data processed {"connection_id":123195,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:48:11] local.INFO: Acknowledgment sent {"connection_id":123195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:48:43] local.INFO: TCP Data received {"connection_id":123195,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:48:43] local.INFO: Processing buffer {"connection_id":123195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:48:43] local.INFO: Packet analysis {"connection_id":123195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:48:43] local.INFO: Extracted packet for processing {"connection_id":123195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:48:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505492992001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:48:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783224883000,"timestamp_ms":1783224883000,"timestamp_seconds":1783224883,"priority":1,"record_length":96,"hex_timestamp":"0000019f307c5738"} 
[2026-07-05 09:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:48: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-07-05 09:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:48: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-07-05 09:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505492992001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505492992001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:48:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:48:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505492992001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":123195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:48:43] local.INFO: GPS data processed {"connection_id":123195,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:48:43] local.INFO: Acknowledgment sent {"connection_id":123195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:49:07] local.INFO: TCP Data received {"connection_id":122407,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:49:07] local.INFO: Processing buffer {"connection_id":122407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:49:07] local.INFO: IMEI packet received {"connection_id":122407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":122407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:49:10] local.INFO: TCP Data received {"connection_id":122407,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:49:10] local.INFO: Processing buffer {"connection_id":122407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:49:10] local.INFO: IMEI packet received {"connection_id":122407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":122407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:49:11] local.INFO: TCP Data received {"connection_id":122407,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:49:11] local.INFO: Processing buffer {"connection_id":122407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:49:11] local.INFO: Packet analysis {"connection_id":122407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:49:11] local.INFO: Extracted packet for processing {"connection_id":122407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505492992001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783224883000,"timestamp_ms":1783224883000,"timestamp_seconds":1783224883,"priority":1,"record_length":96,"hex_timestamp":"0000019f307c5738"} 
[2026-07-05 09:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:49: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-07-05 09:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505492992001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505492992001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:49:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505492992001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":122407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:49:11] local.INFO: GPS data processed {"connection_id":122407,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:49:11] local.INFO: Acknowledgment sent {"connection_id":122407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:49:43] local.INFO: TCP Data received {"connection_id":122407,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:49:43] local.INFO: Processing buffer {"connection_id":122407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:49:43] local.INFO: Packet analysis {"connection_id":122407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:49:43] local.INFO: Extracted packet for processing {"connection_id":122407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:49:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505492992001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:49:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783224883000,"timestamp_ms":1783224883000,"timestamp_seconds":1783224883,"priority":1,"record_length":96,"hex_timestamp":"0000019f307c5738"} 
[2026-07-05 09:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:49: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-07-05 09:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:49: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-07-05 09:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505492992001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505492992001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:49:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:49:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505492992001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":122407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:49:43] local.INFO: GPS data processed {"connection_id":122407,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:49:43] local.INFO: Acknowledgment sent {"connection_id":122407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:50:05] local.INFO: TCP Data received {"connection_id":124397,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:50:05] local.INFO: Processing buffer {"connection_id":124397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:50:05] local.INFO: IMEI packet received {"connection_id":124397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":124397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:50:10] local.INFO: TCP Data received {"connection_id":124397,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:50:10] local.INFO: Processing buffer {"connection_id":124397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:50:10] local.INFO: IMEI packet received {"connection_id":124397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":124397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:50:12] local.INFO: TCP Data received {"connection_id":124397,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:50:12] local.INFO: Processing buffer {"connection_id":124397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f307c5738012cb2a24007823a98004b013b2a..."} 
[2026-07-05 09:50:12] local.INFO: Packet analysis {"connection_id":124397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:50:12] local.INFO: Extracted packet for processing {"connection_id":124397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f307c"} 
[2026-07-05 09:50:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505492992001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783224883000,"timestamp_ms":1783224883000,"timestamp_seconds":1783224883,"priority":1,"record_length":96,"hex_timestamp":"0000019f307c5738"} 
[2026-07-05 09:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505492992001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505492992001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:50:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505492992001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":124397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:50:12] local.INFO: GPS data processed {"connection_id":124397,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:50:12] local.INFO: Acknowledgment sent {"connection_id":124397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:50:25] local.INFO: TCP Data received {"connection_id":123196,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:50:25] local.INFO: Processing buffer {"connection_id":123196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:50:25] local.INFO: IMEI packet received {"connection_id":123196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":123196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:50:43] local.INFO: TCP Data received {"connection_id":124397,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:50:43] local.INFO: Processing buffer {"connection_id":124397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:50:43] local.INFO: Packet analysis {"connection_id":124397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:50:43] local.INFO: Extracted packet for processing {"connection_id":124397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:50:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505570048001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:50:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783225184000,"timestamp_ms":1783225184000,"timestamp_seconds":1783225184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3080ef00"} 
[2026-07-05 09:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:50: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-07-05 09:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:50: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-07-05 09:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505570048001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505570048001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:50:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:50:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505570048001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":124397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:50:43] local.INFO: GPS data processed {"connection_id":124397,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:50:43] local.INFO: Acknowledgment sent {"connection_id":124397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:51:05] local.INFO: TCP Data received {"connection_id":123197,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:51:05] local.INFO: Processing buffer {"connection_id":123197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:51:05] local.INFO: IMEI packet received {"connection_id":123197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":123197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:51:11] local.INFO: TCP Data received {"connection_id":124398,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:51:11] local.INFO: Processing buffer {"connection_id":124398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:51:11] local.INFO: IMEI packet received {"connection_id":124398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":124398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:51:15] local.INFO: TCP Data received {"connection_id":124398,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:51:15] local.INFO: Processing buffer {"connection_id":124398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:51:15] local.INFO: IMEI packet received {"connection_id":124398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":124398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:51:16] local.INFO: TCP Data received {"connection_id":124398,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:51:16] local.INFO: Processing buffer {"connection_id":124398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:51:16] local.INFO: Packet analysis {"connection_id":124398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:51:16] local.INFO: Extracted packet for processing {"connection_id":124398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:51:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505570048001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:51:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783225184000,"timestamp_ms":1783225184000,"timestamp_seconds":1783225184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3080ef00"} 
[2026-07-05 09:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505570048001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505570048001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:51:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:51:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:51:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505570048001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":124398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:51:16] local.INFO: GPS data processed {"connection_id":124398,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:51:16] local.INFO: Acknowledgment sent {"connection_id":124398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:51:21] local.INFO: TCP Data received {"connection_id":124398,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:51:21] local.INFO: Processing buffer {"connection_id":124398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:51:21] local.INFO: Packet analysis {"connection_id":124398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:51:21] local.INFO: Extracted packet for processing {"connection_id":124398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505570048001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783225184000,"timestamp_ms":1783225184000,"timestamp_seconds":1783225184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3080ef00"} 
[2026-07-05 09:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505570048001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505570048001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:51:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505570048001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":124398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:51:21] local.INFO: GPS data processed {"connection_id":124398,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:51:21] local.INFO: Acknowledgment sent {"connection_id":124398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:52:06] local.INFO: TCP Data received {"connection_id":122408,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:52:06] local.INFO: Processing buffer {"connection_id":122408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:52:06] local.INFO: IMEI packet received {"connection_id":122408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":122408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:52:10] local.INFO: TCP Data received {"connection_id":122408,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:52:10] local.INFO: Processing buffer {"connection_id":122408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:52:10] local.INFO: IMEI packet received {"connection_id":122408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":122408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:52:11] local.INFO: TCP Data received {"connection_id":122408,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:52:11] local.INFO: Processing buffer {"connection_id":122408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:52:11] local.INFO: Packet analysis {"connection_id":122408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:52:11] local.INFO: Extracted packet for processing {"connection_id":122408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:52:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505570048001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783225184000,"timestamp_ms":1783225184000,"timestamp_seconds":1783225184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3080ef00"} 
[2026-07-05 09:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:52: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-07-05 09:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505570048001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505570048001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505570048001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":122408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:52:11] local.INFO: GPS data processed {"connection_id":122408,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:52:11] local.INFO: Acknowledgment sent {"connection_id":122408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:52:42] local.INFO: TCP Data received {"connection_id":122408,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:52:42] local.INFO: Processing buffer {"connection_id":122408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:52:42] local.INFO: Packet analysis {"connection_id":122408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:52:42] local.INFO: Extracted packet for processing {"connection_id":122408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:52:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505570048001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783225184000,"timestamp_ms":1783225184000,"timestamp_seconds":1783225184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3080ef00"} 
[2026-07-05 09:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:52: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-07-05 09:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505570048001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505570048001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:52:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505570048001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":122408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:52:43] local.INFO: GPS data processed {"connection_id":122408,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:52:43] local.INFO: Acknowledgment sent {"connection_id":122408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:53:05] local.INFO: TCP Data received {"connection_id":122409,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:53:05] local.INFO: Processing buffer {"connection_id":122409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:53:05] local.INFO: IMEI packet received {"connection_id":122409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":122409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:53:11] local.INFO: TCP Data received {"connection_id":122409,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:53:11] local.INFO: Processing buffer {"connection_id":122409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:53:11] local.INFO: IMEI packet received {"connection_id":122409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":122409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:53:12] local.INFO: TCP Data received {"connection_id":122409,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:53:12] local.INFO: Processing buffer {"connection_id":122409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:53:12] local.INFO: Packet analysis {"connection_id":122409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:53:12] local.INFO: Extracted packet for processing {"connection_id":122409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:53:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505570048001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783225184000,"timestamp_ms":1783225184000,"timestamp_seconds":1783225184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3080ef00"} 
[2026-07-05 09:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505570048001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505570048001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:53:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505570048001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":122409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:53:12] local.INFO: GPS data processed {"connection_id":122409,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:53:12] local.INFO: Acknowledgment sent {"connection_id":122409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:53:43] local.INFO: TCP Data received {"connection_id":122409,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:53:43] local.INFO: Processing buffer {"connection_id":122409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:53:43] local.INFO: Packet analysis {"connection_id":122409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:53:43] local.INFO: Extracted packet for processing {"connection_id":122409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:53:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505570048001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783225184000,"timestamp_ms":1783225184000,"timestamp_seconds":1783225184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3080ef00"} 
[2026-07-05 09:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:53: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-07-05 09:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505570048001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505570048001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:53:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505570048001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":122409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:53:43] local.INFO: GPS data processed {"connection_id":122409,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:53:43] local.INFO: Acknowledgment sent {"connection_id":122409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:54:05] local.INFO: TCP Data received {"connection_id":122473,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:54:05] local.INFO: Processing buffer {"connection_id":122473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:54:05] local.INFO: IMEI packet received {"connection_id":122473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":122473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:54:10] local.INFO: TCP Data received {"connection_id":122473,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:54:10] local.INFO: Processing buffer {"connection_id":122473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:54:10] local.INFO: IMEI packet received {"connection_id":122473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":122473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:54:11] local.INFO: TCP Data received {"connection_id":122473,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:54:11] local.INFO: Processing buffer {"connection_id":122473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:54:11] local.INFO: Packet analysis {"connection_id":122473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:54:11] local.INFO: Extracted packet for processing {"connection_id":122473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:54:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505570048001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783225184000,"timestamp_ms":1783225184000,"timestamp_seconds":1783225184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3080ef00"} 
[2026-07-05 09:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:54: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-07-05 09:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505570048001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505570048001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:54:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505570048001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":122473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:54:11] local.INFO: GPS data processed {"connection_id":122473,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:54:11] local.INFO: Acknowledgment sent {"connection_id":122473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:54:42] local.INFO: TCP Data received {"connection_id":122473,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:54:42] local.INFO: Processing buffer {"connection_id":122473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:54:42] local.INFO: Packet analysis {"connection_id":122473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:54:42] local.INFO: Extracted packet for processing {"connection_id":122473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:54:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505570048001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783225184000,"timestamp_ms":1783225184000,"timestamp_seconds":1783225184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3080ef00"} 
[2026-07-05 09:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:54: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-07-05 09:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505570048001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505570048001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:54:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505570048001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":122473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:54:42] local.INFO: GPS data processed {"connection_id":122473,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:54:42] local.INFO: Acknowledgment sent {"connection_id":122473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:55:05] local.INFO: TCP Data received {"connection_id":122410,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:55:05] local.INFO: Processing buffer {"connection_id":122410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:55:05] local.INFO: IMEI packet received {"connection_id":122410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":122410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:55:10] local.INFO: TCP Data received {"connection_id":122410,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:55:10] local.INFO: Processing buffer {"connection_id":122410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:55:10] local.INFO: IMEI packet received {"connection_id":122410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":122410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:55:11] local.INFO: TCP Data received {"connection_id":122410,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:55:11] local.INFO: Processing buffer {"connection_id":122410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3080ef00012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:55:11] local.INFO: Packet analysis {"connection_id":122410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:55:11] local.INFO: Extracted packet for processing {"connection_id":122410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3080"} 
[2026-07-05 09:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505570048001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783225184000,"timestamp_ms":1783225184000,"timestamp_seconds":1783225184,"priority":1,"record_length":96,"hex_timestamp":"0000019f3080ef00"} 
[2026-07-05 09:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:55: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-07-05 09:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 09:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505570048001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505570048001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:55:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505570048001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":122410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:55:11] local.INFO: GPS data processed {"connection_id":122410,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:55:11] local.INFO: Acknowledgment sent {"connection_id":122410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:55:42] local.INFO: TCP Data received {"connection_id":122410,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:55:42] local.INFO: Processing buffer {"connection_id":122410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:55:42] local.INFO: Packet analysis {"connection_id":122410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:55:42] local.INFO: Extracted packet for processing {"connection_id":122410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505647104001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783225485000,"timestamp_ms":1783225485000,"timestamp_seconds":1783225485,"priority":1,"record_length":96,"hex_timestamp":"0000019f308586c8"} 
[2026-07-05 09:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:55: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-07-05 09:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:55: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-07-05 09:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505647104001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505647104001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:55:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505647104001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":122410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:55:42] local.INFO: GPS data processed {"connection_id":122410,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:55:42] local.INFO: Acknowledgment sent {"connection_id":122410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:56:05] local.INFO: TCP Data received {"connection_id":123200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:56:05] local.INFO: Processing buffer {"connection_id":123200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:56:05] local.INFO: IMEI packet received {"connection_id":123200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":123200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:56:15] local.INFO: TCP Data received {"connection_id":123200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:56:15] local.INFO: Processing buffer {"connection_id":123200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:56:15] local.INFO: IMEI packet received {"connection_id":123200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":123200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:56:16] local.INFO: TCP Data received {"connection_id":123200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:56:16] local.INFO: Processing buffer {"connection_id":123200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:56:16] local.INFO: Packet analysis {"connection_id":123200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:56:16] local.INFO: Extracted packet for processing {"connection_id":123200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:56:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505647104001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783225485000,"timestamp_ms":1783225485000,"timestamp_seconds":1783225485,"priority":1,"record_length":96,"hex_timestamp":"0000019f308586c8"} 
[2026-07-05 09:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505647104001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505647104001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:56:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:56:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505647104001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":123200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:56:16] local.INFO: GPS data processed {"connection_id":123200,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:56:16] local.INFO: Acknowledgment sent {"connection_id":123200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:56:25] local.INFO: TCP Data received {"connection_id":123201,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:56:25] local.INFO: Processing buffer {"connection_id":123201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:56:25] local.INFO: IMEI packet received {"connection_id":123201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":123201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:56:48] local.INFO: TCP Data received {"connection_id":123200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:56:48] local.INFO: Processing buffer {"connection_id":123200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:56:48] local.INFO: Packet analysis {"connection_id":123200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:56:48] local.INFO: Extracted packet for processing {"connection_id":123200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:56:48] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 09:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505647104001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:56:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783225485000,"timestamp_ms":1783225485000,"timestamp_seconds":1783225485,"priority":1,"record_length":96,"hex_timestamp":"0000019f308586c8"} 
[2026-07-05 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-07-05 09:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 09:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":123200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":123200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":123200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505647104001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505647104001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:56:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:56:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:56:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505647104001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":123200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:56:48] local.INFO: GPS data processed {"connection_id":123200,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:56:48] local.INFO: Acknowledgment sent {"connection_id":123200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:57:06] local.INFO: TCP Data received {"connection_id":122474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:57:06] local.INFO: Processing buffer {"connection_id":122474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:57:06] local.INFO: IMEI packet received {"connection_id":122474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":122474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:57:10] local.INFO: TCP Data received {"connection_id":122475,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:57:10] local.INFO: Processing buffer {"connection_id":122475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 09:57:10] local.INFO: IMEI packet received {"connection_id":122475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 09:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":122475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:57:10] local.INFO: TCP Data received {"connection_id":122474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:57:10] local.INFO: Processing buffer {"connection_id":122474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:57:10] local.INFO: IMEI packet received {"connection_id":122474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":122474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:57:11] local.INFO: TCP Data received {"connection_id":122474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:57:11] local.INFO: Processing buffer {"connection_id":122474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:57:11] local.INFO: Packet analysis {"connection_id":122474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:57:11] local.INFO: Extracted packet for processing {"connection_id":122474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505647104001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783225485000,"timestamp_ms":1783225485000,"timestamp_seconds":1783225485,"priority":1,"record_length":96,"hex_timestamp":"0000019f308586c8"} 
[2026-07-05 09:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:57: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-07-05 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505647104001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505647104001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505647104001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":122474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:57:11] local.INFO: GPS data processed {"connection_id":122474,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:57:11] local.INFO: Acknowledgment sent {"connection_id":122474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:57:43] local.INFO: TCP Data received {"connection_id":122474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:57:43] local.INFO: Processing buffer {"connection_id":122474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:57:43] local.INFO: Packet analysis {"connection_id":122474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:57:43] local.INFO: Extracted packet for processing {"connection_id":122474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:57:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505647104001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:57:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783225485000,"timestamp_ms":1783225485000,"timestamp_seconds":1783225485,"priority":1,"record_length":96,"hex_timestamp":"0000019f308586c8"} 
[2026-07-05 09:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:57: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-07-05 09:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505647104001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505647104001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:57:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:57:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505647104001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":122474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:57:43] local.INFO: GPS data processed {"connection_id":122474,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:57:43] local.INFO: Acknowledgment sent {"connection_id":122474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:58:05] local.INFO: TCP Data received {"connection_id":124399,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:58:05] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:58:05] local.INFO: IMEI packet received {"connection_id":124399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":124399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:58:10] local.INFO: TCP Data received {"connection_id":124399,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:58:10] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:58:10] local.INFO: IMEI packet received {"connection_id":124399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":124399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:58:11] local.INFO: TCP Data received {"connection_id":124399,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:58:11] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:58:11] local.INFO: Packet analysis {"connection_id":124399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:58:11] local.INFO: Extracted packet for processing {"connection_id":124399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505647104001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783225485000,"timestamp_ms":1783225485000,"timestamp_seconds":1783225485,"priority":1,"record_length":96,"hex_timestamp":"0000019f308586c8"} 
[2026-07-05 09:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:58: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-07-05 09:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505647104001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505647104001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505647104001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":124399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:58:11] local.INFO: GPS data processed {"connection_id":124399,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:58:11] local.INFO: Acknowledgment sent {"connection_id":124399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:58:44] local.INFO: TCP Data received {"connection_id":124399,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:58:44] local.INFO: Processing buffer {"connection_id":124399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:58:44] local.INFO: Packet analysis {"connection_id":124399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:58:44] local.INFO: Extracted packet for processing {"connection_id":124399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:58:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09: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-07-05 09:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505647104001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:58:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783225485000,"timestamp_ms":1783225485000,"timestamp_seconds":1783225485,"priority":1,"record_length":96,"hex_timestamp":"0000019f308586c8"} 
[2026-07-05 09:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09: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-07-05 09:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505647104001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505647104001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:58:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:58:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505647104001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":124399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:58:44] local.INFO: GPS data processed {"connection_id":124399,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:58:44] local.INFO: Acknowledgment sent {"connection_id":124399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:59:05] local.INFO: TCP Data received {"connection_id":122411,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:59:05] local.INFO: Processing buffer {"connection_id":122411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:59:05] local.INFO: IMEI packet received {"connection_id":122411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 09:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":122411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 09:59:11] local.INFO: TCP Data received {"connection_id":122411,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:59:11] local.INFO: Processing buffer {"connection_id":122411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 09:59:11] local.INFO: IMEI packet received {"connection_id":122411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 09:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":122411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 09:59:13] local.INFO: TCP Data received {"connection_id":122411,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:59:13] local.INFO: Processing buffer {"connection_id":122411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:59:13] local.INFO: Packet analysis {"connection_id":122411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:59:13] local.INFO: Extracted packet for processing {"connection_id":122411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:59:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505647104001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:59:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783225485000,"timestamp_ms":1783225485000,"timestamp_seconds":1783225485,"priority":1,"record_length":96,"hex_timestamp":"0000019f308586c8"} 
[2026-07-05 09:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505647104001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505647104001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:59:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:59:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505647104001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":122411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:59:13] local.INFO: GPS data processed {"connection_id":122411,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:59:13] local.INFO: Acknowledgment sent {"connection_id":122411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 09:59:44] local.INFO: TCP Data received {"connection_id":122411,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:59:44] local.INFO: Processing buffer {"connection_id":122411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 09:59:44] local.INFO: Packet analysis {"connection_id":122411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:59:44] local.INFO: Extracted packet for processing {"connection_id":122411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 09:59:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 09:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 09:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505647104001,"note":"Value kept but may cause issues"} 
[2026-07-05 09:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 09:59:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 09:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 09:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783225485000,"timestamp_ms":1783225485000,"timestamp_seconds":1783225485,"priority":1,"record_length":96,"hex_timestamp":"0000019f308586c8"} 
[2026-07-05 09:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 09:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 09:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 09:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 09:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 09:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 09:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 09:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 09:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 09:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 09:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 09:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 09:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505647104001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 09:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 09:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 09:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505647104001,"description":"Unknown IO ID 0"} 
[2026-07-05 09:59:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 09:59:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 09:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 09:59:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 09:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505647104001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 09:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":122411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 09:59:44] local.INFO: GPS data processed {"connection_id":122411,"processed":1,"errors":0,"total":1} 
[2026-07-05 09:59:44] local.INFO: Acknowledgment sent {"connection_id":122411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:00:10] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:00:10] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:00:10] local.INFO: IMEI packet received {"connection_id":124401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":124401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:00:15] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:00:15] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:00:15] local.INFO: IMEI packet received {"connection_id":124401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":124401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:00:16] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:00:16] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:00:16] local.INFO: Packet analysis {"connection_id":124401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 10:00:16] local.INFO: Extracted packet for processing {"connection_id":124401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 10:00:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505647104001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:00:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783225485000,"timestamp_ms":1783225485000,"timestamp_seconds":1783225485,"priority":1,"record_length":96,"hex_timestamp":"0000019f308586c8"} 
[2026-07-05 10:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505647104001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505647104001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:00:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:00:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505647104001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":124401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:00:16] local.INFO: GPS data processed {"connection_id":124401,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:00:16] local.INFO: Acknowledgment sent {"connection_id":124401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:00:21] local.INFO: TCP Data received {"connection_id":124401,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:00:21] local.INFO: Processing buffer {"connection_id":124401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308586c8012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:00:21] local.INFO: Packet analysis {"connection_id":124401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 10:00:21] local.INFO: Extracted packet for processing {"connection_id":124401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3085"} 
[2026-07-05 10:00:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 10:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505647104001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783225485000,"timestamp_ms":1783225485000,"timestamp_seconds":1783225485,"priority":1,"record_length":96,"hex_timestamp":"0000019f308586c8"} 
[2026-07-05 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-07-05 10:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 10:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505647104001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505647104001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:00:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505647104001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":124401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:00:21] local.INFO: GPS data processed {"connection_id":124401,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:00:21] local.INFO: Acknowledgment sent {"connection_id":124401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:01:05] local.INFO: TCP Data received {"connection_id":123203,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:01:05] local.INFO: Processing buffer {"connection_id":123203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:01:05] local.INFO: IMEI packet received {"connection_id":123203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":123203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:01:10] local.INFO: TCP Data received {"connection_id":123203,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:01:10] local.INFO: Processing buffer {"connection_id":123203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:01:10] local.INFO: IMEI packet received {"connection_id":123203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":123203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:01:11] local.INFO: TCP Data received {"connection_id":123203,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:01:11] local.INFO: Processing buffer {"connection_id":123203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:01:11] local.INFO: Packet analysis {"connection_id":123203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:01:11] local.INFO: Extracted packet for processing {"connection_id":123203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505724160001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783225786000,"timestamp_ms":1783225786000,"timestamp_seconds":1783225786,"priority":1,"record_length":96,"hex_timestamp":"0000019f308a1e90"} 
[2026-07-05 10:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:01: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-07-05 10:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505724160001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505724160001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505724160001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":123203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:01:11] local.INFO: GPS data processed {"connection_id":123203,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:01:11] local.INFO: Acknowledgment sent {"connection_id":123203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:01:42] local.INFO: TCP Data received {"connection_id":123203,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:01:42] local.INFO: Processing buffer {"connection_id":123203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:01:42] local.INFO: Packet analysis {"connection_id":123203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:01:42] local.INFO: Extracted packet for processing {"connection_id":123203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505724160001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783225786000,"timestamp_ms":1783225786000,"timestamp_seconds":1783225786,"priority":1,"record_length":96,"hex_timestamp":"0000019f308a1e90"} 
[2026-07-05 10:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10: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-07-05 10: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":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:01: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-07-05 10: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-07-05 10:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505724160001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505724160001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:01:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505724160001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":123203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:01:42] local.INFO: GPS data processed {"connection_id":123203,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:01:42] local.INFO: Acknowledgment sent {"connection_id":123203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:02:05] local.INFO: TCP Data received {"connection_id":123204,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:02:05] local.INFO: Processing buffer {"connection_id":123204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:02:05] local.INFO: IMEI packet received {"connection_id":123204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":123204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:02:10] local.INFO: TCP Data received {"connection_id":123204,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:02:10] local.INFO: Processing buffer {"connection_id":123204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:02:10] local.INFO: IMEI packet received {"connection_id":123204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":123204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:02:12] local.INFO: TCP Data received {"connection_id":123204,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:02:12] local.INFO: Processing buffer {"connection_id":123204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:02:12] local.INFO: Packet analysis {"connection_id":123204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:02:12] local.INFO: Extracted packet for processing {"connection_id":123204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:02:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505724160001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783225786000,"timestamp_ms":1783225786000,"timestamp_seconds":1783225786,"priority":1,"record_length":96,"hex_timestamp":"0000019f308a1e90"} 
[2026-07-05 10:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505724160001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505724160001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:02:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505724160001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":123204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:02:12] local.INFO: GPS data processed {"connection_id":123204,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:02:12] local.INFO: Acknowledgment sent {"connection_id":123204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:02:35] local.INFO: TCP Data received {"connection_id":122412,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:02:35] local.INFO: Processing buffer {"connection_id":122412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:02:35] local.INFO: IMEI packet received {"connection_id":122412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":122412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:02:43] local.INFO: TCP Data received {"connection_id":123204,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:02:43] local.INFO: Processing buffer {"connection_id":123204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:02:43] local.INFO: Packet analysis {"connection_id":123204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:02:43] local.INFO: Extracted packet for processing {"connection_id":123204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:02:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505724160001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:02:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783225786000,"timestamp_ms":1783225786000,"timestamp_seconds":1783225786,"priority":1,"record_length":96,"hex_timestamp":"0000019f308a1e90"} 
[2026-07-05 10:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:02: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-07-05 10:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:02: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-07-05 10:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505724160001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505724160001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:02:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:02:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505724160001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":123204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:02:43] local.INFO: GPS data processed {"connection_id":123204,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:02:43] local.INFO: Acknowledgment sent {"connection_id":123204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:03:05] local.INFO: TCP Data received {"connection_id":124402,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:03:05] local.INFO: Processing buffer {"connection_id":124402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:03:05] local.INFO: IMEI packet received {"connection_id":124402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:03:05] local.INFO: TCP Data received {"connection_id":124403,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:03:05] local.INFO: Processing buffer {"connection_id":124403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:03:05] local.INFO: IMEI packet received {"connection_id":124403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:03:10] local.INFO: TCP Data received {"connection_id":124403,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:03:10] local.INFO: Processing buffer {"connection_id":124403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:03:10] local.INFO: IMEI packet received {"connection_id":124403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":124403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:03:11] local.INFO: TCP Data received {"connection_id":124403,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:03:11] local.INFO: Processing buffer {"connection_id":124403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:03:11] local.INFO: Packet analysis {"connection_id":124403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:03:11] local.INFO: Extracted packet for processing {"connection_id":124403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:03:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505724160001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783225786000,"timestamp_ms":1783225786000,"timestamp_seconds":1783225786,"priority":1,"record_length":96,"hex_timestamp":"0000019f308a1e90"} 
[2026-07-05 10:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:03: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-07-05 10:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505724160001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505724160001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:03:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505724160001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":124403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:03:11] local.INFO: GPS data processed {"connection_id":124403,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:03:11] local.INFO: Acknowledgment sent {"connection_id":124403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:03:43] local.INFO: TCP Data received {"connection_id":124403,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:03:43] local.INFO: Processing buffer {"connection_id":124403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:03:43] local.INFO: Packet analysis {"connection_id":124403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:03:43] local.INFO: Extracted packet for processing {"connection_id":124403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:03:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505724160001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:03:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783225786000,"timestamp_ms":1783225786000,"timestamp_seconds":1783225786,"priority":1,"record_length":96,"hex_timestamp":"0000019f308a1e90"} 
[2026-07-05 10:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:03: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-07-05 10:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:03: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-07-05 10:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505724160001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505724160001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:03:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:03:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505724160001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":124403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:03:43] local.INFO: GPS data processed {"connection_id":124403,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:03:43] local.INFO: Acknowledgment sent {"connection_id":124403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:04:10] local.INFO: TCP Data received {"connection_id":123205,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:04:10] local.INFO: Processing buffer {"connection_id":123205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:04:10] local.INFO: IMEI packet received {"connection_id":123205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":123205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:04:15] local.INFO: TCP Data received {"connection_id":123205,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:04:15] local.INFO: Processing buffer {"connection_id":123205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:04:15] local.INFO: IMEI packet received {"connection_id":123205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":123205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:04:16] local.INFO: TCP Data received {"connection_id":123205,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:04:16] local.INFO: Processing buffer {"connection_id":123205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:04:16] local.INFO: Packet analysis {"connection_id":123205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:04:16] local.INFO: Extracted packet for processing {"connection_id":123205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:04:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505724160001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:04:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783225786000,"timestamp_ms":1783225786000,"timestamp_seconds":1783225786,"priority":1,"record_length":96,"hex_timestamp":"0000019f308a1e90"} 
[2026-07-05 10:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505724160001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505724160001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:04:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:04:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:04:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505724160001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":123205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:04:16] local.INFO: GPS data processed {"connection_id":123205,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:04:16] local.INFO: Acknowledgment sent {"connection_id":123205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:04:21] local.INFO: TCP Data received {"connection_id":123205,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:04:21] local.INFO: Processing buffer {"connection_id":123205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:04:21] local.INFO: Packet analysis {"connection_id":123205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:04:21] local.INFO: Extracted packet for processing {"connection_id":123205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:04:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505724160001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783225786000,"timestamp_ms":1783225786000,"timestamp_seconds":1783225786,"priority":1,"record_length":96,"hex_timestamp":"0000019f308a1e90"} 
[2026-07-05 10:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505724160001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505724160001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:04:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505724160001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":123205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:04:21] local.INFO: GPS data processed {"connection_id":123205,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:04:21] local.INFO: Acknowledgment sent {"connection_id":123205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:05:05] local.INFO: TCP Data received {"connection_id":122413,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:05:05] local.INFO: Processing buffer {"connection_id":122413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:05:05] local.INFO: IMEI packet received {"connection_id":122413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":122413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:05:10] local.INFO: TCP Data received {"connection_id":122413,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:05:10] local.INFO: Processing buffer {"connection_id":122413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:05:10] local.INFO: IMEI packet received {"connection_id":122413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":122413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:05:11] local.INFO: TCP Data received {"connection_id":122413,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:05:11] local.INFO: Processing buffer {"connection_id":122413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308a1e90012cb2a24007823a98004b013b29..."} 
[2026-07-05 10:05:11] local.INFO: Packet analysis {"connection_id":122413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:05:11] local.INFO: Extracted packet for processing {"connection_id":122413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308a"} 
[2026-07-05 10:05:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505724160001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783225786000,"timestamp_ms":1783225786000,"timestamp_seconds":1783225786,"priority":1,"record_length":96,"hex_timestamp":"0000019f308a1e90"} 
[2026-07-05 10:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:05: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-07-05 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505724160001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505724160001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505724160001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":122413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:05:11] local.INFO: GPS data processed {"connection_id":122413,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:05:11] local.INFO: Acknowledgment sent {"connection_id":122413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:05:56] local.INFO: TCP Data received {"connection_id":122413,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:05:56] local.INFO: Processing buffer {"connection_id":122413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:05:56] local.INFO: Packet analysis {"connection_id":122413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:05:56] local.INFO: Extracted packet for processing {"connection_id":122413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:05:56] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505801216001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:05:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783226087000,"timestamp_ms":1783226087000,"timestamp_seconds":1783226087,"priority":1,"record_length":96,"hex_timestamp":"0000019f308eb658"} 
[2026-07-05 10:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505801216001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505801216001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:05:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:05:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505801216001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":122413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:05:56] local.INFO: GPS data processed {"connection_id":122413,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:05:56] local.INFO: Acknowledgment sent {"connection_id":122413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:06:05] local.INFO: TCP Data received {"connection_id":123206,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:06:05] local.INFO: Processing buffer {"connection_id":123206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:06:05] local.INFO: IMEI packet received {"connection_id":123206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":123206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:06:10] local.INFO: TCP Data received {"connection_id":123206,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:06:10] local.INFO: Processing buffer {"connection_id":123206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:06:10] local.INFO: IMEI packet received {"connection_id":123206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":123206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:06:11] local.INFO: TCP Data received {"connection_id":123206,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:06:11] local.INFO: Processing buffer {"connection_id":123206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:06:11] local.INFO: Packet analysis {"connection_id":123206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:06:11] local.INFO: Extracted packet for processing {"connection_id":123206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:06:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505801216001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226087000,"timestamp_ms":1783226087000,"timestamp_seconds":1783226087,"priority":1,"record_length":96,"hex_timestamp":"0000019f308eb658"} 
[2026-07-05 10:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505801216001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505801216001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:06:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505801216001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":123206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:06:11] local.INFO: GPS data processed {"connection_id":123206,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:06:11] local.INFO: Acknowledgment sent {"connection_id":123206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:06:42] local.INFO: TCP Data received {"connection_id":123206,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:06:42] local.INFO: Processing buffer {"connection_id":123206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:06:42] local.INFO: Packet analysis {"connection_id":123206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:06:42] local.INFO: Extracted packet for processing {"connection_id":123206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:06:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505801216001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783226087000,"timestamp_ms":1783226087000,"timestamp_seconds":1783226087,"priority":1,"record_length":96,"hex_timestamp":"0000019f308eb658"} 
[2026-07-05 10:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:06: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-07-05 10:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505801216001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505801216001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:06:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505801216001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":123206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:06:42] local.INFO: GPS data processed {"connection_id":123206,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:06:42] local.INFO: Acknowledgment sent {"connection_id":123206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:07:05] local.INFO: TCP Data received {"connection_id":122415,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:07:05] local.INFO: Processing buffer {"connection_id":122415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:07:05] local.INFO: IMEI packet received {"connection_id":122415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":122415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:07:10] local.INFO: TCP Data received {"connection_id":122415,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:07:10] local.INFO: Processing buffer {"connection_id":122415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:07:10] local.INFO: IMEI packet received {"connection_id":122415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":122415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:07:11] local.INFO: TCP Data received {"connection_id":122415,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:07:11] local.INFO: Processing buffer {"connection_id":122415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:07:11] local.INFO: Packet analysis {"connection_id":122415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:07:11] local.INFO: Extracted packet for processing {"connection_id":122415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505801216001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226087000,"timestamp_ms":1783226087000,"timestamp_seconds":1783226087,"priority":1,"record_length":96,"hex_timestamp":"0000019f308eb658"} 
[2026-07-05 10:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505801216001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505801216001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505801216001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":122415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:07:11] local.INFO: GPS data processed {"connection_id":122415,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:07:11] local.INFO: Acknowledgment sent {"connection_id":122415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:07:42] local.INFO: TCP Data received {"connection_id":122415,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:07:42] local.INFO: Processing buffer {"connection_id":122415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:07:42] local.INFO: Packet analysis {"connection_id":122415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:07:42] local.INFO: Extracted packet for processing {"connection_id":122415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505801216001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783226087000,"timestamp_ms":1783226087000,"timestamp_seconds":1783226087,"priority":1,"record_length":96,"hex_timestamp":"0000019f308eb658"} 
[2026-07-05 10:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:07: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-07-05 10:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505801216001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505801216001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:07:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505801216001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":122415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:07:42] local.INFO: GPS data processed {"connection_id":122415,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:07:42] local.INFO: Acknowledgment sent {"connection_id":122415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:08:10] local.INFO: TCP Data received {"connection_id":124406,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:08:10] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:08:10] local.INFO: IMEI packet received {"connection_id":124406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":124406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:08:15] local.INFO: TCP Data received {"connection_id":124406,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:08:15] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:08:15] local.INFO: IMEI packet received {"connection_id":124406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":124406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:08:17] local.INFO: TCP Data received {"connection_id":124406,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:08:17] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:08:17] local.INFO: Packet analysis {"connection_id":124406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:08:17] local.INFO: Extracted packet for processing {"connection_id":124406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:08:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505801216001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:08:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783226087000,"timestamp_ms":1783226087000,"timestamp_seconds":1783226087,"priority":1,"record_length":96,"hex_timestamp":"0000019f308eb658"} 
[2026-07-05 10:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505801216001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505801216001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:08:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:08:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:08:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505801216001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":124406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:08:17] local.INFO: GPS data processed {"connection_id":124406,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:08:17] local.INFO: Acknowledgment sent {"connection_id":124406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:08:20] local.INFO: TCP Data received {"connection_id":124405,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:08:20] local.INFO: Processing buffer {"connection_id":124405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:08:20] local.INFO: IMEI packet received {"connection_id":124405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":124405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:08:21] local.INFO: TCP Data received {"connection_id":124406,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:08:21] local.INFO: Processing buffer {"connection_id":124406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:08:21] local.INFO: Packet analysis {"connection_id":124406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:08:21] local.INFO: Extracted packet for processing {"connection_id":124406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:08:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505801216001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783226087000,"timestamp_ms":1783226087000,"timestamp_seconds":1783226087,"priority":1,"record_length":96,"hex_timestamp":"0000019f308eb658"} 
[2026-07-05 10:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505801216001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505801216001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:08:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505801216001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":124406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:08:21] local.INFO: GPS data processed {"connection_id":124406,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:08:21] local.INFO: Acknowledgment sent {"connection_id":124406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:09:05] local.INFO: TCP Data received {"connection_id":123208,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:09:05] local.INFO: Processing buffer {"connection_id":123208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:09:05] local.INFO: IMEI packet received {"connection_id":123208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":123208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:09:06] local.INFO: TCP Data received {"connection_id":123207,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:09:06] local.INFO: Processing buffer {"connection_id":123207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:09:06] local.INFO: IMEI packet received {"connection_id":123207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":123207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:09:10] local.INFO: TCP Data received {"connection_id":123207,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:09:10] local.INFO: Processing buffer {"connection_id":123207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:09:10] local.INFO: IMEI packet received {"connection_id":123207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":123207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:09:11] local.INFO: TCP Data received {"connection_id":123207,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:09:11] local.INFO: Processing buffer {"connection_id":123207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:09:11] local.INFO: Packet analysis {"connection_id":123207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:09:11] local.INFO: Extracted packet for processing {"connection_id":123207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505801216001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226087000,"timestamp_ms":1783226087000,"timestamp_seconds":1783226087,"priority":1,"record_length":96,"hex_timestamp":"0000019f308eb658"} 
[2026-07-05 10:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505801216001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505801216001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505801216001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":123207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:09:11] local.INFO: GPS data processed {"connection_id":123207,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:09:11] local.INFO: Acknowledgment sent {"connection_id":123207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:09:42] local.INFO: TCP Data received {"connection_id":123207,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:09:42] local.INFO: Processing buffer {"connection_id":123207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:09:42] local.INFO: Packet analysis {"connection_id":123207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:09:42] local.INFO: Extracted packet for processing {"connection_id":123207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505801216001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783226087000,"timestamp_ms":1783226087000,"timestamp_seconds":1783226087,"priority":1,"record_length":96,"hex_timestamp":"0000019f308eb658"} 
[2026-07-05 10:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:09: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-07-05 10: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:09: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-07-05 10: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-07-05 10:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505801216001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505801216001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:09:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505801216001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":123207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:09:42] local.INFO: GPS data processed {"connection_id":123207,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:09:42] local.INFO: Acknowledgment sent {"connection_id":123207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:10:05] local.INFO: TCP Data received {"connection_id":122481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:10:05] local.INFO: Processing buffer {"connection_id":122481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:10:05] local.INFO: IMEI packet received {"connection_id":122481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":122481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:10:10] local.INFO: TCP Data received {"connection_id":122481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:10:10] local.INFO: Processing buffer {"connection_id":122481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:10:10] local.INFO: IMEI packet received {"connection_id":122481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":122481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:10:11] local.INFO: TCP Data received {"connection_id":122481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:10:11] local.INFO: Processing buffer {"connection_id":122481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f308eb658012cb2a24007823a98004b013b2c..."} 
[2026-07-05 10:10:11] local.INFO: Packet analysis {"connection_id":122481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:10:11] local.INFO: Extracted packet for processing {"connection_id":122481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f308e"} 
[2026-07-05 10:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505801216001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226087000,"timestamp_ms":1783226087000,"timestamp_seconds":1783226087,"priority":1,"record_length":96,"hex_timestamp":"0000019f308eb658"} 
[2026-07-05 10:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505801216001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505801216001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:10:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505801216001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":122481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:10:11] local.INFO: GPS data processed {"connection_id":122481,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:10:11] local.INFO: Acknowledgment sent {"connection_id":122481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:10:42] local.INFO: TCP Data received {"connection_id":122481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:10:42] local.INFO: Processing buffer {"connection_id":122481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:10:42] local.INFO: Packet analysis {"connection_id":122481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:10:42] local.INFO: Extracted packet for processing {"connection_id":122481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505878272001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783226388000,"timestamp_ms":1783226388000,"timestamp_seconds":1783226388,"priority":1,"record_length":96,"hex_timestamp":"0000019f30934e20"} 
[2026-07-05 10:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:10: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-07-05 10:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:10: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-07-05 10:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505878272001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505878272001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:10:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505878272001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":122481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:10:42] local.INFO: GPS data processed {"connection_id":122481,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:10:42] local.INFO: Acknowledgment sent {"connection_id":122481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:11:05] local.INFO: TCP Data received {"connection_id":123209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:11:05] local.INFO: Processing buffer {"connection_id":123209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:11:05] local.INFO: IMEI packet received {"connection_id":123209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":123209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:11:10] local.INFO: TCP Data received {"connection_id":123209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:11:10] local.INFO: Processing buffer {"connection_id":123209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:11:10] local.INFO: IMEI packet received {"connection_id":123209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":123209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:11:11] local.INFO: TCP Data received {"connection_id":123209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:11:11] local.INFO: Processing buffer {"connection_id":123209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:11:11] local.INFO: Packet analysis {"connection_id":123209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:11:11] local.INFO: Extracted packet for processing {"connection_id":123209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505878272001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226388000,"timestamp_ms":1783226388000,"timestamp_seconds":1783226388,"priority":1,"record_length":96,"hex_timestamp":"0000019f30934e20"} 
[2026-07-05 10:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505878272001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505878272001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:11:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505878272001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":123209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:11:11] local.INFO: GPS data processed {"connection_id":123209,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:11:11] local.INFO: Acknowledgment sent {"connection_id":123209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:11:42] local.INFO: TCP Data received {"connection_id":123209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:11:42] local.INFO: Processing buffer {"connection_id":123209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:11:42] local.INFO: Packet analysis {"connection_id":123209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:11:42] local.INFO: Extracted packet for processing {"connection_id":123209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505878272001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783226388000,"timestamp_ms":1783226388000,"timestamp_seconds":1783226388,"priority":1,"record_length":96,"hex_timestamp":"0000019f30934e20"} 
[2026-07-05 10:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:11: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-07-05 10:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:11: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-07-05 10:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505878272001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505878272001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:11:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505878272001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":123209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:11:42] local.INFO: GPS data processed {"connection_id":123209,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:11:42] local.INFO: Acknowledgment sent {"connection_id":123209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:12:05] local.INFO: TCP Data received {"connection_id":122417,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:12:05] local.INFO: Processing buffer {"connection_id":122417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:12:05] local.INFO: IMEI packet received {"connection_id":122417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":122417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:12:10] local.INFO: TCP Data received {"connection_id":122417,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:12:10] local.INFO: Processing buffer {"connection_id":122417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:12:10] local.INFO: IMEI packet received {"connection_id":122417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":122417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:12:11] local.INFO: TCP Data received {"connection_id":122417,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:12:11] local.INFO: Processing buffer {"connection_id":122417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:12:11] local.INFO: Packet analysis {"connection_id":122417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:12:11] local.INFO: Extracted packet for processing {"connection_id":122417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:12:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505878272001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226388000,"timestamp_ms":1783226388000,"timestamp_seconds":1783226388,"priority":1,"record_length":96,"hex_timestamp":"0000019f30934e20"} 
[2026-07-05 10:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505878272001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505878272001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:12:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505878272001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":122417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:12:11] local.INFO: GPS data processed {"connection_id":122417,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:12:11] local.INFO: Acknowledgment sent {"connection_id":122417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:12:42] local.INFO: TCP Data received {"connection_id":122417,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:12:42] local.INFO: Processing buffer {"connection_id":122417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:12:42] local.INFO: Packet analysis {"connection_id":122417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:12:42] local.INFO: Extracted packet for processing {"connection_id":122417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:12:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505878272001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783226388000,"timestamp_ms":1783226388000,"timestamp_seconds":1783226388,"priority":1,"record_length":96,"hex_timestamp":"0000019f30934e20"} 
[2026-07-05 10:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:12: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-07-05 10:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:12: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-07-05 10:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505878272001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505878272001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:12:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505878272001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":122417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:12:42] local.INFO: GPS data processed {"connection_id":122417,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:12:42] local.INFO: Acknowledgment sent {"connection_id":122417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:13:10] local.INFO: TCP Data received {"connection_id":122484,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:13:10] local.INFO: Processing buffer {"connection_id":122484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:13:10] local.INFO: IMEI packet received {"connection_id":122484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":122484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:13:15] local.INFO: TCP Data received {"connection_id":122484,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:13:15] local.INFO: Processing buffer {"connection_id":122484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:13:15] local.INFO: IMEI packet received {"connection_id":122484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":122484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:13:16] local.INFO: TCP Data received {"connection_id":122484,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:13:16] local.INFO: Processing buffer {"connection_id":122484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:13:16] local.INFO: Packet analysis {"connection_id":122484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:13:16] local.INFO: Extracted packet for processing {"connection_id":122484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:13:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505878272001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:13:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783226388000,"timestamp_ms":1783226388000,"timestamp_seconds":1783226388,"priority":1,"record_length":96,"hex_timestamp":"0000019f30934e20"} 
[2026-07-05 10:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505878272001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505878272001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:13:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:13:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:13:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505878272001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":122484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:13:16] local.INFO: GPS data processed {"connection_id":122484,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:13:16] local.INFO: Acknowledgment sent {"connection_id":122484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:13:21] local.INFO: TCP Data received {"connection_id":122484,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:13:21] local.INFO: Processing buffer {"connection_id":122484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:13:21] local.INFO: Packet analysis {"connection_id":122484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:13:21] local.INFO: Extracted packet for processing {"connection_id":122484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:13:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505878272001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783226388000,"timestamp_ms":1783226388000,"timestamp_seconds":1783226388,"priority":1,"record_length":96,"hex_timestamp":"0000019f30934e20"} 
[2026-07-05 10:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505878272001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505878272001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:13:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505878272001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":122484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:13:21] local.INFO: GPS data processed {"connection_id":122484,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:13:21] local.INFO: Acknowledgment sent {"connection_id":122484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:14:06] local.INFO: TCP Data received {"connection_id":123210,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:14:06] local.INFO: Processing buffer {"connection_id":123210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:14:06] local.INFO: IMEI packet received {"connection_id":123210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":123210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:14:10] local.INFO: TCP Data received {"connection_id":123210,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:14:10] local.INFO: Processing buffer {"connection_id":123210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:14:10] local.INFO: IMEI packet received {"connection_id":123210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":123210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:14:11] local.INFO: TCP Data received {"connection_id":123210,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:14:11] local.INFO: Processing buffer {"connection_id":123210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:14:11] local.INFO: Packet analysis {"connection_id":123210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:14:11] local.INFO: Extracted packet for processing {"connection_id":123210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:14:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505878272001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226388000,"timestamp_ms":1783226388000,"timestamp_seconds":1783226388,"priority":1,"record_length":96,"hex_timestamp":"0000019f30934e20"} 
[2026-07-05 10:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505878272001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505878272001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:14:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505878272001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":123210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:14:11] local.INFO: GPS data processed {"connection_id":123210,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:14:11] local.INFO: Acknowledgment sent {"connection_id":123210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:14:35] local.INFO: TCP Data received {"connection_id":124408,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:14:35] local.INFO: Processing buffer {"connection_id":124408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:14:35] local.INFO: IMEI packet received {"connection_id":124408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":124408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:14:42] local.INFO: TCP Data received {"connection_id":123210,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:14:42] local.INFO: Processing buffer {"connection_id":123210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:14:42] local.INFO: Packet analysis {"connection_id":123210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:14:42] local.INFO: Extracted packet for processing {"connection_id":123210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:14:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505878272001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783226388000,"timestamp_ms":1783226388000,"timestamp_seconds":1783226388,"priority":1,"record_length":96,"hex_timestamp":"0000019f30934e20"} 
[2026-07-05 10:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:14: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-07-05 10:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:14: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-07-05 10: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-07-05 10:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505878272001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505878272001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:14:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505878272001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":123210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:14:43] local.INFO: GPS data processed {"connection_id":123210,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:14:43] local.INFO: Acknowledgment sent {"connection_id":123210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:15:05] local.INFO: TCP Data received {"connection_id":124409,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:15:05] local.INFO: Processing buffer {"connection_id":124409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:15:05] local.INFO: IMEI packet received {"connection_id":124409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":124409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:15:05] local.INFO: TCP Data received {"connection_id":122485,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:15:05] local.INFO: Processing buffer {"connection_id":122485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:15:05] local.INFO: IMEI packet received {"connection_id":122485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":122485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:15:10] local.INFO: TCP Data received {"connection_id":122485,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:15:10] local.INFO: Processing buffer {"connection_id":122485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:15:10] local.INFO: IMEI packet received {"connection_id":122485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":122485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:15:11] local.INFO: TCP Data received {"connection_id":122485,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:15:11] local.INFO: Processing buffer {"connection_id":122485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30934e20012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:15:11] local.INFO: Packet analysis {"connection_id":122485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:15:11] local.INFO: Extracted packet for processing {"connection_id":122485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3093"} 
[2026-07-05 10:15:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505878272001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226388000,"timestamp_ms":1783226388000,"timestamp_seconds":1783226388,"priority":1,"record_length":96,"hex_timestamp":"0000019f30934e20"} 
[2026-07-05 10:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505878272001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505878272001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:15:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505878272001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":122485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:15:11] local.INFO: GPS data processed {"connection_id":122485,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:15:11] local.INFO: Acknowledgment sent {"connection_id":122485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:15:43] local.INFO: TCP Data received {"connection_id":122485,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:15:43] local.INFO: Processing buffer {"connection_id":122485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:15:43] local.INFO: Packet analysis {"connection_id":122485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:15:43] local.INFO: Extracted packet for processing {"connection_id":122485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:15:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505955328001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:15:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783226689000,"timestamp_ms":1783226689000,"timestamp_seconds":1783226689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3097e5e8"} 
[2026-07-05 10:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:15: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-07-05 10:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505955328001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505955328001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:15:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:15:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505955328001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":122485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:15:43] local.INFO: GPS data processed {"connection_id":122485,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:15:43] local.INFO: Acknowledgment sent {"connection_id":122485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:16:07] local.INFO: TCP Data received {"connection_id":123211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:16:07] local.INFO: Processing buffer {"connection_id":123211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:16:07] local.INFO: IMEI packet received {"connection_id":123211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":123211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:16:10] local.INFO: TCP Data received {"connection_id":123211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:16:10] local.INFO: Processing buffer {"connection_id":123211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:16:10] local.INFO: IMEI packet received {"connection_id":123211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":123211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:16:11] local.INFO: TCP Data received {"connection_id":123211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:16:11] local.INFO: Processing buffer {"connection_id":123211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:16:11] local.INFO: Packet analysis {"connection_id":123211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:16:11] local.INFO: Extracted packet for processing {"connection_id":123211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505955328001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226689000,"timestamp_ms":1783226689000,"timestamp_seconds":1783226689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3097e5e8"} 
[2026-07-05 10:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505955328001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505955328001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:16:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505955328001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":123211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:16:11] local.INFO: GPS data processed {"connection_id":123211,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:16:11] local.INFO: Acknowledgment sent {"connection_id":123211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:16:42] local.INFO: TCP Data received {"connection_id":123211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:16:42] local.INFO: Processing buffer {"connection_id":123211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:16:42] local.INFO: Packet analysis {"connection_id":123211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:16:42] local.INFO: Extracted packet for processing {"connection_id":123211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505955328001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783226689000,"timestamp_ms":1783226689000,"timestamp_seconds":1783226689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3097e5e8"} 
[2026-07-05 10:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:16: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-07-05 10:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:16: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-07-05 10:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505955328001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505955328001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:16:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505955328001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":123211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:16:42] local.INFO: GPS data processed {"connection_id":123211,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:16:42] local.INFO: Acknowledgment sent {"connection_id":123211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:17:05] local.INFO: TCP Data received {"connection_id":122418,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:17:05] local.INFO: Processing buffer {"connection_id":122418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:17:05] local.INFO: IMEI packet received {"connection_id":122418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":122418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:17:10] local.INFO: TCP Data received {"connection_id":122418,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:17:10] local.INFO: Processing buffer {"connection_id":122418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:17:10] local.INFO: IMEI packet received {"connection_id":122418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":122418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:17:11] local.INFO: TCP Data received {"connection_id":122418,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:17:11] local.INFO: Processing buffer {"connection_id":122418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:17:11] local.INFO: Packet analysis {"connection_id":122418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:17:11] local.INFO: Extracted packet for processing {"connection_id":122418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505955328001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226689000,"timestamp_ms":1783226689000,"timestamp_seconds":1783226689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3097e5e8"} 
[2026-07-05 10:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505955328001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505955328001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:17:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505955328001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":122418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:17:11] local.INFO: GPS data processed {"connection_id":122418,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:17:11] local.INFO: Acknowledgment sent {"connection_id":122418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:17:42] local.INFO: TCP Data received {"connection_id":122418,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:17:42] local.INFO: Processing buffer {"connection_id":122418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:17:42] local.INFO: Packet analysis {"connection_id":122418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:17:42] local.INFO: Extracted packet for processing {"connection_id":122418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505955328001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783226689000,"timestamp_ms":1783226689000,"timestamp_seconds":1783226689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3097e5e8"} 
[2026-07-05 10:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:17: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-07-05 10:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:17: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-07-05 10:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505955328001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505955328001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505955328001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":122418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:17:43] local.INFO: GPS data processed {"connection_id":122418,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:17:43] local.INFO: Acknowledgment sent {"connection_id":122418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:18:05] local.INFO: TCP Data received {"connection_id":122487,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:18:05] local.INFO: Processing buffer {"connection_id":122487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:18:05] local.INFO: IMEI packet received {"connection_id":122487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":122487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:18:10] local.INFO: TCP Data received {"connection_id":122487,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:18:10] local.INFO: Processing buffer {"connection_id":122487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:18:10] local.INFO: IMEI packet received {"connection_id":122487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":122487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:18:11] local.INFO: TCP Data received {"connection_id":122487,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:18:11] local.INFO: Processing buffer {"connection_id":122487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:18:11] local.INFO: Packet analysis {"connection_id":122487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:18:11] local.INFO: Extracted packet for processing {"connection_id":122487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505955328001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226689000,"timestamp_ms":1783226689000,"timestamp_seconds":1783226689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3097e5e8"} 
[2026-07-05 10:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505955328001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505955328001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:18:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505955328001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":122487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:18:11] local.INFO: GPS data processed {"connection_id":122487,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:18:11] local.INFO: Acknowledgment sent {"connection_id":122487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:18:43] local.INFO: TCP Data received {"connection_id":122487,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:18:43] local.INFO: Processing buffer {"connection_id":122487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:18:43] local.INFO: Packet analysis {"connection_id":122487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:18:43] local.INFO: Extracted packet for processing {"connection_id":122487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:18:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505955328001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:18:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783226689000,"timestamp_ms":1783226689000,"timestamp_seconds":1783226689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3097e5e8"} 
[2026-07-05 10:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:18: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-07-05 10:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505955328001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505955328001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:18:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:18:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505955328001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":122487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:18:43] local.INFO: GPS data processed {"connection_id":122487,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:18:43] local.INFO: Acknowledgment sent {"connection_id":122487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:19:10] local.INFO: TCP Data received {"connection_id":123214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:19:10] local.INFO: Processing buffer {"connection_id":123214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:19:10] local.INFO: IMEI packet received {"connection_id":123214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":123214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:19:15] local.INFO: TCP Data received {"connection_id":123214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:19:15] local.INFO: Processing buffer {"connection_id":123214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:19:15] local.INFO: IMEI packet received {"connection_id":123214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":123214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:19:16] local.INFO: TCP Data received {"connection_id":123214,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:19:16] local.INFO: Processing buffer {"connection_id":123214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:19:16] local.INFO: Packet analysis {"connection_id":123214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:19:16] local.INFO: Extracted packet for processing {"connection_id":123214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:19:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505955328001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:19:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783226689000,"timestamp_ms":1783226689000,"timestamp_seconds":1783226689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3097e5e8"} 
[2026-07-05 10:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505955328001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505955328001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:19:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:19:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:19:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505955328001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":123214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:19:16] local.INFO: GPS data processed {"connection_id":123214,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:19:16] local.INFO: Acknowledgment sent {"connection_id":123214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:19:21] local.INFO: TCP Data received {"connection_id":123214,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:19:21] local.INFO: Processing buffer {"connection_id":123214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:19:21] local.INFO: Packet analysis {"connection_id":123214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:19:21] local.INFO: Extracted packet for processing {"connection_id":123214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:19:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505955328001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783226689000,"timestamp_ms":1783226689000,"timestamp_seconds":1783226689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3097e5e8"} 
[2026-07-05 10:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505955328001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505955328001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:19:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505955328001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":123214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:19:21] local.INFO: GPS data processed {"connection_id":123214,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:19:21] local.INFO: Acknowledgment sent {"connection_id":123214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:20:08] local.INFO: TCP Data received {"connection_id":122419,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:20:08] local.INFO: Processing buffer {"connection_id":122419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:20:08] local.INFO: IMEI packet received {"connection_id":122419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":122419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:20:11] local.INFO: TCP Data received {"connection_id":122419,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:20:11] local.INFO: Processing buffer {"connection_id":122419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:20:11] local.INFO: IMEI packet received {"connection_id":122419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":122419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:20:16] local.INFO: TCP Data received {"connection_id":122419,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:20:16] local.INFO: Processing buffer {"connection_id":122419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:20:16] local.INFO: Packet analysis {"connection_id":122419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:20:16] local.INFO: Extracted packet for processing {"connection_id":122419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:20:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505955328001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:20:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783226689000,"timestamp_ms":1783226689000,"timestamp_seconds":1783226689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3097e5e8"} 
[2026-07-05 10:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505955328001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505955328001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:20:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:20:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505955328001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":122419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:20:16] local.INFO: GPS data processed {"connection_id":122419,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:20:16] local.INFO: Acknowledgment sent {"connection_id":122419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:20:17] local.INFO: TCP Data received {"connection_id":122419,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:20:17] local.INFO: Processing buffer {"connection_id":122419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3097e5e8012cb2a24007823a98004b013b26..."} 
[2026-07-05 10:20:17] local.INFO: Packet analysis {"connection_id":122419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:20:17] local.INFO: Extracted packet for processing {"connection_id":122419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3097"} 
[2026-07-05 10:20:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456505955328001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:20:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783226689000,"timestamp_ms":1783226689000,"timestamp_seconds":1783226689,"priority":1,"record_length":96,"hex_timestamp":"0000019f3097e5e8"} 
[2026-07-05 10:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456505955328001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456505955328001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:20:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:20:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:20:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456505955328001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":122419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:20:17] local.INFO: GPS data processed {"connection_id":122419,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:20:17] local.INFO: Acknowledgment sent {"connection_id":122419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:20:36] local.INFO: TCP Data received {"connection_id":124410,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:20:36] local.INFO: Processing buffer {"connection_id":124410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:20:36] local.INFO: IMEI packet received {"connection_id":124410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":124410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:21:05] local.INFO: TCP Data received {"connection_id":122420,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:21:05] local.INFO: Processing buffer {"connection_id":122420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:21:05] local.INFO: IMEI packet received {"connection_id":122420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":122420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:21:05] local.INFO: TCP Data received {"connection_id":122489,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:21:05] local.INFO: Processing buffer {"connection_id":122489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:21:05] local.INFO: IMEI packet received {"connection_id":122489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":122489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:21:10] local.INFO: TCP Data received {"connection_id":122489,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:21:10] local.INFO: Processing buffer {"connection_id":122489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:21:10] local.INFO: IMEI packet received {"connection_id":122489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":122489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:21:11] local.INFO: TCP Data received {"connection_id":122489,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:21:11] local.INFO: Processing buffer {"connection_id":122489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:21:11] local.INFO: Packet analysis {"connection_id":122489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:21:11] local.INFO: Extracted packet for processing {"connection_id":122489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:21:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506032384001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226990000,"timestamp_ms":1783226990000,"timestamp_seconds":1783226990,"priority":1,"record_length":96,"hex_timestamp":"0000019f309c7db0"} 
[2026-07-05 10:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506032384001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506032384001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:21:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506032384001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":122489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:21:11] local.INFO: GPS data processed {"connection_id":122489,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:21:11] local.INFO: Acknowledgment sent {"connection_id":122489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:21:17] local.INFO: TCP Data received {"connection_id":122419,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:21:17] local.INFO: Processing buffer {"connection_id":122419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:21:17] local.INFO: Packet analysis {"connection_id":122419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:21:17] local.INFO: Extracted packet for processing {"connection_id":122419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:21:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506032384001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:21:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783226990000,"timestamp_ms":1783226990000,"timestamp_seconds":1783226990,"priority":1,"record_length":96,"hex_timestamp":"0000019f309c7db0"} 
[2026-07-05 10:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506032384001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506032384001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:21:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:21:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:21:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506032384001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":122419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:21:17] local.INFO: GPS data processed {"connection_id":122419,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:21:17] local.INFO: Acknowledgment sent {"connection_id":122419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:21:42] local.INFO: TCP Data received {"connection_id":122489,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:21:43] local.INFO: Processing buffer {"connection_id":122489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:21:43] local.INFO: Packet analysis {"connection_id":122489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:21:43] local.INFO: Extracted packet for processing {"connection_id":122489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:21:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506032384001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:21:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783226990000,"timestamp_ms":1783226990000,"timestamp_seconds":1783226990,"priority":1,"record_length":96,"hex_timestamp":"0000019f309c7db0"} 
[2026-07-05 10:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:21: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-07-05 10:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506032384001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506032384001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:21:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:21:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506032384001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":122489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:21:43] local.INFO: GPS data processed {"connection_id":122489,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:21:43] local.INFO: Acknowledgment sent {"connection_id":122489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:22:05] local.INFO: TCP Data received {"connection_id":122490,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:22:05] local.INFO: Processing buffer {"connection_id":122490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:22:05] local.INFO: IMEI packet received {"connection_id":122490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":122490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:22:10] local.INFO: TCP Data received {"connection_id":122490,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:22:10] local.INFO: Processing buffer {"connection_id":122490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:22:10] local.INFO: IMEI packet received {"connection_id":122490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":122490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:22:11] local.INFO: TCP Data received {"connection_id":122490,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:22:11] local.INFO: Processing buffer {"connection_id":122490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:22:11] local.INFO: Packet analysis {"connection_id":122490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:22:11] local.INFO: Extracted packet for processing {"connection_id":122490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506032384001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226990000,"timestamp_ms":1783226990000,"timestamp_seconds":1783226990,"priority":1,"record_length":96,"hex_timestamp":"0000019f309c7db0"} 
[2026-07-05 10:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506032384001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506032384001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:22:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506032384001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":122490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:22:11] local.INFO: GPS data processed {"connection_id":122490,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:22:11] local.INFO: Acknowledgment sent {"connection_id":122490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:22:42] local.INFO: TCP Data received {"connection_id":122490,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:22:42] local.INFO: Processing buffer {"connection_id":122490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:22:42] local.INFO: Packet analysis {"connection_id":122490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:22:42] local.INFO: Extracted packet for processing {"connection_id":122490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506032384001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783226990000,"timestamp_ms":1783226990000,"timestamp_seconds":1783226990,"priority":1,"record_length":96,"hex_timestamp":"0000019f309c7db0"} 
[2026-07-05 10:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:22: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-07-05 10:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:22: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-07-05 10:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506032384001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506032384001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:22:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506032384001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":122490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:22:42] local.INFO: GPS data processed {"connection_id":122490,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:22:42] local.INFO: Acknowledgment sent {"connection_id":122490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:23:10] local.INFO: TCP Data received {"connection_id":124412,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:23:10] local.INFO: Processing buffer {"connection_id":124412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:23:10] local.INFO: IMEI packet received {"connection_id":124412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":124412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:23:16] local.INFO: TCP Data received {"connection_id":124412,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:23:16] local.INFO: Processing buffer {"connection_id":124412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:23:16] local.INFO: IMEI packet received {"connection_id":124412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":124412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:23:18] local.INFO: TCP Data received {"connection_id":124412,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:23:18] local.INFO: Processing buffer {"connection_id":124412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:23:18] local.INFO: Packet analysis {"connection_id":124412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:23:18] local.INFO: Extracted packet for processing {"connection_id":124412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:23:18] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506032384001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:23:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783226990000,"timestamp_ms":1783226990000,"timestamp_seconds":1783226990,"priority":1,"record_length":96,"hex_timestamp":"0000019f309c7db0"} 
[2026-07-05 10:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506032384001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506032384001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:23:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:23:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:23:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506032384001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":124412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:23:18] local.INFO: GPS data processed {"connection_id":124412,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:23:18] local.INFO: Acknowledgment sent {"connection_id":124412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:23:21] local.INFO: TCP Data received {"connection_id":124412,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:23:21] local.INFO: Processing buffer {"connection_id":124412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:23:21] local.INFO: Packet analysis {"connection_id":124412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:23:21] local.INFO: Extracted packet for processing {"connection_id":124412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:23:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506032384001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783226990000,"timestamp_ms":1783226990000,"timestamp_seconds":1783226990,"priority":1,"record_length":96,"hex_timestamp":"0000019f309c7db0"} 
[2026-07-05 10:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506032384001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506032384001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506032384001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":124412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:23:21] local.INFO: GPS data processed {"connection_id":124412,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:23:21] local.INFO: Acknowledgment sent {"connection_id":124412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:24:05] local.INFO: TCP Data received {"connection_id":122422,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:24:05] local.INFO: Processing buffer {"connection_id":122422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:24:05] local.INFO: IMEI packet received {"connection_id":122422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":122422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:24:10] local.INFO: TCP Data received {"connection_id":122422,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:24:10] local.INFO: Processing buffer {"connection_id":122422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:24:10] local.INFO: IMEI packet received {"connection_id":122422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":122422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:24:11] local.INFO: TCP Data received {"connection_id":122422,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:24:11] local.INFO: Processing buffer {"connection_id":122422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:24:11] local.INFO: Packet analysis {"connection_id":122422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:24:11] local.INFO: Extracted packet for processing {"connection_id":122422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:24:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:24: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-07-05 10:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506032384001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226990000,"timestamp_ms":1783226990000,"timestamp_seconds":1783226990,"priority":1,"record_length":96,"hex_timestamp":"0000019f309c7db0"} 
[2026-07-05 10:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:24: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-07-05 10:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506032384001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506032384001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:24:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506032384001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":122422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:24:11] local.INFO: GPS data processed {"connection_id":122422,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:24:11] local.INFO: Acknowledgment sent {"connection_id":122422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:24:43] local.INFO: TCP Data received {"connection_id":122422,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:24:43] local.INFO: Processing buffer {"connection_id":122422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:24:43] local.INFO: Packet analysis {"connection_id":122422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:24:43] local.INFO: Extracted packet for processing {"connection_id":122422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:24:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506032384001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783226990000,"timestamp_ms":1783226990000,"timestamp_seconds":1783226990,"priority":1,"record_length":96,"hex_timestamp":"0000019f309c7db0"} 
[2026-07-05 10:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:24: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-07-05 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506032384001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506032384001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:24:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506032384001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":122422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:24:43] local.INFO: GPS data processed {"connection_id":122422,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:24:43] local.INFO: Acknowledgment sent {"connection_id":122422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:25:05] local.INFO: TCP Data received {"connection_id":123215,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:25:05] local.INFO: Processing buffer {"connection_id":123215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:25:05] local.INFO: IMEI packet received {"connection_id":123215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":123215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:25:10] local.INFO: TCP Data received {"connection_id":123215,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:25:10] local.INFO: Processing buffer {"connection_id":123215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:25:10] local.INFO: IMEI packet received {"connection_id":123215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":123215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:25:11] local.INFO: TCP Data received {"connection_id":123215,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:25:11] local.INFO: Processing buffer {"connection_id":123215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f309c7db0012cb2a24007823a98004b013b2b..."} 
[2026-07-05 10:25:11] local.INFO: Packet analysis {"connection_id":123215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:25:11] local.INFO: Extracted packet for processing {"connection_id":123215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f309c"} 
[2026-07-05 10:25:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":75,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506032384001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783226990000,"timestamp_ms":1783226990000,"timestamp_seconds":1783226990,"priority":1,"record_length":96,"hex_timestamp":"0000019f309c7db0"} 
[2026-07-05 10:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506032384001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506032384001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:25:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506032384001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":123215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:25:11] local.INFO: GPS data processed {"connection_id":123215,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:25:11] local.INFO: Acknowledgment sent {"connection_id":123215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:25:42] local.INFO: TCP Data received {"connection_id":123215,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:25:42] local.INFO: Processing buffer {"connection_id":123215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:25:42] local.INFO: Packet analysis {"connection_id":123215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:25:42] local.INFO: Extracted packet for processing {"connection_id":123215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:25:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506109440001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783227291000,"timestamp_ms":1783227291000,"timestamp_seconds":1783227291,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a11578"} 
[2026-07-05 10:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:25: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-07-05 10:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506109440001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506109440001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:25:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506109440001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":123215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:25:42] local.INFO: GPS data processed {"connection_id":123215,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:25:42] local.INFO: Acknowledgment sent {"connection_id":123215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:26:05] local.INFO: TCP Data received {"connection_id":122424,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:26:05] local.INFO: Processing buffer {"connection_id":122424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:26:05] local.INFO: IMEI packet received {"connection_id":122424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":122424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:26:10] local.INFO: TCP Data received {"connection_id":122424,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:26:10] local.INFO: Processing buffer {"connection_id":122424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:26:10] local.INFO: IMEI packet received {"connection_id":122424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":122424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:26:30] local.INFO: TCP Data received {"connection_id":122423,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:26:30] local.INFO: Processing buffer {"connection_id":122423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:26:30] local.INFO: IMEI packet received {"connection_id":122423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":122423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:27:05] local.INFO: TCP Data received {"connection_id":124413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:27:05] local.INFO: Processing buffer {"connection_id":124413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:27:05] local.INFO: IMEI packet received {"connection_id":124413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":124413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:27:12] local.INFO: TCP Data received {"connection_id":124414,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:27:12] local.INFO: Processing buffer {"connection_id":124414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:27:12] local.INFO: IMEI packet received {"connection_id":124414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":124414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:27:15] local.INFO: TCP Data received {"connection_id":124414,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:27:15] local.INFO: Processing buffer {"connection_id":124414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:27:15] local.INFO: IMEI packet received {"connection_id":124414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":124414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:27:16] local.INFO: TCP Data received {"connection_id":124414,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:27:16] local.INFO: Processing buffer {"connection_id":124414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:27:16] local.INFO: Packet analysis {"connection_id":124414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:27:16] local.INFO: Extracted packet for processing {"connection_id":124414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:27:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506109440001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:27:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783227291000,"timestamp_ms":1783227291000,"timestamp_seconds":1783227291,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a11578"} 
[2026-07-05 10:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506109440001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506109440001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:27:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:27:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:27:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506109440001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":124414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:27:16] local.INFO: GPS data processed {"connection_id":124414,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:27:16] local.INFO: Acknowledgment sent {"connection_id":124414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:27:21] local.INFO: TCP Data received {"connection_id":124414,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:27:21] local.INFO: Processing buffer {"connection_id":124414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:27:21] local.INFO: Packet analysis {"connection_id":124414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:27:21] local.INFO: Extracted packet for processing {"connection_id":124414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:27:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506109440001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783227291000,"timestamp_ms":1783227291000,"timestamp_seconds":1783227291,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a11578"} 
[2026-07-05 10:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506109440001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506109440001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:27:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506109440001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":124414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:27:21] local.INFO: GPS data processed {"connection_id":124414,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:27:21] local.INFO: Acknowledgment sent {"connection_id":124414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:28:01] local.INFO: TCP Data received {"connection_id":122424,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:28:01] local.INFO: Processing buffer {"connection_id":122424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:28:01] local.INFO: Packet analysis {"connection_id":122424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:28:01] local.INFO: Extracted packet for processing {"connection_id":122424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:28:01] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506109440001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:28:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783227291000,"timestamp_ms":1783227291000,"timestamp_seconds":1783227291,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a11578"} 
[2026-07-05 10:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:28: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-07-05 10: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-07-05 10:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":122424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":122424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":122424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506109440001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506109440001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:28:01] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:28:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506109440001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":122424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:28:01] local.INFO: GPS data processed {"connection_id":122424,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:28:01] local.INFO: Acknowledgment sent {"connection_id":122424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:28:05] local.INFO: TCP Data received {"connection_id":122425,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:28:05] local.INFO: Processing buffer {"connection_id":122425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:28:05] local.INFO: IMEI packet received {"connection_id":122425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":122425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:28:10] local.INFO: TCP Data received {"connection_id":122425,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:28:10] local.INFO: Processing buffer {"connection_id":122425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:28:10] local.INFO: IMEI packet received {"connection_id":122425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":122425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:28:12] local.INFO: TCP Data received {"connection_id":122425,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:28:12] local.INFO: Processing buffer {"connection_id":122425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:28:12] local.INFO: Packet analysis {"connection_id":122425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:28:12] local.INFO: Extracted packet for processing {"connection_id":122425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:28:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506109440001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783227291000,"timestamp_ms":1783227291000,"timestamp_seconds":1783227291,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a11578"} 
[2026-07-05 10:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506109440001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506109440001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:28:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:28:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506109440001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":122425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:28:12] local.INFO: GPS data processed {"connection_id":122425,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:28:12] local.INFO: Acknowledgment sent {"connection_id":122425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:28:43] local.INFO: TCP Data received {"connection_id":122425,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:28:43] local.INFO: Processing buffer {"connection_id":122425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:28:43] local.INFO: Packet analysis {"connection_id":122425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:28:43] local.INFO: Extracted packet for processing {"connection_id":122425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:28:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506109440001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783227291000,"timestamp_ms":1783227291000,"timestamp_seconds":1783227291,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a11578"} 
[2026-07-05 10:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:28: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-07-05 10:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:28: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-07-05 10:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506109440001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506109440001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:28:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506109440001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":122425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:28:43] local.INFO: GPS data processed {"connection_id":122425,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:28:43] local.INFO: Acknowledgment sent {"connection_id":122425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:29:05] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:29:05] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:29:05] local.INFO: IMEI packet received {"connection_id":124415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":124415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:29:10] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:29:10] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:29:10] local.INFO: IMEI packet received {"connection_id":124415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":124415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:29:11] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:29:11] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:29:11] local.INFO: Packet analysis {"connection_id":124415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:29:11] local.INFO: Extracted packet for processing {"connection_id":124415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506109440001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783227291000,"timestamp_ms":1783227291000,"timestamp_seconds":1783227291,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a11578"} 
[2026-07-05 10:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506109440001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506109440001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506109440001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":124415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:29:11] local.INFO: GPS data processed {"connection_id":124415,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:29:11] local.INFO: Acknowledgment sent {"connection_id":124415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:29:43] local.INFO: TCP Data received {"connection_id":124415,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:29:43] local.INFO: Processing buffer {"connection_id":124415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:29:43] local.INFO: Packet analysis {"connection_id":124415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:29:43] local.INFO: Extracted packet for processing {"connection_id":124415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:29:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506109440001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:29:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783227291000,"timestamp_ms":1783227291000,"timestamp_seconds":1783227291,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a11578"} 
[2026-07-05 10:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:29: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-07-05 10:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:29: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-07-05 10:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506109440001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506109440001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:29:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:29:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:29:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506109440001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":124415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:29:43] local.INFO: GPS data processed {"connection_id":124415,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:29:43] local.INFO: Acknowledgment sent {"connection_id":124415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:30:06] local.INFO: TCP Data received {"connection_id":124416,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:30:06] local.INFO: Processing buffer {"connection_id":124416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:30:06] local.INFO: IMEI packet received {"connection_id":124416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":124416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:30:10] local.INFO: TCP Data received {"connection_id":124416,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:30:10] local.INFO: Processing buffer {"connection_id":124416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:30:10] local.INFO: IMEI packet received {"connection_id":124416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":124416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:30:11] local.INFO: TCP Data received {"connection_id":124416,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:30:11] local.INFO: Processing buffer {"connection_id":124416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a11578012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:30:11] local.INFO: Packet analysis {"connection_id":124416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:30:11] local.INFO: Extracted packet for processing {"connection_id":124416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a1"} 
[2026-07-05 10:30:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506109440001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783227291000,"timestamp_ms":1783227291000,"timestamp_seconds":1783227291,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a11578"} 
[2026-07-05 10:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506109440001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506109440001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:30:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506109440001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":124416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:30:11] local.INFO: GPS data processed {"connection_id":124416,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:30:11] local.INFO: Acknowledgment sent {"connection_id":124416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:30:42] local.INFO: TCP Data received {"connection_id":124416,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:30:42] local.INFO: Processing buffer {"connection_id":124416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:30:42] local.INFO: Packet analysis {"connection_id":124416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:30:42] local.INFO: Extracted packet for processing {"connection_id":124416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:30:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506186496001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783227592000,"timestamp_ms":1783227592000,"timestamp_seconds":1783227592,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a5ad40"} 
[2026-07-05 10:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:30: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-07-05 10:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:30: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-07-05 10:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506186496001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506186496001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:30:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506186496001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":124416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:30:42] local.INFO: GPS data processed {"connection_id":124416,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:30:42] local.INFO: Acknowledgment sent {"connection_id":124416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:31:10] local.INFO: TCP Data received {"connection_id":124417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:31:10] local.INFO: Processing buffer {"connection_id":124417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:31:10] local.INFO: IMEI packet received {"connection_id":124417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":124417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:31:15] local.INFO: TCP Data received {"connection_id":124417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:31:15] local.INFO: Processing buffer {"connection_id":124417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:31:15] local.INFO: IMEI packet received {"connection_id":124417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":124417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:31:16] local.INFO: TCP Data received {"connection_id":124417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:31:16] local.INFO: Processing buffer {"connection_id":124417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:31:16] local.INFO: Packet analysis {"connection_id":124417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:31:16] local.INFO: Extracted packet for processing {"connection_id":124417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:31:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506186496001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783227592000,"timestamp_ms":1783227592000,"timestamp_seconds":1783227592,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a5ad40"} 
[2026-07-05 10:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506186496001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506186496001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:31:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:31:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506186496001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":124417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:31:16] local.INFO: GPS data processed {"connection_id":124417,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:31:16] local.INFO: Acknowledgment sent {"connection_id":124417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:31:21] local.INFO: TCP Data received {"connection_id":124417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:31:21] local.INFO: Processing buffer {"connection_id":124417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:31:21] local.INFO: Packet analysis {"connection_id":124417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:31:21] local.INFO: Extracted packet for processing {"connection_id":124417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:31:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506186496001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783227592000,"timestamp_ms":1783227592000,"timestamp_seconds":1783227592,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a5ad40"} 
[2026-07-05 10:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506186496001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506186496001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:31:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506186496001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":124417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:31:21] local.INFO: GPS data processed {"connection_id":124417,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:31:21] local.INFO: Acknowledgment sent {"connection_id":124417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:32:05] local.INFO: TCP Data received {"connection_id":122426,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:32:05] local.INFO: Processing buffer {"connection_id":122426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:32:05] local.INFO: IMEI packet received {"connection_id":122426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":122426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:32:10] local.INFO: TCP Data received {"connection_id":122426,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:32:10] local.INFO: Processing buffer {"connection_id":122426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:32:10] local.INFO: IMEI packet received {"connection_id":122426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":122426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:32:11] local.INFO: TCP Data received {"connection_id":122426,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:32:11] local.INFO: Processing buffer {"connection_id":122426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:32:11] local.INFO: Packet analysis {"connection_id":122426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:32:11] local.INFO: Extracted packet for processing {"connection_id":122426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506186496001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783227592000,"timestamp_ms":1783227592000,"timestamp_seconds":1783227592,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a5ad40"} 
[2026-07-05 10:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506186496001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506186496001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:32:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506186496001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":122426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:32:11] local.INFO: GPS data processed {"connection_id":122426,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:32:11] local.INFO: Acknowledgment sent {"connection_id":122426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:32:25] local.INFO: TCP Data received {"connection_id":122493,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:32:25] local.INFO: Processing buffer {"connection_id":122493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:32:25] local.INFO: IMEI packet received {"connection_id":122493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":122493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:32:43] local.INFO: TCP Data received {"connection_id":122426,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:32:43] local.INFO: Processing buffer {"connection_id":122426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:32:43] local.INFO: Packet analysis {"connection_id":122426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:32:43] local.INFO: Extracted packet for processing {"connection_id":122426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:32:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506186496001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:32:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783227592000,"timestamp_ms":1783227592000,"timestamp_seconds":1783227592,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a5ad40"} 
[2026-07-05 10:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:32: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-07-05 10:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506186496001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506186496001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:32:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:32:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506186496001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":122426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:32:43] local.INFO: GPS data processed {"connection_id":122426,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:32:43] local.INFO: Acknowledgment sent {"connection_id":122426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:33:05] local.INFO: TCP Data received {"connection_id":122494,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:33:05] local.INFO: Processing buffer {"connection_id":122494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:33:05] local.INFO: IMEI packet received {"connection_id":122494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":122494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:33:10] local.INFO: TCP Data received {"connection_id":122495,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:33:10] local.INFO: Processing buffer {"connection_id":122495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:33:10] local.INFO: IMEI packet received {"connection_id":122495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":122495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:33:10] local.INFO: TCP Data received {"connection_id":122494,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:33:10] local.INFO: Processing buffer {"connection_id":122494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:33:10] local.INFO: IMEI packet received {"connection_id":122494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":122494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:33:11] local.INFO: TCP Data received {"connection_id":122494,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:33:11] local.INFO: Processing buffer {"connection_id":122494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:33:11] local.INFO: Packet analysis {"connection_id":122494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:33:11] local.INFO: Extracted packet for processing {"connection_id":122494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506186496001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783227592000,"timestamp_ms":1783227592000,"timestamp_seconds":1783227592,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a5ad40"} 
[2026-07-05 10:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506186496001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506186496001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506186496001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":122494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:33:11] local.INFO: GPS data processed {"connection_id":122494,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:33:11] local.INFO: Acknowledgment sent {"connection_id":122494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:33:42] local.INFO: TCP Data received {"connection_id":122494,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:33:42] local.INFO: Processing buffer {"connection_id":122494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:33:42] local.INFO: Packet analysis {"connection_id":122494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:33:42] local.INFO: Extracted packet for processing {"connection_id":122494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506186496001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783227592000,"timestamp_ms":1783227592000,"timestamp_seconds":1783227592,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a5ad40"} 
[2026-07-05 10:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:33: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-07-05 10:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506186496001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506186496001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506186496001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":122494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:33:42] local.INFO: GPS data processed {"connection_id":122494,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:33:42] local.INFO: Acknowledgment sent {"connection_id":122494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:34:05] local.INFO: TCP Data received {"connection_id":123220,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:34:05] local.INFO: Processing buffer {"connection_id":123220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:34:05] local.INFO: IMEI packet received {"connection_id":123220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":123220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:34:10] local.INFO: TCP Data received {"connection_id":123220,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:34:10] local.INFO: Processing buffer {"connection_id":123220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:34:10] local.INFO: IMEI packet received {"connection_id":123220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":123220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:34:11] local.INFO: TCP Data received {"connection_id":123220,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:34:11] local.INFO: Processing buffer {"connection_id":123220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:34:11] local.INFO: Packet analysis {"connection_id":123220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:34:11] local.INFO: Extracted packet for processing {"connection_id":123220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:34:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506186496001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:34:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783227592000,"timestamp_ms":1783227592000,"timestamp_seconds":1783227592,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a5ad40"} 
[2026-07-05 10:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506186496001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506186496001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:34:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:34:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506186496001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":123220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:34:11] local.INFO: GPS data processed {"connection_id":123220,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:34:11] local.INFO: Acknowledgment sent {"connection_id":123220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:34:42] local.INFO: TCP Data received {"connection_id":123220,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:34:42] local.INFO: Processing buffer {"connection_id":123220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:34:42] local.INFO: Packet analysis {"connection_id":123220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:34:42] local.INFO: Extracted packet for processing {"connection_id":123220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506186496001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783227592000,"timestamp_ms":1783227592000,"timestamp_seconds":1783227592,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a5ad40"} 
[2026-07-05 10:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:34: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-07-05 10:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:34: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-07-05 10:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506186496001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506186496001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:34:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506186496001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":123220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:34:42] local.INFO: GPS data processed {"connection_id":123220,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:34:42] local.INFO: Acknowledgment sent {"connection_id":123220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:35:05] local.INFO: TCP Data received {"connection_id":123221,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:35:05] local.INFO: Processing buffer {"connection_id":123221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:35:05] local.INFO: IMEI packet received {"connection_id":123221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":123221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:35:10] local.INFO: TCP Data received {"connection_id":123221,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:35:10] local.INFO: Processing buffer {"connection_id":123221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:35:10] local.INFO: IMEI packet received {"connection_id":123221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":123221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:35:11] local.INFO: TCP Data received {"connection_id":123221,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:35:11] local.INFO: Processing buffer {"connection_id":123221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30a5ad40012cb2a24007823a98004a013b2c..."} 
[2026-07-05 10:35:11] local.INFO: Packet analysis {"connection_id":123221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:35:11] local.INFO: Extracted packet for processing {"connection_id":123221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30a5"} 
[2026-07-05 10:35:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506186496001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783227592000,"timestamp_ms":1783227592000,"timestamp_seconds":1783227592,"priority":1,"record_length":96,"hex_timestamp":"0000019f30a5ad40"} 
[2026-07-05 10:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506186496001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506186496001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:35:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506186496001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":123221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:35:11] local.INFO: GPS data processed {"connection_id":123221,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:35:11] local.INFO: Acknowledgment sent {"connection_id":123221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:35:45] local.INFO: TCP Data received {"connection_id":123221,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:35:45] local.INFO: Processing buffer {"connection_id":123221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:35:45] local.INFO: Packet analysis {"connection_id":123221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:35:45] local.INFO: Extracted packet for processing {"connection_id":123221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:35:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:35: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-07-05 10:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506263552001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:35:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783227893000,"timestamp_ms":1783227893000,"timestamp_seconds":1783227893,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aa4508"} 
[2026-07-05 10:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:35: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":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:35: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-07-05 10:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":123221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":123221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":123221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506263552001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506263552001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:35:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:35:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:35:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506263552001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":123221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:35:45] local.INFO: GPS data processed {"connection_id":123221,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:35:45] local.INFO: Acknowledgment sent {"connection_id":123221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:36:40] local.INFO: TCP Data received {"connection_id":124419,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:36:40] local.INFO: Processing buffer {"connection_id":124419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:36:40] local.INFO: IMEI packet received {"connection_id":124419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":124419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:36:45] local.INFO: TCP Data received {"connection_id":124419,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:36:45] local.INFO: Processing buffer {"connection_id":124419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:36:45] local.INFO: IMEI packet received {"connection_id":124419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":124419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:36:46] local.INFO: TCP Data received {"connection_id":124419,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:36:46] local.INFO: Processing buffer {"connection_id":124419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:36:46] local.INFO: Packet analysis {"connection_id":124419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:36:46] local.INFO: Extracted packet for processing {"connection_id":124419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:36:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506263552001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:36:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783227893000,"timestamp_ms":1783227893000,"timestamp_seconds":1783227893,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aa4508"} 
[2026-07-05 10:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506263552001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506263552001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:36:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:36:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:36:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506263552001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":124419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:36:46] local.INFO: GPS data processed {"connection_id":124419,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:36:46] local.INFO: Acknowledgment sent {"connection_id":124419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:37:10] local.INFO: TCP Data received {"connection_id":124420,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:37:10] local.INFO: Processing buffer {"connection_id":124420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:37:10] local.INFO: IMEI packet received {"connection_id":124420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":124420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:37:15] local.INFO: TCP Data received {"connection_id":124420,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:37:15] local.INFO: Processing buffer {"connection_id":124420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:37:15] local.INFO: IMEI packet received {"connection_id":124420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":124420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:37:16] local.INFO: TCP Data received {"connection_id":124420,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:37:16] local.INFO: Processing buffer {"connection_id":124420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:37:16] local.INFO: Packet analysis {"connection_id":124420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:37:16] local.INFO: Extracted packet for processing {"connection_id":124420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:37:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506263552001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:37:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783227893000,"timestamp_ms":1783227893000,"timestamp_seconds":1783227893,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aa4508"} 
[2026-07-05 10:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506263552001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506263552001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:37:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:37:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506263552001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":124420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:37:16] local.INFO: GPS data processed {"connection_id":124420,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:37:16] local.INFO: Acknowledgment sent {"connection_id":124420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:37:47] local.INFO: TCP Data received {"connection_id":124420,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:37:47] local.INFO: Processing buffer {"connection_id":124420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:37:47] local.INFO: Packet analysis {"connection_id":124420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:37:47] local.INFO: Extracted packet for processing {"connection_id":124420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:37:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506263552001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:37:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783227893000,"timestamp_ms":1783227893000,"timestamp_seconds":1783227893,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aa4508"} 
[2026-07-05 10:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506263552001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506263552001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:37:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:37:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:37:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506263552001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":124420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:37:47] local.INFO: GPS data processed {"connection_id":124420,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:37:47] local.INFO: Acknowledgment sent {"connection_id":124420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:38:05] local.INFO: TCP Data received {"connection_id":124422,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:38:05] local.INFO: Processing buffer {"connection_id":124422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:38:05] local.INFO: IMEI packet received {"connection_id":124422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":124422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:38:10] local.INFO: TCP Data received {"connection_id":124422,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:38:10] local.INFO: Processing buffer {"connection_id":124422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:38:10] local.INFO: IMEI packet received {"connection_id":124422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":124422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:38:11] local.INFO: TCP Data received {"connection_id":124422,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:38:11] local.INFO: Processing buffer {"connection_id":124422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:38:11] local.INFO: Packet analysis {"connection_id":124422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:38:11] local.INFO: Extracted packet for processing {"connection_id":124422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:38:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506263552001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783227893000,"timestamp_ms":1783227893000,"timestamp_seconds":1783227893,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aa4508"} 
[2026-07-05 10:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506263552001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506263552001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506263552001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":124422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:38:11] local.INFO: GPS data processed {"connection_id":124422,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:38:11] local.INFO: Acknowledgment sent {"connection_id":124422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:38:40] local.INFO: TCP Data received {"connection_id":124421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:38:40] local.INFO: Processing buffer {"connection_id":124421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:38:40] local.INFO: IMEI packet received {"connection_id":124421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":124421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:38:43] local.INFO: TCP Data received {"connection_id":124422,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:38:43] local.INFO: Processing buffer {"connection_id":124422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:38:43] local.INFO: Packet analysis {"connection_id":124422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:38:43] local.INFO: Extracted packet for processing {"connection_id":124422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:38:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506263552001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:38:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783227893000,"timestamp_ms":1783227893000,"timestamp_seconds":1783227893,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aa4508"} 
[2026-07-05 10:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:38: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-07-05 10:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506263552001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506263552001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:38:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:38:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506263552001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":124422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:38:43] local.INFO: GPS data processed {"connection_id":124422,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:38:43] local.INFO: Acknowledgment sent {"connection_id":124422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:39:05] local.INFO: TCP Data received {"connection_id":122428,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:39:05] local.INFO: Processing buffer {"connection_id":122428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:39:05] local.INFO: IMEI packet received {"connection_id":122428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":122428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:39:06] local.INFO: TCP Data received {"connection_id":122429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:39:06] local.INFO: Processing buffer {"connection_id":122429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:39:06] local.INFO: IMEI packet received {"connection_id":122429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":122429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:39:10] local.INFO: TCP Data received {"connection_id":122429,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:39:10] local.INFO: Processing buffer {"connection_id":122429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:39:10] local.INFO: IMEI packet received {"connection_id":122429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":122429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:39:12] local.INFO: TCP Data received {"connection_id":122429,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:39:12] local.INFO: Processing buffer {"connection_id":122429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:39:12] local.INFO: Packet analysis {"connection_id":122429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:39:12] local.INFO: Extracted packet for processing {"connection_id":122429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:39:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506263552001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783227893000,"timestamp_ms":1783227893000,"timestamp_seconds":1783227893,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aa4508"} 
[2026-07-05 10:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506263552001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506263552001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:39:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506263552001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":122429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:39:12] local.INFO: GPS data processed {"connection_id":122429,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:39:12] local.INFO: Acknowledgment sent {"connection_id":122429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:39:43] local.INFO: TCP Data received {"connection_id":122429,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:39:43] local.INFO: Processing buffer {"connection_id":122429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:39:43] local.INFO: Packet analysis {"connection_id":122429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:39:43] local.INFO: Extracted packet for processing {"connection_id":122429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:39:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506263552001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:39:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783227893000,"timestamp_ms":1783227893000,"timestamp_seconds":1783227893,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aa4508"} 
[2026-07-05 10:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:39: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-07-05 10:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506263552001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506263552001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:39:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:39:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506263552001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":122429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:39:43] local.INFO: GPS data processed {"connection_id":122429,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:39:43] local.INFO: Acknowledgment sent {"connection_id":122429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:40:05] local.INFO: TCP Data received {"connection_id":124424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:40:05] local.INFO: Processing buffer {"connection_id":124424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:40:05] local.INFO: IMEI packet received {"connection_id":124424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":124424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:40:10] local.INFO: TCP Data received {"connection_id":124424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:40:10] local.INFO: Processing buffer {"connection_id":124424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:40:10] local.INFO: IMEI packet received {"connection_id":124424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":124424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:40:11] local.INFO: TCP Data received {"connection_id":124424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:40:11] local.INFO: Processing buffer {"connection_id":124424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aa4508012cb2a24007823a98004a013b28..."} 
[2026-07-05 10:40:11] local.INFO: Packet analysis {"connection_id":124424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:40:11] local.INFO: Extracted packet for processing {"connection_id":124424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30aa"} 
[2026-07-05 10:40:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506263552001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783227893000,"timestamp_ms":1783227893000,"timestamp_seconds":1783227893,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aa4508"} 
[2026-07-05 10:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506263552001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506263552001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:40:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506263552001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":124424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:40:11] local.INFO: GPS data processed {"connection_id":124424,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:40:11] local.INFO: Acknowledgment sent {"connection_id":124424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:40:42] local.INFO: TCP Data received {"connection_id":124424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:40:42] local.INFO: Processing buffer {"connection_id":124424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:40:42] local.INFO: Packet analysis {"connection_id":124424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:40:42] local.INFO: Extracted packet for processing {"connection_id":124424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506340608001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783228194000,"timestamp_ms":1783228194000,"timestamp_seconds":1783228194,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aedcd0"} 
[2026-07-05 10:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:40: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-07-05 10:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506340608001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506340608001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:40:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506340608001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":124424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:40:42] local.INFO: GPS data processed {"connection_id":124424,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:40:42] local.INFO: Acknowledgment sent {"connection_id":124424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:41:10] local.INFO: TCP Data received {"connection_id":122431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:41:10] local.INFO: Processing buffer {"connection_id":122431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:41:10] local.INFO: IMEI packet received {"connection_id":122431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":122431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:41:15] local.INFO: TCP Data received {"connection_id":122431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:41:15] local.INFO: Processing buffer {"connection_id":122431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:41:15] local.INFO: IMEI packet received {"connection_id":122431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":122431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:41:16] local.INFO: TCP Data received {"connection_id":122431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:41:16] local.INFO: Processing buffer {"connection_id":122431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:41:16] local.INFO: Packet analysis {"connection_id":122431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:41:16] local.INFO: Extracted packet for processing {"connection_id":122431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:41:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506340608001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:41:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783228194000,"timestamp_ms":1783228194000,"timestamp_seconds":1783228194,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aedcd0"} 
[2026-07-05 10:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506340608001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506340608001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:41:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:41:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:41:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506340608001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":122431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:41:16] local.INFO: GPS data processed {"connection_id":122431,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:41:16] local.INFO: Acknowledgment sent {"connection_id":122431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:41:47] local.INFO: TCP Data received {"connection_id":122431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:41:47] local.INFO: Processing buffer {"connection_id":122431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:41:47] local.INFO: Packet analysis {"connection_id":122431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:41:47] local.INFO: Extracted packet for processing {"connection_id":122431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506340608001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783228194000,"timestamp_ms":1783228194000,"timestamp_seconds":1783228194,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aedcd0"} 
[2026-07-05 10:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506340608001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506340608001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:41:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:41:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506340608001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":122431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:41:47] local.INFO: GPS data processed {"connection_id":122431,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:41:47] local.INFO: Acknowledgment sent {"connection_id":122431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:42:05] local.INFO: TCP Data received {"connection_id":122498,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:42:05] local.INFO: Processing buffer {"connection_id":122498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:42:05] local.INFO: IMEI packet received {"connection_id":122498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":122498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:42:10] local.INFO: TCP Data received {"connection_id":122498,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:42:10] local.INFO: Processing buffer {"connection_id":122498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:42:10] local.INFO: IMEI packet received {"connection_id":122498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":122498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:42:12] local.INFO: TCP Data received {"connection_id":122498,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:42:12] local.INFO: Processing buffer {"connection_id":122498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:42:12] local.INFO: Packet analysis {"connection_id":122498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:42:12] local.INFO: Extracted packet for processing {"connection_id":122498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:42:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506340608001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783228194000,"timestamp_ms":1783228194000,"timestamp_seconds":1783228194,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aedcd0"} 
[2026-07-05 10:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506340608001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506340608001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:42:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:42:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506340608001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":122498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:42:12] local.INFO: GPS data processed {"connection_id":122498,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:42:12] local.INFO: Acknowledgment sent {"connection_id":122498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:42:43] local.INFO: TCP Data received {"connection_id":122498,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:42:43] local.INFO: Processing buffer {"connection_id":122498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:42:43] local.INFO: Packet analysis {"connection_id":122498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:42:43] local.INFO: Extracted packet for processing {"connection_id":122498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:42:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506340608001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:42:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783228194000,"timestamp_ms":1783228194000,"timestamp_seconds":1783228194,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aedcd0"} 
[2026-07-05 10:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:42: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-07-05 10:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506340608001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506340608001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:42:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:42:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506340608001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":122498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:42:43] local.INFO: GPS data processed {"connection_id":122498,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:42:43] local.INFO: Acknowledgment sent {"connection_id":122498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:43:05] local.INFO: TCP Data received {"connection_id":122500,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:43:05] local.INFO: Processing buffer {"connection_id":122500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:43:05] local.INFO: IMEI packet received {"connection_id":122500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":122500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:43:11] local.INFO: TCP Data received {"connection_id":122500,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:43:11] local.INFO: Processing buffer {"connection_id":122500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:43:11] local.INFO: IMEI packet received {"connection_id":122500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":122500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:43:16] local.INFO: TCP Data received {"connection_id":122500,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:43:16] local.INFO: Processing buffer {"connection_id":122500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:43:16] local.INFO: Packet analysis {"connection_id":122500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:43:16] local.INFO: Extracted packet for processing {"connection_id":122500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:43:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506340608001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:43:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783228194000,"timestamp_ms":1783228194000,"timestamp_seconds":1783228194,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aedcd0"} 
[2026-07-05 10:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506340608001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506340608001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:43:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:43:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:43:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506340608001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":122500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:43:16] local.INFO: GPS data processed {"connection_id":122500,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:43:16] local.INFO: Acknowledgment sent {"connection_id":122500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:43:47] local.INFO: TCP Data received {"connection_id":122500,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:43:47] local.INFO: Processing buffer {"connection_id":122500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:43:47] local.INFO: Packet analysis {"connection_id":122500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:43:47] local.INFO: Extracted packet for processing {"connection_id":122500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:43:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506340608001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:43:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783228194000,"timestamp_ms":1783228194000,"timestamp_seconds":1783228194,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aedcd0"} 
[2026-07-05 10:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506340608001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506340608001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:43:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:43:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:43:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506340608001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":122500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:43:47] local.INFO: GPS data processed {"connection_id":122500,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:43:47] local.INFO: Acknowledgment sent {"connection_id":122500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:44:05] local.INFO: TCP Data received {"connection_id":124425,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:44:05] local.INFO: Processing buffer {"connection_id":124425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:44:05] local.INFO: IMEI packet received {"connection_id":124425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":124425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:44:10] local.INFO: TCP Data received {"connection_id":124425,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:44:10] local.INFO: Processing buffer {"connection_id":124425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:44:10] local.INFO: IMEI packet received {"connection_id":124425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":124425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:44:11] local.INFO: TCP Data received {"connection_id":124425,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:44:11] local.INFO: Processing buffer {"connection_id":124425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:44:11] local.INFO: Packet analysis {"connection_id":124425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:44:11] local.INFO: Extracted packet for processing {"connection_id":124425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:44:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506340608001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783228194000,"timestamp_ms":1783228194000,"timestamp_seconds":1783228194,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aedcd0"} 
[2026-07-05 10:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506340608001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506340608001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:44:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506340608001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":124425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:44:11] local.INFO: GPS data processed {"connection_id":124425,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:44:11] local.INFO: Acknowledgment sent {"connection_id":124425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:44:35] local.INFO: TCP Data received {"connection_id":122432,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:44:35] local.INFO: Processing buffer {"connection_id":122432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:44:35] local.INFO: IMEI packet received {"connection_id":122432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":122432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:44:47] local.INFO: TCP Data received {"connection_id":124425,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:44:47] local.INFO: Processing buffer {"connection_id":124425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:44:47] local.INFO: Packet analysis {"connection_id":124425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:44:47] local.INFO: Extracted packet for processing {"connection_id":124425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:44:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506340608001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783228194000,"timestamp_ms":1783228194000,"timestamp_seconds":1783228194,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aedcd0"} 
[2026-07-05 10:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506340608001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506340608001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:44:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:44:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506340608001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":124425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:44:47] local.INFO: GPS data processed {"connection_id":124425,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:44:47] local.INFO: Acknowledgment sent {"connection_id":124425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:45:05] local.INFO: TCP Data received {"connection_id":123223,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:45:05] local.INFO: Processing buffer {"connection_id":123223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:45:05] local.INFO: IMEI packet received {"connection_id":123223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":123223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:45:05] local.INFO: TCP Data received {"connection_id":122501,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:45:05] local.INFO: Processing buffer {"connection_id":122501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:45:05] local.INFO: IMEI packet received {"connection_id":122501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":122501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:45:10] local.INFO: TCP Data received {"connection_id":122501,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:45:10] local.INFO: Processing buffer {"connection_id":122501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:45:10] local.INFO: IMEI packet received {"connection_id":122501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":122501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:45:12] local.INFO: TCP Data received {"connection_id":122501,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:45:12] local.INFO: Processing buffer {"connection_id":122501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30aedcd0012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:45:12] local.INFO: Packet analysis {"connection_id":122501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:45:12] local.INFO: Extracted packet for processing {"connection_id":122501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ae"} 
[2026-07-05 10:45:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506340608001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783228194000,"timestamp_ms":1783228194000,"timestamp_seconds":1783228194,"priority":1,"record_length":96,"hex_timestamp":"0000019f30aedcd0"} 
[2026-07-05 10:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 10:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506340608001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506340608001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:45:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506340608001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":122501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:45:12] local.INFO: GPS data processed {"connection_id":122501,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:45:12] local.INFO: Acknowledgment sent {"connection_id":122501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:45:43] local.INFO: TCP Data received {"connection_id":122501,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:45:43] local.INFO: Processing buffer {"connection_id":122501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:45:43] local.INFO: Packet analysis {"connection_id":122501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:45:43] local.INFO: Extracted packet for processing {"connection_id":122501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:45:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506417664001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:45:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783228495000,"timestamp_ms":1783228495000,"timestamp_seconds":1783228495,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b37498"} 
[2026-07-05 10:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:45: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-07-05 10:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506417664001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506417664001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:45:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:45:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506417664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":122501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:45:43] local.INFO: GPS data processed {"connection_id":122501,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:45:43] local.INFO: Acknowledgment sent {"connection_id":122501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:46:05] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:46:05] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:46:05] local.INFO: IMEI packet received {"connection_id":124426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":124426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:46:10] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:46:10] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:46:10] local.INFO: IMEI packet received {"connection_id":124426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":124426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:46:11] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:46:11] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:46:11] local.INFO: Packet analysis {"connection_id":124426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:46:11] local.INFO: Extracted packet for processing {"connection_id":124426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:46:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506417664001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:46:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783228495000,"timestamp_ms":1783228495000,"timestamp_seconds":1783228495,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b37498"} 
[2026-07-05 10:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506417664001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506417664001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:46:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:46:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506417664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":124426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:46:11] local.INFO: GPS data processed {"connection_id":124426,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:46:11] local.INFO: Acknowledgment sent {"connection_id":124426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:46:43] local.INFO: TCP Data received {"connection_id":124426,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:46:43] local.INFO: Processing buffer {"connection_id":124426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:46:43] local.INFO: Packet analysis {"connection_id":124426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:46:43] local.INFO: Extracted packet for processing {"connection_id":124426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:46:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506417664001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:46:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783228495000,"timestamp_ms":1783228495000,"timestamp_seconds":1783228495,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b37498"} 
[2026-07-05 10:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:46: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-07-05 10:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506417664001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506417664001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:46:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:46:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506417664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":124426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:46:43] local.INFO: GPS data processed {"connection_id":124426,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:46:43] local.INFO: Acknowledgment sent {"connection_id":124426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:47:05] local.INFO: TCP Data received {"connection_id":124428,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:47:05] local.INFO: Processing buffer {"connection_id":124428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:47:05] local.INFO: IMEI packet received {"connection_id":124428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":124428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:47:10] local.INFO: TCP Data received {"connection_id":124428,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:47:10] local.INFO: Processing buffer {"connection_id":124428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:47:10] local.INFO: IMEI packet received {"connection_id":124428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":124428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:47:11] local.INFO: TCP Data received {"connection_id":124428,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:47:11] local.INFO: Processing buffer {"connection_id":124428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:47:11] local.INFO: Packet analysis {"connection_id":124428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:47:11] local.INFO: Extracted packet for processing {"connection_id":124428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:47: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-07-05 10:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506417664001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783228495000,"timestamp_ms":1783228495000,"timestamp_seconds":1783228495,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b37498"} 
[2026-07-05 10:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:47: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-07-05 10:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506417664001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506417664001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:47:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506417664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":124428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:47:11] local.INFO: GPS data processed {"connection_id":124428,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:47:11] local.INFO: Acknowledgment sent {"connection_id":124428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:47:42] local.INFO: TCP Data received {"connection_id":124428,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:47:42] local.INFO: Processing buffer {"connection_id":124428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:47:42] local.INFO: Packet analysis {"connection_id":124428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:47:42] local.INFO: Extracted packet for processing {"connection_id":124428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506417664001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783228495000,"timestamp_ms":1783228495000,"timestamp_seconds":1783228495,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b37498"} 
[2026-07-05 10:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:47: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-07-05 10: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:47: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-07-05 10: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-07-05 10:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506417664001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506417664001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506417664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":124428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:47:42] local.INFO: GPS data processed {"connection_id":124428,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:47:42] local.INFO: Acknowledgment sent {"connection_id":124428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:48:05] local.INFO: TCP Data received {"connection_id":122502,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:48:05] local.INFO: Processing buffer {"connection_id":122502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:48:05] local.INFO: IMEI packet received {"connection_id":122502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":122502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:48:10] local.INFO: TCP Data received {"connection_id":122502,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:48:10] local.INFO: Processing buffer {"connection_id":122502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:48:10] local.INFO: IMEI packet received {"connection_id":122502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":122502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:48:11] local.INFO: TCP Data received {"connection_id":122502,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:48:11] local.INFO: Processing buffer {"connection_id":122502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:48:11] local.INFO: Packet analysis {"connection_id":122502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:48:11] local.INFO: Extracted packet for processing {"connection_id":122502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:48:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506417664001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783228495000,"timestamp_ms":1783228495000,"timestamp_seconds":1783228495,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b37498"} 
[2026-07-05 10:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506417664001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506417664001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:48:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506417664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":122502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:48:11] local.INFO: GPS data processed {"connection_id":122502,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:48:11] local.INFO: Acknowledgment sent {"connection_id":122502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:48:43] local.INFO: TCP Data received {"connection_id":122502,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:48:43] local.INFO: Processing buffer {"connection_id":122502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:48:43] local.INFO: Packet analysis {"connection_id":122502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:48:43] local.INFO: Extracted packet for processing {"connection_id":122502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:48:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506417664001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:48:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783228495000,"timestamp_ms":1783228495000,"timestamp_seconds":1783228495,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b37498"} 
[2026-07-05 10:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:48: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-07-05 10:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506417664001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506417664001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:48:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:48:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506417664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":122502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:48:43] local.INFO: GPS data processed {"connection_id":122502,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:48:43] local.INFO: Acknowledgment sent {"connection_id":122502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:49:05] local.INFO: TCP Data received {"connection_id":122503,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:49:05] local.INFO: Processing buffer {"connection_id":122503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:49:05] local.INFO: IMEI packet received {"connection_id":122503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":122503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:49:10] local.INFO: TCP Data received {"connection_id":122503,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:49:10] local.INFO: Processing buffer {"connection_id":122503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:49:10] local.INFO: IMEI packet received {"connection_id":122503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":122503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:49:11] local.INFO: TCP Data received {"connection_id":122503,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:49:11] local.INFO: Processing buffer {"connection_id":122503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:49:11] local.INFO: Packet analysis {"connection_id":122503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:49:11] local.INFO: Extracted packet for processing {"connection_id":122503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506417664001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783228495000,"timestamp_ms":1783228495000,"timestamp_seconds":1783228495,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b37498"} 
[2026-07-05 10:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506417664001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506417664001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:49:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506417664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":122503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:49:11] local.INFO: GPS data processed {"connection_id":122503,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:49:11] local.INFO: Acknowledgment sent {"connection_id":122503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:49:42] local.INFO: TCP Data received {"connection_id":122503,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:49:42] local.INFO: Processing buffer {"connection_id":122503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:49:42] local.INFO: Packet analysis {"connection_id":122503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:49:42] local.INFO: Extracted packet for processing {"connection_id":122503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506417664001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783228495000,"timestamp_ms":1783228495000,"timestamp_seconds":1783228495,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b37498"} 
[2026-07-05 10:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:49: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-07-05 10:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:49: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-07-05 10: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-07-05 10:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506417664001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506417664001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:49:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506417664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":122503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:49:42] local.INFO: GPS data processed {"connection_id":122503,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:49:42] local.INFO: Acknowledgment sent {"connection_id":122503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:50:10] local.INFO: TCP Data received {"connection_id":122435,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:50:10] local.INFO: Processing buffer {"connection_id":122435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:50:10] local.INFO: IMEI packet received {"connection_id":122435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":122435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:50:15] local.INFO: TCP Data received {"connection_id":122435,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:50:15] local.INFO: Processing buffer {"connection_id":122435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:50:15] local.INFO: IMEI packet received {"connection_id":122435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":122435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:50:16] local.INFO: TCP Data received {"connection_id":122435,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:50:16] local.INFO: Processing buffer {"connection_id":122435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:50:16] local.INFO: Packet analysis {"connection_id":122435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:50:16] local.INFO: Extracted packet for processing {"connection_id":122435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:50:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506417664001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:50:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783228495000,"timestamp_ms":1783228495000,"timestamp_seconds":1783228495,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b37498"} 
[2026-07-05 10:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506417664001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506417664001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:50:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:50:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506417664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":122435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:50:16] local.INFO: GPS data processed {"connection_id":122435,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:50:16] local.INFO: Acknowledgment sent {"connection_id":122435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:50:21] local.INFO: TCP Data received {"connection_id":122435,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:50:21] local.INFO: Processing buffer {"connection_id":122435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b37498012cb2a24007823a98004a013b29..."} 
[2026-07-05 10:50:21] local.INFO: Packet analysis {"connection_id":122435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:50:21] local.INFO: Extracted packet for processing {"connection_id":122435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b3"} 
[2026-07-05 10:50:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506417664001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783228495000,"timestamp_ms":1783228495000,"timestamp_seconds":1783228495,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b37498"} 
[2026-07-05 10:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 10:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506417664001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506417664001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:50:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506417664001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":122435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:50:21] local.INFO: GPS data processed {"connection_id":122435,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:50:21] local.INFO: Acknowledgment sent {"connection_id":122435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:50:35] local.INFO: TCP Data received {"connection_id":122434,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:50:35] local.INFO: Processing buffer {"connection_id":122434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:50:35] local.INFO: IMEI packet received {"connection_id":122434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":122434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:51:05] local.INFO: TCP Data received {"connection_id":124431,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:51:05] local.INFO: Processing buffer {"connection_id":124431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:51:05] local.INFO: IMEI packet received {"connection_id":124431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":124431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:51:05] local.INFO: TCP Data received {"connection_id":124430,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:51:05] local.INFO: Processing buffer {"connection_id":124430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:51:05] local.INFO: IMEI packet received {"connection_id":124430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":124430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:51:10] local.INFO: TCP Data received {"connection_id":124430,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:51:10] local.INFO: Processing buffer {"connection_id":124430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:51:10] local.INFO: IMEI packet received {"connection_id":124430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":124430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:51:11] local.INFO: TCP Data received {"connection_id":124430,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:51:11] local.INFO: Processing buffer {"connection_id":124430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:51:11] local.INFO: Packet analysis {"connection_id":124430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:51:11] local.INFO: Extracted packet for processing {"connection_id":124430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:51:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506494720001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783228796000,"timestamp_ms":1783228796000,"timestamp_seconds":1783228796,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b80c60"} 
[2026-07-05 10:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 10:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506494720001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506494720001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:51:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506494720001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":124430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:51:11] local.INFO: GPS data processed {"connection_id":124430,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:51:11] local.INFO: Acknowledgment sent {"connection_id":124430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:51:43] local.INFO: TCP Data received {"connection_id":124430,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:51:43] local.INFO: Processing buffer {"connection_id":124430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:51:43] local.INFO: Packet analysis {"connection_id":124430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:51:43] local.INFO: Extracted packet for processing {"connection_id":124430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:51:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506494720001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:51:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783228796000,"timestamp_ms":1783228796000,"timestamp_seconds":1783228796,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b80c60"} 
[2026-07-05 10:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:51: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-07-05 10:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 10:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506494720001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506494720001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:51:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:51:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506494720001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":124430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:51:43] local.INFO: GPS data processed {"connection_id":124430,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:51:43] local.INFO: Acknowledgment sent {"connection_id":124430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:52:06] local.INFO: TCP Data received {"connection_id":123225,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:52:06] local.INFO: Processing buffer {"connection_id":123225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:52:06] local.INFO: IMEI packet received {"connection_id":123225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":123225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:52:10] local.INFO: TCP Data received {"connection_id":123225,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:52:10] local.INFO: Processing buffer {"connection_id":123225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:52:10] local.INFO: IMEI packet received {"connection_id":123225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":123225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:52:11] local.INFO: TCP Data received {"connection_id":123225,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:52:11] local.INFO: Processing buffer {"connection_id":123225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:52:11] local.INFO: Packet analysis {"connection_id":123225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:52:11] local.INFO: Extracted packet for processing {"connection_id":123225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:52:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506494720001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783228796000,"timestamp_ms":1783228796000,"timestamp_seconds":1783228796,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b80c60"} 
[2026-07-05 10:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 10:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506494720001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506494720001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:52:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506494720001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":123225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:52:11] local.INFO: GPS data processed {"connection_id":123225,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:52:11] local.INFO: Acknowledgment sent {"connection_id":123225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:52:42] local.INFO: TCP Data received {"connection_id":123225,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:52:42] local.INFO: Processing buffer {"connection_id":123225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:52:42] local.INFO: Packet analysis {"connection_id":123225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:52:42] local.INFO: Extracted packet for processing {"connection_id":123225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:52:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506494720001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783228796000,"timestamp_ms":1783228796000,"timestamp_seconds":1783228796,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b80c60"} 
[2026-07-05 10:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:52: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-07-05 10:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 10:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506494720001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506494720001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:52:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506494720001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":123225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:52:42] local.INFO: GPS data processed {"connection_id":123225,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:52:42] local.INFO: Acknowledgment sent {"connection_id":123225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:53:05] local.INFO: TCP Data received {"connection_id":122436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:53:05] local.INFO: Processing buffer {"connection_id":122436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:53:05] local.INFO: IMEI packet received {"connection_id":122436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":122436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:53:10] local.INFO: TCP Data received {"connection_id":122436,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:53:10] local.INFO: Processing buffer {"connection_id":122436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:53:10] local.INFO: IMEI packet received {"connection_id":122436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":122436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:53:12] local.INFO: TCP Data received {"connection_id":122436,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:53:12] local.INFO: Processing buffer {"connection_id":122436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:53:12] local.INFO: Packet analysis {"connection_id":122436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:53:12] local.INFO: Extracted packet for processing {"connection_id":122436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:53:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506494720001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783228796000,"timestamp_ms":1783228796000,"timestamp_seconds":1783228796,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b80c60"} 
[2026-07-05 10:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 10:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506494720001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506494720001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:53:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:53:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506494720001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":122436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:53:12] local.INFO: GPS data processed {"connection_id":122436,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:53:12] local.INFO: Acknowledgment sent {"connection_id":122436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:53:43] local.INFO: TCP Data received {"connection_id":122436,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:53:43] local.INFO: Processing buffer {"connection_id":122436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:53:43] local.INFO: Packet analysis {"connection_id":122436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:53:43] local.INFO: Extracted packet for processing {"connection_id":122436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:53:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506494720001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:53:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783228796000,"timestamp_ms":1783228796000,"timestamp_seconds":1783228796,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b80c60"} 
[2026-07-05 10:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:53: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-07-05 10:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 10:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506494720001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506494720001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:53:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:53:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506494720001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":122436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:53:43] local.INFO: GPS data processed {"connection_id":122436,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:53:43] local.INFO: Acknowledgment sent {"connection_id":122436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:54:10] local.INFO: TCP Data received {"connection_id":122438,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:54:10] local.INFO: Processing buffer {"connection_id":122438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:54:10] local.INFO: IMEI packet received {"connection_id":122438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":122438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:54:15] local.INFO: TCP Data received {"connection_id":122438,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:54:15] local.INFO: Processing buffer {"connection_id":122438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:54:15] local.INFO: IMEI packet received {"connection_id":122438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":122438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:54:17] local.INFO: TCP Data received {"connection_id":122438,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:54:17] local.INFO: Processing buffer {"connection_id":122438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:54:17] local.INFO: Packet analysis {"connection_id":122438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:54:17] local.INFO: Extracted packet for processing {"connection_id":122438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:54:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506494720001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:54:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783228796000,"timestamp_ms":1783228796000,"timestamp_seconds":1783228796,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b80c60"} 
[2026-07-05 10:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 10:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506494720001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506494720001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:54:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:54:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:54:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506494720001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":122438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:54:17] local.INFO: GPS data processed {"connection_id":122438,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:54:17] local.INFO: Acknowledgment sent {"connection_id":122438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:54:35] local.INFO: TCP Data received {"connection_id":122438,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:54:35] local.INFO: Processing buffer {"connection_id":122438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:54:35] local.INFO: Packet analysis {"connection_id":122438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:54:35] local.INFO: Extracted packet for processing {"connection_id":122438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:54:35] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506494720001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783228796000,"timestamp_ms":1783228796000,"timestamp_seconds":1783228796,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b80c60"} 
[2026-07-05 10:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:54: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-07-05 10:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 10:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506494720001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506494720001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:54:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:54:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506494720001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":122438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:54:35] local.INFO: GPS data processed {"connection_id":122438,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:54:35] local.INFO: Acknowledgment sent {"connection_id":122438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:55:05] local.INFO: TCP Data received {"connection_id":122439,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:55:05] local.INFO: Processing buffer {"connection_id":122439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:55:05] local.INFO: IMEI packet received {"connection_id":122439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":122439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:55:10] local.INFO: TCP Data received {"connection_id":122439,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:55:10] local.INFO: Processing buffer {"connection_id":122439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:55:10] local.INFO: IMEI packet received {"connection_id":122439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":122439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:55:11] local.INFO: TCP Data received {"connection_id":122439,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:55:11] local.INFO: Processing buffer {"connection_id":122439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30b80c60012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:55:11] local.INFO: Packet analysis {"connection_id":122439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:55:11] local.INFO: Extracted packet for processing {"connection_id":122439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30b8"} 
[2026-07-05 10:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506494720001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783228796000,"timestamp_ms":1783228796000,"timestamp_seconds":1783228796,"priority":1,"record_length":96,"hex_timestamp":"0000019f30b80c60"} 
[2026-07-05 10:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 10:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506494720001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506494720001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:55:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506494720001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":122439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:55:11] local.INFO: GPS data processed {"connection_id":122439,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:55:11] local.INFO: Acknowledgment sent {"connection_id":122439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:55:42] local.INFO: TCP Data received {"connection_id":122439,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:55:42] local.INFO: Processing buffer {"connection_id":122439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:55:42] local.INFO: Packet analysis {"connection_id":122439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:55:42] local.INFO: Extracted packet for processing {"connection_id":122439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506571776001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783229097000,"timestamp_ms":1783229097000,"timestamp_seconds":1783229097,"priority":1,"record_length":96,"hex_timestamp":"0000019f30bca428"} 
[2026-07-05 10:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:55: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-07-05 10:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:55: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-07-05 10:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506571776001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506571776001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:55:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506571776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":122439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:55:42] local.INFO: GPS data processed {"connection_id":122439,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:55:42] local.INFO: Acknowledgment sent {"connection_id":122439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:56:05] local.INFO: TCP Data received {"connection_id":123227,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:56:05] local.INFO: Processing buffer {"connection_id":123227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:56:05] local.INFO: IMEI packet received {"connection_id":123227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":123227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:56:10] local.INFO: TCP Data received {"connection_id":123227,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:56:10] local.INFO: Processing buffer {"connection_id":123227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:56:10] local.INFO: IMEI packet received {"connection_id":123227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":123227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:56:11] local.INFO: TCP Data received {"connection_id":123227,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:56:11] local.INFO: Processing buffer {"connection_id":123227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:56:11] local.INFO: Packet analysis {"connection_id":123227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:56:11] local.INFO: Extracted packet for processing {"connection_id":123227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:56:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506571776001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229097000,"timestamp_ms":1783229097000,"timestamp_seconds":1783229097,"priority":1,"record_length":96,"hex_timestamp":"0000019f30bca428"} 
[2026-07-05 10:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506571776001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506571776001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:56:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506571776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":123227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:56:11] local.INFO: GPS data processed {"connection_id":123227,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:56:11] local.INFO: Acknowledgment sent {"connection_id":123227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:56:25] local.INFO: TCP Data received {"connection_id":124433,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:56:25] local.INFO: Processing buffer {"connection_id":124433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:56:25] local.INFO: IMEI packet received {"connection_id":124433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":124433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:56:42] local.INFO: TCP Data received {"connection_id":123227,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:56:42] local.INFO: Processing buffer {"connection_id":123227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:56:42] local.INFO: Packet analysis {"connection_id":123227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:56:42] local.INFO: Extracted packet for processing {"connection_id":123227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:56:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506571776001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783229097000,"timestamp_ms":1783229097000,"timestamp_seconds":1783229097,"priority":1,"record_length":96,"hex_timestamp":"0000019f30bca428"} 
[2026-07-05 10:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:56: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-07-05 10:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:56: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-07-05 10:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506571776001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506571776001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:56:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506571776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":123227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:56:42] local.INFO: GPS data processed {"connection_id":123227,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:56:42] local.INFO: Acknowledgment sent {"connection_id":123227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:57:04] local.INFO: TCP Data received {"connection_id":122441,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:57:04] local.INFO: Processing buffer {"connection_id":122441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 10:57:04] local.INFO: IMEI packet received {"connection_id":122441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 10:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":122441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:57:05] local.INFO: TCP Data received {"connection_id":124434,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:57:05] local.INFO: Processing buffer {"connection_id":124434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:57:05] local.INFO: IMEI packet received {"connection_id":124434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":124434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:57:10] local.INFO: TCP Data received {"connection_id":124434,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:57:10] local.INFO: Processing buffer {"connection_id":124434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:57:10] local.INFO: IMEI packet received {"connection_id":124434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":124434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:57:11] local.INFO: TCP Data received {"connection_id":124434,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:57:11] local.INFO: Processing buffer {"connection_id":124434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:57:11] local.INFO: Packet analysis {"connection_id":124434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:57:11] local.INFO: Extracted packet for processing {"connection_id":124434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506571776001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229097000,"timestamp_ms":1783229097000,"timestamp_seconds":1783229097,"priority":1,"record_length":96,"hex_timestamp":"0000019f30bca428"} 
[2026-07-05 10:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506571776001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506571776001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506571776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":124434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:57:11] local.INFO: GPS data processed {"connection_id":124434,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:57:11] local.INFO: Acknowledgment sent {"connection_id":124434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:57:42] local.INFO: TCP Data received {"connection_id":124434,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:57:42] local.INFO: Processing buffer {"connection_id":124434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:57:42] local.INFO: Packet analysis {"connection_id":124434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:57:42] local.INFO: Extracted packet for processing {"connection_id":124434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506571776001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783229097000,"timestamp_ms":1783229097000,"timestamp_seconds":1783229097,"priority":1,"record_length":96,"hex_timestamp":"0000019f30bca428"} 
[2026-07-05 10:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10: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-07-05 10:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:57: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-07-05 10:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506571776001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506571776001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506571776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":124434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:57:42] local.INFO: GPS data processed {"connection_id":124434,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:57:42] local.INFO: Acknowledgment sent {"connection_id":124434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:58:05] local.INFO: TCP Data received {"connection_id":123228,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:58:05] local.INFO: Processing buffer {"connection_id":123228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:58:05] local.INFO: IMEI packet received {"connection_id":123228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":123228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:58:10] local.INFO: TCP Data received {"connection_id":123228,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:58:10] local.INFO: Processing buffer {"connection_id":123228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:58:10] local.INFO: IMEI packet received {"connection_id":123228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":123228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:58:11] local.INFO: TCP Data received {"connection_id":123228,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:58:11] local.INFO: Processing buffer {"connection_id":123228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:58:11] local.INFO: Packet analysis {"connection_id":123228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:58:11] local.INFO: Extracted packet for processing {"connection_id":123228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506571776001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229097000,"timestamp_ms":1783229097000,"timestamp_seconds":1783229097,"priority":1,"record_length":96,"hex_timestamp":"0000019f30bca428"} 
[2026-07-05 10:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506571776001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506571776001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506571776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":123228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:58:11] local.INFO: GPS data processed {"connection_id":123228,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:58:11] local.INFO: Acknowledgment sent {"connection_id":123228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:58:42] local.INFO: TCP Data received {"connection_id":123228,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:58:42] local.INFO: Processing buffer {"connection_id":123228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:58:42] local.INFO: Packet analysis {"connection_id":123228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:58:42] local.INFO: Extracted packet for processing {"connection_id":123228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:58:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 10:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506571776001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783229097000,"timestamp_ms":1783229097000,"timestamp_seconds":1783229097,"priority":1,"record_length":96,"hex_timestamp":"0000019f30bca428"} 
[2026-07-05 10:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:58: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-07-05 10:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 10:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506571776001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506571776001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:58:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506571776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":123228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:58:42] local.INFO: GPS data processed {"connection_id":123228,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:58:42] local.INFO: Acknowledgment sent {"connection_id":123228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:59:10] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:59:10] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:59:10] local.INFO: IMEI packet received {"connection_id":124435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 10:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":124435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 10:59:15] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:59:15] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 10:59:15] local.INFO: IMEI packet received {"connection_id":124435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 10:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":124435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 10:59:16] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:59:16] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:59:16] local.INFO: Packet analysis {"connection_id":124435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:59:16] local.INFO: Extracted packet for processing {"connection_id":124435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:59:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506571776001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:59:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783229097000,"timestamp_ms":1783229097000,"timestamp_seconds":1783229097,"priority":1,"record_length":96,"hex_timestamp":"0000019f30bca428"} 
[2026-07-05 10:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506571776001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506571776001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:59:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:59:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:59:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506571776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":124435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:59:16] local.INFO: GPS data processed {"connection_id":124435,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:59:16] local.INFO: Acknowledgment sent {"connection_id":124435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 10:59:21] local.INFO: TCP Data received {"connection_id":124435,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:59:21] local.INFO: Processing buffer {"connection_id":124435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 10:59:21] local.INFO: Packet analysis {"connection_id":124435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:59:21] local.INFO: Extracted packet for processing {"connection_id":124435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 10:59:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 10: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-07-05 10:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506571776001,"note":"Value kept but may cause issues"} 
[2026-07-05 10:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 10:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 10:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 10:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783229097000,"timestamp_ms":1783229097000,"timestamp_seconds":1783229097,"priority":1,"record_length":96,"hex_timestamp":"0000019f30bca428"} 
[2026-07-05 10:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 10:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 10:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 10: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-07-05 10:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 10:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 10:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 10:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 10:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 10:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 10:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 10:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506571776001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 10:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 10:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 10:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506571776001,"description":"Unknown IO ID 0"} 
[2026-07-05 10:59:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 10:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 10:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 10:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 10:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506571776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 10:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":124435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 10:59:21] local.INFO: GPS data processed {"connection_id":124435,"processed":1,"errors":0,"total":1} 
[2026-07-05 10:59:21] local.INFO: Acknowledgment sent {"connection_id":124435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:00:05] local.INFO: TCP Data received {"connection_id":122443,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:00:05] local.INFO: Processing buffer {"connection_id":122443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:00:05] local.INFO: IMEI packet received {"connection_id":122443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":122443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:00:10] local.INFO: TCP Data received {"connection_id":122443,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:00:10] local.INFO: Processing buffer {"connection_id":122443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:00:10] local.INFO: IMEI packet received {"connection_id":122443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":122443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:00:11] local.INFO: TCP Data received {"connection_id":122443,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:00:11] local.INFO: Processing buffer {"connection_id":122443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30bca428012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:00:11] local.INFO: Packet analysis {"connection_id":122443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 11:00:11] local.INFO: Extracted packet for processing {"connection_id":122443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30bc"} 
[2026-07-05 11:00:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506571776001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229097000,"timestamp_ms":1783229097000,"timestamp_seconds":1783229097,"priority":1,"record_length":96,"hex_timestamp":"0000019f30bca428"} 
[2026-07-05 11:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506571776001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506571776001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:00:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506571776001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":122443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:00:11] local.INFO: GPS data processed {"connection_id":122443,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:00:11] local.INFO: Acknowledgment sent {"connection_id":122443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:00:43] local.INFO: TCP Data received {"connection_id":122443,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:00:43] local.INFO: Processing buffer {"connection_id":122443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:00:43] local.INFO: Packet analysis {"connection_id":122443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:00:43] local.INFO: Extracted packet for processing {"connection_id":122443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:00:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506648832001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783229398000,"timestamp_ms":1783229398000,"timestamp_seconds":1783229398,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c13bf0"} 
[2026-07-05 11:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:00: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-07-05 11:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506648832001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506648832001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:00:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506648832001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":122443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:00:43] local.INFO: GPS data processed {"connection_id":122443,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:00:43] local.INFO: Acknowledgment sent {"connection_id":122443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:01:06] local.INFO: TCP Data received {"connection_id":123229,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:01:06] local.INFO: Processing buffer {"connection_id":123229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:01:06] local.INFO: IMEI packet received {"connection_id":123229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":123229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:01:10] local.INFO: TCP Data received {"connection_id":123229,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:01:10] local.INFO: Processing buffer {"connection_id":123229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:01:10] local.INFO: IMEI packet received {"connection_id":123229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":123229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:01:11] local.INFO: TCP Data received {"connection_id":123229,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:01:11] local.INFO: Processing buffer {"connection_id":123229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:01:11] local.INFO: Packet analysis {"connection_id":123229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:01:11] local.INFO: Extracted packet for processing {"connection_id":123229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506648832001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229398000,"timestamp_ms":1783229398000,"timestamp_seconds":1783229398,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c13bf0"} 
[2026-07-05 11:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506648832001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506648832001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506648832001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":123229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:01:11] local.INFO: GPS data processed {"connection_id":123229,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:01:11] local.INFO: Acknowledgment sent {"connection_id":123229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:01:42] local.INFO: TCP Data received {"connection_id":123229,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:01:42] local.INFO: Processing buffer {"connection_id":123229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:01:42] local.INFO: Packet analysis {"connection_id":123229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:01:42] local.INFO: Extracted packet for processing {"connection_id":123229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506648832001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783229398000,"timestamp_ms":1783229398000,"timestamp_seconds":1783229398,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c13bf0"} 
[2026-07-05 11:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:01: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-07-05 11: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-07-05 11: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-07-05 11: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-07-05 11:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506648832001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506648832001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:01:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506648832001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":123229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:01:42] local.INFO: GPS data processed {"connection_id":123229,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:01:42] local.INFO: Acknowledgment sent {"connection_id":123229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:02:05] local.INFO: TCP Data received {"connection_id":123231,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:02:05] local.INFO: Processing buffer {"connection_id":123231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:02:05] local.INFO: IMEI packet received {"connection_id":123231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":123231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:02:10] local.INFO: TCP Data received {"connection_id":123231,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:02:10] local.INFO: Processing buffer {"connection_id":123231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:02:10] local.INFO: IMEI packet received {"connection_id":123231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":123231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:02:11] local.INFO: TCP Data received {"connection_id":123231,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:02:11] local.INFO: Processing buffer {"connection_id":123231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:02:11] local.INFO: Packet analysis {"connection_id":123231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:02:11] local.INFO: Extracted packet for processing {"connection_id":123231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:02:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506648832001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229398000,"timestamp_ms":1783229398000,"timestamp_seconds":1783229398,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c13bf0"} 
[2026-07-05 11:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506648832001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506648832001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:02:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506648832001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":123231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:02:11] local.INFO: GPS data processed {"connection_id":123231,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:02:11] local.INFO: Acknowledgment sent {"connection_id":123231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:02:30] local.INFO: TCP Data received {"connection_id":122505,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:02:30] local.INFO: Processing buffer {"connection_id":122505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:02:30] local.INFO: IMEI packet received {"connection_id":122505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":122505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:02:42] local.INFO: TCP Data received {"connection_id":123231,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:02:42] local.INFO: Processing buffer {"connection_id":123231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:02:42] local.INFO: Packet analysis {"connection_id":123231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:02:42] local.INFO: Extracted packet for processing {"connection_id":123231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:02:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506648832001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783229398000,"timestamp_ms":1783229398000,"timestamp_seconds":1783229398,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c13bf0"} 
[2026-07-05 11:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:02: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-07-05 11:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:02: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-07-05 11:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506648832001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506648832001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:02:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506648832001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":123231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:02:42] local.INFO: GPS data processed {"connection_id":123231,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:02:42] local.INFO: Acknowledgment sent {"connection_id":123231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:03:04] local.INFO: TCP Data received {"connection_id":122444,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:03:04] local.INFO: Processing buffer {"connection_id":122444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:03:04] local.INFO: IMEI packet received {"connection_id":122444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":122444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:03:05] local.INFO: TCP Data received {"connection_id":122445,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:03:05] local.INFO: Processing buffer {"connection_id":122445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:03:05] local.INFO: IMEI packet received {"connection_id":122445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":122445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:03:10] local.INFO: TCP Data received {"connection_id":122445,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:03:10] local.INFO: Processing buffer {"connection_id":122445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:03:10] local.INFO: IMEI packet received {"connection_id":122445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":122445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:03:11] local.INFO: TCP Data received {"connection_id":122445,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:03:11] local.INFO: Processing buffer {"connection_id":122445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:03:11] local.INFO: Packet analysis {"connection_id":122445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:03:11] local.INFO: Extracted packet for processing {"connection_id":122445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:03:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506648832001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229398000,"timestamp_ms":1783229398000,"timestamp_seconds":1783229398,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c13bf0"} 
[2026-07-05 11:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506648832001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506648832001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:03:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506648832001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":122445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:03:11] local.INFO: GPS data processed {"connection_id":122445,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:03:11] local.INFO: Acknowledgment sent {"connection_id":122445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:03:42] local.INFO: TCP Data received {"connection_id":122445,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:03:42] local.INFO: Processing buffer {"connection_id":122445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:03:42] local.INFO: Packet analysis {"connection_id":122445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:03:42] local.INFO: Extracted packet for processing {"connection_id":122445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506648832001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783229398000,"timestamp_ms":1783229398000,"timestamp_seconds":1783229398,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c13bf0"} 
[2026-07-05 11:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:03: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-07-05 11:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:03: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-07-05 11:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506648832001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506648832001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:03:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506648832001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":122445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:03:42] local.INFO: GPS data processed {"connection_id":122445,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:03:42] local.INFO: Acknowledgment sent {"connection_id":122445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:04:10] local.INFO: TCP Data received {"connection_id":124437,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:04:10] local.INFO: Processing buffer {"connection_id":124437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:04:10] local.INFO: IMEI packet received {"connection_id":124437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":124437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:04:15] local.INFO: TCP Data received {"connection_id":124437,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:04:15] local.INFO: Processing buffer {"connection_id":124437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:04:15] local.INFO: IMEI packet received {"connection_id":124437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":124437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:04:16] local.INFO: TCP Data received {"connection_id":124437,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:04:16] local.INFO: Processing buffer {"connection_id":124437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:04:16] local.INFO: Packet analysis {"connection_id":124437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:04:16] local.INFO: Extracted packet for processing {"connection_id":124437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:04:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506648832001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:04:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783229398000,"timestamp_ms":1783229398000,"timestamp_seconds":1783229398,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c13bf0"} 
[2026-07-05 11:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506648832001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506648832001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:04:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:04:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:04:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506648832001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":124437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:04:16] local.INFO: GPS data processed {"connection_id":124437,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:04:16] local.INFO: Acknowledgment sent {"connection_id":124437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:04:21] local.INFO: TCP Data received {"connection_id":124437,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:04:21] local.INFO: Processing buffer {"connection_id":124437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:04:21] local.INFO: Packet analysis {"connection_id":124437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:04:21] local.INFO: Extracted packet for processing {"connection_id":124437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:04:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506648832001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783229398000,"timestamp_ms":1783229398000,"timestamp_seconds":1783229398,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c13bf0"} 
[2026-07-05 11:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506648832001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506648832001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:04:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506648832001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":124437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:04:21] local.INFO: GPS data processed {"connection_id":124437,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:04:21] local.INFO: Acknowledgment sent {"connection_id":124437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:05:05] local.INFO: TCP Data received {"connection_id":124438,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:05:05] local.INFO: Processing buffer {"connection_id":124438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:05:05] local.INFO: IMEI packet received {"connection_id":124438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":124438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:05:10] local.INFO: TCP Data received {"connection_id":124438,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:05:10] local.INFO: Processing buffer {"connection_id":124438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:05:10] local.INFO: IMEI packet received {"connection_id":124438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":124438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:05:11] local.INFO: TCP Data received {"connection_id":124438,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:05:11] local.INFO: Processing buffer {"connection_id":124438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c13bf0012cb2a24007823a980046013b29..."} 
[2026-07-05 11:05:11] local.INFO: Packet analysis {"connection_id":124438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:05:11] local.INFO: Extracted packet for processing {"connection_id":124438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c1"} 
[2026-07-05 11:05:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506648832001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229398000,"timestamp_ms":1783229398000,"timestamp_seconds":1783229398,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c13bf0"} 
[2026-07-05 11:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506648832001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506648832001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:05:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506648832001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":124438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:05:11] local.INFO: GPS data processed {"connection_id":124438,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:05:11] local.INFO: Acknowledgment sent {"connection_id":124438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:05:42] local.INFO: TCP Data received {"connection_id":124438,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:05:42] local.INFO: Processing buffer {"connection_id":124438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:05:42] local.INFO: Packet analysis {"connection_id":124438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:05:42] local.INFO: Extracted packet for processing {"connection_id":124438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:05:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506725888001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783229699000,"timestamp_ms":1783229699000,"timestamp_seconds":1783229699,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c5d3b8"} 
[2026-07-05 11:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:05: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-07-05 11:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:05: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-07-05 11: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-07-05 11:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506725888001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506725888001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:05:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506725888001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":124438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:05:42] local.INFO: GPS data processed {"connection_id":124438,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:05:42] local.INFO: Acknowledgment sent {"connection_id":124438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:06:06] local.INFO: TCP Data received {"connection_id":122506,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:06:06] local.INFO: Processing buffer {"connection_id":122506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:06:06] local.INFO: IMEI packet received {"connection_id":122506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":122506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:06:10] local.INFO: TCP Data received {"connection_id":122506,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:06:10] local.INFO: Processing buffer {"connection_id":122506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:06:10] local.INFO: IMEI packet received {"connection_id":122506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":122506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:06:11] local.INFO: TCP Data received {"connection_id":122506,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:06:11] local.INFO: Processing buffer {"connection_id":122506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:06:11] local.INFO: Packet analysis {"connection_id":122506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:06:11] local.INFO: Extracted packet for processing {"connection_id":122506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:06:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506725888001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229699000,"timestamp_ms":1783229699000,"timestamp_seconds":1783229699,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c5d3b8"} 
[2026-07-05 11:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506725888001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506725888001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:06:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506725888001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":122506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:06:11] local.INFO: GPS data processed {"connection_id":122506,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:06:11] local.INFO: Acknowledgment sent {"connection_id":122506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:06:42] local.INFO: TCP Data received {"connection_id":122506,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:06:42] local.INFO: Processing buffer {"connection_id":122506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:06:42] local.INFO: Packet analysis {"connection_id":122506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:06:42] local.INFO: Extracted packet for processing {"connection_id":122506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:06:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506725888001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783229699000,"timestamp_ms":1783229699000,"timestamp_seconds":1783229699,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c5d3b8"} 
[2026-07-05 11:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:06: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-07-05 11:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:06: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-07-05 11:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506725888001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506725888001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:06:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506725888001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":122506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:06:43] local.INFO: GPS data processed {"connection_id":122506,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:06:43] local.INFO: Acknowledgment sent {"connection_id":122506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:07:05] local.INFO: TCP Data received {"connection_id":122446,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:07:05] local.INFO: Processing buffer {"connection_id":122446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:07:05] local.INFO: IMEI packet received {"connection_id":122446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":122446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:07:10] local.INFO: TCP Data received {"connection_id":122446,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:07:10] local.INFO: Processing buffer {"connection_id":122446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:07:10] local.INFO: IMEI packet received {"connection_id":122446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":122446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:07:11] local.INFO: TCP Data received {"connection_id":122446,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:07:11] local.INFO: Processing buffer {"connection_id":122446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:07:11] local.INFO: Packet analysis {"connection_id":122446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:07:11] local.INFO: Extracted packet for processing {"connection_id":122446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506725888001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229699000,"timestamp_ms":1783229699000,"timestamp_seconds":1783229699,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c5d3b8"} 
[2026-07-05 11:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506725888001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506725888001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506725888001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":122446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:07:11] local.INFO: GPS data processed {"connection_id":122446,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:07:11] local.INFO: Acknowledgment sent {"connection_id":122446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:07:43] local.INFO: TCP Data received {"connection_id":122446,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:07:43] local.INFO: Processing buffer {"connection_id":122446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:07:43] local.INFO: Packet analysis {"connection_id":122446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:07:43] local.INFO: Extracted packet for processing {"connection_id":122446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:07:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506725888001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:07:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783229699000,"timestamp_ms":1783229699000,"timestamp_seconds":1783229699,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c5d3b8"} 
[2026-07-05 11:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:07: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-07-05 11:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:07: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-07-05 11: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-07-05 11:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506725888001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506725888001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:07:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:07:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506725888001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":122446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:07:43] local.INFO: GPS data processed {"connection_id":122446,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:07:43] local.INFO: Acknowledgment sent {"connection_id":122446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:08:10] local.INFO: TCP Data received {"connection_id":123235,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:08:10] local.INFO: Processing buffer {"connection_id":123235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:08:10] local.INFO: IMEI packet received {"connection_id":123235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":123235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:08:15] local.INFO: TCP Data received {"connection_id":123235,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:08:15] local.INFO: Processing buffer {"connection_id":123235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:08:15] local.INFO: IMEI packet received {"connection_id":123235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":123235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:08:16] local.INFO: TCP Data received {"connection_id":123235,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:08:16] local.INFO: Processing buffer {"connection_id":123235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:08:16] local.INFO: Packet analysis {"connection_id":123235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:08:16] local.INFO: Extracted packet for processing {"connection_id":123235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:08:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506725888001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:08:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783229699000,"timestamp_ms":1783229699000,"timestamp_seconds":1783229699,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c5d3b8"} 
[2026-07-05 11:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506725888001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506725888001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:08:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:08:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:08:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506725888001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":123235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:08:16] local.INFO: GPS data processed {"connection_id":123235,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:08:16] local.INFO: Acknowledgment sent {"connection_id":123235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:08:21] local.INFO: TCP Data received {"connection_id":123235,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:08:21] local.INFO: Processing buffer {"connection_id":123235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:08:21] local.INFO: Packet analysis {"connection_id":123235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:08:21] local.INFO: Extracted packet for processing {"connection_id":123235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:08:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506725888001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783229699000,"timestamp_ms":1783229699000,"timestamp_seconds":1783229699,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c5d3b8"} 
[2026-07-05 11:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506725888001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506725888001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:08:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506725888001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":123235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:08:21] local.INFO: GPS data processed {"connection_id":123235,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:08:21] local.INFO: Acknowledgment sent {"connection_id":123235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:08:30] local.INFO: TCP Data received {"connection_id":123236,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:08:30] local.INFO: Processing buffer {"connection_id":123236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:08:30] local.INFO: IMEI packet received {"connection_id":123236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":123236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:09:04] local.INFO: TCP Data received {"connection_id":122447,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:09:04] local.INFO: Processing buffer {"connection_id":122447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:09:04] local.INFO: IMEI packet received {"connection_id":122447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":122447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:09:05] local.INFO: TCP Data received {"connection_id":122507,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:09:05] local.INFO: Processing buffer {"connection_id":122507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:09:05] local.INFO: IMEI packet received {"connection_id":122507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":122507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:09:10] local.INFO: TCP Data received {"connection_id":122507,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:09:10] local.INFO: Processing buffer {"connection_id":122507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:09:10] local.INFO: IMEI packet received {"connection_id":122507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":122507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:09:11] local.INFO: TCP Data received {"connection_id":122507,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:09:11] local.INFO: Processing buffer {"connection_id":122507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:09:11] local.INFO: Packet analysis {"connection_id":122507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:09:11] local.INFO: Extracted packet for processing {"connection_id":122507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506725888001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229699000,"timestamp_ms":1783229699000,"timestamp_seconds":1783229699,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c5d3b8"} 
[2026-07-05 11:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506725888001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506725888001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506725888001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":122507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:09:11] local.INFO: GPS data processed {"connection_id":122507,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:09:11] local.INFO: Acknowledgment sent {"connection_id":122507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:09:43] local.INFO: TCP Data received {"connection_id":122507,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:09:43] local.INFO: Processing buffer {"connection_id":122507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:09:43] local.INFO: Packet analysis {"connection_id":122507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:09:43] local.INFO: Extracted packet for processing {"connection_id":122507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:09:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506725888001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:09:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783229699000,"timestamp_ms":1783229699000,"timestamp_seconds":1783229699,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c5d3b8"} 
[2026-07-05 11:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:09: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-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:09: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-07-05 11: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-07-05 11:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506725888001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506725888001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:09:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:09:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506725888001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":122507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:09:43] local.INFO: GPS data processed {"connection_id":122507,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:09:43] local.INFO: Acknowledgment sent {"connection_id":122507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:10:05] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:10:05] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:10:05] local.INFO: IMEI packet received {"connection_id":124440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":124440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:10:10] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:10:10] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:10:10] local.INFO: IMEI packet received {"connection_id":124440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":124440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:10:11] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:10:11] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30c5d3b8012cb2a24007823a980046013b2c..."} 
[2026-07-05 11:10:11] local.INFO: Packet analysis {"connection_id":124440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:10:11] local.INFO: Extracted packet for processing {"connection_id":124440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30c5"} 
[2026-07-05 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506725888001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783229699000,"timestamp_ms":1783229699000,"timestamp_seconds":1783229699,"priority":1,"record_length":96,"hex_timestamp":"0000019f30c5d3b8"} 
[2026-07-05 11:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506725888001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506725888001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:10:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506725888001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":124440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:10:11] local.INFO: GPS data processed {"connection_id":124440,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:10:11] local.INFO: Acknowledgment sent {"connection_id":124440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:10:42] local.INFO: TCP Data received {"connection_id":124440,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:10:42] local.INFO: Processing buffer {"connection_id":124440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:10:42] local.INFO: Packet analysis {"connection_id":124440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:10:42] local.INFO: Extracted packet for processing {"connection_id":124440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506802944001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783230000000,"timestamp_ms":1783230000000,"timestamp_seconds":1783230000,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ca6b80"} 
[2026-07-05 11:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:10: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-07-05 11:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:10: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-07-05 11:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506802944001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506802944001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:10:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506802944001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":124440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:10:42] local.INFO: GPS data processed {"connection_id":124440,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:10:42] local.INFO: Acknowledgment sent {"connection_id":124440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:11:10] local.INFO: TCP Data received {"connection_id":122508,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:11:10] local.INFO: Processing buffer {"connection_id":122508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:11:10] local.INFO: IMEI packet received {"connection_id":122508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":122508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:11:15] local.INFO: TCP Data received {"connection_id":122508,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:11:15] local.INFO: Processing buffer {"connection_id":122508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:11:15] local.INFO: IMEI packet received {"connection_id":122508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":122508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:11:18] local.INFO: TCP Data received {"connection_id":122508,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:11:18] local.INFO: Processing buffer {"connection_id":122508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:11:18] local.INFO: Packet analysis {"connection_id":122508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:11:18] local.INFO: Extracted packet for processing {"connection_id":122508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:11:18] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506802944001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:11:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783230000000,"timestamp_ms":1783230000000,"timestamp_seconds":1783230000,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ca6b80"} 
[2026-07-05 11:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506802944001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506802944001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:11:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:11:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506802944001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":122508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:11:18] local.INFO: GPS data processed {"connection_id":122508,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:11:18] local.INFO: Acknowledgment sent {"connection_id":122508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:11:49] local.INFO: TCP Data received {"connection_id":122508,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:11:49] local.INFO: Processing buffer {"connection_id":122508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:11:49] local.INFO: Packet analysis {"connection_id":122508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:11:49] local.INFO: Extracted packet for processing {"connection_id":122508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:11:49] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506802944001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:11:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783230000000,"timestamp_ms":1783230000000,"timestamp_seconds":1783230000,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ca6b80"} 
[2026-07-05 11:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506802944001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506802944001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:11:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:11:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:11:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506802944001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":122508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:11:50] local.INFO: GPS data processed {"connection_id":122508,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:11:50] local.INFO: Acknowledgment sent {"connection_id":122508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:12:05] local.INFO: TCP Data received {"connection_id":123239,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:12:05] local.INFO: Processing buffer {"connection_id":123239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:12:05] local.INFO: IMEI packet received {"connection_id":123239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":123239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:12:10] local.INFO: TCP Data received {"connection_id":123239,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:12:10] local.INFO: Processing buffer {"connection_id":123239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:12:10] local.INFO: IMEI packet received {"connection_id":123239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":123239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:12:12] local.INFO: TCP Data received {"connection_id":123239,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:12:12] local.INFO: Processing buffer {"connection_id":123239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:12:12] local.INFO: Packet analysis {"connection_id":123239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:12:12] local.INFO: Extracted packet for processing {"connection_id":123239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:12:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506802944001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783230000000,"timestamp_ms":1783230000000,"timestamp_seconds":1783230000,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ca6b80"} 
[2026-07-05 11:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506802944001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506802944001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:12:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:12:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506802944001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":123239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:12:12] local.INFO: GPS data processed {"connection_id":123239,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:12:12] local.INFO: Acknowledgment sent {"connection_id":123239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:12:43] local.INFO: TCP Data received {"connection_id":123239,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:12:43] local.INFO: Processing buffer {"connection_id":123239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:12:43] local.INFO: Packet analysis {"connection_id":123239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:12:43] local.INFO: Extracted packet for processing {"connection_id":123239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:12:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:12: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-07-05 11:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506802944001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783230000000,"timestamp_ms":1783230000000,"timestamp_seconds":1783230000,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ca6b80"} 
[2026-07-05 11:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:12: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-07-05 11:12: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-07-05 11:12: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-07-05 11:12: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-07-05 11:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506802944001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506802944001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:12:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:12:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506802944001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":123239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:12:43] local.INFO: GPS data processed {"connection_id":123239,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:12:43] local.INFO: Acknowledgment sent {"connection_id":123239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:13:05] local.INFO: TCP Data received {"connection_id":122510,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:13:05] local.INFO: Processing buffer {"connection_id":122510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:13:05] local.INFO: IMEI packet received {"connection_id":122510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":122510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:13:10] local.INFO: TCP Data received {"connection_id":122510,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:13:10] local.INFO: Processing buffer {"connection_id":122510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:13:10] local.INFO: IMEI packet received {"connection_id":122510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":122510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:13:11] local.INFO: TCP Data received {"connection_id":122510,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:13:11] local.INFO: Processing buffer {"connection_id":122510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:13:11] local.INFO: Packet analysis {"connection_id":122510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:13:11] local.INFO: Extracted packet for processing {"connection_id":122510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:13: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-07-05 11:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506802944001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230000000,"timestamp_ms":1783230000000,"timestamp_seconds":1783230000,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ca6b80"} 
[2026-07-05 11:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:13: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-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506802944001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506802944001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506802944001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":122510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:13:11] local.INFO: GPS data processed {"connection_id":122510,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:13:11] local.INFO: Acknowledgment sent {"connection_id":122510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:13:43] local.INFO: TCP Data received {"connection_id":122510,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:13:43] local.INFO: Processing buffer {"connection_id":122510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:13:43] local.INFO: Packet analysis {"connection_id":122510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:13:43] local.INFO: Extracted packet for processing {"connection_id":122510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:13:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506802944001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:13:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783230000000,"timestamp_ms":1783230000000,"timestamp_seconds":1783230000,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ca6b80"} 
[2026-07-05 11:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:13: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-07-05 11:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:13: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-07-05 11:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506802944001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506802944001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:13:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:13:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:13:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506802944001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":122510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:13:43] local.INFO: GPS data processed {"connection_id":122510,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:13:43] local.INFO: Acknowledgment sent {"connection_id":122510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:14:05] local.INFO: TCP Data received {"connection_id":123240,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:14:05] local.INFO: Processing buffer {"connection_id":123240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:14:05] local.INFO: IMEI packet received {"connection_id":123240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":123240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:14:10] local.INFO: TCP Data received {"connection_id":123240,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:14:10] local.INFO: Processing buffer {"connection_id":123240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:14:10] local.INFO: IMEI packet received {"connection_id":123240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":123240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:14:11] local.INFO: TCP Data received {"connection_id":123240,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:14:11] local.INFO: Processing buffer {"connection_id":123240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:14:11] local.INFO: Packet analysis {"connection_id":123240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:14:11] local.INFO: Extracted packet for processing {"connection_id":123240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:14:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506802944001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230000000,"timestamp_ms":1783230000000,"timestamp_seconds":1783230000,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ca6b80"} 
[2026-07-05 11:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:14: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-07-05 11:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506802944001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506802944001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:14:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506802944001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":123240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:14:11] local.INFO: GPS data processed {"connection_id":123240,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:14:11] local.INFO: Acknowledgment sent {"connection_id":123240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:14:19] local.INFO: TCP Data received {"connection_id":122449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:14:19] local.INFO: Processing buffer {"connection_id":122449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:14:19] local.INFO: IMEI packet received {"connection_id":122449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":122449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:14:43] local.INFO: TCP Data received {"connection_id":123240,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:14:43] local.INFO: Processing buffer {"connection_id":123240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:14:43] local.INFO: Packet analysis {"connection_id":123240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:14:43] local.INFO: Extracted packet for processing {"connection_id":123240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:14:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506802944001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:14:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783230000000,"timestamp_ms":1783230000000,"timestamp_seconds":1783230000,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ca6b80"} 
[2026-07-05 11:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:14: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-07-05 11:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:14: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-07-05 11:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506802944001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506802944001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:14:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:14:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506802944001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":123240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:14:43] local.INFO: GPS data processed {"connection_id":123240,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:14:43] local.INFO: Acknowledgment sent {"connection_id":123240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:15:05] local.INFO: TCP Data received {"connection_id":122450,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:15:05] local.INFO: Processing buffer {"connection_id":122450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:15:05] local.INFO: IMEI packet received {"connection_id":122450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":122450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:15:10] local.INFO: TCP Data received {"connection_id":124441,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:15:10] local.INFO: Processing buffer {"connection_id":124441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:15:10] local.INFO: IMEI packet received {"connection_id":124441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":124441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:15:15] local.INFO: TCP Data received {"connection_id":124441,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:15:15] local.INFO: Processing buffer {"connection_id":124441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:15:15] local.INFO: IMEI packet received {"connection_id":124441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":124441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:15:16] local.INFO: TCP Data received {"connection_id":124441,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:15:16] local.INFO: Processing buffer {"connection_id":124441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:15:16] local.INFO: Packet analysis {"connection_id":124441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:15:16] local.INFO: Extracted packet for processing {"connection_id":124441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506802944001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:15:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783230000000,"timestamp_ms":1783230000000,"timestamp_seconds":1783230000,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ca6b80"} 
[2026-07-05 11:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506802944001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506802944001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:15:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:15:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:15:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506802944001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":124441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:15:16] local.INFO: GPS data processed {"connection_id":124441,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:15:16] local.INFO: Acknowledgment sent {"connection_id":124441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:15:24] local.INFO: TCP Data received {"connection_id":124441,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:15:24] local.INFO: Processing buffer {"connection_id":124441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ca6b80012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:15:24] local.INFO: Packet analysis {"connection_id":124441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:15:24] local.INFO: Extracted packet for processing {"connection_id":124441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ca"} 
[2026-07-05 11:15:24] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506802944001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783230000000,"timestamp_ms":1783230000000,"timestamp_seconds":1783230000,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ca6b80"} 
[2026-07-05 11:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":124441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":124441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":124441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506802944001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506802944001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:15:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:15:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506802944001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":124441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:15:24] local.INFO: GPS data processed {"connection_id":124441,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:15:24] local.INFO: Acknowledgment sent {"connection_id":124441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:16:05] local.INFO: TCP Data received {"connection_id":122452,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:16:05] local.INFO: Processing buffer {"connection_id":122452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:16:05] local.INFO: IMEI packet received {"connection_id":122452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":122452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:16:10] local.INFO: TCP Data received {"connection_id":122452,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:16:10] local.INFO: Processing buffer {"connection_id":122452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:16:10] local.INFO: IMEI packet received {"connection_id":122452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":122452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:16:11] local.INFO: TCP Data received {"connection_id":122452,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:16:11] local.INFO: Processing buffer {"connection_id":122452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:16:11] local.INFO: Packet analysis {"connection_id":122452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:16:11] local.INFO: Extracted packet for processing {"connection_id":122452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506880000001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230301000,"timestamp_ms":1783230301000,"timestamp_seconds":1783230301,"priority":1,"record_length":96,"hex_timestamp":"0000019f30cf0348"} 
[2026-07-05 11:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506880000001,"66":25419,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506880000001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:16:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506880000001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":122452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:16:11] local.INFO: GPS data processed {"connection_id":122452,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:16:11] local.INFO: Acknowledgment sent {"connection_id":122452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:16:42] local.INFO: TCP Data received {"connection_id":122452,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:16:42] local.INFO: Processing buffer {"connection_id":122452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:16:42] local.INFO: Packet analysis {"connection_id":122452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:16:42] local.INFO: Extracted packet for processing {"connection_id":122452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506880000001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783230301000,"timestamp_ms":1783230301000,"timestamp_seconds":1783230301,"priority":1,"record_length":96,"hex_timestamp":"0000019f30cf0348"} 
[2026-07-05 11:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:16: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-07-05 11:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:16: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-07-05 11:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506880000001,"66":25419,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506880000001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:16:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506880000001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":122452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:16:42] local.INFO: GPS data processed {"connection_id":122452,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:16:42] local.INFO: Acknowledgment sent {"connection_id":122452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:17:06] local.INFO: TCP Data received {"connection_id":122511,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:17:06] local.INFO: Processing buffer {"connection_id":122511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:17:06] local.INFO: IMEI packet received {"connection_id":122511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":122511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:17:10] local.INFO: TCP Data received {"connection_id":122511,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:17:10] local.INFO: Processing buffer {"connection_id":122511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:17:10] local.INFO: IMEI packet received {"connection_id":122511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":122511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:17:11] local.INFO: TCP Data received {"connection_id":122511,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:17:11] local.INFO: Processing buffer {"connection_id":122511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:17:11] local.INFO: Packet analysis {"connection_id":122511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:17:11] local.INFO: Extracted packet for processing {"connection_id":122511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506880000001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230301000,"timestamp_ms":1783230301000,"timestamp_seconds":1783230301,"priority":1,"record_length":96,"hex_timestamp":"0000019f30cf0348"} 
[2026-07-05 11:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506880000001,"66":25419,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506880000001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:17:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506880000001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":122511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:17:11] local.INFO: GPS data processed {"connection_id":122511,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:17:11] local.INFO: Acknowledgment sent {"connection_id":122511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:17:42] local.INFO: TCP Data received {"connection_id":122511,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:17:42] local.INFO: Processing buffer {"connection_id":122511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:17:42] local.INFO: Packet analysis {"connection_id":122511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:17:42] local.INFO: Extracted packet for processing {"connection_id":122511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506880000001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783230301000,"timestamp_ms":1783230301000,"timestamp_seconds":1783230301,"priority":1,"record_length":96,"hex_timestamp":"0000019f30cf0348"} 
[2026-07-05 11:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:17: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-07-05 11:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506880000001,"66":25419,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506880000001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506880000001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":122511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:17:42] local.INFO: GPS data processed {"connection_id":122511,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:17:42] local.INFO: Acknowledgment sent {"connection_id":122511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:18:05] local.INFO: TCP Data received {"connection_id":122454,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:18:05] local.INFO: Processing buffer {"connection_id":122454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:18:05] local.INFO: IMEI packet received {"connection_id":122454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":122454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:18:10] local.INFO: TCP Data received {"connection_id":122454,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:18:10] local.INFO: Processing buffer {"connection_id":122454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:18:10] local.INFO: IMEI packet received {"connection_id":122454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":122454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:18:11] local.INFO: TCP Data received {"connection_id":122454,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:18:11] local.INFO: Processing buffer {"connection_id":122454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:18:11] local.INFO: Packet analysis {"connection_id":122454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:18:11] local.INFO: Extracted packet for processing {"connection_id":122454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506880000001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230301000,"timestamp_ms":1783230301000,"timestamp_seconds":1783230301,"priority":1,"record_length":96,"hex_timestamp":"0000019f30cf0348"} 
[2026-07-05 11:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506880000001,"66":25419,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506880000001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:18:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506880000001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":122454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:18:11] local.INFO: GPS data processed {"connection_id":122454,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:18:11] local.INFO: Acknowledgment sent {"connection_id":122454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:18:42] local.INFO: TCP Data received {"connection_id":122454,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:18:43] local.INFO: Processing buffer {"connection_id":122454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:18:43] local.INFO: Packet analysis {"connection_id":122454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:18:43] local.INFO: Extracted packet for processing {"connection_id":122454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:18:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506880000001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:18:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783230301000,"timestamp_ms":1783230301000,"timestamp_seconds":1783230301,"priority":1,"record_length":96,"hex_timestamp":"0000019f30cf0348"} 
[2026-07-05 11:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:18: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-07-05 11:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506880000001,"66":25419,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506880000001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:18:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:18:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506880000001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":122454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:18:43] local.INFO: GPS data processed {"connection_id":122454,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:18:43] local.INFO: Acknowledgment sent {"connection_id":122454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:19:05] local.INFO: TCP Data received {"connection_id":123242,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:19:05] local.INFO: Processing buffer {"connection_id":123242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:19:05] local.INFO: IMEI packet received {"connection_id":123242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":123242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:19:10] local.INFO: TCP Data received {"connection_id":123242,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:19:10] local.INFO: Processing buffer {"connection_id":123242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:19:10] local.INFO: IMEI packet received {"connection_id":123242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":123242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:19:11] local.INFO: TCP Data received {"connection_id":123242,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:19:11] local.INFO: Processing buffer {"connection_id":123242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:19:11] local.INFO: Packet analysis {"connection_id":123242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:19:11] local.INFO: Extracted packet for processing {"connection_id":123242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:19:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:19: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-07-05 11:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506880000001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230301000,"timestamp_ms":1783230301000,"timestamp_seconds":1783230301,"priority":1,"record_length":96,"hex_timestamp":"0000019f30cf0348"} 
[2026-07-05 11:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:19: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-07-05 11:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506880000001,"66":25419,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506880000001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:19:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506880000001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":123242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:19:11] local.INFO: GPS data processed {"connection_id":123242,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:19:11] local.INFO: Acknowledgment sent {"connection_id":123242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:19:42] local.INFO: TCP Data received {"connection_id":123242,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:19:42] local.INFO: Processing buffer {"connection_id":123242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:19:42] local.INFO: Packet analysis {"connection_id":123242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:19:42] local.INFO: Extracted packet for processing {"connection_id":123242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506880000001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783230301000,"timestamp_ms":1783230301000,"timestamp_seconds":1783230301,"priority":1,"record_length":96,"hex_timestamp":"0000019f30cf0348"} 
[2026-07-05 11:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:19: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-07-05 11:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:19: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-07-05 11:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506880000001,"66":25419,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506880000001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:19:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506880000001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":123242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:19:42] local.INFO: GPS data processed {"connection_id":123242,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:19:42] local.INFO: Acknowledgment sent {"connection_id":123242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:20:10] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:20:10] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:20:10] local.INFO: IMEI packet received {"connection_id":124442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":124442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:20:15] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:20:15] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:20:15] local.INFO: IMEI packet received {"connection_id":124442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":124442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:20:16] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:20:16] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:20:16] local.INFO: Packet analysis {"connection_id":124442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:20:16] local.INFO: Extracted packet for processing {"connection_id":124442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:20:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506880000001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:20:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783230301000,"timestamp_ms":1783230301000,"timestamp_seconds":1783230301,"priority":1,"record_length":96,"hex_timestamp":"0000019f30cf0348"} 
[2026-07-05 11:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506880000001,"66":25419,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506880000001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:20:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:20:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:20:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506880000001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":124442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:20:16] local.INFO: GPS data processed {"connection_id":124442,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:20:16] local.INFO: Acknowledgment sent {"connection_id":124442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:20:20] local.INFO: TCP Data received {"connection_id":123243,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:20:20] local.INFO: Processing buffer {"connection_id":123243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:20:20] local.INFO: IMEI packet received {"connection_id":123243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":123243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:20:21] local.INFO: TCP Data received {"connection_id":124442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:20:21] local.INFO: Processing buffer {"connection_id":124442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30cf0348012cb2a24007823a980046013b28..."} 
[2026-07-05 11:20:21] local.INFO: Packet analysis {"connection_id":124442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:20:21] local.INFO: Extracted packet for processing {"connection_id":124442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30cf"} 
[2026-07-05 11:20:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506880000001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783230301000,"timestamp_ms":1783230301000,"timestamp_seconds":1783230301,"priority":1,"record_length":96,"hex_timestamp":"0000019f30cf0348"} 
[2026-07-05 11:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506880000001,"66":25419,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506880000001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:20:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506880000001,"power":25419,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":124442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:20:21] local.INFO: GPS data processed {"connection_id":124442,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:20:21] local.INFO: Acknowledgment sent {"connection_id":124442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:21:04] local.INFO: TCP Data received {"connection_id":122455,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:21:04] local.INFO: Processing buffer {"connection_id":122455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:21:04] local.INFO: IMEI packet received {"connection_id":122455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":122455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:21:05] local.INFO: TCP Data received {"connection_id":123244,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:21:05] local.INFO: Processing buffer {"connection_id":123244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:21:05] local.INFO: IMEI packet received {"connection_id":123244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":123244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:21:10] local.INFO: TCP Data received {"connection_id":123244,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:21:10] local.INFO: Processing buffer {"connection_id":123244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:21:10] local.INFO: IMEI packet received {"connection_id":123244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":123244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:21:11] local.INFO: TCP Data received {"connection_id":123244,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:21:11] local.INFO: Processing buffer {"connection_id":123244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:21:11] local.INFO: Packet analysis {"connection_id":123244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:21:11] local.INFO: Extracted packet for processing {"connection_id":123244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:21:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506957056001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230602000,"timestamp_ms":1783230602000,"timestamp_seconds":1783230602,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d39b10"} 
[2026-07-05 11:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-05 11:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506957056001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506957056001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:21:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506957056001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":123244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:21:11] local.INFO: GPS data processed {"connection_id":123244,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:21:11] local.INFO: Acknowledgment sent {"connection_id":123244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:21:42] local.INFO: TCP Data received {"connection_id":123244,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:21:42] local.INFO: Processing buffer {"connection_id":123244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:21:42] local.INFO: Packet analysis {"connection_id":123244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:21:42] local.INFO: Extracted packet for processing {"connection_id":123244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:21:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506957056001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783230602000,"timestamp_ms":1783230602000,"timestamp_seconds":1783230602,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d39b10"} 
[2026-07-05 11:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:21: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-07-05 11:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-05 11:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506957056001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506957056001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:21:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506957056001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":123244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:21:42] local.INFO: GPS data processed {"connection_id":123244,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:21:42] local.INFO: Acknowledgment sent {"connection_id":123244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:22:10] local.INFO: TCP Data received {"connection_id":124444,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:22:10] local.INFO: Processing buffer {"connection_id":124444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:22:10] local.INFO: IMEI packet received {"connection_id":124444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":124444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:22:15] local.INFO: TCP Data received {"connection_id":124444,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:22:15] local.INFO: Processing buffer {"connection_id":124444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:22:15] local.INFO: IMEI packet received {"connection_id":124444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":124444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:22:16] local.INFO: TCP Data received {"connection_id":124444,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:22:16] local.INFO: Processing buffer {"connection_id":124444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:22:16] local.INFO: Packet analysis {"connection_id":124444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:22:16] local.INFO: Extracted packet for processing {"connection_id":124444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:22:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506957056001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:22:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783230602000,"timestamp_ms":1783230602000,"timestamp_seconds":1783230602,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d39b10"} 
[2026-07-05 11:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-05 11:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506957056001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506957056001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:22:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:22:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:22:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506957056001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":124444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:22:16] local.INFO: GPS data processed {"connection_id":124444,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:22:16] local.INFO: Acknowledgment sent {"connection_id":124444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:23:05] local.INFO: TCP Data received {"connection_id":122515,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:23:05] local.INFO: Processing buffer {"connection_id":122515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:23:05] local.INFO: IMEI packet received {"connection_id":122515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":122515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:23:10] local.INFO: TCP Data received {"connection_id":122515,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:23:10] local.INFO: Processing buffer {"connection_id":122515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:23:10] local.INFO: IMEI packet received {"connection_id":122515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":122515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:23:11] local.INFO: TCP Data received {"connection_id":122515,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:23:11] local.INFO: Processing buffer {"connection_id":122515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:23:11] local.INFO: Packet analysis {"connection_id":122515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:23:11] local.INFO: Extracted packet for processing {"connection_id":122515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506957056001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230602000,"timestamp_ms":1783230602000,"timestamp_seconds":1783230602,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d39b10"} 
[2026-07-05 11:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-05 11:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506957056001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506957056001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506957056001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":122515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:23:11] local.INFO: GPS data processed {"connection_id":122515,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:23:11] local.INFO: Acknowledgment sent {"connection_id":122515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:23:11] local.INFO: TCP Data received {"connection_id":124444,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:23:11] local.INFO: Processing buffer {"connection_id":124444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:23:11] local.INFO: Packet analysis {"connection_id":124444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:23:11] local.INFO: Extracted packet for processing {"connection_id":124444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506957056001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230602000,"timestamp_ms":1783230602000,"timestamp_seconds":1783230602,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d39b10"} 
[2026-07-05 11:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-05 11:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506957056001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506957056001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506957056001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":124444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:23:11] local.INFO: GPS data processed {"connection_id":124444,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:23:11] local.INFO: Acknowledgment sent {"connection_id":124444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:23:56] local.INFO: TCP Data received {"connection_id":122515,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:23:56] local.INFO: Processing buffer {"connection_id":122515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:23:56] local.INFO: Packet analysis {"connection_id":122515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:23:56] local.INFO: Extracted packet for processing {"connection_id":122515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:23:56] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506957056001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783230602000,"timestamp_ms":1783230602000,"timestamp_seconds":1783230602,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d39b10"} 
[2026-07-05 11:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-05 11:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506957056001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506957056001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:23:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506957056001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":122515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:23:56] local.INFO: GPS data processed {"connection_id":122515,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:23:56] local.INFO: Acknowledgment sent {"connection_id":122515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:24:06] local.INFO: TCP Data received {"connection_id":122456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:24:06] local.INFO: Processing buffer {"connection_id":122456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:24:06] local.INFO: IMEI packet received {"connection_id":122456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":122456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:24:10] local.INFO: TCP Data received {"connection_id":122456,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:24:10] local.INFO: Processing buffer {"connection_id":122456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:24:10] local.INFO: IMEI packet received {"connection_id":122456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":122456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:24:11] local.INFO: TCP Data received {"connection_id":122456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:24:11] local.INFO: Processing buffer {"connection_id":122456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:24:11] local.INFO: Packet analysis {"connection_id":122456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:24:11] local.INFO: Extracted packet for processing {"connection_id":122456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:24:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:24: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-07-05 11:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506957056001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230602000,"timestamp_ms":1783230602000,"timestamp_seconds":1783230602,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d39b10"} 
[2026-07-05 11:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-05 11:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:24: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-07-05 11:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506957056001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506957056001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:24:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506957056001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":122456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:24:11] local.INFO: GPS data processed {"connection_id":122456,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:24:11] local.INFO: Acknowledgment sent {"connection_id":122456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:24:42] local.INFO: TCP Data received {"connection_id":122456,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:24:42] local.INFO: Processing buffer {"connection_id":122456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:24:42] local.INFO: Packet analysis {"connection_id":122456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:24:42] local.INFO: Extracted packet for processing {"connection_id":122456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 11:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506957056001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783230602000,"timestamp_ms":1783230602000,"timestamp_seconds":1783230602,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d39b10"} 
[2026-07-05 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-07-05 11:24: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-07-05 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-05 11:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 11:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506957056001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506957056001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:24:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506957056001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":122456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:24:42] local.INFO: GPS data processed {"connection_id":122456,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:24:42] local.INFO: Acknowledgment sent {"connection_id":122456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:25:05] local.INFO: TCP Data received {"connection_id":124445,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:25:05] local.INFO: Processing buffer {"connection_id":124445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:25:05] local.INFO: IMEI packet received {"connection_id":124445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":124445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:25:10] local.INFO: TCP Data received {"connection_id":124445,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:25:10] local.INFO: Processing buffer {"connection_id":124445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:25:10] local.INFO: IMEI packet received {"connection_id":124445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":124445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:25:11] local.INFO: TCP Data received {"connection_id":124445,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:25:11] local.INFO: Processing buffer {"connection_id":124445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d39b10012cb2a24007823a980046013b27..."} 
[2026-07-05 11:25:11] local.INFO: Packet analysis {"connection_id":124445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:25:11] local.INFO: Extracted packet for processing {"connection_id":124445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d3"} 
[2026-07-05 11:25:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456506957056001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230602000,"timestamp_ms":1783230602000,"timestamp_seconds":1783230602,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d39b10"} 
[2026-07-05 11:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-05 11:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456506957056001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456506957056001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:25:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456506957056001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":124445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:25:11] local.INFO: GPS data processed {"connection_id":124445,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:25:11] local.INFO: Acknowledgment sent {"connection_id":124445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:25:42] local.INFO: TCP Data received {"connection_id":124445,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:25:42] local.INFO: Processing buffer {"connection_id":124445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:25:42] local.INFO: Packet analysis {"connection_id":124445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:25:42] local.INFO: Extracted packet for processing {"connection_id":124445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:25:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507034112001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783230903000,"timestamp_ms":1783230903000,"timestamp_seconds":1783230903,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d832d8"} 
[2026-07-05 11:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:25: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-07-05 11:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507034112001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507034112001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:25:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507034112001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":124445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:25:42] local.INFO: GPS data processed {"connection_id":124445,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:25:42] local.INFO: Acknowledgment sent {"connection_id":124445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:26:10] local.INFO: TCP Data received {"connection_id":122458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:26:10] local.INFO: Processing buffer {"connection_id":122458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:26:10] local.INFO: IMEI packet received {"connection_id":122458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":122458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:26:15] local.INFO: TCP Data received {"connection_id":122458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:26:15] local.INFO: Processing buffer {"connection_id":122458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:26:15] local.INFO: IMEI packet received {"connection_id":122458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":122458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:26:16] local.INFO: TCP Data received {"connection_id":122458,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:26:16] local.INFO: Processing buffer {"connection_id":122458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:26:16] local.INFO: Packet analysis {"connection_id":122458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:26:16] local.INFO: Extracted packet for processing {"connection_id":122458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:26:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507034112001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:26:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783230903000,"timestamp_ms":1783230903000,"timestamp_seconds":1783230903,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d832d8"} 
[2026-07-05 11:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507034112001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507034112001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:26:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:26:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:26:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507034112001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":122458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:26:16] local.INFO: GPS data processed {"connection_id":122458,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:26:16] local.INFO: Acknowledgment sent {"connection_id":122458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:26:21] local.INFO: TCP Data received {"connection_id":122458,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:26:21] local.INFO: Processing buffer {"connection_id":122458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:26:21] local.INFO: Packet analysis {"connection_id":122458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:26:21] local.INFO: Extracted packet for processing {"connection_id":122458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507034112001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783230903000,"timestamp_ms":1783230903000,"timestamp_seconds":1783230903,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d832d8"} 
[2026-07-05 11:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:26:21] 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-07-05 11:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507034112001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507034112001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507034112001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":122458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:26:21] local.INFO: GPS data processed {"connection_id":122458,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:26:21] local.INFO: Acknowledgment sent {"connection_id":122458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:26:30] local.INFO: TCP Data received {"connection_id":124446,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:26:30] local.INFO: Processing buffer {"connection_id":124446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:26:30] local.INFO: IMEI packet received {"connection_id":124446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":124446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:27:04] local.INFO: TCP Data received {"connection_id":123247,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:27:04] local.INFO: Processing buffer {"connection_id":123247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:27:04] local.INFO: IMEI packet received {"connection_id":123247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":123247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:27:05] local.INFO: TCP Data received {"connection_id":123248,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:27:05] local.INFO: Processing buffer {"connection_id":123248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:27:05] local.INFO: IMEI packet received {"connection_id":123248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":123248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:27:10] local.INFO: TCP Data received {"connection_id":123248,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:27:10] local.INFO: Processing buffer {"connection_id":123248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:27:10] local.INFO: IMEI packet received {"connection_id":123248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":123248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:27:11] local.INFO: TCP Data received {"connection_id":123248,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:27:11] local.INFO: Processing buffer {"connection_id":123248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:27:11] local.INFO: Packet analysis {"connection_id":123248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:27:11] local.INFO: Extracted packet for processing {"connection_id":123248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507034112001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230903000,"timestamp_ms":1783230903000,"timestamp_seconds":1783230903,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d832d8"} 
[2026-07-05 11:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507034112001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507034112001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507034112001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":123248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:27:11] local.INFO: GPS data processed {"connection_id":123248,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:27:11] local.INFO: Acknowledgment sent {"connection_id":123248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:27:42] local.INFO: TCP Data received {"connection_id":123248,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:27:42] local.INFO: Processing buffer {"connection_id":123248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:27:42] local.INFO: Packet analysis {"connection_id":123248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:27:42] local.INFO: Extracted packet for processing {"connection_id":123248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507034112001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783230903000,"timestamp_ms":1783230903000,"timestamp_seconds":1783230903,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d832d8"} 
[2026-07-05 11:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:27: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-07-05 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507034112001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507034112001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507034112001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":123248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:27:42] local.INFO: GPS data processed {"connection_id":123248,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:27:42] local.INFO: Acknowledgment sent {"connection_id":123248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:28:05] local.INFO: TCP Data received {"connection_id":124447,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:28:05] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:28:05] local.INFO: IMEI packet received {"connection_id":124447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":124447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:28:10] local.INFO: TCP Data received {"connection_id":124447,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:28:10] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:28:10] local.INFO: IMEI packet received {"connection_id":124447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":124447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:28:11] local.INFO: TCP Data received {"connection_id":124447,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:28:11] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:28:11] local.INFO: Packet analysis {"connection_id":124447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:28:11] local.INFO: Extracted packet for processing {"connection_id":124447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507034112001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230903000,"timestamp_ms":1783230903000,"timestamp_seconds":1783230903,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d832d8"} 
[2026-07-05 11:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507034112001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507034112001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:28:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507034112001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":124447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:28:11] local.INFO: GPS data processed {"connection_id":124447,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:28:11] local.INFO: Acknowledgment sent {"connection_id":124447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:28:42] local.INFO: TCP Data received {"connection_id":124447,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:28:42] local.INFO: Processing buffer {"connection_id":124447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:28:42] local.INFO: Packet analysis {"connection_id":124447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:28:42] local.INFO: Extracted packet for processing {"connection_id":124447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:28:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507034112001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783230903000,"timestamp_ms":1783230903000,"timestamp_seconds":1783230903,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d832d8"} 
[2026-07-05 11:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:28: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-07-05 11:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507034112001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507034112001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:28:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507034112001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":124447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:28:42] local.INFO: GPS data processed {"connection_id":124447,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:28:42] local.INFO: Acknowledgment sent {"connection_id":124447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:29:05] local.INFO: TCP Data received {"connection_id":122461,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:29:05] local.INFO: Processing buffer {"connection_id":122461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:29:05] local.INFO: IMEI packet received {"connection_id":122461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":122461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:29:10] local.INFO: TCP Data received {"connection_id":122461,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:29:10] local.INFO: Processing buffer {"connection_id":122461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:29:10] local.INFO: IMEI packet received {"connection_id":122461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":122461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:29:11] local.INFO: TCP Data received {"connection_id":122461,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:29:11] local.INFO: Processing buffer {"connection_id":122461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:29:11] local.INFO: Packet analysis {"connection_id":122461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:29:11] local.INFO: Extracted packet for processing {"connection_id":122461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507034112001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230903000,"timestamp_ms":1783230903000,"timestamp_seconds":1783230903,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d832d8"} 
[2026-07-05 11:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507034112001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507034112001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507034112001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":122461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:29:11] local.INFO: GPS data processed {"connection_id":122461,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:29:11] local.INFO: Acknowledgment sent {"connection_id":122461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:29:42] local.INFO: TCP Data received {"connection_id":122461,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:29:42] local.INFO: Processing buffer {"connection_id":122461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:29:42] local.INFO: Packet analysis {"connection_id":122461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:29:42] local.INFO: Extracted packet for processing {"connection_id":122461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507034112001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783230903000,"timestamp_ms":1783230903000,"timestamp_seconds":1783230903,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d832d8"} 
[2026-07-05 11:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:29: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-07-05 11:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507034112001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507034112001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:29:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507034112001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":122461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:29:42] local.INFO: GPS data processed {"connection_id":122461,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:29:42] local.INFO: Acknowledgment sent {"connection_id":122461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:30:05] local.INFO: TCP Data received {"connection_id":124449,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:30:05] local.INFO: Processing buffer {"connection_id":124449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:30:05] local.INFO: IMEI packet received {"connection_id":124449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":124449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:30:10] local.INFO: TCP Data received {"connection_id":124449,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:30:10] local.INFO: Processing buffer {"connection_id":124449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:30:10] local.INFO: IMEI packet received {"connection_id":124449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":124449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:30:11] local.INFO: TCP Data received {"connection_id":124449,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:30:11] local.INFO: Processing buffer {"connection_id":124449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:30:11] local.INFO: Packet analysis {"connection_id":124449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:30:11] local.INFO: Extracted packet for processing {"connection_id":124449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:30:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507034112001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783230903000,"timestamp_ms":1783230903000,"timestamp_seconds":1783230903,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d832d8"} 
[2026-07-05 11:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507034112001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507034112001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:30:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507034112001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":124449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:30:11] local.INFO: GPS data processed {"connection_id":124449,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:30:11] local.INFO: Acknowledgment sent {"connection_id":124449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:30:42] local.INFO: TCP Data received {"connection_id":124449,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:30:42] local.INFO: Processing buffer {"connection_id":124449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30d832d8012cb2a24007823a980046013b2b..."} 
[2026-07-05 11:30:42] local.INFO: Packet analysis {"connection_id":124449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:30:42] local.INFO: Extracted packet for processing {"connection_id":124449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30d8"} 
[2026-07-05 11:30:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507034112001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783230903000,"timestamp_ms":1783230903000,"timestamp_seconds":1783230903,"priority":1,"record_length":96,"hex_timestamp":"0000019f30d832d8"} 
[2026-07-05 11:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:30: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-07-05 11:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507034112001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507034112001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:30:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507034112001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":124449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:30:42] local.INFO: GPS data processed {"connection_id":124449,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:30:42] local.INFO: Acknowledgment sent {"connection_id":124449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:31:10] local.INFO: TCP Data received {"connection_id":124451,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:31:10] local.INFO: Processing buffer {"connection_id":124451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:31:10] local.INFO: IMEI packet received {"connection_id":124451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":124451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:31:15] local.INFO: TCP Data received {"connection_id":124451,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:31:15] local.INFO: Processing buffer {"connection_id":124451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:31:15] local.INFO: IMEI packet received {"connection_id":124451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":124451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:31:16] local.INFO: TCP Data received {"connection_id":124451,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:31:16] local.INFO: Processing buffer {"connection_id":124451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:31:16] local.INFO: Packet analysis {"connection_id":124451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:31:16] local.INFO: Extracted packet for processing {"connection_id":124451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:31:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507111168001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783231204000,"timestamp_ms":1783231204000,"timestamp_seconds":1783231204,"priority":1,"record_length":96,"hex_timestamp":"0000019f30dccaa0"} 
[2026-07-05 11:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507111168001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507111168001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:31:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:31:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507111168001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":124451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:31:16] local.INFO: GPS data processed {"connection_id":124451,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:31:16] local.INFO: Acknowledgment sent {"connection_id":124451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:31:48] local.INFO: TCP Data received {"connection_id":124451,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:31:48] local.INFO: Processing buffer {"connection_id":124451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:31:48] local.INFO: Packet analysis {"connection_id":124451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:31:48] local.INFO: Extracted packet for processing {"connection_id":124451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:31:48] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507111168001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783231204000,"timestamp_ms":1783231204000,"timestamp_seconds":1783231204,"priority":1,"record_length":96,"hex_timestamp":"0000019f30dccaa0"} 
[2026-07-05 11:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507111168001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507111168001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:31:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:31:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507111168001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":124451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:31:48] local.INFO: GPS data processed {"connection_id":124451,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:31:48] local.INFO: Acknowledgment sent {"connection_id":124451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:32:05] local.INFO: TCP Data received {"connection_id":122462,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:32:05] local.INFO: Processing buffer {"connection_id":122462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:32:05] local.INFO: IMEI packet received {"connection_id":122462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":122462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:32:10] local.INFO: TCP Data received {"connection_id":122462,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:32:10] local.INFO: Processing buffer {"connection_id":122462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:32:10] local.INFO: IMEI packet received {"connection_id":122462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":122462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:32:11] local.INFO: TCP Data received {"connection_id":122462,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:32:11] local.INFO: Processing buffer {"connection_id":122462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:32:11] local.INFO: Packet analysis {"connection_id":122462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:32:11] local.INFO: Extracted packet for processing {"connection_id":122462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:32:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507111168001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783231204000,"timestamp_ms":1783231204000,"timestamp_seconds":1783231204,"priority":1,"record_length":96,"hex_timestamp":"0000019f30dccaa0"} 
[2026-07-05 11:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507111168001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507111168001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:32:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507111168001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":122462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:32:11] local.INFO: GPS data processed {"connection_id":122462,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:32:11] local.INFO: Acknowledgment sent {"connection_id":122462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:32:40] local.INFO: TCP Data received {"connection_id":122463,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:32:40] local.INFO: Processing buffer {"connection_id":122463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:32:40] local.INFO: IMEI packet received {"connection_id":122463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":122463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:32:42] local.INFO: TCP Data received {"connection_id":122462,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:32:42] local.INFO: Processing buffer {"connection_id":122462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:32:42] local.INFO: Packet analysis {"connection_id":122462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:32:42] local.INFO: Extracted packet for processing {"connection_id":122462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:32:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507111168001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783231204000,"timestamp_ms":1783231204000,"timestamp_seconds":1783231204,"priority":1,"record_length":96,"hex_timestamp":"0000019f30dccaa0"} 
[2026-07-05 11:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:32: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-07-05 11:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507111168001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507111168001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:32:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507111168001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":122462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:32:42] local.INFO: GPS data processed {"connection_id":122462,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:32:42] local.INFO: Acknowledgment sent {"connection_id":122462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:33:06] local.INFO: TCP Data received {"connection_id":123249,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:33:06] local.INFO: Processing buffer {"connection_id":123249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:33:06] local.INFO: IMEI packet received {"connection_id":123249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":123249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:33:10] local.INFO: TCP Data received {"connection_id":123250,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:33:10] local.INFO: Processing buffer {"connection_id":123250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:33:10] local.INFO: IMEI packet received {"connection_id":123250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":123250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:33:10] local.INFO: TCP Data received {"connection_id":123249,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:33:10] local.INFO: Processing buffer {"connection_id":123249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:33:10] local.INFO: IMEI packet received {"connection_id":123249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":123249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:33:11] local.INFO: TCP Data received {"connection_id":123249,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:33:11] local.INFO: Processing buffer {"connection_id":123249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:33:11] local.INFO: Packet analysis {"connection_id":123249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:33:11] local.INFO: Extracted packet for processing {"connection_id":123249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507111168001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783231204000,"timestamp_ms":1783231204000,"timestamp_seconds":1783231204,"priority":1,"record_length":96,"hex_timestamp":"0000019f30dccaa0"} 
[2026-07-05 11:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507111168001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507111168001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507111168001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":123249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:33:11] local.INFO: GPS data processed {"connection_id":123249,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:33:11] local.INFO: Acknowledgment sent {"connection_id":123249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:33:45] local.INFO: TCP Data received {"connection_id":123249,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:33:45] local.INFO: Processing buffer {"connection_id":123249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:33:45] local.INFO: Packet analysis {"connection_id":123249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:33:45] local.INFO: Extracted packet for processing {"connection_id":123249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:33:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507111168001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:33:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783231204000,"timestamp_ms":1783231204000,"timestamp_seconds":1783231204,"priority":1,"record_length":96,"hex_timestamp":"0000019f30dccaa0"} 
[2026-07-05 11:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:33:45] 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-07-05 11:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":123249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":123249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":123249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507111168001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507111168001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:33:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:33:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:33:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507111168001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":123249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:33:45] local.INFO: GPS data processed {"connection_id":123249,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:33:45] local.INFO: Acknowledgment sent {"connection_id":123249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:34:05] local.INFO: TCP Data received {"connection_id":122464,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:34:05] local.INFO: Processing buffer {"connection_id":122464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:34:05] local.INFO: IMEI packet received {"connection_id":122464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":122464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:34:10] local.INFO: TCP Data received {"connection_id":122464,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:34:10] local.INFO: Processing buffer {"connection_id":122464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:34:10] local.INFO: IMEI packet received {"connection_id":122464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":122464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:34:11] local.INFO: TCP Data received {"connection_id":122464,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:34:11] local.INFO: Processing buffer {"connection_id":122464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:34:11] local.INFO: Packet analysis {"connection_id":122464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:34:11] local.INFO: Extracted packet for processing {"connection_id":122464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:34:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507111168001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:34:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783231204000,"timestamp_ms":1783231204000,"timestamp_seconds":1783231204,"priority":1,"record_length":96,"hex_timestamp":"0000019f30dccaa0"} 
[2026-07-05 11:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507111168001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507111168001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:34:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:34:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507111168001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":122464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:34:11] local.INFO: GPS data processed {"connection_id":122464,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:34:11] local.INFO: Acknowledgment sent {"connection_id":122464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:34:42] local.INFO: TCP Data received {"connection_id":122464,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:34:42] local.INFO: Processing buffer {"connection_id":122464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:34:42] local.INFO: Packet analysis {"connection_id":122464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:34:42] local.INFO: Extracted packet for processing {"connection_id":122464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507111168001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783231204000,"timestamp_ms":1783231204000,"timestamp_seconds":1783231204,"priority":1,"record_length":96,"hex_timestamp":"0000019f30dccaa0"} 
[2026-07-05 11:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:34: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-07-05 11:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507111168001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507111168001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:34:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507111168001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":122464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:34:42] local.INFO: GPS data processed {"connection_id":122464,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:34:42] local.INFO: Acknowledgment sent {"connection_id":122464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:35:10] local.INFO: TCP Data received {"connection_id":122517,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:35:10] local.INFO: Processing buffer {"connection_id":122517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:35:10] local.INFO: IMEI packet received {"connection_id":122517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":122517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:35:15] local.INFO: TCP Data received {"connection_id":122517,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:35:15] local.INFO: Processing buffer {"connection_id":122517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:35:15] local.INFO: IMEI packet received {"connection_id":122517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":122517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:35:16] local.INFO: TCP Data received {"connection_id":122517,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:35:16] local.INFO: Processing buffer {"connection_id":122517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:35:16] local.INFO: Packet analysis {"connection_id":122517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:35:16] local.INFO: Extracted packet for processing {"connection_id":122517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:35:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507111168001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:35:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783231204000,"timestamp_ms":1783231204000,"timestamp_seconds":1783231204,"priority":1,"record_length":96,"hex_timestamp":"0000019f30dccaa0"} 
[2026-07-05 11:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507111168001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507111168001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:35:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:35:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507111168001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":122517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:35:16] local.INFO: GPS data processed {"connection_id":122517,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:35:16] local.INFO: Acknowledgment sent {"connection_id":122517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:35:22] local.INFO: TCP Data received {"connection_id":122517,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:35:22] local.INFO: Processing buffer {"connection_id":122517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30dccaa0012cb2a24007823a980046013b28..."} 
[2026-07-05 11:35:22] local.INFO: Packet analysis {"connection_id":122517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:35:22] local.INFO: Extracted packet for processing {"connection_id":122517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30dc"} 
[2026-07-05 11:35:22] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507111168001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:35:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783231204000,"timestamp_ms":1783231204000,"timestamp_seconds":1783231204,"priority":1,"record_length":96,"hex_timestamp":"0000019f30dccaa0"} 
[2026-07-05 11:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507111168001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507111168001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:35:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:35:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:35:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507111168001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":122517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:35:22] local.INFO: GPS data processed {"connection_id":122517,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:35:22] local.INFO: Acknowledgment sent {"connection_id":122517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:36:05] local.INFO: TCP Data received {"connection_id":124453,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:36:05] local.INFO: Processing buffer {"connection_id":124453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:36:05] local.INFO: IMEI packet received {"connection_id":124453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":124453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:36:10] local.INFO: TCP Data received {"connection_id":124453,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:36:10] local.INFO: Processing buffer {"connection_id":124453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:36:10] local.INFO: IMEI packet received {"connection_id":124453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":124453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:36:11] local.INFO: TCP Data received {"connection_id":124453,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:36:11] local.INFO: Processing buffer {"connection_id":124453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:36:11] local.INFO: Packet analysis {"connection_id":124453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:36:11] local.INFO: Extracted packet for processing {"connection_id":124453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:36:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507188224001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783231505000,"timestamp_ms":1783231505000,"timestamp_seconds":1783231505,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e16268"} 
[2026-07-05 11:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507188224001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507188224001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:36:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507188224001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":124453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:36:11] local.INFO: GPS data processed {"connection_id":124453,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:36:11] local.INFO: Acknowledgment sent {"connection_id":124453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:36:42] local.INFO: TCP Data received {"connection_id":124453,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:36:42] local.INFO: Processing buffer {"connection_id":124453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:36:42] local.INFO: Packet analysis {"connection_id":124453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:36:42] local.INFO: Extracted packet for processing {"connection_id":124453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:36:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507188224001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783231505000,"timestamp_ms":1783231505000,"timestamp_seconds":1783231505,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e16268"} 
[2026-07-05 11:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:36: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-07-05 11:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:36: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-07-05 11:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507188224001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507188224001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:36:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507188224001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":124453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:36:42] local.INFO: GPS data processed {"connection_id":124453,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:36:42] local.INFO: Acknowledgment sent {"connection_id":124453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:37:06] local.INFO: TCP Data received {"connection_id":123252,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:37:06] local.INFO: Processing buffer {"connection_id":123252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:37:06] local.INFO: IMEI packet received {"connection_id":123252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":123252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:37:10] local.INFO: TCP Data received {"connection_id":123252,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:37:10] local.INFO: Processing buffer {"connection_id":123252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:37:10] local.INFO: IMEI packet received {"connection_id":123252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":123252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:37:11] local.INFO: TCP Data received {"connection_id":123252,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:37:11] local.INFO: Processing buffer {"connection_id":123252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:37:11] local.INFO: Packet analysis {"connection_id":123252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:37:11] local.INFO: Extracted packet for processing {"connection_id":123252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:37:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507188224001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783231505000,"timestamp_ms":1783231505000,"timestamp_seconds":1783231505,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e16268"} 
[2026-07-05 11:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507188224001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507188224001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:37:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507188224001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":123252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:37:11] local.INFO: GPS data processed {"connection_id":123252,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:37:11] local.INFO: Acknowledgment sent {"connection_id":123252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:37:42] local.INFO: TCP Data received {"connection_id":123252,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:37:42] local.INFO: Processing buffer {"connection_id":123252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:37:42] local.INFO: Packet analysis {"connection_id":123252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:37:42] local.INFO: Extracted packet for processing {"connection_id":123252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507188224001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783231505000,"timestamp_ms":1783231505000,"timestamp_seconds":1783231505,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e16268"} 
[2026-07-05 11:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:37: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-07-05 11:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:37: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-07-05 11:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507188224001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507188224001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:37:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507188224001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":123252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:37:42] local.INFO: GPS data processed {"connection_id":123252,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:37:42] local.INFO: Acknowledgment sent {"connection_id":123252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:38:05] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:38:05] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:38:05] local.INFO: IMEI packet received {"connection_id":124455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":124455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:38:10] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:38:10] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:38:10] local.INFO: IMEI packet received {"connection_id":124455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":124455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:38:11] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:38:11] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:38:11] local.INFO: Packet analysis {"connection_id":124455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:38:11] local.INFO: Extracted packet for processing {"connection_id":124455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:38:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507188224001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783231505000,"timestamp_ms":1783231505000,"timestamp_seconds":1783231505,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e16268"} 
[2026-07-05 11:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507188224001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507188224001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507188224001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":124455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:38:11] local.INFO: GPS data processed {"connection_id":124455,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:38:11] local.INFO: Acknowledgment sent {"connection_id":124455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:38:40] local.INFO: TCP Data received {"connection_id":122518,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:38:40] local.INFO: Processing buffer {"connection_id":122518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:38:40] local.INFO: IMEI packet received {"connection_id":122518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":122518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:38:42] local.INFO: TCP Data received {"connection_id":124455,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:38:42] local.INFO: Processing buffer {"connection_id":124455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:38:42] local.INFO: Packet analysis {"connection_id":124455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:38:42] local.INFO: Extracted packet for processing {"connection_id":124455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507188224001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783231505000,"timestamp_ms":1783231505000,"timestamp_seconds":1783231505,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e16268"} 
[2026-07-05 11:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:38: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-07-05 11:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:38: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-07-05 11:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507188224001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507188224001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:38:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507188224001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":124455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:38:42] local.INFO: GPS data processed {"connection_id":124455,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:38:42] local.INFO: Acknowledgment sent {"connection_id":124455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:39:04] local.INFO: TCP Data received {"connection_id":122465,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:39:04] local.INFO: Processing buffer {"connection_id":122465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:39:04] local.INFO: IMEI packet received {"connection_id":122465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":122465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:39:05] local.INFO: TCP Data received {"connection_id":122519,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:39:05] local.INFO: Processing buffer {"connection_id":122519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:39:05] local.INFO: IMEI packet received {"connection_id":122519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":122519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:39:10] local.INFO: TCP Data received {"connection_id":122519,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:39:10] local.INFO: Processing buffer {"connection_id":122519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:39:10] local.INFO: IMEI packet received {"connection_id":122519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":122519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:39:11] local.INFO: TCP Data received {"connection_id":122519,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:39:11] local.INFO: Processing buffer {"connection_id":122519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:39:11] local.INFO: Packet analysis {"connection_id":122519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:39:11] local.INFO: Extracted packet for processing {"connection_id":122519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:39:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507188224001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783231505000,"timestamp_ms":1783231505000,"timestamp_seconds":1783231505,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e16268"} 
[2026-07-05 11:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507188224001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507188224001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:39:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507188224001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":122519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:39:11] local.INFO: GPS data processed {"connection_id":122519,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:39:11] local.INFO: Acknowledgment sent {"connection_id":122519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:39:42] local.INFO: TCP Data received {"connection_id":122519,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:39:42] local.INFO: Processing buffer {"connection_id":122519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:39:42] local.INFO: Packet analysis {"connection_id":122519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:39:42] local.INFO: Extracted packet for processing {"connection_id":122519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:39:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507188224001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783231505000,"timestamp_ms":1783231505000,"timestamp_seconds":1783231505,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e16268"} 
[2026-07-05 11:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:39: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-07-05 11:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:39: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-07-05 11: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-07-05 11:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507188224001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507188224001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:39:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507188224001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":122519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:39:42] local.INFO: GPS data processed {"connection_id":122519,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:39:42] local.INFO: Acknowledgment sent {"connection_id":122519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:40:10] local.INFO: TCP Data received {"connection_id":124456,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:40:10] local.INFO: Processing buffer {"connection_id":124456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:40:10] local.INFO: IMEI packet received {"connection_id":124456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":124456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:40:15] local.INFO: TCP Data received {"connection_id":124456,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:40:15] local.INFO: Processing buffer {"connection_id":124456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:40:15] local.INFO: IMEI packet received {"connection_id":124456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":124456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:40:16] local.INFO: TCP Data received {"connection_id":124456,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:40:16] local.INFO: Processing buffer {"connection_id":124456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:40:16] local.INFO: Packet analysis {"connection_id":124456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:40:16] local.INFO: Extracted packet for processing {"connection_id":124456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:40:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507188224001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:40:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783231505000,"timestamp_ms":1783231505000,"timestamp_seconds":1783231505,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e16268"} 
[2026-07-05 11:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507188224001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507188224001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:40:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:40:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:40:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507188224001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":124456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:40:16] local.INFO: GPS data processed {"connection_id":124456,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:40:16] local.INFO: Acknowledgment sent {"connection_id":124456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:40:21] local.INFO: TCP Data received {"connection_id":124456,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:40:21] local.INFO: Processing buffer {"connection_id":124456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e16268012cb2a24007823a980046013b28..."} 
[2026-07-05 11:40:21] local.INFO: Packet analysis {"connection_id":124456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:40:21] local.INFO: Extracted packet for processing {"connection_id":124456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e1"} 
[2026-07-05 11:40:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507188224001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783231505000,"timestamp_ms":1783231505000,"timestamp_seconds":1783231505,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e16268"} 
[2026-07-05 11:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507188224001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507188224001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:40:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507188224001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":124456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:40:21] local.INFO: GPS data processed {"connection_id":124456,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:40:21] local.INFO: Acknowledgment sent {"connection_id":124456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:41:07] local.INFO: TCP Data received {"connection_id":122520,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:41:07] local.INFO: Processing buffer {"connection_id":122520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:41:07] local.INFO: IMEI packet received {"connection_id":122520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":122520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:41:10] local.INFO: TCP Data received {"connection_id":122520,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:41:10] local.INFO: Processing buffer {"connection_id":122520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:41:10] local.INFO: IMEI packet received {"connection_id":122520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":122520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:41:11] local.INFO: TCP Data received {"connection_id":122520,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:41:11] local.INFO: Processing buffer {"connection_id":122520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:41:11] local.INFO: Packet analysis {"connection_id":122520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:41:11] local.INFO: Extracted packet for processing {"connection_id":122520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507265280001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783231806000,"timestamp_ms":1783231806000,"timestamp_seconds":1783231806,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e5fa30"} 
[2026-07-05 11:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507265280001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507265280001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507265280001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":122520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:41:11] local.INFO: GPS data processed {"connection_id":122520,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:41:11] local.INFO: Acknowledgment sent {"connection_id":122520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:41:42] local.INFO: TCP Data received {"connection_id":122520,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:41:42] local.INFO: Processing buffer {"connection_id":122520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:41:42] local.INFO: Packet analysis {"connection_id":122520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:41:42] local.INFO: Extracted packet for processing {"connection_id":122520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:41:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507265280001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783231806000,"timestamp_ms":1783231806000,"timestamp_seconds":1783231806,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e5fa30"} 
[2026-07-05 11:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11: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-07-05 11:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507265280001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507265280001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:41:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507265280001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":122520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:41:42] local.INFO: GPS data processed {"connection_id":122520,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:41:42] local.INFO: Acknowledgment sent {"connection_id":122520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:42:05] local.INFO: TCP Data received {"connection_id":122521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:42:05] local.INFO: Processing buffer {"connection_id":122521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:42:05] local.INFO: IMEI packet received {"connection_id":122521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":122521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:42:10] local.INFO: TCP Data received {"connection_id":122521,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:42:10] local.INFO: Processing buffer {"connection_id":122521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:42:10] local.INFO: IMEI packet received {"connection_id":122521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":122521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:42:11] local.INFO: TCP Data received {"connection_id":122521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:42:11] local.INFO: Processing buffer {"connection_id":122521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:42:11] local.INFO: Packet analysis {"connection_id":122521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:42:11] local.INFO: Extracted packet for processing {"connection_id":122521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507265280001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783231806000,"timestamp_ms":1783231806000,"timestamp_seconds":1783231806,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e5fa30"} 
[2026-07-05 11:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507265280001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507265280001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:42:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507265280001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":122521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:42:11] local.INFO: GPS data processed {"connection_id":122521,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:42:11] local.INFO: Acknowledgment sent {"connection_id":122521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:42:42] local.INFO: TCP Data received {"connection_id":122521,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:42:42] local.INFO: Processing buffer {"connection_id":122521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:42:42] local.INFO: Packet analysis {"connection_id":122521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:42:42] local.INFO: Extracted packet for processing {"connection_id":122521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507265280001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783231806000,"timestamp_ms":1783231806000,"timestamp_seconds":1783231806,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e5fa30"} 
[2026-07-05 11:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:42: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-07-05 11:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507265280001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507265280001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:42:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507265280001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":122521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:42:42] local.INFO: GPS data processed {"connection_id":122521,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:42:42] local.INFO: Acknowledgment sent {"connection_id":122521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:43:05] local.INFO: TCP Data received {"connection_id":122468,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:43:05] local.INFO: Processing buffer {"connection_id":122468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:43:05] local.INFO: IMEI packet received {"connection_id":122468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":122468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:43:10] local.INFO: TCP Data received {"connection_id":122468,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:43:10] local.INFO: Processing buffer {"connection_id":122468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:43:10] local.INFO: IMEI packet received {"connection_id":122468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":122468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:43:11] local.INFO: TCP Data received {"connection_id":122468,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:43:11] local.INFO: Processing buffer {"connection_id":122468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:43:11] local.INFO: Packet analysis {"connection_id":122468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:43:11] local.INFO: Extracted packet for processing {"connection_id":122468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507265280001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783231806000,"timestamp_ms":1783231806000,"timestamp_seconds":1783231806,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e5fa30"} 
[2026-07-05 11:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507265280001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507265280001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:43:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507265280001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":122468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:43:11] local.INFO: GPS data processed {"connection_id":122468,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:43:11] local.INFO: Acknowledgment sent {"connection_id":122468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:43:42] local.INFO: TCP Data received {"connection_id":122468,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:43:42] local.INFO: Processing buffer {"connection_id":122468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:43:42] local.INFO: Packet analysis {"connection_id":122468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:43:42] local.INFO: Extracted packet for processing {"connection_id":122468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:43:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507265280001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783231806000,"timestamp_ms":1783231806000,"timestamp_seconds":1783231806,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e5fa30"} 
[2026-07-05 11:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:43: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-07-05 11:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507265280001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507265280001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:43:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507265280001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":122468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:43:42] local.INFO: GPS data processed {"connection_id":122468,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:43:42] local.INFO: Acknowledgment sent {"connection_id":122468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:44:11] local.INFO: TCP Data received {"connection_id":122522,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:44:11] local.INFO: Processing buffer {"connection_id":122522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:44:11] local.INFO: IMEI packet received {"connection_id":122522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":122522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:44:15] local.INFO: TCP Data received {"connection_id":122522,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:44:15] local.INFO: Processing buffer {"connection_id":122522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:44:15] local.INFO: IMEI packet received {"connection_id":122522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":122522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:44:16] local.INFO: TCP Data received {"connection_id":122522,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:44:16] local.INFO: Processing buffer {"connection_id":122522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:44:16] local.INFO: Packet analysis {"connection_id":122522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:44:16] local.INFO: Extracted packet for processing {"connection_id":122522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:44:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507265280001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:44:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783231806000,"timestamp_ms":1783231806000,"timestamp_seconds":1783231806,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e5fa30"} 
[2026-07-05 11:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507265280001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507265280001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:44:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:44:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507265280001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":122522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:44:16] local.INFO: GPS data processed {"connection_id":122522,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:44:16] local.INFO: Acknowledgment sent {"connection_id":122522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:44:20] local.INFO: TCP Data received {"connection_id":122470,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:44:20] local.INFO: Processing buffer {"connection_id":122470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:44:20] local.INFO: IMEI packet received {"connection_id":122470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":122470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:44:20] local.INFO: TCP Data received {"connection_id":122522,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:44:20] local.INFO: Processing buffer {"connection_id":122522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:44:20] local.INFO: Packet analysis {"connection_id":122522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:44:20] local.INFO: Extracted packet for processing {"connection_id":122522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507265280001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783231806000,"timestamp_ms":1783231806000,"timestamp_seconds":1783231806,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e5fa30"} 
[2026-07-05 11:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:44:20] 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-07-05 11:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507265280001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507265280001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:44:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507265280001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":122522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:44:20] local.INFO: GPS data processed {"connection_id":122522,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:44:20] local.INFO: Acknowledgment sent {"connection_id":122522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:45:04] local.INFO: TCP Data received {"connection_id":122523,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:45:04] local.INFO: Processing buffer {"connection_id":122523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:45:04] local.INFO: IMEI packet received {"connection_id":122523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":122523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:45:05] local.INFO: TCP Data received {"connection_id":123255,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:45:05] local.INFO: Processing buffer {"connection_id":123255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:45:05] local.INFO: IMEI packet received {"connection_id":123255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":123255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:45:10] local.INFO: TCP Data received {"connection_id":123255,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:45:10] local.INFO: Processing buffer {"connection_id":123255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:45:10] local.INFO: IMEI packet received {"connection_id":123255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":123255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:45:11] local.INFO: TCP Data received {"connection_id":123255,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:45:11] local.INFO: Processing buffer {"connection_id":123255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:45:11] local.INFO: Packet analysis {"connection_id":123255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:45:11] local.INFO: Extracted packet for processing {"connection_id":123255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507265280001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783231806000,"timestamp_ms":1783231806000,"timestamp_seconds":1783231806,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e5fa30"} 
[2026-07-05 11:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507265280001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507265280001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:45:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507265280001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":123255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:45:11] local.INFO: GPS data processed {"connection_id":123255,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:45:11] local.INFO: Acknowledgment sent {"connection_id":123255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:45:42] local.INFO: TCP Data received {"connection_id":123255,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:45:42] local.INFO: Processing buffer {"connection_id":123255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30e5fa30012cb2a24007823a980046013b27..."} 
[2026-07-05 11:45:42] local.INFO: Packet analysis {"connection_id":123255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:45:42] local.INFO: Extracted packet for processing {"connection_id":123255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30e5"} 
[2026-07-05 11:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507265280001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783231806000,"timestamp_ms":1783231806000,"timestamp_seconds":1783231806,"priority":1,"record_length":96,"hex_timestamp":"0000019f30e5fa30"} 
[2026-07-05 11:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:45: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-07-05 11:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507265280001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507265280001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:45:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507265280001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":123255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:45:42] local.INFO: GPS data processed {"connection_id":123255,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:45:42] local.INFO: Acknowledgment sent {"connection_id":123255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:46:07] local.INFO: TCP Data received {"connection_id":122472,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:46:07] local.INFO: Processing buffer {"connection_id":122472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:46:07] local.INFO: IMEI packet received {"connection_id":122472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":122472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:46:11] local.INFO: TCP Data received {"connection_id":122472,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:46:11] local.INFO: Processing buffer {"connection_id":122472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:46:11] local.INFO: IMEI packet received {"connection_id":122472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":122472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:46:12] local.INFO: TCP Data received {"connection_id":122472,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:46:12] local.INFO: Processing buffer {"connection_id":122472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:46:12] local.INFO: Packet analysis {"connection_id":122472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:46:12] local.INFO: Extracted packet for processing {"connection_id":122472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:46:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507342336001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783232107000,"timestamp_ms":1783232107000,"timestamp_seconds":1783232107,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ea91f8"} 
[2026-07-05 11:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507342336001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507342336001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:46:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507342336001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":122472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:46:12] local.INFO: GPS data processed {"connection_id":122472,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:46:12] local.INFO: Acknowledgment sent {"connection_id":122472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:46:43] local.INFO: TCP Data received {"connection_id":122472,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:46:43] local.INFO: Processing buffer {"connection_id":122472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:46:43] local.INFO: Packet analysis {"connection_id":122472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:46:43] local.INFO: Extracted packet for processing {"connection_id":122472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:46:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507342336001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:46:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783232107000,"timestamp_ms":1783232107000,"timestamp_seconds":1783232107,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ea91f8"} 
[2026-07-05 11:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:46: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-07-05 11:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507342336001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507342336001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:46:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:46:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507342336001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":122472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:46:43] local.INFO: GPS data processed {"connection_id":122472,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:46:43] local.INFO: Acknowledgment sent {"connection_id":122472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:47:05] local.INFO: TCP Data received {"connection_id":122525,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:47:05] local.INFO: Processing buffer {"connection_id":122525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:47:05] local.INFO: IMEI packet received {"connection_id":122525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":122525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:47:10] local.INFO: TCP Data received {"connection_id":122525,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:47:10] local.INFO: Processing buffer {"connection_id":122525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:47:10] local.INFO: IMEI packet received {"connection_id":122525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":122525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:47:11] local.INFO: TCP Data received {"connection_id":122525,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:47:11] local.INFO: Processing buffer {"connection_id":122525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:47:11] local.INFO: Packet analysis {"connection_id":122525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:47:11] local.INFO: Extracted packet for processing {"connection_id":122525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:47: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-07-05 11:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507342336001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783232107000,"timestamp_ms":1783232107000,"timestamp_seconds":1783232107,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ea91f8"} 
[2026-07-05 11:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:47: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-07-05 11:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507342336001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507342336001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:47:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507342336001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":122525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:47:11] local.INFO: GPS data processed {"connection_id":122525,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:47:11] local.INFO: Acknowledgment sent {"connection_id":122525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:47:42] local.INFO: TCP Data received {"connection_id":122525,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:47:42] local.INFO: Processing buffer {"connection_id":122525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:47:42] local.INFO: Packet analysis {"connection_id":122525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:47:42] local.INFO: Extracted packet for processing {"connection_id":122525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507342336001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783232107000,"timestamp_ms":1783232107000,"timestamp_seconds":1783232107,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ea91f8"} 
[2026-07-05 11:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:47: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-07-05 11:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507342336001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507342336001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507342336001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":122525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:47:42] local.INFO: GPS data processed {"connection_id":122525,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:47:42] local.INFO: Acknowledgment sent {"connection_id":122525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:48:10] local.INFO: TCP Data received {"connection_id":122526,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:48:10] local.INFO: Processing buffer {"connection_id":122526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:48:10] local.INFO: IMEI packet received {"connection_id":122526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":122526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:48:15] local.INFO: TCP Data received {"connection_id":122526,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:48:15] local.INFO: Processing buffer {"connection_id":122526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:48:15] local.INFO: IMEI packet received {"connection_id":122526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":122526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:48:16] local.INFO: TCP Data received {"connection_id":122526,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:48:16] local.INFO: Processing buffer {"connection_id":122526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:48:16] local.INFO: Packet analysis {"connection_id":122526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:48:16] local.INFO: Extracted packet for processing {"connection_id":122526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:48:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507342336001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:48:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783232107000,"timestamp_ms":1783232107000,"timestamp_seconds":1783232107,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ea91f8"} 
[2026-07-05 11:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507342336001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507342336001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:48:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:48:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507342336001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":122526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:48:16] local.INFO: GPS data processed {"connection_id":122526,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:48:16] local.INFO: Acknowledgment sent {"connection_id":122526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:48:21] local.INFO: TCP Data received {"connection_id":122526,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:48:21] local.INFO: Processing buffer {"connection_id":122526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:48:21] local.INFO: Packet analysis {"connection_id":122526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:48:21] local.INFO: Extracted packet for processing {"connection_id":122526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:48:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507342336001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783232107000,"timestamp_ms":1783232107000,"timestamp_seconds":1783232107,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ea91f8"} 
[2026-07-05 11:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:48:21] 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-07-05 11: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-07-05 11:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507342336001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507342336001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:48:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507342336001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":122526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:48:21] local.INFO: GPS data processed {"connection_id":122526,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:48:21] local.INFO: Acknowledgment sent {"connection_id":122526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:49:05] local.INFO: TCP Data received {"connection_id":123257,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:49:05] local.INFO: Processing buffer {"connection_id":123257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:49:05] local.INFO: IMEI packet received {"connection_id":123257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":123257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:49:10] local.INFO: TCP Data received {"connection_id":123257,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:49:10] local.INFO: Processing buffer {"connection_id":123257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:49:10] local.INFO: IMEI packet received {"connection_id":123257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":123257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:49:11] local.INFO: TCP Data received {"connection_id":123257,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:49:11] local.INFO: Processing buffer {"connection_id":123257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:49:11] local.INFO: Packet analysis {"connection_id":123257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:49:11] local.INFO: Extracted packet for processing {"connection_id":123257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507342336001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783232107000,"timestamp_ms":1783232107000,"timestamp_seconds":1783232107,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ea91f8"} 
[2026-07-05 11:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507342336001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507342336001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:49:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507342336001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":123257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:49:11] local.INFO: GPS data processed {"connection_id":123257,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:49:11] local.INFO: Acknowledgment sent {"connection_id":123257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:49:42] local.INFO: TCP Data received {"connection_id":123257,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:49:42] local.INFO: Processing buffer {"connection_id":123257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:49:42] local.INFO: Packet analysis {"connection_id":123257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:49:42] local.INFO: Extracted packet for processing {"connection_id":123257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507342336001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783232107000,"timestamp_ms":1783232107000,"timestamp_seconds":1783232107,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ea91f8"} 
[2026-07-05 11:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:49: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-07-05 11:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507342336001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507342336001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:49:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507342336001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":123257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:49:42] local.INFO: GPS data processed {"connection_id":123257,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:49:42] local.INFO: Acknowledgment sent {"connection_id":123257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:50:05] local.INFO: TCP Data received {"connection_id":124457,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:50:05] local.INFO: Processing buffer {"connection_id":124457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:50:05] local.INFO: IMEI packet received {"connection_id":124457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":124457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:50:10] local.INFO: TCP Data received {"connection_id":124457,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:50:10] local.INFO: Processing buffer {"connection_id":124457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:50:10] local.INFO: IMEI packet received {"connection_id":124457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":124457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:50:11] local.INFO: TCP Data received {"connection_id":124457,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:50:11] local.INFO: Processing buffer {"connection_id":124457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:50:11] local.INFO: Packet analysis {"connection_id":124457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:50:11] local.INFO: Extracted packet for processing {"connection_id":124457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:50:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507342336001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783232107000,"timestamp_ms":1783232107000,"timestamp_seconds":1783232107,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ea91f8"} 
[2026-07-05 11:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507342336001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507342336001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:50:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507342336001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":124457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:50:11] local.INFO: GPS data processed {"connection_id":124457,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:50:11] local.INFO: Acknowledgment sent {"connection_id":124457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:50:25] local.INFO: TCP Data received {"connection_id":122475,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:50:25] local.INFO: Processing buffer {"connection_id":122475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:50:25] local.INFO: IMEI packet received {"connection_id":122475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":122475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:50:42] local.INFO: TCP Data received {"connection_id":124457,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:50:42] local.INFO: Processing buffer {"connection_id":124457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ea91f8012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:50:42] local.INFO: Packet analysis {"connection_id":124457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:50:42] local.INFO: Extracted packet for processing {"connection_id":124457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ea"} 
[2026-07-05 11:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507342336001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783232107000,"timestamp_ms":1783232107000,"timestamp_seconds":1783232107,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ea91f8"} 
[2026-07-05 11:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:50: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-07-05 11:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 11:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507342336001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507342336001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:50:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507342336001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":124457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:50:42] local.INFO: GPS data processed {"connection_id":124457,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:50:42] local.INFO: Acknowledgment sent {"connection_id":124457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:51:04] local.INFO: TCP Data received {"connection_id":122527,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:51:04] local.INFO: Processing buffer {"connection_id":122527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:51:04] local.INFO: IMEI packet received {"connection_id":122527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":122527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:51:05] local.INFO: TCP Data received {"connection_id":122528,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:51:05] local.INFO: Processing buffer {"connection_id":122528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:51:05] local.INFO: IMEI packet received {"connection_id":122528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":122528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:51:10] local.INFO: TCP Data received {"connection_id":122528,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:51:10] local.INFO: Processing buffer {"connection_id":122528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:51:10] local.INFO: IMEI packet received {"connection_id":122528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":122528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:51:11] local.INFO: TCP Data received {"connection_id":122528,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:51:11] local.INFO: Processing buffer {"connection_id":122528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:51:11] local.INFO: Packet analysis {"connection_id":122528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:51:11] local.INFO: Extracted packet for processing {"connection_id":122528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:51:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507419392001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783232408000,"timestamp_ms":1783232408000,"timestamp_seconds":1783232408,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ef29c0"} 
[2026-07-05 11:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507419392001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507419392001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:51:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507419392001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":122528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:51:11] local.INFO: GPS data processed {"connection_id":122528,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:51:11] local.INFO: Acknowledgment sent {"connection_id":122528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:51:42] local.INFO: TCP Data received {"connection_id":122528,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:51:42] local.INFO: Processing buffer {"connection_id":122528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:51:42] local.INFO: Packet analysis {"connection_id":122528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:51:42] local.INFO: Extracted packet for processing {"connection_id":122528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:51:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507419392001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783232408000,"timestamp_ms":1783232408000,"timestamp_seconds":1783232408,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ef29c0"} 
[2026-07-05 11:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:51: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-07-05 11:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507419392001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507419392001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:51:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507419392001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":122528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:51:42] local.INFO: GPS data processed {"connection_id":122528,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:51:42] local.INFO: Acknowledgment sent {"connection_id":122528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:52:10] local.INFO: TCP Data received {"connection_id":122476,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:52:10] local.INFO: Processing buffer {"connection_id":122476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:52:10] local.INFO: IMEI packet received {"connection_id":122476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":122476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:52:15] local.INFO: TCP Data received {"connection_id":122476,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:52:15] local.INFO: Processing buffer {"connection_id":122476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:52:15] local.INFO: IMEI packet received {"connection_id":122476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":122476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:52:16] local.INFO: TCP Data received {"connection_id":122476,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:52:16] local.INFO: Processing buffer {"connection_id":122476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:52:16] local.INFO: Packet analysis {"connection_id":122476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:52:16] local.INFO: Extracted packet for processing {"connection_id":122476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:52:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507419392001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:52:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783232408000,"timestamp_ms":1783232408000,"timestamp_seconds":1783232408,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ef29c0"} 
[2026-07-05 11:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507419392001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507419392001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:52:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:52:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:52:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507419392001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":122476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:52:16] local.INFO: GPS data processed {"connection_id":122476,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:52:16] local.INFO: Acknowledgment sent {"connection_id":122476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:52:20] local.INFO: TCP Data received {"connection_id":122476,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:52:20] local.INFO: Processing buffer {"connection_id":122476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:52:20] local.INFO: Packet analysis {"connection_id":122476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:52:20] local.INFO: Extracted packet for processing {"connection_id":122476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:52:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507419392001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783232408000,"timestamp_ms":1783232408000,"timestamp_seconds":1783232408,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ef29c0"} 
[2026-07-05 11:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507419392001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507419392001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:52:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507419392001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":122476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:52:21] local.INFO: GPS data processed {"connection_id":122476,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:52:21] local.INFO: Acknowledgment sent {"connection_id":122476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:53:05] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:53:05] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:53:05] local.INFO: IMEI packet received {"connection_id":124459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":124459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:53:10] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:53:10] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:53:10] local.INFO: IMEI packet received {"connection_id":124459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":124459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:53:11] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:53:11] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:53:11] local.INFO: Packet analysis {"connection_id":124459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:53:11] local.INFO: Extracted packet for processing {"connection_id":124459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:53:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507419392001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783232408000,"timestamp_ms":1783232408000,"timestamp_seconds":1783232408,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ef29c0"} 
[2026-07-05 11:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507419392001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507419392001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:53:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507419392001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":124459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:53:11] local.INFO: GPS data processed {"connection_id":124459,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:53:11] local.INFO: Acknowledgment sent {"connection_id":124459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:53:42] local.INFO: TCP Data received {"connection_id":124459,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:53:42] local.INFO: Processing buffer {"connection_id":124459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:53:42] local.INFO: Packet analysis {"connection_id":124459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:53:42] local.INFO: Extracted packet for processing {"connection_id":124459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:53:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507419392001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783232408000,"timestamp_ms":1783232408000,"timestamp_seconds":1783232408,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ef29c0"} 
[2026-07-05 11:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:53: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-07-05 11: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-07-05 11: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-07-05 11: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-07-05 11:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507419392001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507419392001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:53:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507419392001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":124459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:53:42] local.INFO: GPS data processed {"connection_id":124459,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:53:42] local.INFO: Acknowledgment sent {"connection_id":124459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:54:05] local.INFO: TCP Data received {"connection_id":124460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:54:05] local.INFO: Processing buffer {"connection_id":124460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:54:05] local.INFO: IMEI packet received {"connection_id":124460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":124460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:54:10] local.INFO: TCP Data received {"connection_id":124460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:54:10] local.INFO: Processing buffer {"connection_id":124460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:54:10] local.INFO: IMEI packet received {"connection_id":124460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":124460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:54:12] local.INFO: TCP Data received {"connection_id":124460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:54:12] local.INFO: Processing buffer {"connection_id":124460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:54:12] local.INFO: Packet analysis {"connection_id":124460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:54:12] local.INFO: Extracted packet for processing {"connection_id":124460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:54:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507419392001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783232408000,"timestamp_ms":1783232408000,"timestamp_seconds":1783232408,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ef29c0"} 
[2026-07-05 11:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507419392001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507419392001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:54:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507419392001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":124460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:54:12] local.INFO: GPS data processed {"connection_id":124460,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:54:12] local.INFO: Acknowledgment sent {"connection_id":124460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:54:43] local.INFO: TCP Data received {"connection_id":124460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:54:43] local.INFO: Processing buffer {"connection_id":124460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:54:43] local.INFO: Packet analysis {"connection_id":124460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:54:43] local.INFO: Extracted packet for processing {"connection_id":124460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:54:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507419392001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783232408000,"timestamp_ms":1783232408000,"timestamp_seconds":1783232408,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ef29c0"} 
[2026-07-05 11:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:54: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-07-05 11:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:54: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-07-05 11:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507419392001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507419392001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:54:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507419392001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":124460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:54:43] local.INFO: GPS data processed {"connection_id":124460,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:54:43] local.INFO: Acknowledgment sent {"connection_id":124460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:55:05] local.INFO: TCP Data received {"connection_id":122530,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:55:05] local.INFO: Processing buffer {"connection_id":122530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:55:05] local.INFO: IMEI packet received {"connection_id":122530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":122530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:55:10] local.INFO: TCP Data received {"connection_id":122530,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:55:10] local.INFO: Processing buffer {"connection_id":122530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:55:10] local.INFO: IMEI packet received {"connection_id":122530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":122530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:55:11] local.INFO: TCP Data received {"connection_id":122530,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:55:11] local.INFO: Processing buffer {"connection_id":122530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:55:11] local.INFO: Packet analysis {"connection_id":122530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:55:11] local.INFO: Extracted packet for processing {"connection_id":122530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507419392001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783232408000,"timestamp_ms":1783232408000,"timestamp_seconds":1783232408,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ef29c0"} 
[2026-07-05 11:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507419392001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507419392001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:55:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507419392001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":122530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:55:11] local.INFO: GPS data processed {"connection_id":122530,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:55:11] local.INFO: Acknowledgment sent {"connection_id":122530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:55:42] local.INFO: TCP Data received {"connection_id":122530,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:55:42] local.INFO: Processing buffer {"connection_id":122530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30ef29c0012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:55:42] local.INFO: Packet analysis {"connection_id":122530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:55:42] local.INFO: Extracted packet for processing {"connection_id":122530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30ef"} 
[2026-07-05 11:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507419392001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783232408000,"timestamp_ms":1783232408000,"timestamp_seconds":1783232408,"priority":1,"record_length":96,"hex_timestamp":"0000019f30ef29c0"} 
[2026-07-05 11:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:55: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-07-05 11:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 11:55: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-07-05 11:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507419392001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507419392001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:55:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507419392001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":122530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:55:42] local.INFO: GPS data processed {"connection_id":122530,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:55:42] local.INFO: Acknowledgment sent {"connection_id":122530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:56:10] local.INFO: TCP Data received {"connection_id":122532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:56:10] local.INFO: Processing buffer {"connection_id":122532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:56:10] local.INFO: IMEI packet received {"connection_id":122532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":122532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:56:15] local.INFO: TCP Data received {"connection_id":122532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:56:15] local.INFO: Processing buffer {"connection_id":122532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:56:15] local.INFO: IMEI packet received {"connection_id":122532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":122532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:56:16] local.INFO: TCP Data received {"connection_id":122532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:56:16] local.INFO: Processing buffer {"connection_id":122532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:56:16] local.INFO: Packet analysis {"connection_id":122532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:56:16] local.INFO: Extracted packet for processing {"connection_id":122532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:56:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507496448001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783232709000,"timestamp_ms":1783232709000,"timestamp_seconds":1783232709,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f3c188"} 
[2026-07-05 11:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507496448001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507496448001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:56:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:56:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507496448001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":122532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:56:16] local.INFO: GPS data processed {"connection_id":122532,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:56:16] local.INFO: Acknowledgment sent {"connection_id":122532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:56:30] local.INFO: TCP Data received {"connection_id":122531,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:56:30] local.INFO: Processing buffer {"connection_id":122531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:56:30] local.INFO: IMEI packet received {"connection_id":122531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":122531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:56:47] local.INFO: TCP Data received {"connection_id":122532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:56:47] local.INFO: Processing buffer {"connection_id":122532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:56:47] local.INFO: Packet analysis {"connection_id":122532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:56:47] local.INFO: Extracted packet for processing {"connection_id":122532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:56:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507496448001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:56:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783232709000,"timestamp_ms":1783232709000,"timestamp_seconds":1783232709,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f3c188"} 
[2026-07-05 11:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507496448001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507496448001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:56:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:56:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507496448001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":122532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:56:47] local.INFO: GPS data processed {"connection_id":122532,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:56:47] local.INFO: Acknowledgment sent {"connection_id":122532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:57:05] local.INFO: TCP Data received {"connection_id":123260,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:57:05] local.INFO: Processing buffer {"connection_id":123260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 11:57:05] local.INFO: IMEI packet received {"connection_id":123260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 11:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":123260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:57:05] local.INFO: TCP Data received {"connection_id":123259,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:57:05] local.INFO: Processing buffer {"connection_id":123259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:57:05] local.INFO: IMEI packet received {"connection_id":123259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":123259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:57:10] local.INFO: TCP Data received {"connection_id":123259,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:57:10] local.INFO: Processing buffer {"connection_id":123259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:57:10] local.INFO: IMEI packet received {"connection_id":123259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":123259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:57:11] local.INFO: TCP Data received {"connection_id":123259,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:57:11] local.INFO: Processing buffer {"connection_id":123259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:57:11] local.INFO: Packet analysis {"connection_id":123259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:57:11] local.INFO: Extracted packet for processing {"connection_id":123259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11: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-07-05 11:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507496448001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783232709000,"timestamp_ms":1783232709000,"timestamp_seconds":1783232709,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f3c188"} 
[2026-07-05 11:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11: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-07-05 11:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507496448001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507496448001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507496448001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":123259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:57:11] local.INFO: GPS data processed {"connection_id":123259,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:57:11] local.INFO: Acknowledgment sent {"connection_id":123259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:57:42] local.INFO: TCP Data received {"connection_id":123259,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:57:42] local.INFO: Processing buffer {"connection_id":123259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:57:42] local.INFO: Packet analysis {"connection_id":123259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:57:42] local.INFO: Extracted packet for processing {"connection_id":123259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507496448001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783232709000,"timestamp_ms":1783232709000,"timestamp_seconds":1783232709,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f3c188"} 
[2026-07-05 11:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:57: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-07-05 11:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507496448001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507496448001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507496448001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":123259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:57:42] local.INFO: GPS data processed {"connection_id":123259,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:57:42] local.INFO: Acknowledgment sent {"connection_id":123259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:58:06] local.INFO: TCP Data received {"connection_id":123261,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:58:06] local.INFO: Processing buffer {"connection_id":123261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:58:06] local.INFO: IMEI packet received {"connection_id":123261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":123261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:58:10] local.INFO: TCP Data received {"connection_id":123261,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:58:10] local.INFO: Processing buffer {"connection_id":123261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:58:10] local.INFO: IMEI packet received {"connection_id":123261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":123261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:58:11] local.INFO: TCP Data received {"connection_id":123261,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:58:11] local.INFO: Processing buffer {"connection_id":123261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:58:11] local.INFO: Packet analysis {"connection_id":123261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:58:11] local.INFO: Extracted packet for processing {"connection_id":123261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507496448001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783232709000,"timestamp_ms":1783232709000,"timestamp_seconds":1783232709,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f3c188"} 
[2026-07-05 11:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507496448001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507496448001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507496448001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":123261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:58:11] local.INFO: GPS data processed {"connection_id":123261,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:58:11] local.INFO: Acknowledgment sent {"connection_id":123261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:58:43] local.INFO: TCP Data received {"connection_id":123261,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:58:43] local.INFO: Processing buffer {"connection_id":123261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:58:43] local.INFO: Packet analysis {"connection_id":123261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:58:43] local.INFO: Extracted packet for processing {"connection_id":123261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:58:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507496448001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:58:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783232709000,"timestamp_ms":1783232709000,"timestamp_seconds":1783232709,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f3c188"} 
[2026-07-05 11:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:58: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-07-05 11:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507496448001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507496448001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:58:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:58:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507496448001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":123261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:58:43] local.INFO: GPS data processed {"connection_id":123261,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:58:43] local.INFO: Acknowledgment sent {"connection_id":123261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:59:05] local.INFO: TCP Data received {"connection_id":122478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:59:05] local.INFO: Processing buffer {"connection_id":122478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:59:05] local.INFO: IMEI packet received {"connection_id":122478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 11:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":122478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 11:59:10] local.INFO: TCP Data received {"connection_id":122478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:59:10] local.INFO: Processing buffer {"connection_id":122478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 11:59:10] local.INFO: IMEI packet received {"connection_id":122478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 11:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":122478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 11:59:11] local.INFO: TCP Data received {"connection_id":122478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:59:11] local.INFO: Processing buffer {"connection_id":122478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:59:11] local.INFO: Packet analysis {"connection_id":122478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:59:11] local.INFO: Extracted packet for processing {"connection_id":122478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:59:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507496448001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783232709000,"timestamp_ms":1783232709000,"timestamp_seconds":1783232709,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f3c188"} 
[2026-07-05 11:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 11:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507496448001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507496448001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:59:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507496448001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":122478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:59:11] local.INFO: GPS data processed {"connection_id":122478,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:59:11] local.INFO: Acknowledgment sent {"connection_id":122478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 11:59:43] local.INFO: TCP Data received {"connection_id":122478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:59:43] local.INFO: Processing buffer {"connection_id":122478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 11:59:43] local.INFO: Packet analysis {"connection_id":122478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:59:43] local.INFO: Extracted packet for processing {"connection_id":122478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 11:59:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 11:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 11:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507496448001,"note":"Value kept but may cause issues"} 
[2026-07-05 11:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 11:59:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 11:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 11:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783232709000,"timestamp_ms":1783232709000,"timestamp_seconds":1783232709,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f3c188"} 
[2026-07-05 11:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 11:59: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-07-05 11:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 11:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 11:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 11:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 11:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 11:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 11:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 11:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 11:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 11:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 11:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507496448001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 11:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 11:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 11:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507496448001,"description":"Unknown IO ID 0"} 
[2026-07-05 11:59:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 11:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 11:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 11:59:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 11:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507496448001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 11:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":122478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 11:59:43] local.INFO: GPS data processed {"connection_id":122478,"processed":1,"errors":0,"total":1} 
[2026-07-05 11:59:43] local.INFO: Acknowledgment sent {"connection_id":122478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:00:25] local.INFO: TCP Data received {"connection_id":122535,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:00:25] local.INFO: Processing buffer {"connection_id":122535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:00:25] local.INFO: IMEI packet received {"connection_id":122535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":122535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:00:30] local.INFO: TCP Data received {"connection_id":122535,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:00:30] local.INFO: Processing buffer {"connection_id":122535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:00:30] local.INFO: IMEI packet received {"connection_id":122535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":122535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:00:31] local.INFO: TCP Data received {"connection_id":122535,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 12:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 12:00:31] local.INFO: Processing buffer {"connection_id":122535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f3c188012cb2a24007823a980046013b2a..."} 
[2026-07-05 12:00:31] local.INFO: Packet analysis {"connection_id":122535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 12:00:31] local.INFO: Extracted packet for processing {"connection_id":122535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f3"} 
[2026-07-05 12:00:31] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507496448001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:00:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783232709000,"timestamp_ms":1783232709000,"timestamp_seconds":1783232709,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f3c188"} 
[2026-07-05 12:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:00: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-07-05 12:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 12:00: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-07-05 12:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":122535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":122535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":122535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507496448001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507496448001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:00:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:00:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507496448001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":122535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:00:31] local.INFO: GPS data processed {"connection_id":122535,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:00:31] local.INFO: Acknowledgment sent {"connection_id":122535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:01:07] local.INFO: TCP Data received {"connection_id":124462,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:01:07] local.INFO: Processing buffer {"connection_id":124462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:01:07] local.INFO: IMEI packet received {"connection_id":124462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":124462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:01:10] local.INFO: TCP Data received {"connection_id":124462,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:01:10] local.INFO: Processing buffer {"connection_id":124462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:01:10] local.INFO: IMEI packet received {"connection_id":124462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":124462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:01:11] local.INFO: TCP Data received {"connection_id":124462,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:01:11] local.INFO: Processing buffer {"connection_id":124462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:01:11] local.INFO: Packet analysis {"connection_id":124462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:01:11] local.INFO: Extracted packet for processing {"connection_id":124462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507573504001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233010000,"timestamp_ms":1783233010000,"timestamp_seconds":1783233010,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f85950"} 
[2026-07-05 12:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507573504001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507573504001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507573504001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":124462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:01:11] local.INFO: GPS data processed {"connection_id":124462,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:01:11] local.INFO: Acknowledgment sent {"connection_id":124462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:01:42] local.INFO: TCP Data received {"connection_id":124462,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:01:42] local.INFO: Processing buffer {"connection_id":124462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:01:42] local.INFO: Packet analysis {"connection_id":124462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:01:42] local.INFO: Extracted packet for processing {"connection_id":124462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507573504001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233010000,"timestamp_ms":1783233010000,"timestamp_seconds":1783233010,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f85950"} 
[2026-07-05 12:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:01: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-07-05 12: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":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507573504001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507573504001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:01:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507573504001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":124462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:01:42] local.INFO: GPS data processed {"connection_id":124462,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:01:42] local.INFO: Acknowledgment sent {"connection_id":124462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:02:05] local.INFO: TCP Data received {"connection_id":122480,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:02:05] local.INFO: Processing buffer {"connection_id":122480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:02:05] local.INFO: IMEI packet received {"connection_id":122480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":122480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:02:10] local.INFO: TCP Data received {"connection_id":122480,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:02:10] local.INFO: Processing buffer {"connection_id":122480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:02:10] local.INFO: IMEI packet received {"connection_id":122480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":122480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:02:11] local.INFO: TCP Data received {"connection_id":122480,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:02:11] local.INFO: Processing buffer {"connection_id":122480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:02:11] local.INFO: Packet analysis {"connection_id":122480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:02:11] local.INFO: Extracted packet for processing {"connection_id":122480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:02:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507573504001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233010000,"timestamp_ms":1783233010000,"timestamp_seconds":1783233010,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f85950"} 
[2026-07-05 12:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507573504001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507573504001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:02:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507573504001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":122480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:02:11] local.INFO: GPS data processed {"connection_id":122480,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:02:11] local.INFO: Acknowledgment sent {"connection_id":122480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:02:25] local.INFO: TCP Data received {"connection_id":122536,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:02:25] local.INFO: Processing buffer {"connection_id":122536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:02:25] local.INFO: IMEI packet received {"connection_id":122536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":122536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:02:42] local.INFO: TCP Data received {"connection_id":122480,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:02:42] local.INFO: Processing buffer {"connection_id":122480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:02:42] local.INFO: Packet analysis {"connection_id":122480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:02:42] local.INFO: Extracted packet for processing {"connection_id":122480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:02:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507573504001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233010000,"timestamp_ms":1783233010000,"timestamp_seconds":1783233010,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f85950"} 
[2026-07-05 12:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:02: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-07-05 12:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507573504001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507573504001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:02:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507573504001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":122480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:02:42] local.INFO: GPS data processed {"connection_id":122480,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:02:42] local.INFO: Acknowledgment sent {"connection_id":122480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:03:05] local.INFO: TCP Data received {"connection_id":123263,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:03:05] local.INFO: Processing buffer {"connection_id":123263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:03:05] local.INFO: IMEI packet received {"connection_id":123263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":123263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:03:05] local.INFO: TCP Data received {"connection_id":123262,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:03:05] local.INFO: Processing buffer {"connection_id":123262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:03:05] local.INFO: IMEI packet received {"connection_id":123262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":123262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:03:10] local.INFO: TCP Data received {"connection_id":123263,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:03:10] local.INFO: Processing buffer {"connection_id":123263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:03:10] local.INFO: IMEI packet received {"connection_id":123263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":123263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:03:11] local.INFO: TCP Data received {"connection_id":123263,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:03:11] local.INFO: Processing buffer {"connection_id":123263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:03:11] local.INFO: Packet analysis {"connection_id":123263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:03:11] local.INFO: Extracted packet for processing {"connection_id":123263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:03:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507573504001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233010000,"timestamp_ms":1783233010000,"timestamp_seconds":1783233010,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f85950"} 
[2026-07-05 12:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507573504001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507573504001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:03:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507573504001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":123263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:03:11] local.INFO: GPS data processed {"connection_id":123263,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:03:11] local.INFO: Acknowledgment sent {"connection_id":123263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:03:42] local.INFO: TCP Data received {"connection_id":123263,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:03:42] local.INFO: Processing buffer {"connection_id":123263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:03:42] local.INFO: Packet analysis {"connection_id":123263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:03:42] local.INFO: Extracted packet for processing {"connection_id":123263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507573504001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233010000,"timestamp_ms":1783233010000,"timestamp_seconds":1783233010,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f85950"} 
[2026-07-05 12:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:03: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-07-05 12:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507573504001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507573504001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:03:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507573504001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":123263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:03:42] local.INFO: GPS data processed {"connection_id":123263,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:03:42] local.INFO: Acknowledgment sent {"connection_id":123263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:04:10] local.INFO: TCP Data received {"connection_id":124464,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:04:10] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:04:10] local.INFO: IMEI packet received {"connection_id":124464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":124464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:04:15] local.INFO: TCP Data received {"connection_id":124464,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:04:15] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:04:15] local.INFO: IMEI packet received {"connection_id":124464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":124464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:04:16] local.INFO: TCP Data received {"connection_id":124464,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:04:16] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:04:16] local.INFO: Packet analysis {"connection_id":124464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:04:16] local.INFO: Extracted packet for processing {"connection_id":124464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:04:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507573504001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:04:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783233010000,"timestamp_ms":1783233010000,"timestamp_seconds":1783233010,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f85950"} 
[2026-07-05 12:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507573504001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507573504001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:04:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:04:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:04:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507573504001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":124464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:04:16] local.INFO: GPS data processed {"connection_id":124464,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:04:16] local.INFO: Acknowledgment sent {"connection_id":124464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:04:21] local.INFO: TCP Data received {"connection_id":124464,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:04:21] local.INFO: Processing buffer {"connection_id":124464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:04:21] local.INFO: Packet analysis {"connection_id":124464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:04:21] local.INFO: Extracted packet for processing {"connection_id":124464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:04:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507573504001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783233010000,"timestamp_ms":1783233010000,"timestamp_seconds":1783233010,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f85950"} 
[2026-07-05 12:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:04:21] 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-07-05 12:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507573504001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507573504001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:04:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507573504001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":124464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:04:21] local.INFO: GPS data processed {"connection_id":124464,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:04:21] local.INFO: Acknowledgment sent {"connection_id":124464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:05:05] local.INFO: TCP Data received {"connection_id":123264,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:05:05] local.INFO: Processing buffer {"connection_id":123264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:05:05] local.INFO: IMEI packet received {"connection_id":123264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":123264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:05:10] local.INFO: TCP Data received {"connection_id":123264,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:05:10] local.INFO: Processing buffer {"connection_id":123264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:05:10] local.INFO: IMEI packet received {"connection_id":123264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":123264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:05:11] local.INFO: TCP Data received {"connection_id":123264,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:05:11] local.INFO: Processing buffer {"connection_id":123264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:05:11] local.INFO: Packet analysis {"connection_id":123264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:05:11] local.INFO: Extracted packet for processing {"connection_id":123264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:05:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507573504001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233010000,"timestamp_ms":1783233010000,"timestamp_seconds":1783233010,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f85950"} 
[2026-07-05 12:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507573504001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507573504001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:05:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507573504001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":123264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:05:11] local.INFO: GPS data processed {"connection_id":123264,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:05:11] local.INFO: Acknowledgment sent {"connection_id":123264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:05:43] local.INFO: TCP Data received {"connection_id":123264,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:05:43] local.INFO: Processing buffer {"connection_id":123264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30f85950012cb2a24007823a98004a013b29..."} 
[2026-07-05 12:05:43] local.INFO: Packet analysis {"connection_id":123264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:05:43] local.INFO: Extracted packet for processing {"connection_id":123264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30f8"} 
[2026-07-05 12:05:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507573504001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:05:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783233010000,"timestamp_ms":1783233010000,"timestamp_seconds":1783233010,"priority":1,"record_length":96,"hex_timestamp":"0000019f30f85950"} 
[2026-07-05 12:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:05: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-07-05 12:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507573504001,"66":25397,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507573504001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:05:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:05:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507573504001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":123264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:05:43] local.INFO: GPS data processed {"connection_id":123264,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:05:43] local.INFO: Acknowledgment sent {"connection_id":123264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:06:06] local.INFO: TCP Data received {"connection_id":122538,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:06:06] local.INFO: Processing buffer {"connection_id":122538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:06:06] local.INFO: IMEI packet received {"connection_id":122538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":122538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:06:10] local.INFO: TCP Data received {"connection_id":122538,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:06:10] local.INFO: Processing buffer {"connection_id":122538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:06:10] local.INFO: IMEI packet received {"connection_id":122538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":122538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:06:11] local.INFO: TCP Data received {"connection_id":122538,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:06:11] local.INFO: Processing buffer {"connection_id":122538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:06:11] local.INFO: Packet analysis {"connection_id":122538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:06:11] local.INFO: Extracted packet for processing {"connection_id":122538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:06:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507650560001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233311000,"timestamp_ms":1783233311000,"timestamp_seconds":1783233311,"priority":1,"record_length":96,"hex_timestamp":"0000019f30fcf118"} 
[2026-07-05 12:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 12:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507650560001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507650560001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:06:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507650560001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":122538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:06:11] local.INFO: GPS data processed {"connection_id":122538,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:06:11] local.INFO: Acknowledgment sent {"connection_id":122538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:06:42] local.INFO: TCP Data received {"connection_id":122538,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:06:42] local.INFO: Processing buffer {"connection_id":122538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:06:42] local.INFO: Packet analysis {"connection_id":122538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:06:42] local.INFO: Extracted packet for processing {"connection_id":122538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:06:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507650560001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233311000,"timestamp_ms":1783233311000,"timestamp_seconds":1783233311,"priority":1,"record_length":96,"hex_timestamp":"0000019f30fcf118"} 
[2026-07-05 12:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:06: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-07-05 12:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 12:06: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-07-05 12:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507650560001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507650560001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:06:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507650560001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":122538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:06:42] local.INFO: GPS data processed {"connection_id":122538,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:06:42] local.INFO: Acknowledgment sent {"connection_id":122538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:07:05] local.INFO: TCP Data received {"connection_id":122539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:07:05] local.INFO: Processing buffer {"connection_id":122539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:07:05] local.INFO: IMEI packet received {"connection_id":122539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":122539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:07:10] local.INFO: TCP Data received {"connection_id":122539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:07:10] local.INFO: Processing buffer {"connection_id":122539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:07:10] local.INFO: IMEI packet received {"connection_id":122539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":122539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:07:11] local.INFO: TCP Data received {"connection_id":122539,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:07:11] local.INFO: Processing buffer {"connection_id":122539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:07:11] local.INFO: Packet analysis {"connection_id":122539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:07:11] local.INFO: Extracted packet for processing {"connection_id":122539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507650560001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233311000,"timestamp_ms":1783233311000,"timestamp_seconds":1783233311,"priority":1,"record_length":96,"hex_timestamp":"0000019f30fcf118"} 
[2026-07-05 12:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 12:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507650560001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507650560001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:07:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507650560001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":122539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:07:11] local.INFO: GPS data processed {"connection_id":122539,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:07:11] local.INFO: Acknowledgment sent {"connection_id":122539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:07:42] local.INFO: TCP Data received {"connection_id":122539,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:07:42] local.INFO: Processing buffer {"connection_id":122539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:07:42] local.INFO: Packet analysis {"connection_id":122539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:07:42] local.INFO: Extracted packet for processing {"connection_id":122539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507650560001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233311000,"timestamp_ms":1783233311000,"timestamp_seconds":1783233311,"priority":1,"record_length":96,"hex_timestamp":"0000019f30fcf118"} 
[2026-07-05 12:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:07: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-07-05 12:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 12:07: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-07-05 12:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507650560001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507650560001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:07:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507650560001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":122539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:07:42] local.INFO: GPS data processed {"connection_id":122539,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:07:42] local.INFO: Acknowledgment sent {"connection_id":122539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:08:10] local.INFO: TCP Data received {"connection_id":122482,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:08:10] local.INFO: Processing buffer {"connection_id":122482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:08:10] local.INFO: IMEI packet received {"connection_id":122482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":122482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:08:15] local.INFO: TCP Data received {"connection_id":122482,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:08:15] local.INFO: Processing buffer {"connection_id":122482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:08:15] local.INFO: IMEI packet received {"connection_id":122482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":122482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:08:16] local.INFO: TCP Data received {"connection_id":122482,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:08:16] local.INFO: Processing buffer {"connection_id":122482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:08:16] local.INFO: Packet analysis {"connection_id":122482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:08:16] local.INFO: Extracted packet for processing {"connection_id":122482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:08:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507650560001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:08:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783233311000,"timestamp_ms":1783233311000,"timestamp_seconds":1783233311,"priority":1,"record_length":96,"hex_timestamp":"0000019f30fcf118"} 
[2026-07-05 12:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 12:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507650560001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507650560001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:08:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:08:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:08:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507650560001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":122482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:08:16] local.INFO: GPS data processed {"connection_id":122482,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:08:16] local.INFO: Acknowledgment sent {"connection_id":122482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:08:20] local.INFO: TCP Data received {"connection_id":122482,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:08:20] local.INFO: Processing buffer {"connection_id":122482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:08:20] local.INFO: Packet analysis {"connection_id":122482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:08:20] local.INFO: Extracted packet for processing {"connection_id":122482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 12:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507650560001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783233311000,"timestamp_ms":1783233311000,"timestamp_seconds":1783233311,"priority":1,"record_length":96,"hex_timestamp":"0000019f30fcf118"} 
[2026-07-05 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-07-05 12:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 12:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 12:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507650560001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507650560001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:08:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507650560001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":122482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:08:20] local.INFO: GPS data processed {"connection_id":122482,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:08:20] local.INFO: Acknowledgment sent {"connection_id":122482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:08:25] local.INFO: TCP Data received {"connection_id":122481,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:08:25] local.INFO: Processing buffer {"connection_id":122481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:08:25] local.INFO: IMEI packet received {"connection_id":122481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":122481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:09:04] local.INFO: TCP Data received {"connection_id":124467,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:09:04] local.INFO: Processing buffer {"connection_id":124467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:09:04] local.INFO: IMEI packet received {"connection_id":124467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":124467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:09:05] local.INFO: TCP Data received {"connection_id":124466,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:09:05] local.INFO: Processing buffer {"connection_id":124466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:09:05] local.INFO: IMEI packet received {"connection_id":124466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":124466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:09:10] local.INFO: TCP Data received {"connection_id":124466,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:09:10] local.INFO: Processing buffer {"connection_id":124466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:09:10] local.INFO: IMEI packet received {"connection_id":124466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":124466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:09:11] local.INFO: TCP Data received {"connection_id":124466,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:09:11] local.INFO: Processing buffer {"connection_id":124466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:09:11] local.INFO: Packet analysis {"connection_id":124466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:09:11] local.INFO: Extracted packet for processing {"connection_id":124466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507650560001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233311000,"timestamp_ms":1783233311000,"timestamp_seconds":1783233311,"priority":1,"record_length":96,"hex_timestamp":"0000019f30fcf118"} 
[2026-07-05 12:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 12:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507650560001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507650560001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507650560001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":124466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:09:11] local.INFO: GPS data processed {"connection_id":124466,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:09:11] local.INFO: Acknowledgment sent {"connection_id":124466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:09:42] local.INFO: TCP Data received {"connection_id":124466,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:09:42] local.INFO: Processing buffer {"connection_id":124466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:09:42] local.INFO: Packet analysis {"connection_id":124466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:09:42] local.INFO: Extracted packet for processing {"connection_id":124466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507650560001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233311000,"timestamp_ms":1783233311000,"timestamp_seconds":1783233311,"priority":1,"record_length":96,"hex_timestamp":"0000019f30fcf118"} 
[2026-07-05 12:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:09: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-07-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 12:09: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-07-05 12: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-07-05 12:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507650560001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507650560001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:09:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507650560001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":124466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:09:42] local.INFO: GPS data processed {"connection_id":124466,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:09:42] local.INFO: Acknowledgment sent {"connection_id":124466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:10:05] local.INFO: TCP Data received {"connection_id":122483,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:10:05] local.INFO: Processing buffer {"connection_id":122483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:10:05] local.INFO: IMEI packet received {"connection_id":122483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":122483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:10:10] local.INFO: TCP Data received {"connection_id":122483,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:10:10] local.INFO: Processing buffer {"connection_id":122483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:10:10] local.INFO: IMEI packet received {"connection_id":122483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":122483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:10:11] local.INFO: TCP Data received {"connection_id":122483,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:10:11] local.INFO: Processing buffer {"connection_id":122483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:10:11] local.INFO: Packet analysis {"connection_id":122483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:10:11] local.INFO: Extracted packet for processing {"connection_id":122483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507650560001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233311000,"timestamp_ms":1783233311000,"timestamp_seconds":1783233311,"priority":1,"record_length":96,"hex_timestamp":"0000019f30fcf118"} 
[2026-07-05 12:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 12:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507650560001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507650560001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:10:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507650560001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":122483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:10:11] local.INFO: GPS data processed {"connection_id":122483,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:10:11] local.INFO: Acknowledgment sent {"connection_id":122483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:10:44] local.INFO: TCP Data received {"connection_id":122483,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:10:44] local.INFO: Processing buffer {"connection_id":122483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f30fcf118012cb2a24007823a98004a013b2c..."} 
[2026-07-05 12:10:44] local.INFO: Packet analysis {"connection_id":122483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:10:44] local.INFO: Extracted packet for processing {"connection_id":122483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f30fc"} 
[2026-07-05 12:10:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507650560001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:10:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783233311000,"timestamp_ms":1783233311000,"timestamp_seconds":1783233311,"priority":1,"record_length":96,"hex_timestamp":"0000019f30fcf118"} 
[2026-07-05 12:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:10: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-07-05 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 12:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507650560001,"66":25430,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507650560001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:10:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:10:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507650560001,"power":25430,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":122483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:10:44] local.INFO: GPS data processed {"connection_id":122483,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:10:44] local.INFO: Acknowledgment sent {"connection_id":122483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:11:05] local.INFO: TCP Data received {"connection_id":123265,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:11:05] local.INFO: Processing buffer {"connection_id":123265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:11:05] local.INFO: IMEI packet received {"connection_id":123265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":123265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:11:10] local.INFO: TCP Data received {"connection_id":123265,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:11:10] local.INFO: Processing buffer {"connection_id":123265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:11:10] local.INFO: IMEI packet received {"connection_id":123265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":123265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:11:11] local.INFO: TCP Data received {"connection_id":123265,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:11:11] local.INFO: Processing buffer {"connection_id":123265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:11:11] local.INFO: Packet analysis {"connection_id":123265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:11:11] local.INFO: Extracted packet for processing {"connection_id":123265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507727616001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233612000,"timestamp_ms":1783233612000,"timestamp_seconds":1783233612,"priority":1,"record_length":96,"hex_timestamp":"0000019f310188e0"} 
[2026-07-05 12:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507727616001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507727616001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:11:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507727616001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":123265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:11:11] local.INFO: GPS data processed {"connection_id":123265,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:11:11] local.INFO: Acknowledgment sent {"connection_id":123265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:11:42] local.INFO: TCP Data received {"connection_id":123265,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:11:42] local.INFO: Processing buffer {"connection_id":123265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:11:42] local.INFO: Packet analysis {"connection_id":123265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:11:42] local.INFO: Extracted packet for processing {"connection_id":123265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507727616001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233612000,"timestamp_ms":1783233612000,"timestamp_seconds":1783233612,"priority":1,"record_length":96,"hex_timestamp":"0000019f310188e0"} 
[2026-07-05 12:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:11: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-07-05 12:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507727616001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507727616001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:11:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507727616001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":123265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:11:42] local.INFO: GPS data processed {"connection_id":123265,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:11:42] local.INFO: Acknowledgment sent {"connection_id":123265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:12:10] local.INFO: TCP Data received {"connection_id":124469,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:12:10] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:12:10] local.INFO: IMEI packet received {"connection_id":124469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":124469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:12:15] local.INFO: TCP Data received {"connection_id":124469,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:12:15] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:12:15] local.INFO: IMEI packet received {"connection_id":124469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":124469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:12:16] local.INFO: TCP Data received {"connection_id":124469,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:12:16] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:12:16] local.INFO: Packet analysis {"connection_id":124469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:12:16] local.INFO: Extracted packet for processing {"connection_id":124469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:12:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507727616001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:12:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783233612000,"timestamp_ms":1783233612000,"timestamp_seconds":1783233612,"priority":1,"record_length":96,"hex_timestamp":"0000019f310188e0"} 
[2026-07-05 12:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507727616001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507727616001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:12:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:12:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507727616001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":124469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:12:16] local.INFO: GPS data processed {"connection_id":124469,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:12:16] local.INFO: Acknowledgment sent {"connection_id":124469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:12:20] local.INFO: TCP Data received {"connection_id":124469,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:12:20] local.INFO: Processing buffer {"connection_id":124469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:12:20] local.INFO: Packet analysis {"connection_id":124469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:12:20] local.INFO: Extracted packet for processing {"connection_id":124469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:12:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 12:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507727616001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783233612000,"timestamp_ms":1783233612000,"timestamp_seconds":1783233612,"priority":1,"record_length":96,"hex_timestamp":"0000019f310188e0"} 
[2026-07-05 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-07-05 12:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:12:20] 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-07-05 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-07-05 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-07-05 12:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507727616001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507727616001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:12:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507727616001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":124469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:12:20] local.INFO: GPS data processed {"connection_id":124469,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:12:20] local.INFO: Acknowledgment sent {"connection_id":124469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:13:05] local.INFO: TCP Data received {"connection_id":122484,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:13:05] local.INFO: Processing buffer {"connection_id":122484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:13:05] local.INFO: IMEI packet received {"connection_id":122484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":122484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:13:10] local.INFO: TCP Data received {"connection_id":122484,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:13:10] local.INFO: Processing buffer {"connection_id":122484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:13:10] local.INFO: IMEI packet received {"connection_id":122484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":122484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:13:11] local.INFO: TCP Data received {"connection_id":122484,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:13:11] local.INFO: Processing buffer {"connection_id":122484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:13:11] local.INFO: Packet analysis {"connection_id":122484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:13:11] local.INFO: Extracted packet for processing {"connection_id":122484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:13: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-07-05 12:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507727616001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233612000,"timestamp_ms":1783233612000,"timestamp_seconds":1783233612,"priority":1,"record_length":96,"hex_timestamp":"0000019f310188e0"} 
[2026-07-05 12:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507727616001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507727616001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507727616001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":122484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:13:11] local.INFO: GPS data processed {"connection_id":122484,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:13:11] local.INFO: Acknowledgment sent {"connection_id":122484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:13:42] local.INFO: TCP Data received {"connection_id":122484,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:13:42] local.INFO: Processing buffer {"connection_id":122484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:13:42] local.INFO: Packet analysis {"connection_id":122484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:13:42] local.INFO: Extracted packet for processing {"connection_id":122484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507727616001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233612000,"timestamp_ms":1783233612000,"timestamp_seconds":1783233612,"priority":1,"record_length":96,"hex_timestamp":"0000019f310188e0"} 
[2026-07-05 12:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:13: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-07-05 12:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507727616001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507727616001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:13:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507727616001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":122484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:13:42] local.INFO: GPS data processed {"connection_id":122484,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:13:42] local.INFO: Acknowledgment sent {"connection_id":122484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:14:05] local.INFO: TCP Data received {"connection_id":123266,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:14:05] local.INFO: Processing buffer {"connection_id":123266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:14:05] local.INFO: IMEI packet received {"connection_id":123266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":123266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:14:10] local.INFO: TCP Data received {"connection_id":123266,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:14:10] local.INFO: Processing buffer {"connection_id":123266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:14:10] local.INFO: IMEI packet received {"connection_id":123266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":123266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:14:11] local.INFO: TCP Data received {"connection_id":123266,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:14:11] local.INFO: Processing buffer {"connection_id":123266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:14:11] local.INFO: Packet analysis {"connection_id":123266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:14:11] local.INFO: Extracted packet for processing {"connection_id":123266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:14:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507727616001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233612000,"timestamp_ms":1783233612000,"timestamp_seconds":1783233612,"priority":1,"record_length":96,"hex_timestamp":"0000019f310188e0"} 
[2026-07-05 12:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507727616001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507727616001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:14:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507727616001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":123266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:14:11] local.INFO: GPS data processed {"connection_id":123266,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:14:11] local.INFO: Acknowledgment sent {"connection_id":123266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:14:30] local.INFO: TCP Data received {"connection_id":124470,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:14:30] local.INFO: Processing buffer {"connection_id":124470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:14:30] local.INFO: IMEI packet received {"connection_id":124470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":124470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:14:42] local.INFO: TCP Data received {"connection_id":123266,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:14:42] local.INFO: Processing buffer {"connection_id":123266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:14:42] local.INFO: Packet analysis {"connection_id":123266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:14:42] local.INFO: Extracted packet for processing {"connection_id":123266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:14:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507727616001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233612000,"timestamp_ms":1783233612000,"timestamp_seconds":1783233612,"priority":1,"record_length":96,"hex_timestamp":"0000019f310188e0"} 
[2026-07-05 12:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:14: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-07-05 12:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507727616001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507727616001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:14:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507727616001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":123266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:14:42] local.INFO: GPS data processed {"connection_id":123266,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:14:42] local.INFO: Acknowledgment sent {"connection_id":123266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:15:04] local.INFO: TCP Data received {"connection_id":122544,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:15:04] local.INFO: Processing buffer {"connection_id":122544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:15:04] local.INFO: IMEI packet received {"connection_id":122544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":122544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:15:05] local.INFO: TCP Data received {"connection_id":123267,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:15:05] local.INFO: Processing buffer {"connection_id":123267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:15:05] local.INFO: IMEI packet received {"connection_id":123267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":123267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:15:10] local.INFO: TCP Data received {"connection_id":123267,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:15:10] local.INFO: Processing buffer {"connection_id":123267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:15:10] local.INFO: IMEI packet received {"connection_id":123267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":123267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:15:11] local.INFO: TCP Data received {"connection_id":123267,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:15:11] local.INFO: Processing buffer {"connection_id":123267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:15:11] local.INFO: Packet analysis {"connection_id":123267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:15:11] local.INFO: Extracted packet for processing {"connection_id":123267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:15:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507727616001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233612000,"timestamp_ms":1783233612000,"timestamp_seconds":1783233612,"priority":1,"record_length":96,"hex_timestamp":"0000019f310188e0"} 
[2026-07-05 12:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507727616001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507727616001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:15:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507727616001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":123267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:15:11] local.INFO: GPS data processed {"connection_id":123267,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:15:11] local.INFO: Acknowledgment sent {"connection_id":123267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:15:42] local.INFO: TCP Data received {"connection_id":123267,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:15:42] local.INFO: Processing buffer {"connection_id":123267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310188e0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 12:15:42] local.INFO: Packet analysis {"connection_id":123267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:15:42] local.INFO: Extracted packet for processing {"connection_id":123267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3101"} 
[2026-07-05 12:15:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507727616001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233612000,"timestamp_ms":1783233612000,"timestamp_seconds":1783233612,"priority":1,"record_length":96,"hex_timestamp":"0000019f310188e0"} 
[2026-07-05 12:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:15: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-07-05 12:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 12:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507727616001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507727616001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:15:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507727616001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":123267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:15:42] local.INFO: GPS data processed {"connection_id":123267,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:15:42] local.INFO: Acknowledgment sent {"connection_id":123267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:16:05] local.INFO: TCP Data received {"connection_id":123268,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:16:05] local.INFO: Processing buffer {"connection_id":123268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:16:05] local.INFO: IMEI packet received {"connection_id":123268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":123268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:16:10] local.INFO: TCP Data received {"connection_id":123268,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:16:10] local.INFO: Processing buffer {"connection_id":123268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:16:10] local.INFO: IMEI packet received {"connection_id":123268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":123268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:16:11] local.INFO: TCP Data received {"connection_id":123268,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:16:11] local.INFO: Processing buffer {"connection_id":123268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:16:11] local.INFO: Packet analysis {"connection_id":123268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:16:11] local.INFO: Extracted packet for processing {"connection_id":123268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507804672001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233913000,"timestamp_ms":1783233913000,"timestamp_seconds":1783233913,"priority":1,"record_length":96,"hex_timestamp":"0000019f310620a8"} 
[2026-07-05 12:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507804672001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507804672001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:16:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507804672001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":123268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:16:11] local.INFO: GPS data processed {"connection_id":123268,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:16:11] local.INFO: Acknowledgment sent {"connection_id":123268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:16:42] local.INFO: TCP Data received {"connection_id":123268,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:16:42] local.INFO: Processing buffer {"connection_id":123268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:16:42] local.INFO: Packet analysis {"connection_id":123268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:16:42] local.INFO: Extracted packet for processing {"connection_id":123268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507804672001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233913000,"timestamp_ms":1783233913000,"timestamp_seconds":1783233913,"priority":1,"record_length":96,"hex_timestamp":"0000019f310620a8"} 
[2026-07-05 12:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:16: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-07-05 12:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:16: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-07-05 12:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507804672001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507804672001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:16:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507804672001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":123268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:16:42] local.INFO: GPS data processed {"connection_id":123268,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:16:42] local.INFO: Acknowledgment sent {"connection_id":123268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:17:05] local.INFO: TCP Data received {"connection_id":123270,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:17:05] local.INFO: Processing buffer {"connection_id":123270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:17:05] local.INFO: IMEI packet received {"connection_id":123270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":123270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:17:10] local.INFO: TCP Data received {"connection_id":123270,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:17:10] local.INFO: Processing buffer {"connection_id":123270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:17:10] local.INFO: IMEI packet received {"connection_id":123270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":123270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:17:11] local.INFO: TCP Data received {"connection_id":123270,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:17:11] local.INFO: Processing buffer {"connection_id":123270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:17:11] local.INFO: Packet analysis {"connection_id":123270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:17:11] local.INFO: Extracted packet for processing {"connection_id":123270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507804672001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233913000,"timestamp_ms":1783233913000,"timestamp_seconds":1783233913,"priority":1,"record_length":96,"hex_timestamp":"0000019f310620a8"} 
[2026-07-05 12:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507804672001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507804672001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:17:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507804672001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":123270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:17:11] local.INFO: GPS data processed {"connection_id":123270,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:17:11] local.INFO: Acknowledgment sent {"connection_id":123270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:17:47] local.INFO: TCP Data received {"connection_id":123270,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:17:47] local.INFO: Processing buffer {"connection_id":123270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:17:47] local.INFO: Packet analysis {"connection_id":123270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:17:47] local.INFO: Extracted packet for processing {"connection_id":123270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:17:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507804672001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:17:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783233913000,"timestamp_ms":1783233913000,"timestamp_seconds":1783233913,"priority":1,"record_length":96,"hex_timestamp":"0000019f310620a8"} 
[2026-07-05 12:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:17: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-07-05 12:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":123270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":123270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":123270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507804672001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507804672001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:17:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:17:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:17:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507804672001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":123270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:17:47] local.INFO: GPS data processed {"connection_id":123270,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:17:47] local.INFO: Acknowledgment sent {"connection_id":123270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:18:05] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:18:05] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:18:05] local.INFO: IMEI packet received {"connection_id":124473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":124473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:18:10] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:18:10] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:18:10] local.INFO: IMEI packet received {"connection_id":124473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":124473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:18:11] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:18:11] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:18:11] local.INFO: Packet analysis {"connection_id":124473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:18:11] local.INFO: Extracted packet for processing {"connection_id":124473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507804672001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233913000,"timestamp_ms":1783233913000,"timestamp_seconds":1783233913,"priority":1,"record_length":96,"hex_timestamp":"0000019f310620a8"} 
[2026-07-05 12:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507804672001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507804672001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:18:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507804672001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":124473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:18:11] local.INFO: GPS data processed {"connection_id":124473,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:18:11] local.INFO: Acknowledgment sent {"connection_id":124473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:18:42] local.INFO: TCP Data received {"connection_id":124473,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:18:42] local.INFO: Processing buffer {"connection_id":124473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:18:42] local.INFO: Packet analysis {"connection_id":124473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:18:42] local.INFO: Extracted packet for processing {"connection_id":124473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:18:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507804672001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233913000,"timestamp_ms":1783233913000,"timestamp_seconds":1783233913,"priority":1,"record_length":96,"hex_timestamp":"0000019f310620a8"} 
[2026-07-05 12:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12: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-07-05 12:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:18: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-07-05 12: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-07-05 12:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507804672001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507804672001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:18:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507804672001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":124473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:18:42] local.INFO: GPS data processed {"connection_id":124473,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:18:42] local.INFO: Acknowledgment sent {"connection_id":124473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:19:05] local.INFO: TCP Data received {"connection_id":122485,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:19:05] local.INFO: Processing buffer {"connection_id":122485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:19:05] local.INFO: IMEI packet received {"connection_id":122485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":122485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:19:10] local.INFO: TCP Data received {"connection_id":122485,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:19:10] local.INFO: Processing buffer {"connection_id":122485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:19:10] local.INFO: IMEI packet received {"connection_id":122485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":122485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:19:11] local.INFO: TCP Data received {"connection_id":122485,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:19:11] local.INFO: Processing buffer {"connection_id":122485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:19:11] local.INFO: Packet analysis {"connection_id":122485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:19:11] local.INFO: Extracted packet for processing {"connection_id":122485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:19:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:19: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-07-05 12:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507804672001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233913000,"timestamp_ms":1783233913000,"timestamp_seconds":1783233913,"priority":1,"record_length":96,"hex_timestamp":"0000019f310620a8"} 
[2026-07-05 12:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:19: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-07-05 12:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507804672001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507804672001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:19:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507804672001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":122485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:19:11] local.INFO: GPS data processed {"connection_id":122485,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:19:11] local.INFO: Acknowledgment sent {"connection_id":122485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:19:42] local.INFO: TCP Data received {"connection_id":122485,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:19:42] local.INFO: Processing buffer {"connection_id":122485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:19:42] local.INFO: Packet analysis {"connection_id":122485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:19:42] local.INFO: Extracted packet for processing {"connection_id":122485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507804672001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233913000,"timestamp_ms":1783233913000,"timestamp_seconds":1783233913,"priority":1,"record_length":96,"hex_timestamp":"0000019f310620a8"} 
[2026-07-05 12:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:19: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-07-05 12:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:19: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-07-05 12:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507804672001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507804672001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:19:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507804672001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":122485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:19:42] local.INFO: GPS data processed {"connection_id":122485,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:19:42] local.INFO: Acknowledgment sent {"connection_id":122485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:20:05] local.INFO: TCP Data received {"connection_id":122487,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:20:05] local.INFO: Processing buffer {"connection_id":122487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:20:05] local.INFO: IMEI packet received {"connection_id":122487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":122487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:20:10] local.INFO: TCP Data received {"connection_id":122487,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:20:10] local.INFO: Processing buffer {"connection_id":122487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:20:10] local.INFO: IMEI packet received {"connection_id":122487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":122487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:20:11] local.INFO: TCP Data received {"connection_id":122487,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:20:11] local.INFO: Processing buffer {"connection_id":122487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:20:11] local.INFO: Packet analysis {"connection_id":122487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:20:11] local.INFO: Extracted packet for processing {"connection_id":122487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:20:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507804672001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783233913000,"timestamp_ms":1783233913000,"timestamp_seconds":1783233913,"priority":1,"record_length":96,"hex_timestamp":"0000019f310620a8"} 
[2026-07-05 12:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507804672001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507804672001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:20:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507804672001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":122487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:20:11] local.INFO: GPS data processed {"connection_id":122487,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:20:11] local.INFO: Acknowledgment sent {"connection_id":122487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:20:25] local.INFO: TCP Data received {"connection_id":122486,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:20:25] local.INFO: Processing buffer {"connection_id":122486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:20:25] local.INFO: IMEI packet received {"connection_id":122486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":122486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:20:42] local.INFO: TCP Data received {"connection_id":122487,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:20:42] local.INFO: Processing buffer {"connection_id":122487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310620a8012cb2a24007823a980042013b2b..."} 
[2026-07-05 12:20:42] local.INFO: Packet analysis {"connection_id":122487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:20:42] local.INFO: Extracted packet for processing {"connection_id":122487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3106"} 
[2026-07-05 12:20:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507804672001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783233913000,"timestamp_ms":1783233913000,"timestamp_seconds":1783233913,"priority":1,"record_length":96,"hex_timestamp":"0000019f310620a8"} 
[2026-07-05 12:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:20: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-07-05 12:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:20: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-07-05 12: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-07-05 12:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507804672001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507804672001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:20:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507804672001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":122487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:20:42] local.INFO: GPS data processed {"connection_id":122487,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:20:42] local.INFO: Acknowledgment sent {"connection_id":122487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:21:10] local.INFO: TCP Data received {"connection_id":123271,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:21:10] local.INFO: Processing buffer {"connection_id":123271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:21:10] local.INFO: IMEI packet received {"connection_id":123271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":123271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:21:10] local.INFO: TCP Data received {"connection_id":122488,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:21:10] local.INFO: Processing buffer {"connection_id":122488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:21:10] local.INFO: IMEI packet received {"connection_id":122488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":122488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:21:15] local.INFO: TCP Data received {"connection_id":122488,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:21:15] local.INFO: Processing buffer {"connection_id":122488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:21:15] local.INFO: IMEI packet received {"connection_id":122488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":122488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:21:16] local.INFO: TCP Data received {"connection_id":122488,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:21:16] local.INFO: Processing buffer {"connection_id":122488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:21:16] local.INFO: Packet analysis {"connection_id":122488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:21:16] local.INFO: Extracted packet for processing {"connection_id":122488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:21:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507881728001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:21:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783234214000,"timestamp_ms":1783234214000,"timestamp_seconds":1783234214,"priority":1,"record_length":96,"hex_timestamp":"0000019f310ab870"} 
[2026-07-05 12:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507881728001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507881728001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:21:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:21:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:21:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507881728001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":122488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:21:16] local.INFO: GPS data processed {"connection_id":122488,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:21:16] local.INFO: Acknowledgment sent {"connection_id":122488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:21:20] local.INFO: TCP Data received {"connection_id":122488,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:21:20] local.INFO: Processing buffer {"connection_id":122488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:21:20] local.INFO: Packet analysis {"connection_id":122488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:21:20] local.INFO: Extracted packet for processing {"connection_id":122488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:21:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507881728001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783234214000,"timestamp_ms":1783234214000,"timestamp_seconds":1783234214,"priority":1,"record_length":96,"hex_timestamp":"0000019f310ab870"} 
[2026-07-05 12:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507881728001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507881728001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:21:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:21:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507881728001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":122488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:21:20] local.INFO: GPS data processed {"connection_id":122488,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:21:20] local.INFO: Acknowledgment sent {"connection_id":122488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:22:05] local.INFO: TCP Data received {"connection_id":123272,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:22:05] local.INFO: Processing buffer {"connection_id":123272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:22:05] local.INFO: IMEI packet received {"connection_id":123272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":123272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:22:10] local.INFO: TCP Data received {"connection_id":123272,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:22:10] local.INFO: Processing buffer {"connection_id":123272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:22:10] local.INFO: IMEI packet received {"connection_id":123272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":123272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:22:11] local.INFO: TCP Data received {"connection_id":123272,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:22:11] local.INFO: Processing buffer {"connection_id":123272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:22:11] local.INFO: Packet analysis {"connection_id":123272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:22:11] local.INFO: Extracted packet for processing {"connection_id":123272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507881728001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783234214000,"timestamp_ms":1783234214000,"timestamp_seconds":1783234214,"priority":1,"record_length":96,"hex_timestamp":"0000019f310ab870"} 
[2026-07-05 12:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507881728001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507881728001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:22:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507881728001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":123272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:22:11] local.INFO: GPS data processed {"connection_id":123272,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:22:11] local.INFO: Acknowledgment sent {"connection_id":123272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:22:42] local.INFO: TCP Data received {"connection_id":123272,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:22:42] local.INFO: Processing buffer {"connection_id":123272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:22:42] local.INFO: Packet analysis {"connection_id":123272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:22:42] local.INFO: Extracted packet for processing {"connection_id":123272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507881728001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783234214000,"timestamp_ms":1783234214000,"timestamp_seconds":1783234214,"priority":1,"record_length":96,"hex_timestamp":"0000019f310ab870"} 
[2026-07-05 12:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:22: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-07-05 12:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507881728001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507881728001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:22:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507881728001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":123272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:22:42] local.INFO: GPS data processed {"connection_id":123272,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:22:42] local.INFO: Acknowledgment sent {"connection_id":123272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:23:05] local.INFO: TCP Data received {"connection_id":122489,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:23:05] local.INFO: Processing buffer {"connection_id":122489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:23:05] local.INFO: IMEI packet received {"connection_id":122489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":122489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:23:10] local.INFO: TCP Data received {"connection_id":122489,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:23:10] local.INFO: Processing buffer {"connection_id":122489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:23:10] local.INFO: IMEI packet received {"connection_id":122489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":122489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:23:11] local.INFO: TCP Data received {"connection_id":122489,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:23:11] local.INFO: Processing buffer {"connection_id":122489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:23:11] local.INFO: Packet analysis {"connection_id":122489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:23:11] local.INFO: Extracted packet for processing {"connection_id":122489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507881728001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783234214000,"timestamp_ms":1783234214000,"timestamp_seconds":1783234214,"priority":1,"record_length":96,"hex_timestamp":"0000019f310ab870"} 
[2026-07-05 12:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507881728001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507881728001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507881728001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":122489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:23:11] local.INFO: GPS data processed {"connection_id":122489,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:23:11] local.INFO: Acknowledgment sent {"connection_id":122489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:23:42] local.INFO: TCP Data received {"connection_id":122489,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:23:42] local.INFO: Processing buffer {"connection_id":122489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:23:42] local.INFO: Packet analysis {"connection_id":122489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:23:42] local.INFO: Extracted packet for processing {"connection_id":122489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507881728001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783234214000,"timestamp_ms":1783234214000,"timestamp_seconds":1783234214,"priority":1,"record_length":96,"hex_timestamp":"0000019f310ab870"} 
[2026-07-05 12:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:23: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-07-05 12: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-07-05 12: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-07-05 12: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-07-05 12:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507881728001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507881728001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:23:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507881728001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":122489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:23:42] local.INFO: GPS data processed {"connection_id":122489,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:23:42] local.INFO: Acknowledgment sent {"connection_id":122489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:24:05] local.INFO: TCP Data received {"connection_id":123274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:24:05] local.INFO: Processing buffer {"connection_id":123274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:24:05] local.INFO: IMEI packet received {"connection_id":123274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":123274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:24:10] local.INFO: TCP Data received {"connection_id":123274,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:24:10] local.INFO: Processing buffer {"connection_id":123274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:24:10] local.INFO: IMEI packet received {"connection_id":123274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":123274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:24:11] local.INFO: TCP Data received {"connection_id":123274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:24:11] local.INFO: Processing buffer {"connection_id":123274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:24:11] local.INFO: Packet analysis {"connection_id":123274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:24:11] local.INFO: Extracted packet for processing {"connection_id":123274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:24:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:24: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-07-05 12:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507881728001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783234214000,"timestamp_ms":1783234214000,"timestamp_seconds":1783234214,"priority":1,"record_length":96,"hex_timestamp":"0000019f310ab870"} 
[2026-07-05 12:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:24: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-07-05 12:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507881728001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507881728001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:24:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507881728001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":123274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:24:11] local.INFO: GPS data processed {"connection_id":123274,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:24:11] local.INFO: Acknowledgment sent {"connection_id":123274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:24:42] local.INFO: TCP Data received {"connection_id":123274,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:24:42] local.INFO: Processing buffer {"connection_id":123274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:24:42] local.INFO: Packet analysis {"connection_id":123274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:24:42] local.INFO: Extracted packet for processing {"connection_id":123274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507881728001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783234214000,"timestamp_ms":1783234214000,"timestamp_seconds":1783234214,"priority":1,"record_length":96,"hex_timestamp":"0000019f310ab870"} 
[2026-07-05 12:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:24: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-07-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:24: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-07-05 12: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-07-05 12:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507881728001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507881728001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:24:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507881728001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":123274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:24:42] local.INFO: GPS data processed {"connection_id":123274,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:24:42] local.INFO: Acknowledgment sent {"connection_id":123274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:25:10] local.INFO: TCP Data received {"connection_id":122490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:25:10] local.INFO: Processing buffer {"connection_id":122490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:25:10] local.INFO: IMEI packet received {"connection_id":122490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":122490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:25:15] local.INFO: TCP Data received {"connection_id":122490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:25:15] local.INFO: Processing buffer {"connection_id":122490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:25:15] local.INFO: IMEI packet received {"connection_id":122490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":122490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:25:16] local.INFO: TCP Data received {"connection_id":122490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:25:16] local.INFO: Processing buffer {"connection_id":122490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:25:16] local.INFO: Packet analysis {"connection_id":122490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:25:16] local.INFO: Extracted packet for processing {"connection_id":122490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:25:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507881728001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:25:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783234214000,"timestamp_ms":1783234214000,"timestamp_seconds":1783234214,"priority":1,"record_length":96,"hex_timestamp":"0000019f310ab870"} 
[2026-07-05 12:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507881728001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507881728001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:25:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:25:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507881728001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":122490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:25:16] local.INFO: GPS data processed {"connection_id":122490,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:25:16] local.INFO: Acknowledgment sent {"connection_id":122490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:25:20] local.INFO: TCP Data received {"connection_id":122490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:25:20] local.INFO: Processing buffer {"connection_id":122490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310ab870012cb2a24007823a980042013b27..."} 
[2026-07-05 12:25:20] local.INFO: Packet analysis {"connection_id":122490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:25:20] local.INFO: Extracted packet for processing {"connection_id":122490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310a"} 
[2026-07-05 12:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507881728001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783234214000,"timestamp_ms":1783234214000,"timestamp_seconds":1783234214,"priority":1,"record_length":96,"hex_timestamp":"0000019f310ab870"} 
[2026-07-05 12:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507881728001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507881728001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:25:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507881728001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":122490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:25:20] local.INFO: GPS data processed {"connection_id":122490,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:25:20] local.INFO: Acknowledgment sent {"connection_id":122490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:26:05] local.INFO: TCP Data received {"connection_id":124478,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:26:05] local.INFO: Processing buffer {"connection_id":124478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:26:05] local.INFO: IMEI packet received {"connection_id":124478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":124478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:26:10] local.INFO: TCP Data received {"connection_id":124478,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:26:10] local.INFO: Processing buffer {"connection_id":124478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:26:10] local.INFO: IMEI packet received {"connection_id":124478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":124478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:26:11] local.INFO: TCP Data received {"connection_id":124478,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:26:11] local.INFO: Processing buffer {"connection_id":124478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:26:11] local.INFO: Packet analysis {"connection_id":124478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:26:11] local.INFO: Extracted packet for processing {"connection_id":124478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:26:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507958784001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783234515000,"timestamp_ms":1783234515000,"timestamp_seconds":1783234515,"priority":1,"record_length":96,"hex_timestamp":"0000019f310f5038"} 
[2026-07-05 12:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:26: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-07-05 12:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507958784001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507958784001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:26:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507958784001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":124478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:26:11] local.INFO: GPS data processed {"connection_id":124478,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:26:11] local.INFO: Acknowledgment sent {"connection_id":124478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:26:35] local.INFO: TCP Data received {"connection_id":124479,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:26:35] local.INFO: Processing buffer {"connection_id":124479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:26:35] local.INFO: IMEI packet received {"connection_id":124479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":124479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:26:42] local.INFO: TCP Data received {"connection_id":124478,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:26:42] local.INFO: Processing buffer {"connection_id":124478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:26:42] local.INFO: Packet analysis {"connection_id":124478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:26:42] local.INFO: Extracted packet for processing {"connection_id":124478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:26:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507958784001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783234515000,"timestamp_ms":1783234515000,"timestamp_seconds":1783234515,"priority":1,"record_length":96,"hex_timestamp":"0000019f310f5038"} 
[2026-07-05 12:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:26: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-07-05 12:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:26: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-07-05 12:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507958784001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507958784001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:26:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507958784001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":124478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:26:42] local.INFO: GPS data processed {"connection_id":124478,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:26:42] local.INFO: Acknowledgment sent {"connection_id":124478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:27:04] local.INFO: TCP Data received {"connection_id":122545,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:27:05] local.INFO: Processing buffer {"connection_id":122545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:27:05] local.INFO: IMEI packet received {"connection_id":122545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":122545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:27:05] local.INFO: TCP Data received {"connection_id":122546,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:27:05] local.INFO: Processing buffer {"connection_id":122546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:27:05] local.INFO: IMEI packet received {"connection_id":122546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":122546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:27:10] local.INFO: TCP Data received {"connection_id":122546,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:27:10] local.INFO: Processing buffer {"connection_id":122546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:27:10] local.INFO: IMEI packet received {"connection_id":122546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":122546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:27:11] local.INFO: TCP Data received {"connection_id":122546,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:27:11] local.INFO: Processing buffer {"connection_id":122546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:27:11] local.INFO: Packet analysis {"connection_id":122546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:27:11] local.INFO: Extracted packet for processing {"connection_id":122546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507958784001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783234515000,"timestamp_ms":1783234515000,"timestamp_seconds":1783234515,"priority":1,"record_length":96,"hex_timestamp":"0000019f310f5038"} 
[2026-07-05 12:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:27: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-07-05 12:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507958784001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507958784001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507958784001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":122546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:27:11] local.INFO: GPS data processed {"connection_id":122546,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:27:11] local.INFO: Acknowledgment sent {"connection_id":122546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:27:42] local.INFO: TCP Data received {"connection_id":122546,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:27:42] local.INFO: Processing buffer {"connection_id":122546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:27:42] local.INFO: Packet analysis {"connection_id":122546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:27:42] local.INFO: Extracted packet for processing {"connection_id":122546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507958784001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783234515000,"timestamp_ms":1783234515000,"timestamp_seconds":1783234515,"priority":1,"record_length":96,"hex_timestamp":"0000019f310f5038"} 
[2026-07-05 12:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12: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-07-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:27: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-07-05 12: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-07-05 12:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507958784001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507958784001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507958784001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":122546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:27:42] local.INFO: GPS data processed {"connection_id":122546,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:27:42] local.INFO: Acknowledgment sent {"connection_id":122546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:28:05] local.INFO: TCP Data received {"connection_id":122492,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:28:05] local.INFO: Processing buffer {"connection_id":122492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:28:05] local.INFO: IMEI packet received {"connection_id":122492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":122492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:28:10] local.INFO: TCP Data received {"connection_id":122492,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:28:10] local.INFO: Processing buffer {"connection_id":122492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:28:10] local.INFO: IMEI packet received {"connection_id":122492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":122492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:28:11] local.INFO: TCP Data received {"connection_id":122492,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:28:11] local.INFO: Processing buffer {"connection_id":122492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:28:11] local.INFO: Packet analysis {"connection_id":122492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:28:11] local.INFO: Extracted packet for processing {"connection_id":122492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507958784001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783234515000,"timestamp_ms":1783234515000,"timestamp_seconds":1783234515,"priority":1,"record_length":96,"hex_timestamp":"0000019f310f5038"} 
[2026-07-05 12:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:28: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-07-05 12:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507958784001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507958784001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:28:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507958784001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":122492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:28:11] local.INFO: GPS data processed {"connection_id":122492,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:28:11] local.INFO: Acknowledgment sent {"connection_id":122492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:28:42] local.INFO: TCP Data received {"connection_id":122492,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:28:42] local.INFO: Processing buffer {"connection_id":122492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:28:42] local.INFO: Packet analysis {"connection_id":122492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:28:42] local.INFO: Extracted packet for processing {"connection_id":122492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:28:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507958784001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783234515000,"timestamp_ms":1783234515000,"timestamp_seconds":1783234515,"priority":1,"record_length":96,"hex_timestamp":"0000019f310f5038"} 
[2026-07-05 12:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:28: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-07-05 12:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:28: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-07-05 12:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507958784001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507958784001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:28:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507958784001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":122492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:28:42] local.INFO: GPS data processed {"connection_id":122492,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:28:42] local.INFO: Acknowledgment sent {"connection_id":122492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:29:05] local.INFO: TCP Data received {"connection_id":124480,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:29:05] local.INFO: Processing buffer {"connection_id":124480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:29:05] local.INFO: IMEI packet received {"connection_id":124480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":124480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:29:10] local.INFO: TCP Data received {"connection_id":124480,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:29:10] local.INFO: Processing buffer {"connection_id":124480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:29:10] local.INFO: IMEI packet received {"connection_id":124480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":124480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:29:11] local.INFO: TCP Data received {"connection_id":124480,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:29:11] local.INFO: Processing buffer {"connection_id":124480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:29:11] local.INFO: Packet analysis {"connection_id":124480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:29:11] local.INFO: Extracted packet for processing {"connection_id":124480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507958784001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783234515000,"timestamp_ms":1783234515000,"timestamp_seconds":1783234515,"priority":1,"record_length":96,"hex_timestamp":"0000019f310f5038"} 
[2026-07-05 12:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:29: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-07-05 12:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507958784001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507958784001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507958784001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":124480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:29:11] local.INFO: GPS data processed {"connection_id":124480,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:29:11] local.INFO: Acknowledgment sent {"connection_id":124480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:29:42] local.INFO: TCP Data received {"connection_id":124480,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:29:42] local.INFO: Processing buffer {"connection_id":124480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:29:42] local.INFO: Packet analysis {"connection_id":124480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:29:42] local.INFO: Extracted packet for processing {"connection_id":124480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507958784001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783234515000,"timestamp_ms":1783234515000,"timestamp_seconds":1783234515,"priority":1,"record_length":96,"hex_timestamp":"0000019f310f5038"} 
[2026-07-05 12:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:29: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-07-05 12:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:29: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-07-05 12:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507958784001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507958784001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:29:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507958784001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":124480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:29:42] local.INFO: GPS data processed {"connection_id":124480,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:29:42] local.INFO: Acknowledgment sent {"connection_id":124480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:30:10] local.INFO: TCP Data received {"connection_id":122493,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:30:10] local.INFO: Processing buffer {"connection_id":122493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:30:10] local.INFO: IMEI packet received {"connection_id":122493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":122493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:30:15] local.INFO: TCP Data received {"connection_id":122493,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:30:15] local.INFO: Processing buffer {"connection_id":122493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:30:15] local.INFO: IMEI packet received {"connection_id":122493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":122493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:30:16] local.INFO: TCP Data received {"connection_id":122493,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:30:16] local.INFO: Processing buffer {"connection_id":122493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:30:16] local.INFO: Packet analysis {"connection_id":122493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:30:16] local.INFO: Extracted packet for processing {"connection_id":122493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:30:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507958784001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:30:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783234515000,"timestamp_ms":1783234515000,"timestamp_seconds":1783234515,"priority":1,"record_length":96,"hex_timestamp":"0000019f310f5038"} 
[2026-07-05 12:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507958784001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507958784001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:30:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:30:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507958784001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":122493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:30:16] local.INFO: GPS data processed {"connection_id":122493,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:30:16] local.INFO: Acknowledgment sent {"connection_id":122493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:30:20] local.INFO: TCP Data received {"connection_id":122493,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:30:20] local.INFO: Processing buffer {"connection_id":122493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f310f5038012cb2a24007823a980042013b2a..."} 
[2026-07-05 12:30:20] local.INFO: Packet analysis {"connection_id":122493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:30:20] local.INFO: Extracted packet for processing {"connection_id":122493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f310f"} 
[2026-07-05 12:30:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456507958784001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783234515000,"timestamp_ms":1783234515000,"timestamp_seconds":1783234515,"priority":1,"record_length":96,"hex_timestamp":"0000019f310f5038"} 
[2026-07-05 12:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456507958784001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456507958784001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:30:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456507958784001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":122493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:30:20] local.INFO: GPS data processed {"connection_id":122493,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:30:20] local.INFO: Acknowledgment sent {"connection_id":122493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:31:05] local.INFO: TCP Data received {"connection_id":122548,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:31:05] local.INFO: Processing buffer {"connection_id":122548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:31:05] local.INFO: IMEI packet received {"connection_id":122548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":122548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:31:10] local.INFO: TCP Data received {"connection_id":122548,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:31:10] local.INFO: Processing buffer {"connection_id":122548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:31:10] local.INFO: IMEI packet received {"connection_id":122548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":122548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:31:11] local.INFO: TCP Data received {"connection_id":122548,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:31:11] local.INFO: Processing buffer {"connection_id":122548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:31:11] local.INFO: Packet analysis {"connection_id":122548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:31:11] local.INFO: Extracted packet for processing {"connection_id":122548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:31:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508035840001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:31:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783234816000,"timestamp_ms":1783234816000,"timestamp_seconds":1783234816,"priority":1,"record_length":96,"hex_timestamp":"0000019f3113e800"} 
[2026-07-05 12:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:31: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-07-05 12:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508035840001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508035840001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:31:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:31:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508035840001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":122548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:31:11] local.INFO: GPS data processed {"connection_id":122548,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:31:11] local.INFO: Acknowledgment sent {"connection_id":122548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:31:42] local.INFO: TCP Data received {"connection_id":122548,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:31:42] local.INFO: Processing buffer {"connection_id":122548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:31:42] local.INFO: Packet analysis {"connection_id":122548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:31:42] local.INFO: Extracted packet for processing {"connection_id":122548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:31:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508035840001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783234816000,"timestamp_ms":1783234816000,"timestamp_seconds":1783234816,"priority":1,"record_length":96,"hex_timestamp":"0000019f3113e800"} 
[2026-07-05 12:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:31: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-07-05 12:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:31: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-07-05 12:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508035840001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508035840001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:31:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508035840001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":122548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:31:42] local.INFO: GPS data processed {"connection_id":122548,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:31:42] local.INFO: Acknowledgment sent {"connection_id":122548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:32:05] local.INFO: TCP Data received {"connection_id":122494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:32:05] local.INFO: Processing buffer {"connection_id":122494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:32:05] local.INFO: IMEI packet received {"connection_id":122494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":122494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:32:10] local.INFO: TCP Data received {"connection_id":122494,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:32:10] local.INFO: Processing buffer {"connection_id":122494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:32:10] local.INFO: IMEI packet received {"connection_id":122494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":122494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:32:11] local.INFO: TCP Data received {"connection_id":122494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:32:11] local.INFO: Processing buffer {"connection_id":122494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:32:11] local.INFO: Packet analysis {"connection_id":122494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:32:11] local.INFO: Extracted packet for processing {"connection_id":122494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:32:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508035840001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783234816000,"timestamp_ms":1783234816000,"timestamp_seconds":1783234816,"priority":1,"record_length":96,"hex_timestamp":"0000019f3113e800"} 
[2026-07-05 12:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12: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-07-05 12:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508035840001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508035840001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:32:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508035840001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":122494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:32:11] local.INFO: GPS data processed {"connection_id":122494,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:32:11] local.INFO: Acknowledgment sent {"connection_id":122494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:32:35] local.INFO: TCP Data received {"connection_id":123276,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:32:35] local.INFO: Processing buffer {"connection_id":123276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:32:35] local.INFO: IMEI packet received {"connection_id":123276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":123276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:32:42] local.INFO: TCP Data received {"connection_id":122494,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:32:42] local.INFO: Processing buffer {"connection_id":122494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:32:42] local.INFO: Packet analysis {"connection_id":122494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:32:42] local.INFO: Extracted packet for processing {"connection_id":122494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:32:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508035840001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783234816000,"timestamp_ms":1783234816000,"timestamp_seconds":1783234816,"priority":1,"record_length":96,"hex_timestamp":"0000019f3113e800"} 
[2026-07-05 12:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:32: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-07-05 12:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:32: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-07-05 12: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-07-05 12:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508035840001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508035840001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:32:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508035840001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":122494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:32:42] local.INFO: GPS data processed {"connection_id":122494,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:32:42] local.INFO: Acknowledgment sent {"connection_id":122494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:33:04] local.INFO: TCP Data received {"connection_id":123277,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:33:04] local.INFO: Processing buffer {"connection_id":123277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:33:04] local.INFO: IMEI packet received {"connection_id":123277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":123277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:33:05] local.INFO: TCP Data received {"connection_id":122550,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:33:05] local.INFO: Processing buffer {"connection_id":122550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:33:05] local.INFO: IMEI packet received {"connection_id":122550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":122550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:33:10] local.INFO: TCP Data received {"connection_id":122550,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:33:10] local.INFO: Processing buffer {"connection_id":122550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:33:10] local.INFO: IMEI packet received {"connection_id":122550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":122550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:33:11] local.INFO: TCP Data received {"connection_id":122550,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:33:11] local.INFO: Processing buffer {"connection_id":122550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:33:11] local.INFO: Packet analysis {"connection_id":122550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:33:11] local.INFO: Extracted packet for processing {"connection_id":122550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508035840001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783234816000,"timestamp_ms":1783234816000,"timestamp_seconds":1783234816,"priority":1,"record_length":96,"hex_timestamp":"0000019f3113e800"} 
[2026-07-05 12:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:33: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-07-05 12:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508035840001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508035840001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508035840001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":122550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:33:11] local.INFO: GPS data processed {"connection_id":122550,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:33:11] local.INFO: Acknowledgment sent {"connection_id":122550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:33:42] local.INFO: TCP Data received {"connection_id":122550,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:33:42] local.INFO: Processing buffer {"connection_id":122550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:33:42] local.INFO: Packet analysis {"connection_id":122550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:33:42] local.INFO: Extracted packet for processing {"connection_id":122550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508035840001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783234816000,"timestamp_ms":1783234816000,"timestamp_seconds":1783234816,"priority":1,"record_length":96,"hex_timestamp":"0000019f3113e800"} 
[2026-07-05 12:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:33: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-07-05 12:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:33: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-07-05 12:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508035840001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508035840001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508035840001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":122550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:33:42] local.INFO: GPS data processed {"connection_id":122550,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:33:42] local.INFO: Acknowledgment sent {"connection_id":122550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:34:05] local.INFO: TCP Data received {"connection_id":124481,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:34:05] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:34:05] local.INFO: IMEI packet received {"connection_id":124481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":124481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:34:10] local.INFO: TCP Data received {"connection_id":124481,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:34:10] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:34:10] local.INFO: IMEI packet received {"connection_id":124481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":124481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:34:11] local.INFO: TCP Data received {"connection_id":124481,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:34:11] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:34:11] local.INFO: Packet analysis {"connection_id":124481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:34:11] local.INFO: Extracted packet for processing {"connection_id":124481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:34:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508035840001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:34:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783234816000,"timestamp_ms":1783234816000,"timestamp_seconds":1783234816,"priority":1,"record_length":96,"hex_timestamp":"0000019f3113e800"} 
[2026-07-05 12:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:34: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-07-05 12:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508035840001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508035840001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:34:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:34:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508035840001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":124481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:34:11] local.INFO: GPS data processed {"connection_id":124481,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:34:11] local.INFO: Acknowledgment sent {"connection_id":124481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:34:42] local.INFO: TCP Data received {"connection_id":124481,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:34:42] local.INFO: Processing buffer {"connection_id":124481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:34:42] local.INFO: Packet analysis {"connection_id":124481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:34:42] local.INFO: Extracted packet for processing {"connection_id":124481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508035840001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783234816000,"timestamp_ms":1783234816000,"timestamp_seconds":1783234816,"priority":1,"record_length":96,"hex_timestamp":"0000019f3113e800"} 
[2026-07-05 12:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:34: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-07-05 12:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:34: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-07-05 12:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508035840001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508035840001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:34:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508035840001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":124481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:34:42] local.INFO: GPS data processed {"connection_id":124481,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:34:42] local.INFO: Acknowledgment sent {"connection_id":124481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:35:10] local.INFO: TCP Data received {"connection_id":122496,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:35:10] local.INFO: Processing buffer {"connection_id":122496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:35:10] local.INFO: IMEI packet received {"connection_id":122496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":122496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:35:15] local.INFO: TCP Data received {"connection_id":122496,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:35:15] local.INFO: Processing buffer {"connection_id":122496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:35:15] local.INFO: IMEI packet received {"connection_id":122496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":122496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:35:16] local.INFO: TCP Data received {"connection_id":122496,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:35:16] local.INFO: Processing buffer {"connection_id":122496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:35:16] local.INFO: Packet analysis {"connection_id":122496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:35:16] local.INFO: Extracted packet for processing {"connection_id":122496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:35:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508035840001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:35:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783234816000,"timestamp_ms":1783234816000,"timestamp_seconds":1783234816,"priority":1,"record_length":96,"hex_timestamp":"0000019f3113e800"} 
[2026-07-05 12:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508035840001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508035840001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:35:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:35:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508035840001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":122496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:35:16] local.INFO: GPS data processed {"connection_id":122496,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:35:16] local.INFO: Acknowledgment sent {"connection_id":122496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:35:20] local.INFO: TCP Data received {"connection_id":122496,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:35:20] local.INFO: Processing buffer {"connection_id":122496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3113e800012cb2a24007823a980042013b28..."} 
[2026-07-05 12:35:20] local.INFO: Packet analysis {"connection_id":122496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:35:20] local.INFO: Extracted packet for processing {"connection_id":122496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3113"} 
[2026-07-05 12:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508035840001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783234816000,"timestamp_ms":1783234816000,"timestamp_seconds":1783234816,"priority":1,"record_length":96,"hex_timestamp":"0000019f3113e800"} 
[2026-07-05 12:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508035840001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508035840001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:35:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508035840001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":122496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:35:20] local.INFO: GPS data processed {"connection_id":122496,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:35:20] local.INFO: Acknowledgment sent {"connection_id":122496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:36:05] local.INFO: TCP Data received {"connection_id":122552,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:36:05] local.INFO: Processing buffer {"connection_id":122552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:36:05] local.INFO: IMEI packet received {"connection_id":122552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":122552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:36:10] local.INFO: TCP Data received {"connection_id":122552,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:36:10] local.INFO: Processing buffer {"connection_id":122552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:36:10] local.INFO: IMEI packet received {"connection_id":122552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":122552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:36:11] local.INFO: TCP Data received {"connection_id":122552,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:36:11] local.INFO: Processing buffer {"connection_id":122552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:36:11] local.INFO: Packet analysis {"connection_id":122552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:36:11] local.INFO: Extracted packet for processing {"connection_id":122552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:36:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508112896001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783235117000,"timestamp_ms":1783235117000,"timestamp_seconds":1783235117,"priority":1,"record_length":96,"hex_timestamp":"0000019f31187fc8"} 
[2026-07-05 12:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:36: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-07-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508112896001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508112896001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508112896001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":122552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:36:11] local.INFO: GPS data processed {"connection_id":122552,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:36:11] local.INFO: Acknowledgment sent {"connection_id":122552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:36:42] local.INFO: TCP Data received {"connection_id":122552,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:36:42] local.INFO: Processing buffer {"connection_id":122552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:36:42] local.INFO: Packet analysis {"connection_id":122552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:36:42] local.INFO: Extracted packet for processing {"connection_id":122552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:36:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508112896001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783235117000,"timestamp_ms":1783235117000,"timestamp_seconds":1783235117,"priority":1,"record_length":96,"hex_timestamp":"0000019f31187fc8"} 
[2026-07-05 12:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:36: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-07-05 12:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508112896001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508112896001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:36:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508112896001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":122552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:36:42] local.INFO: GPS data processed {"connection_id":122552,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:36:42] local.INFO: Acknowledgment sent {"connection_id":122552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:37:05] local.INFO: TCP Data received {"connection_id":123280,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:37:05] local.INFO: Processing buffer {"connection_id":123280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:37:05] local.INFO: IMEI packet received {"connection_id":123280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":123280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:37:10] local.INFO: TCP Data received {"connection_id":123280,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:37:10] local.INFO: Processing buffer {"connection_id":123280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:37:10] local.INFO: IMEI packet received {"connection_id":123280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":123280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:37:11] local.INFO: TCP Data received {"connection_id":123280,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:37:11] local.INFO: Processing buffer {"connection_id":123280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:37:11] local.INFO: Packet analysis {"connection_id":123280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:37:11] local.INFO: Extracted packet for processing {"connection_id":123280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:37:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508112896001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783235117000,"timestamp_ms":1783235117000,"timestamp_seconds":1783235117,"priority":1,"record_length":96,"hex_timestamp":"0000019f31187fc8"} 
[2026-07-05 12:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:37: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-07-05 12:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508112896001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508112896001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508112896001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":123280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:37:11] local.INFO: GPS data processed {"connection_id":123280,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:37:11] local.INFO: Acknowledgment sent {"connection_id":123280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:37:42] local.INFO: TCP Data received {"connection_id":123280,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:37:42] local.INFO: Processing buffer {"connection_id":123280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:37:42] local.INFO: Packet analysis {"connection_id":123280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:37:42] local.INFO: Extracted packet for processing {"connection_id":123280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508112896001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783235117000,"timestamp_ms":1783235117000,"timestamp_seconds":1783235117,"priority":1,"record_length":96,"hex_timestamp":"0000019f31187fc8"} 
[2026-07-05 12:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:37: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-07-05 12:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508112896001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508112896001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:37:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508112896001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":123280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:37:42] local.INFO: GPS data processed {"connection_id":123280,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:37:42] local.INFO: Acknowledgment sent {"connection_id":123280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:38:05] local.INFO: TCP Data received {"connection_id":122497,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:38:05] local.INFO: Processing buffer {"connection_id":122497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:38:05] local.INFO: IMEI packet received {"connection_id":122497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":122497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:38:10] local.INFO: TCP Data received {"connection_id":122497,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:38:10] local.INFO: Processing buffer {"connection_id":122497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:38:10] local.INFO: IMEI packet received {"connection_id":122497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":122497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:38:11] local.INFO: TCP Data received {"connection_id":122497,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:38:11] local.INFO: Processing buffer {"connection_id":122497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:38:11] local.INFO: Packet analysis {"connection_id":122497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:38:11] local.INFO: Extracted packet for processing {"connection_id":122497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:38:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508112896001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783235117000,"timestamp_ms":1783235117000,"timestamp_seconds":1783235117,"priority":1,"record_length":96,"hex_timestamp":"0000019f31187fc8"} 
[2026-07-05 12:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:38: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-07-05 12:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508112896001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508112896001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508112896001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":122497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:38:11] local.INFO: GPS data processed {"connection_id":122497,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:38:11] local.INFO: Acknowledgment sent {"connection_id":122497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:38:25] local.INFO: TCP Data received {"connection_id":122498,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:38:25] local.INFO: Processing buffer {"connection_id":122498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:38:25] local.INFO: IMEI packet received {"connection_id":122498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":122498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:38:42] local.INFO: TCP Data received {"connection_id":122497,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:38:42] local.INFO: Processing buffer {"connection_id":122497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:38:42] local.INFO: Packet analysis {"connection_id":122497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:38:42] local.INFO: Extracted packet for processing {"connection_id":122497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:38:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508112896001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783235117000,"timestamp_ms":1783235117000,"timestamp_seconds":1783235117,"priority":1,"record_length":96,"hex_timestamp":"0000019f31187fc8"} 
[2026-07-05 12:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:38: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-07-05 12: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:38: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-07-05 12: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-07-05 12:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508112896001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508112896001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508112896001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":122497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:38:42] local.INFO: GPS data processed {"connection_id":122497,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:38:42] local.INFO: Acknowledgment sent {"connection_id":122497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:39:04] local.INFO: TCP Data received {"connection_id":122553,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:39:04] local.INFO: Processing buffer {"connection_id":122553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:39:04] local.INFO: IMEI packet received {"connection_id":122553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":122553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:39:10] local.INFO: TCP Data received {"connection_id":122499,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:39:10] local.INFO: Processing buffer {"connection_id":122499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:39:10] local.INFO: IMEI packet received {"connection_id":122499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":122499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:39:15] local.INFO: TCP Data received {"connection_id":122499,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:39:15] local.INFO: Processing buffer {"connection_id":122499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:39:15] local.INFO: IMEI packet received {"connection_id":122499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":122499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:39:16] local.INFO: TCP Data received {"connection_id":122499,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:39:16] local.INFO: Processing buffer {"connection_id":122499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:39:16] local.INFO: Packet analysis {"connection_id":122499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:39:16] local.INFO: Extracted packet for processing {"connection_id":122499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:39:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508112896001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783235117000,"timestamp_ms":1783235117000,"timestamp_seconds":1783235117,"priority":1,"record_length":96,"hex_timestamp":"0000019f31187fc8"} 
[2026-07-05 12:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508112896001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508112896001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:39:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508112896001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":122499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:39:16] local.INFO: GPS data processed {"connection_id":122499,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:39:16] local.INFO: Acknowledgment sent {"connection_id":122499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:39:20] local.INFO: TCP Data received {"connection_id":122499,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:39:20] local.INFO: Processing buffer {"connection_id":122499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:39:20] local.INFO: Packet analysis {"connection_id":122499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:39:20] local.INFO: Extracted packet for processing {"connection_id":122499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508112896001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783235117000,"timestamp_ms":1783235117000,"timestamp_seconds":1783235117,"priority":1,"record_length":96,"hex_timestamp":"0000019f31187fc8"} 
[2026-07-05 12:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508112896001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508112896001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:39:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508112896001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":122499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:39:20] local.INFO: GPS data processed {"connection_id":122499,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:39:20] local.INFO: Acknowledgment sent {"connection_id":122499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:40:05] local.INFO: TCP Data received {"connection_id":122500,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:40:05] local.INFO: Processing buffer {"connection_id":122500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:40:05] local.INFO: IMEI packet received {"connection_id":122500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":122500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:40:10] local.INFO: TCP Data received {"connection_id":122500,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:40:10] local.INFO: Processing buffer {"connection_id":122500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:40:10] local.INFO: IMEI packet received {"connection_id":122500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":122500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:40:11] local.INFO: TCP Data received {"connection_id":122500,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:40:11] local.INFO: Processing buffer {"connection_id":122500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:40:11] local.INFO: Packet analysis {"connection_id":122500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:40:11] local.INFO: Extracted packet for processing {"connection_id":122500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:40:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508112896001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783235117000,"timestamp_ms":1783235117000,"timestamp_seconds":1783235117,"priority":1,"record_length":96,"hex_timestamp":"0000019f31187fc8"} 
[2026-07-05 12:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:40: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-07-05 12:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508112896001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508112896001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:40:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508112896001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":122500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:40:11] local.INFO: GPS data processed {"connection_id":122500,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:40:11] local.INFO: Acknowledgment sent {"connection_id":122500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:40:42] local.INFO: TCP Data received {"connection_id":122500,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:40:42] local.INFO: Processing buffer {"connection_id":122500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31187fc8012cb2a24007823a980042013b25..."} 
[2026-07-05 12:40:42] local.INFO: Packet analysis {"connection_id":122500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:40:42] local.INFO: Extracted packet for processing {"connection_id":122500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3118"} 
[2026-07-05 12:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508112896001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783235117000,"timestamp_ms":1783235117000,"timestamp_seconds":1783235117,"priority":1,"record_length":96,"hex_timestamp":"0000019f31187fc8"} 
[2026-07-05 12:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:40: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-07-05 12:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508112896001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508112896001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:40:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508112896001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":122500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:40:42] local.INFO: GPS data processed {"connection_id":122500,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:40:42] local.INFO: Acknowledgment sent {"connection_id":122500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:41:05] local.INFO: TCP Data received {"connection_id":122554,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:41:05] local.INFO: Processing buffer {"connection_id":122554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:41:05] local.INFO: IMEI packet received {"connection_id":122554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":122554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:41:10] local.INFO: TCP Data received {"connection_id":122554,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:41:10] local.INFO: Processing buffer {"connection_id":122554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:41:10] local.INFO: IMEI packet received {"connection_id":122554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":122554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:41:11] local.INFO: TCP Data received {"connection_id":122554,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:41:11] local.INFO: Processing buffer {"connection_id":122554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:41:11] local.INFO: Packet analysis {"connection_id":122554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:41:11] local.INFO: Extracted packet for processing {"connection_id":122554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508189952001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783235418000,"timestamp_ms":1783235418000,"timestamp_seconds":1783235418,"priority":1,"record_length":96,"hex_timestamp":"0000019f311d1790"} 
[2026-07-05 12:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:41: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-07-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508189952001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508189952001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508189952001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":122554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:41:11] local.INFO: GPS data processed {"connection_id":122554,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:41:11] local.INFO: Acknowledgment sent {"connection_id":122554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:41:46] local.INFO: TCP Data received {"connection_id":122554,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:41:46] local.INFO: Processing buffer {"connection_id":122554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:41:46] local.INFO: Packet analysis {"connection_id":122554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:41:46] local.INFO: Extracted packet for processing {"connection_id":122554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:41:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508189952001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:41:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783235418000,"timestamp_ms":1783235418000,"timestamp_seconds":1783235418,"priority":1,"record_length":96,"hex_timestamp":"0000019f311d1790"} 
[2026-07-05 12:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508189952001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508189952001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:41:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:41:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:41:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508189952001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":122554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:41:46] local.INFO: GPS data processed {"connection_id":122554,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:41:46] local.INFO: Acknowledgment sent {"connection_id":122554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:42:05] local.INFO: TCP Data received {"connection_id":122555,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:42:05] local.INFO: Processing buffer {"connection_id":122555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:42:05] local.INFO: IMEI packet received {"connection_id":122555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":122555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:42:10] local.INFO: TCP Data received {"connection_id":122555,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:42:10] local.INFO: Processing buffer {"connection_id":122555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:42:10] local.INFO: IMEI packet received {"connection_id":122555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":122555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:42:11] local.INFO: TCP Data received {"connection_id":122555,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:42:11] local.INFO: Processing buffer {"connection_id":122555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:42:11] local.INFO: Packet analysis {"connection_id":122555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:42:11] local.INFO: Extracted packet for processing {"connection_id":122555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508189952001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783235418000,"timestamp_ms":1783235418000,"timestamp_seconds":1783235418,"priority":1,"record_length":96,"hex_timestamp":"0000019f311d1790"} 
[2026-07-05 12:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:42: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-07-05 12:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508189952001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508189952001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:42:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508189952001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":122555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:42:11] local.INFO: GPS data processed {"connection_id":122555,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:42:11] local.INFO: Acknowledgment sent {"connection_id":122555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:42:42] local.INFO: TCP Data received {"connection_id":122555,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:42:42] local.INFO: Processing buffer {"connection_id":122555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:42:42] local.INFO: Packet analysis {"connection_id":122555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:42:42] local.INFO: Extracted packet for processing {"connection_id":122555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508189952001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783235418000,"timestamp_ms":1783235418000,"timestamp_seconds":1783235418,"priority":1,"record_length":96,"hex_timestamp":"0000019f311d1790"} 
[2026-07-05 12:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:42: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-07-05 12:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:42: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-07-05 12:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508189952001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508189952001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:42:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508189952001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":122555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:42:42] local.INFO: GPS data processed {"connection_id":122555,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:42:42] local.INFO: Acknowledgment sent {"connection_id":122555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:43:10] local.INFO: TCP Data received {"connection_id":122503,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:43:10] local.INFO: Processing buffer {"connection_id":122503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:43:10] local.INFO: IMEI packet received {"connection_id":122503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":122503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:43:15] local.INFO: TCP Data received {"connection_id":122503,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:43:15] local.INFO: Processing buffer {"connection_id":122503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:43:15] local.INFO: IMEI packet received {"connection_id":122503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":122503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:43:16] local.INFO: TCP Data received {"connection_id":122503,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:43:16] local.INFO: Processing buffer {"connection_id":122503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:43:16] local.INFO: Packet analysis {"connection_id":122503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:43:16] local.INFO: Extracted packet for processing {"connection_id":122503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:43:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508189952001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:43:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783235418000,"timestamp_ms":1783235418000,"timestamp_seconds":1783235418,"priority":1,"record_length":96,"hex_timestamp":"0000019f311d1790"} 
[2026-07-05 12:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508189952001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508189952001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:43:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:43:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:43:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508189952001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":122503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:43:16] local.INFO: GPS data processed {"connection_id":122503,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:43:16] local.INFO: Acknowledgment sent {"connection_id":122503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:43:20] local.INFO: TCP Data received {"connection_id":122503,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:43:20] local.INFO: Processing buffer {"connection_id":122503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:43:20] local.INFO: Packet analysis {"connection_id":122503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:43:20] local.INFO: Extracted packet for processing {"connection_id":122503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:43:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508189952001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783235418000,"timestamp_ms":1783235418000,"timestamp_seconds":1783235418,"priority":1,"record_length":96,"hex_timestamp":"0000019f311d1790"} 
[2026-07-05 12:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508189952001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508189952001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:43:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508189952001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":122503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:43:20] local.INFO: GPS data processed {"connection_id":122503,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:43:20] local.INFO: Acknowledgment sent {"connection_id":122503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:44:05] local.INFO: TCP Data received {"connection_id":124483,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:44:05] local.INFO: Processing buffer {"connection_id":124483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:44:05] local.INFO: IMEI packet received {"connection_id":124483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":124483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:44:10] local.INFO: TCP Data received {"connection_id":124483,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:44:10] local.INFO: Processing buffer {"connection_id":124483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:44:10] local.INFO: IMEI packet received {"connection_id":124483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":124483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:44:11] local.INFO: TCP Data received {"connection_id":124483,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:44:11] local.INFO: Processing buffer {"connection_id":124483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:44:11] local.INFO: Packet analysis {"connection_id":124483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:44:11] local.INFO: Extracted packet for processing {"connection_id":124483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:44:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508189952001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783235418000,"timestamp_ms":1783235418000,"timestamp_seconds":1783235418,"priority":1,"record_length":96,"hex_timestamp":"0000019f311d1790"} 
[2026-07-05 12:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:44: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-07-05 12:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508189952001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508189952001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:44:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508189952001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":124483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:44:11] local.INFO: GPS data processed {"connection_id":124483,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:44:11] local.INFO: Acknowledgment sent {"connection_id":124483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:44:35] local.INFO: TCP Data received {"connection_id":122556,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:44:35] local.INFO: Processing buffer {"connection_id":122556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:44:35] local.INFO: IMEI packet received {"connection_id":122556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":122556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:44:42] local.INFO: TCP Data received {"connection_id":124483,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:44:42] local.INFO: Processing buffer {"connection_id":124483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:44:42] local.INFO: Packet analysis {"connection_id":124483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:44:42] local.INFO: Extracted packet for processing {"connection_id":124483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:44:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508189952001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783235418000,"timestamp_ms":1783235418000,"timestamp_seconds":1783235418,"priority":1,"record_length":96,"hex_timestamp":"0000019f311d1790"} 
[2026-07-05 12:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:44: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-07-05 12:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:44: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-07-05 12:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508189952001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508189952001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:44:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508189952001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":124483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:44:42] local.INFO: GPS data processed {"connection_id":124483,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:44:42] local.INFO: Acknowledgment sent {"connection_id":124483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:45:04] local.INFO: TCP Data received {"connection_id":123282,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:45:04] local.INFO: Processing buffer {"connection_id":123282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:45:04] local.INFO: IMEI packet received {"connection_id":123282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":123282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:45:05] local.INFO: TCP Data received {"connection_id":122504,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:45:05] local.INFO: Processing buffer {"connection_id":122504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:45:05] local.INFO: IMEI packet received {"connection_id":122504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":122504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:45:10] local.INFO: TCP Data received {"connection_id":122504,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:45:10] local.INFO: Processing buffer {"connection_id":122504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:45:10] local.INFO: IMEI packet received {"connection_id":122504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":122504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:45:11] local.INFO: TCP Data received {"connection_id":122504,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:45:11] local.INFO: Processing buffer {"connection_id":122504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:45:11] local.INFO: Packet analysis {"connection_id":122504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:45:11] local.INFO: Extracted packet for processing {"connection_id":122504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508189952001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783235418000,"timestamp_ms":1783235418000,"timestamp_seconds":1783235418,"priority":1,"record_length":96,"hex_timestamp":"0000019f311d1790"} 
[2026-07-05 12:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:45: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-07-05 12:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508189952001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508189952001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:45:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508189952001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":122504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:45:11] local.INFO: GPS data processed {"connection_id":122504,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:45:11] local.INFO: Acknowledgment sent {"connection_id":122504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:45:42] local.INFO: TCP Data received {"connection_id":122504,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:45:42] local.INFO: Processing buffer {"connection_id":122504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f311d1790012cb2a24007823a980042013b27..."} 
[2026-07-05 12:45:42] local.INFO: Packet analysis {"connection_id":122504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:45:42] local.INFO: Extracted packet for processing {"connection_id":122504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f311d"} 
[2026-07-05 12:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508189952001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783235418000,"timestamp_ms":1783235418000,"timestamp_seconds":1783235418,"priority":1,"record_length":96,"hex_timestamp":"0000019f311d1790"} 
[2026-07-05 12:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:45: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-07-05 12:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:45: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-07-05 12:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508189952001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508189952001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:45:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508189952001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":122504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:45:42] local.INFO: GPS data processed {"connection_id":122504,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:45:42] local.INFO: Acknowledgment sent {"connection_id":122504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:46:05] local.INFO: TCP Data received {"connection_id":122557,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:46:05] local.INFO: Processing buffer {"connection_id":122557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:46:05] local.INFO: IMEI packet received {"connection_id":122557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":122557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:46:10] local.INFO: TCP Data received {"connection_id":122557,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:46:10] local.INFO: Processing buffer {"connection_id":122557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:46:10] local.INFO: IMEI packet received {"connection_id":122557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":122557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:47:10] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:47:10] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:47:10] local.INFO: IMEI packet received {"connection_id":124485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":124485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:47:15] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:47:15] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:47:15] local.INFO: IMEI packet received {"connection_id":124485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":124485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:47:16] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:47:16] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:47:16] local.INFO: Packet analysis {"connection_id":124485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:47:16] local.INFO: Extracted packet for processing {"connection_id":124485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:47:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508267008001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:47:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783235719000,"timestamp_ms":1783235719000,"timestamp_seconds":1783235719,"priority":1,"record_length":96,"hex_timestamp":"0000019f3121af58"} 
[2026-07-05 12:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508267008001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508267008001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:47:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:47:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:47:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508267008001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":124485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:47:16] local.INFO: GPS data processed {"connection_id":124485,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:47:16] local.INFO: Acknowledgment sent {"connection_id":124485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:47:20] local.INFO: TCP Data received {"connection_id":124485,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:47:20] local.INFO: Processing buffer {"connection_id":124485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:47:20] local.INFO: Packet analysis {"connection_id":124485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:47:20] local.INFO: Extracted packet for processing {"connection_id":124485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:47:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 12:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508267008001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783235719000,"timestamp_ms":1783235719000,"timestamp_seconds":1783235719,"priority":1,"record_length":96,"hex_timestamp":"0000019f3121af58"} 
[2026-07-05 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-07-05 12:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 12:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508267008001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508267008001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:47:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508267008001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":124485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:47:20] local.INFO: GPS data processed {"connection_id":124485,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:47:20] local.INFO: Acknowledgment sent {"connection_id":124485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:48:05] local.INFO: TCP Data received {"connection_id":122559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:48:05] local.INFO: Processing buffer {"connection_id":122559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:48:05] local.INFO: IMEI packet received {"connection_id":122559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":122559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:48:10] local.INFO: TCP Data received {"connection_id":122559,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:48:10] local.INFO: Processing buffer {"connection_id":122559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:48:10] local.INFO: IMEI packet received {"connection_id":122559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":122559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:48:32] local.INFO: TCP Data received {"connection_id":122559,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:48:32] local.INFO: Processing buffer {"connection_id":122559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:48:32] local.INFO: Packet analysis {"connection_id":122559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:48:32] local.INFO: Extracted packet for processing {"connection_id":122559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:48:32] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508267008001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:48:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783235719000,"timestamp_ms":1783235719000,"timestamp_seconds":1783235719,"priority":1,"record_length":96,"hex_timestamp":"0000019f3121af58"} 
[2026-07-05 12:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:48: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-07-05 12:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:48: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-07-05 12: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-07-05 12:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":122559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":122559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":122559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508267008001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508267008001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:48:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:48:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508267008001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":122559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:48:32] local.INFO: GPS data processed {"connection_id":122559,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:48:32] local.INFO: Acknowledgment sent {"connection_id":122559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:49:05] local.INFO: TCP Data received {"connection_id":124486,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:49:05] local.INFO: Processing buffer {"connection_id":124486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:49:05] local.INFO: IMEI packet received {"connection_id":124486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":124486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:49:10] local.INFO: TCP Data received {"connection_id":124486,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:49:10] local.INFO: Processing buffer {"connection_id":124486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:49:10] local.INFO: IMEI packet received {"connection_id":124486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":124486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:49:11] local.INFO: TCP Data received {"connection_id":124486,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:49:11] local.INFO: Processing buffer {"connection_id":124486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:49:11] local.INFO: Packet analysis {"connection_id":124486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:49:11] local.INFO: Extracted packet for processing {"connection_id":124486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508267008001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783235719000,"timestamp_ms":1783235719000,"timestamp_seconds":1783235719,"priority":1,"record_length":96,"hex_timestamp":"0000019f3121af58"} 
[2026-07-05 12:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508267008001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508267008001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:49:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508267008001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":124486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:49:11] local.INFO: GPS data processed {"connection_id":124486,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:49:11] local.INFO: Acknowledgment sent {"connection_id":124486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:49:42] local.INFO: TCP Data received {"connection_id":124486,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:49:42] local.INFO: Processing buffer {"connection_id":124486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:49:42] local.INFO: Packet analysis {"connection_id":124486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:49:42] local.INFO: Extracted packet for processing {"connection_id":124486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508267008001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783235719000,"timestamp_ms":1783235719000,"timestamp_seconds":1783235719,"priority":1,"record_length":96,"hex_timestamp":"0000019f3121af58"} 
[2026-07-05 12:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:49: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-07-05 12: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-07-05 12: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-07-05 12: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-07-05 12:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508267008001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508267008001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:49:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508267008001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":124486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:49:42] local.INFO: GPS data processed {"connection_id":124486,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:49:42] local.INFO: Acknowledgment sent {"connection_id":124486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:50:05] local.INFO: TCP Data received {"connection_id":123285,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:50:05] local.INFO: Processing buffer {"connection_id":123285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:50:05] local.INFO: IMEI packet received {"connection_id":123285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":123285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:50:10] local.INFO: TCP Data received {"connection_id":123285,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:50:10] local.INFO: Processing buffer {"connection_id":123285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:50:10] local.INFO: IMEI packet received {"connection_id":123285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":123285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:50:11] local.INFO: TCP Data received {"connection_id":123285,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:50:11] local.INFO: Processing buffer {"connection_id":123285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:50:11] local.INFO: Packet analysis {"connection_id":123285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:50:11] local.INFO: Extracted packet for processing {"connection_id":123285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:50:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508267008001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783235719000,"timestamp_ms":1783235719000,"timestamp_seconds":1783235719,"priority":1,"record_length":96,"hex_timestamp":"0000019f3121af58"} 
[2026-07-05 12:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508267008001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508267008001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:50:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508267008001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":123285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:50:11] local.INFO: GPS data processed {"connection_id":123285,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:50:11] local.INFO: Acknowledgment sent {"connection_id":123285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:50:35] local.INFO: TCP Data received {"connection_id":123284,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:50:35] local.INFO: Processing buffer {"connection_id":123284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:50:35] local.INFO: IMEI packet received {"connection_id":123284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":123284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:50:42] local.INFO: TCP Data received {"connection_id":123285,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:50:42] local.INFO: Processing buffer {"connection_id":123285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3121af58012cb2a24007823a980042013b27..."} 
[2026-07-05 12:50:42] local.INFO: Packet analysis {"connection_id":123285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:50:42] local.INFO: Extracted packet for processing {"connection_id":123285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3121"} 
[2026-07-05 12:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508267008001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783235719000,"timestamp_ms":1783235719000,"timestamp_seconds":1783235719,"priority":1,"record_length":96,"hex_timestamp":"0000019f3121af58"} 
[2026-07-05 12:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:50: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-07-05 12:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 12:50: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-07-05 12:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508267008001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508267008001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:50:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508267008001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":123285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:50:42] local.INFO: GPS data processed {"connection_id":123285,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:50:42] local.INFO: Acknowledgment sent {"connection_id":123285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:51:04] local.INFO: TCP Data received {"connection_id":124488,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:51:04] local.INFO: Processing buffer {"connection_id":124488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:51:04] local.INFO: IMEI packet received {"connection_id":124488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":124488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:51:05] local.INFO: TCP Data received {"connection_id":122560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:51:05] local.INFO: Processing buffer {"connection_id":122560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:51:05] local.INFO: IMEI packet received {"connection_id":122560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":122560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:51:10] local.INFO: TCP Data received {"connection_id":122560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:51:10] local.INFO: Processing buffer {"connection_id":122560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:51:10] local.INFO: IMEI packet received {"connection_id":122560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":122560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:51:11] local.INFO: TCP Data received {"connection_id":122560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:51:11] local.INFO: Processing buffer {"connection_id":122560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:51:11] local.INFO: Packet analysis {"connection_id":122560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:51:11] local.INFO: Extracted packet for processing {"connection_id":122560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:51:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508344064001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236020000,"timestamp_ms":1783236020000,"timestamp_seconds":1783236020,"priority":1,"record_length":96,"hex_timestamp":"0000019f31264720"} 
[2026-07-05 12:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:51: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-07-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508344064001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508344064001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:51:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508344064001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":122560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:51:11] local.INFO: GPS data processed {"connection_id":122560,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:51:11] local.INFO: Acknowledgment sent {"connection_id":122560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:51:42] local.INFO: TCP Data received {"connection_id":122560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:51:42] local.INFO: Processing buffer {"connection_id":122560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:51:42] local.INFO: Packet analysis {"connection_id":122560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:51:42] local.INFO: Extracted packet for processing {"connection_id":122560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:51:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508344064001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783236020000,"timestamp_ms":1783236020000,"timestamp_seconds":1783236020,"priority":1,"record_length":96,"hex_timestamp":"0000019f31264720"} 
[2026-07-05 12:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:51: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-07-05 12:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:51: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-07-05 12:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508344064001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508344064001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508344064001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":122560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:51:42] local.INFO: GPS data processed {"connection_id":122560,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:51:42] local.INFO: Acknowledgment sent {"connection_id":122560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:52:05] local.INFO: TCP Data received {"connection_id":124489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:52:05] local.INFO: Processing buffer {"connection_id":124489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:52:05] local.INFO: IMEI packet received {"connection_id":124489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":124489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:52:10] local.INFO: TCP Data received {"connection_id":124489,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:52:10] local.INFO: Processing buffer {"connection_id":124489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:52:10] local.INFO: IMEI packet received {"connection_id":124489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":124489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:52:11] local.INFO: TCP Data received {"connection_id":124489,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:52:11] local.INFO: Processing buffer {"connection_id":124489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:52:11] local.INFO: Packet analysis {"connection_id":124489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:52:11] local.INFO: Extracted packet for processing {"connection_id":124489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:52:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508344064001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236020000,"timestamp_ms":1783236020000,"timestamp_seconds":1783236020,"priority":1,"record_length":96,"hex_timestamp":"0000019f31264720"} 
[2026-07-05 12:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:52: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-07-05 12:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508344064001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508344064001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:52:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508344064001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":124489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:52:11] local.INFO: GPS data processed {"connection_id":124489,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:52:11] local.INFO: Acknowledgment sent {"connection_id":124489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:52:42] local.INFO: TCP Data received {"connection_id":124489,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:52:42] local.INFO: Processing buffer {"connection_id":124489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:52:42] local.INFO: Packet analysis {"connection_id":124489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:52:42] local.INFO: Extracted packet for processing {"connection_id":124489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:52:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508344064001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783236020000,"timestamp_ms":1783236020000,"timestamp_seconds":1783236020,"priority":1,"record_length":96,"hex_timestamp":"0000019f31264720"} 
[2026-07-05 12:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:52: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-07-05 12: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:52: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-07-05 12: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-07-05 12:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508344064001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508344064001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:52:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508344064001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":124489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:52:42] local.INFO: GPS data processed {"connection_id":124489,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:52:42] local.INFO: Acknowledgment sent {"connection_id":124489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:53:05] local.INFO: TCP Data received {"connection_id":123287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:53:05] local.INFO: Processing buffer {"connection_id":123287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:53:05] local.INFO: IMEI packet received {"connection_id":123287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":123287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:53:10] local.INFO: TCP Data received {"connection_id":123287,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:53:10] local.INFO: Processing buffer {"connection_id":123287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:53:10] local.INFO: IMEI packet received {"connection_id":123287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":123287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:53:11] local.INFO: TCP Data received {"connection_id":123287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:53:11] local.INFO: Processing buffer {"connection_id":123287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:53:11] local.INFO: Packet analysis {"connection_id":123287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:53:11] local.INFO: Extracted packet for processing {"connection_id":123287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:53:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508344064001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236020000,"timestamp_ms":1783236020000,"timestamp_seconds":1783236020,"priority":1,"record_length":96,"hex_timestamp":"0000019f31264720"} 
[2026-07-05 12:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:53: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-07-05 12:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508344064001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508344064001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:53:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508344064001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":123287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:53:11] local.INFO: GPS data processed {"connection_id":123287,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:53:11] local.INFO: Acknowledgment sent {"connection_id":123287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:53:42] local.INFO: TCP Data received {"connection_id":123287,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:53:42] local.INFO: Processing buffer {"connection_id":123287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:53:42] local.INFO: Packet analysis {"connection_id":123287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:53:42] local.INFO: Extracted packet for processing {"connection_id":123287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:53:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508344064001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783236020000,"timestamp_ms":1783236020000,"timestamp_seconds":1783236020,"priority":1,"record_length":96,"hex_timestamp":"0000019f31264720"} 
[2026-07-05 12:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:53: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-07-05 12:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:53: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-07-05 12: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-07-05 12:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508344064001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508344064001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:53:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508344064001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":123287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:53:42] local.INFO: GPS data processed {"connection_id":123287,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:53:42] local.INFO: Acknowledgment sent {"connection_id":123287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:54:05] local.INFO: TCP Data received {"connection_id":122505,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:54:05] local.INFO: Processing buffer {"connection_id":122505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:54:05] local.INFO: IMEI packet received {"connection_id":122505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":122505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:54:10] local.INFO: TCP Data received {"connection_id":122505,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:54:10] local.INFO: Processing buffer {"connection_id":122505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:54:10] local.INFO: IMEI packet received {"connection_id":122505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":122505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:54:11] local.INFO: TCP Data received {"connection_id":122505,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:54:11] local.INFO: Processing buffer {"connection_id":122505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:54:11] local.INFO: Packet analysis {"connection_id":122505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:54:11] local.INFO: Extracted packet for processing {"connection_id":122505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:54:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508344064001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236020000,"timestamp_ms":1783236020000,"timestamp_seconds":1783236020,"priority":1,"record_length":96,"hex_timestamp":"0000019f31264720"} 
[2026-07-05 12:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:54: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-07-05 12:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508344064001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508344064001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:54:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508344064001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":122505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:54:11] local.INFO: GPS data processed {"connection_id":122505,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:54:11] local.INFO: Acknowledgment sent {"connection_id":122505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:54:42] local.INFO: TCP Data received {"connection_id":122505,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:54:42] local.INFO: Processing buffer {"connection_id":122505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:54:42] local.INFO: Packet analysis {"connection_id":122505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:54:42] local.INFO: Extracted packet for processing {"connection_id":122505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:54:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508344064001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783236020000,"timestamp_ms":1783236020000,"timestamp_seconds":1783236020,"priority":1,"record_length":96,"hex_timestamp":"0000019f31264720"} 
[2026-07-05 12:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:54: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-07-05 12:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:54: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-07-05 12:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508344064001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508344064001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:54:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508344064001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":122505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:54:42] local.INFO: GPS data processed {"connection_id":122505,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:54:42] local.INFO: Acknowledgment sent {"connection_id":122505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:55:05] local.INFO: TCP Data received {"connection_id":123289,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:55:05] local.INFO: Processing buffer {"connection_id":123289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:55:05] local.INFO: IMEI packet received {"connection_id":123289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":123289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:55:10] local.INFO: TCP Data received {"connection_id":123289,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:55:10] local.INFO: Processing buffer {"connection_id":123289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:55:10] local.INFO: IMEI packet received {"connection_id":123289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":123289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:55:11] local.INFO: TCP Data received {"connection_id":123289,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:55:11] local.INFO: Processing buffer {"connection_id":123289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:55:11] local.INFO: Packet analysis {"connection_id":123289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:55:11] local.INFO: Extracted packet for processing {"connection_id":123289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508344064001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236020000,"timestamp_ms":1783236020000,"timestamp_seconds":1783236020,"priority":1,"record_length":96,"hex_timestamp":"0000019f31264720"} 
[2026-07-05 12:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:55: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-07-05 12:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508344064001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508344064001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:55:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508344064001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":123289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:55:11] local.INFO: GPS data processed {"connection_id":123289,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:55:11] local.INFO: Acknowledgment sent {"connection_id":123289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:55:52] local.INFO: TCP Data received {"connection_id":123289,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:55:52] local.INFO: Processing buffer {"connection_id":123289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31264720012cb2a24007823a980042013b25..."} 
[2026-07-05 12:55:52] local.INFO: Packet analysis {"connection_id":123289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:55:52] local.INFO: Extracted packet for processing {"connection_id":123289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3126"} 
[2026-07-05 12:55:52] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508344064001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:55:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783236020000,"timestamp_ms":1783236020000,"timestamp_seconds":1783236020,"priority":1,"record_length":96,"hex_timestamp":"0000019f31264720"} 
[2026-07-05 12:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":123289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":123289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":123289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508344064001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508344064001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:55:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:55:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508344064001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":123289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:55:52] local.INFO: GPS data processed {"connection_id":123289,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:55:52] local.INFO: Acknowledgment sent {"connection_id":123289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:56:10] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:56:10] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:56:10] local.INFO: IMEI packet received {"connection_id":124492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":124492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:56:15] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:56:15] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:56:15] local.INFO: IMEI packet received {"connection_id":124492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":124492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:56:16] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:56:16] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:56:16] local.INFO: Packet analysis {"connection_id":124492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:56:16] local.INFO: Extracted packet for processing {"connection_id":124492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:56:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508421120001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783236321000,"timestamp_ms":1783236321000,"timestamp_seconds":1783236321,"priority":1,"record_length":96,"hex_timestamp":"0000019f312adee8"} 
[2026-07-05 12:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508421120001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508421120001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:56:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:56:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508421120001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":124492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:56:16] local.INFO: GPS data processed {"connection_id":124492,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:56:16] local.INFO: Acknowledgment sent {"connection_id":124492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:56:20] local.INFO: TCP Data received {"connection_id":124491,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:56:20] local.INFO: Processing buffer {"connection_id":124491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:56:20] local.INFO: IMEI packet received {"connection_id":124491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":124491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:56:20] local.INFO: TCP Data received {"connection_id":124492,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:56:20] local.INFO: Processing buffer {"connection_id":124492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:56:20] local.INFO: Packet analysis {"connection_id":124492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:56:20] local.INFO: Extracted packet for processing {"connection_id":124492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:56:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508421120001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783236321000,"timestamp_ms":1783236321000,"timestamp_seconds":1783236321,"priority":1,"record_length":96,"hex_timestamp":"0000019f312adee8"} 
[2026-07-05 12:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508421120001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508421120001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:56:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:56:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508421120001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":124492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:56:20] local.INFO: GPS data processed {"connection_id":124492,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:56:20] local.INFO: Acknowledgment sent {"connection_id":124492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:57:05] local.INFO: TCP Data received {"connection_id":122507,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:57:05] local.INFO: Processing buffer {"connection_id":122507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:57:05] local.INFO: IMEI packet received {"connection_id":122507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":122507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:57:05] local.INFO: TCP Data received {"connection_id":122506,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:57:06] local.INFO: Processing buffer {"connection_id":122506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 12:57:06] local.INFO: IMEI packet received {"connection_id":122506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 12:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":122506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:57:10] local.INFO: TCP Data received {"connection_id":122507,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:57:10] local.INFO: Processing buffer {"connection_id":122507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:57:10] local.INFO: IMEI packet received {"connection_id":122507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":122507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:57:11] local.INFO: TCP Data received {"connection_id":122507,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:57:11] local.INFO: Processing buffer {"connection_id":122507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:57:11] local.INFO: Packet analysis {"connection_id":122507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:57:11] local.INFO: Extracted packet for processing {"connection_id":122507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508421120001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236321000,"timestamp_ms":1783236321000,"timestamp_seconds":1783236321,"priority":1,"record_length":96,"hex_timestamp":"0000019f312adee8"} 
[2026-07-05 12:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:57: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-07-05 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12: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-07-05 12:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508421120001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508421120001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:57:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508421120001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":122507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:57:11] local.INFO: GPS data processed {"connection_id":122507,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:57:11] local.INFO: Acknowledgment sent {"connection_id":122507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:57:42] local.INFO: TCP Data received {"connection_id":122507,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:57:42] local.INFO: Processing buffer {"connection_id":122507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:57:42] local.INFO: Packet analysis {"connection_id":122507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:57:42] local.INFO: Extracted packet for processing {"connection_id":122507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508421120001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783236321000,"timestamp_ms":1783236321000,"timestamp_seconds":1783236321,"priority":1,"record_length":96,"hex_timestamp":"0000019f312adee8"} 
[2026-07-05 12:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:57: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-07-05 12: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:57: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-07-05 12: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-07-05 12:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508421120001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508421120001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:57:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508421120001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":122507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:57:42] local.INFO: GPS data processed {"connection_id":122507,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:57:42] local.INFO: Acknowledgment sent {"connection_id":122507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:58:05] local.INFO: TCP Data received {"connection_id":122563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:58:05] local.INFO: Processing buffer {"connection_id":122563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:58:05] local.INFO: IMEI packet received {"connection_id":122563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":122563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:58:10] local.INFO: TCP Data received {"connection_id":122563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:58:10] local.INFO: Processing buffer {"connection_id":122563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:58:10] local.INFO: IMEI packet received {"connection_id":122563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":122563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:58:11] local.INFO: TCP Data received {"connection_id":122563,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:58:11] local.INFO: Processing buffer {"connection_id":122563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:58:11] local.INFO: Packet analysis {"connection_id":122563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:58:11] local.INFO: Extracted packet for processing {"connection_id":122563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508421120001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236321000,"timestamp_ms":1783236321000,"timestamp_seconds":1783236321,"priority":1,"record_length":96,"hex_timestamp":"0000019f312adee8"} 
[2026-07-05 12:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:58: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-07-05 12:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508421120001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508421120001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508421120001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":122563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:58:11] local.INFO: GPS data processed {"connection_id":122563,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:58:11] local.INFO: Acknowledgment sent {"connection_id":122563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:58:43] local.INFO: TCP Data received {"connection_id":122563,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:58:43] local.INFO: Processing buffer {"connection_id":122563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:58:43] local.INFO: Packet analysis {"connection_id":122563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:58:43] local.INFO: Extracted packet for processing {"connection_id":122563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:58:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508421120001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:58:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783236321000,"timestamp_ms":1783236321000,"timestamp_seconds":1783236321,"priority":1,"record_length":96,"hex_timestamp":"0000019f312adee8"} 
[2026-07-05 12:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:58: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-07-05 12:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:58:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508421120001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508421120001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:58:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:58:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508421120001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":122563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:58:43] local.INFO: GPS data processed {"connection_id":122563,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:58:43] local.INFO: Acknowledgment sent {"connection_id":122563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:59:05] local.INFO: TCP Data received {"connection_id":122510,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:59:05] local.INFO: Processing buffer {"connection_id":122510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:59:05] local.INFO: IMEI packet received {"connection_id":122510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 12:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":122510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 12:59:10] local.INFO: TCP Data received {"connection_id":122510,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:59:10] local.INFO: Processing buffer {"connection_id":122510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 12:59:10] local.INFO: IMEI packet received {"connection_id":122510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 12:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":122510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 12:59:11] local.INFO: TCP Data received {"connection_id":122510,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:59:11] local.INFO: Processing buffer {"connection_id":122510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:59:11] local.INFO: Packet analysis {"connection_id":122510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:59:11] local.INFO: Extracted packet for processing {"connection_id":122510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:59:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 12:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508421120001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236321000,"timestamp_ms":1783236321000,"timestamp_seconds":1783236321,"priority":1,"record_length":96,"hex_timestamp":"0000019f312adee8"} 
[2026-07-05 12:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12:59: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-07-05 12:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 12:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 12:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508421120001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508421120001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508421120001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":122510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:59:11] local.INFO: GPS data processed {"connection_id":122510,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:59:11] local.INFO: Acknowledgment sent {"connection_id":122510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 12:59:42] local.INFO: TCP Data received {"connection_id":122510,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:59:42] local.INFO: Processing buffer {"connection_id":122510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 12:59:42] local.INFO: Packet analysis {"connection_id":122510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:59:42] local.INFO: Extracted packet for processing {"connection_id":122510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 12:59:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 12: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-07-05 12:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508421120001,"note":"Value kept but may cause issues"} 
[2026-07-05 12:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 12:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 12:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 12:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783236321000,"timestamp_ms":1783236321000,"timestamp_seconds":1783236321,"priority":1,"record_length":96,"hex_timestamp":"0000019f312adee8"} 
[2026-07-05 12:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 12: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-07-05 12: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 12:59: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-07-05 12: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-07-05 12:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 12:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 12:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 12:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 12:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 12:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 12:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 12:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508421120001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 12:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 12:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 12:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508421120001,"description":"Unknown IO ID 0"} 
[2026-07-05 12:59:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 12:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 12:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 12:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 12:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508421120001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 12:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":122510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 12:59:42] local.INFO: GPS data processed {"connection_id":122510,"processed":1,"errors":0,"total":1} 
[2026-07-05 12:59:42] local.INFO: Acknowledgment sent {"connection_id":122510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:00:10] local.INFO: TCP Data received {"connection_id":123291,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:00:10] local.INFO: Processing buffer {"connection_id":123291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:00:10] local.INFO: IMEI packet received {"connection_id":123291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":123291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:00:15] local.INFO: TCP Data received {"connection_id":123291,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:00:15] local.INFO: Processing buffer {"connection_id":123291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:00:15] local.INFO: IMEI packet received {"connection_id":123291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":123291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:00:16] local.INFO: TCP Data received {"connection_id":123291,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:00:16] local.INFO: Processing buffer {"connection_id":123291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:00:16] local.INFO: Packet analysis {"connection_id":123291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 13:00:16] local.INFO: Extracted packet for processing {"connection_id":123291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 13:00:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508421120001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:00:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783236321000,"timestamp_ms":1783236321000,"timestamp_seconds":1783236321,"priority":1,"record_length":96,"hex_timestamp":"0000019f312adee8"} 
[2026-07-05 13:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508421120001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508421120001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:00:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:00:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508421120001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":123291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:00:16] local.INFO: GPS data processed {"connection_id":123291,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:00:16] local.INFO: Acknowledgment sent {"connection_id":123291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:00:20] local.INFO: TCP Data received {"connection_id":123291,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:00:20] local.INFO: Processing buffer {"connection_id":123291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312adee8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:00:20] local.INFO: Packet analysis {"connection_id":123291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 13:00:20] local.INFO: Extracted packet for processing {"connection_id":123291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312a"} 
[2026-07-05 13:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508421120001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783236321000,"timestamp_ms":1783236321000,"timestamp_seconds":1783236321,"priority":1,"record_length":96,"hex_timestamp":"0000019f312adee8"} 
[2026-07-05 13:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508421120001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508421120001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:00:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508421120001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":123291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:00:20] local.INFO: GPS data processed {"connection_id":123291,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:00:20] local.INFO: Acknowledgment sent {"connection_id":123291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:01:05] local.INFO: TCP Data received {"connection_id":124494,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:01:05] local.INFO: Processing buffer {"connection_id":124494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:01:05] local.INFO: IMEI packet received {"connection_id":124494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":124494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:01:10] local.INFO: TCP Data received {"connection_id":124494,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:01:10] local.INFO: Processing buffer {"connection_id":124494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:01:10] local.INFO: IMEI packet received {"connection_id":124494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":124494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:01:11] local.INFO: TCP Data received {"connection_id":124494,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:01:11] local.INFO: Processing buffer {"connection_id":124494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:01:11] local.INFO: Packet analysis {"connection_id":124494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:01:11] local.INFO: Extracted packet for processing {"connection_id":124494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508498176001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236622000,"timestamp_ms":1783236622000,"timestamp_seconds":1783236622,"priority":1,"record_length":96,"hex_timestamp":"0000019f312f76b0"} 
[2026-07-05 13:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508498176001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508498176001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:01:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508498176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":124494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:01:11] local.INFO: GPS data processed {"connection_id":124494,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:01:11] local.INFO: Acknowledgment sent {"connection_id":124494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:01:42] local.INFO: TCP Data received {"connection_id":124494,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:01:42] local.INFO: Processing buffer {"connection_id":124494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:01:42] local.INFO: Packet analysis {"connection_id":124494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:01:42] local.INFO: Extracted packet for processing {"connection_id":124494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508498176001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783236622000,"timestamp_ms":1783236622000,"timestamp_seconds":1783236622,"priority":1,"record_length":96,"hex_timestamp":"0000019f312f76b0"} 
[2026-07-05 13:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:01: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-07-05 13: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-07-05 13: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-07-05 13: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-07-05 13:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508498176001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508498176001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:01:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508498176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":124494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:01:42] local.INFO: GPS data processed {"connection_id":124494,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:01:42] local.INFO: Acknowledgment sent {"connection_id":124494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:02:05] local.INFO: TCP Data received {"connection_id":123292,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:02:05] local.INFO: Processing buffer {"connection_id":123292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:02:05] local.INFO: IMEI packet received {"connection_id":123292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":123292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:02:10] local.INFO: TCP Data received {"connection_id":123292,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:02:10] local.INFO: Processing buffer {"connection_id":123292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:02:10] local.INFO: IMEI packet received {"connection_id":123292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":123292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:02:11] local.INFO: TCP Data received {"connection_id":123292,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:02:11] local.INFO: Processing buffer {"connection_id":123292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:02:11] local.INFO: Packet analysis {"connection_id":123292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:02:11] local.INFO: Extracted packet for processing {"connection_id":123292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508498176001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236622000,"timestamp_ms":1783236622000,"timestamp_seconds":1783236622,"priority":1,"record_length":96,"hex_timestamp":"0000019f312f76b0"} 
[2026-07-05 13:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508498176001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508498176001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508498176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":123292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:02:11] local.INFO: GPS data processed {"connection_id":123292,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:02:11] local.INFO: Acknowledgment sent {"connection_id":123292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:02:25] local.INFO: TCP Data received {"connection_id":122564,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:02:25] local.INFO: Processing buffer {"connection_id":122564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:02:25] local.INFO: IMEI packet received {"connection_id":122564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":122564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:02:42] local.INFO: TCP Data received {"connection_id":123292,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:02:42] local.INFO: Processing buffer {"connection_id":123292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:02:42] local.INFO: Packet analysis {"connection_id":123292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:02:42] local.INFO: Extracted packet for processing {"connection_id":123292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:02:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508498176001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783236622000,"timestamp_ms":1783236622000,"timestamp_seconds":1783236622,"priority":1,"record_length":96,"hex_timestamp":"0000019f312f76b0"} 
[2026-07-05 13:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:02: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-07-05 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:02: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-07-05 13:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508498176001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508498176001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508498176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":123292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:02:42] local.INFO: GPS data processed {"connection_id":123292,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:02:42] local.INFO: Acknowledgment sent {"connection_id":123292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:03:05] local.INFO: TCP Data received {"connection_id":123293,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:03:05] local.INFO: Processing buffer {"connection_id":123293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:03:05] local.INFO: IMEI packet received {"connection_id":123293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":123293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:03:10] local.INFO: TCP Data received {"connection_id":122565,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:03:10] local.INFO: Processing buffer {"connection_id":122565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:03:10] local.INFO: IMEI packet received {"connection_id":122565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":122565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:03:15] local.INFO: TCP Data received {"connection_id":122565,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:03:15] local.INFO: Processing buffer {"connection_id":122565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:03:15] local.INFO: IMEI packet received {"connection_id":122565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":122565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:03:16] local.INFO: TCP Data received {"connection_id":122565,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:03:16] local.INFO: Processing buffer {"connection_id":122565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:03:16] local.INFO: Packet analysis {"connection_id":122565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:03:16] local.INFO: Extracted packet for processing {"connection_id":122565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508498176001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:03:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783236622000,"timestamp_ms":1783236622000,"timestamp_seconds":1783236622,"priority":1,"record_length":96,"hex_timestamp":"0000019f312f76b0"} 
[2026-07-05 13:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508498176001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508498176001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:03:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:03:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508498176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":122565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:03:16] local.INFO: GPS data processed {"connection_id":122565,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:03:16] local.INFO: Acknowledgment sent {"connection_id":122565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:03:20] local.INFO: TCP Data received {"connection_id":122565,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:03:20] local.INFO: Processing buffer {"connection_id":122565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:03:20] local.INFO: Packet analysis {"connection_id":122565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:03:20] local.INFO: Extracted packet for processing {"connection_id":122565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508498176001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783236622000,"timestamp_ms":1783236622000,"timestamp_seconds":1783236622,"priority":1,"record_length":96,"hex_timestamp":"0000019f312f76b0"} 
[2026-07-05 13:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508498176001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508498176001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508498176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":122565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:03:20] local.INFO: GPS data processed {"connection_id":122565,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:03:20] local.INFO: Acknowledgment sent {"connection_id":122565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:04:05] local.INFO: TCP Data received {"connection_id":124495,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:04:05] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:04:05] local.INFO: IMEI packet received {"connection_id":124495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":124495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:04:10] local.INFO: TCP Data received {"connection_id":124495,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:04:10] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:04:10] local.INFO: IMEI packet received {"connection_id":124495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":124495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:04:11] local.INFO: TCP Data received {"connection_id":124495,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:04:11] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:04:11] local.INFO: Packet analysis {"connection_id":124495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:04:11] local.INFO: Extracted packet for processing {"connection_id":124495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:04:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508498176001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236622000,"timestamp_ms":1783236622000,"timestamp_seconds":1783236622,"priority":1,"record_length":96,"hex_timestamp":"0000019f312f76b0"} 
[2026-07-05 13:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508498176001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508498176001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:04:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508498176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":124495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:04:11] local.INFO: GPS data processed {"connection_id":124495,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:04:11] local.INFO: Acknowledgment sent {"connection_id":124495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:04:15] local.INFO: TCP Data received {"connection_id":124495,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:04:15] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:04:15] local.INFO: Packet analysis {"connection_id":124495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:04:15] local.INFO: Extracted packet for processing {"connection_id":124495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:04:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508498176001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:04:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783236622000,"timestamp_ms":1783236622000,"timestamp_seconds":1783236622,"priority":1,"record_length":96,"hex_timestamp":"0000019f312f76b0"} 
[2026-07-05 13:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508498176001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508498176001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:04:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:04:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:04:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508498176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":124495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:04:15] local.INFO: GPS data processed {"connection_id":124495,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:04:15] local.INFO: Acknowledgment sent {"connection_id":124495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:04:47] local.INFO: TCP Data received {"connection_id":124495,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:04:47] local.INFO: Processing buffer {"connection_id":124495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:04:47] local.INFO: Packet analysis {"connection_id":124495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:04:47] local.INFO: Extracted packet for processing {"connection_id":124495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:04:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508498176001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:04:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783236622000,"timestamp_ms":1783236622000,"timestamp_seconds":1783236622,"priority":1,"record_length":96,"hex_timestamp":"0000019f312f76b0"} 
[2026-07-05 13:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508498176001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508498176001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:04:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:04:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:04:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508498176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":124495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:04:47] local.INFO: GPS data processed {"connection_id":124495,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:04:47] local.INFO: Acknowledgment sent {"connection_id":124495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:05:05] local.INFO: TCP Data received {"connection_id":124496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:05:05] local.INFO: Processing buffer {"connection_id":124496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:05:05] local.INFO: IMEI packet received {"connection_id":124496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":124496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:05:10] local.INFO: TCP Data received {"connection_id":124496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:05:10] local.INFO: Processing buffer {"connection_id":124496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:05:10] local.INFO: IMEI packet received {"connection_id":124496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":124496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:05:11] local.INFO: TCP Data received {"connection_id":124496,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:05:11] local.INFO: Processing buffer {"connection_id":124496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:05:11] local.INFO: Packet analysis {"connection_id":124496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:05:11] local.INFO: Extracted packet for processing {"connection_id":124496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508498176001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236622000,"timestamp_ms":1783236622000,"timestamp_seconds":1783236622,"priority":1,"record_length":96,"hex_timestamp":"0000019f312f76b0"} 
[2026-07-05 13:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508498176001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508498176001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:05:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508498176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":124496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:05:11] local.INFO: GPS data processed {"connection_id":124496,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:05:11] local.INFO: Acknowledgment sent {"connection_id":124496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:05:42] local.INFO: TCP Data received {"connection_id":124496,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:05:42] local.INFO: Processing buffer {"connection_id":124496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f312f76b0012cb2a24007823a980042013b27..."} 
[2026-07-05 13:05:42] local.INFO: Packet analysis {"connection_id":124496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:05:42] local.INFO: Extracted packet for processing {"connection_id":124496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f312f"} 
[2026-07-05 13:05:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508498176001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783236622000,"timestamp_ms":1783236622000,"timestamp_seconds":1783236622,"priority":1,"record_length":96,"hex_timestamp":"0000019f312f76b0"} 
[2026-07-05 13:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:05: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-07-05 13:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508498176001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508498176001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:05:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508498176001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":124496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:05:42] local.INFO: GPS data processed {"connection_id":124496,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:05:42] local.INFO: Acknowledgment sent {"connection_id":124496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:06:05] local.INFO: TCP Data received {"connection_id":124498,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:06:05] local.INFO: Processing buffer {"connection_id":124498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:06:05] local.INFO: IMEI packet received {"connection_id":124498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":124498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:06:10] local.INFO: TCP Data received {"connection_id":124498,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:06:10] local.INFO: Processing buffer {"connection_id":124498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:06:10] local.INFO: IMEI packet received {"connection_id":124498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":124498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:06:11] local.INFO: TCP Data received {"connection_id":124498,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:06:11] local.INFO: Processing buffer {"connection_id":124498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:06:11] local.INFO: Packet analysis {"connection_id":124498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:06:11] local.INFO: Extracted packet for processing {"connection_id":124498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:06:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236923000,"timestamp_ms":1783236923000,"timestamp_seconds":1783236923,"priority":1,"record_length":96,"hex_timestamp":"0000019f31340e78"} 
[2026-07-05 13:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508575232001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:06:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508575232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":124498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:06:11] local.INFO: GPS data processed {"connection_id":124498,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:06:11] local.INFO: Acknowledgment sent {"connection_id":124498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:06:43] local.INFO: TCP Data received {"connection_id":124498,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:06:43] local.INFO: Processing buffer {"connection_id":124498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:06:43] local.INFO: Packet analysis {"connection_id":124498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:06:43] local.INFO: Extracted packet for processing {"connection_id":124498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:06:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783236923000,"timestamp_ms":1783236923000,"timestamp_seconds":1783236923,"priority":1,"record_length":96,"hex_timestamp":"0000019f31340e78"} 
[2026-07-05 13:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508575232001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:06:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:06:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508575232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":124498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:06:43] local.INFO: GPS data processed {"connection_id":124498,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:06:43] local.INFO: Acknowledgment sent {"connection_id":124498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:07:10] local.INFO: TCP Data received {"connection_id":122514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:07:10] local.INFO: Processing buffer {"connection_id":122514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:07:10] local.INFO: IMEI packet received {"connection_id":122514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":122514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:07:15] local.INFO: TCP Data received {"connection_id":122514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:07:15] local.INFO: Processing buffer {"connection_id":122514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:07:15] local.INFO: IMEI packet received {"connection_id":122514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":122514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:07:16] local.INFO: TCP Data received {"connection_id":122514,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:07:16] local.INFO: Processing buffer {"connection_id":122514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:07:16] local.INFO: Packet analysis {"connection_id":122514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:07:16] local.INFO: Extracted packet for processing {"connection_id":122514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:07:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:07:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783236923000,"timestamp_ms":1783236923000,"timestamp_seconds":1783236923,"priority":1,"record_length":96,"hex_timestamp":"0000019f31340e78"} 
[2026-07-05 13:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508575232001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:07:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:07:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:07:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508575232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":122514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:07:16] local.INFO: GPS data processed {"connection_id":122514,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:07:16] local.INFO: Acknowledgment sent {"connection_id":122514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:07:20] local.INFO: TCP Data received {"connection_id":122514,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:07:20] local.INFO: Processing buffer {"connection_id":122514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:07:20] local.INFO: Packet analysis {"connection_id":122514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:07:20] local.INFO: Extracted packet for processing {"connection_id":122514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:07:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783236923000,"timestamp_ms":1783236923000,"timestamp_seconds":1783236923,"priority":1,"record_length":96,"hex_timestamp":"0000019f31340e78"} 
[2026-07-05 13:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508575232001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:07:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508575232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":122514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:07:20] local.INFO: GPS data processed {"connection_id":122514,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:07:20] local.INFO: Acknowledgment sent {"connection_id":122514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:08:05] local.INFO: TCP Data received {"connection_id":124499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:08:05] local.INFO: Processing buffer {"connection_id":124499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:08:05] local.INFO: IMEI packet received {"connection_id":124499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":124499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:08:10] local.INFO: TCP Data received {"connection_id":124499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:08:10] local.INFO: Processing buffer {"connection_id":124499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:08:10] local.INFO: IMEI packet received {"connection_id":124499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":124499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:08:11] local.INFO: TCP Data received {"connection_id":124499,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:08:11] local.INFO: Processing buffer {"connection_id":124499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:08:11] local.INFO: Packet analysis {"connection_id":124499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:08:11] local.INFO: Extracted packet for processing {"connection_id":124499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:08:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:08: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-07-05 13:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236923000,"timestamp_ms":1783236923000,"timestamp_seconds":1783236923,"priority":1,"record_length":96,"hex_timestamp":"0000019f31340e78"} 
[2026-07-05 13:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:08: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-07-05 13:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508575232001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:08:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508575232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":124499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:08:11] local.INFO: GPS data processed {"connection_id":124499,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:08:11] local.INFO: Acknowledgment sent {"connection_id":124499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:08:15] local.INFO: TCP Data received {"connection_id":124499,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:08:15] local.INFO: Processing buffer {"connection_id":124499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:08:15] local.INFO: Packet analysis {"connection_id":124499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:08:15] local.INFO: Extracted packet for processing {"connection_id":124499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:08:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:08:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783236923000,"timestamp_ms":1783236923000,"timestamp_seconds":1783236923,"priority":1,"record_length":96,"hex_timestamp":"0000019f31340e78"} 
[2026-07-05 13:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508575232001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:08:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:08:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:08:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508575232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":124499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:08:15] local.INFO: GPS data processed {"connection_id":124499,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:08:15] local.INFO: Acknowledgment sent {"connection_id":124499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:08:24] local.INFO: TCP Data received {"connection_id":122566,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:08:24] local.INFO: Processing buffer {"connection_id":122566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:08:24] local.INFO: IMEI packet received {"connection_id":122566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":122566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:08:47] local.INFO: TCP Data received {"connection_id":124499,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:08:47] local.INFO: Processing buffer {"connection_id":124499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:08:47] local.INFO: Packet analysis {"connection_id":124499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:08:47] local.INFO: Extracted packet for processing {"connection_id":124499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:08:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:08:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783236923000,"timestamp_ms":1783236923000,"timestamp_seconds":1783236923,"priority":1,"record_length":96,"hex_timestamp":"0000019f31340e78"} 
[2026-07-05 13:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508575232001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:08:47] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:08:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:08:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508575232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":124499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:08:47] local.INFO: GPS data processed {"connection_id":124499,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:08:47] local.INFO: Acknowledgment sent {"connection_id":124499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:09:05] local.INFO: TCP Data received {"connection_id":122567,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:09:05] local.INFO: Processing buffer {"connection_id":122567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:09:05] local.INFO: IMEI packet received {"connection_id":122567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":122567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:09:08] local.INFO: TCP Data received {"connection_id":123295,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:09:08] local.INFO: Processing buffer {"connection_id":123295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:09:08] local.INFO: IMEI packet received {"connection_id":123295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":123295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:09:10] local.INFO: TCP Data received {"connection_id":122567,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:09:10] local.INFO: Processing buffer {"connection_id":122567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:09:10] local.INFO: IMEI packet received {"connection_id":122567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":122567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:09:11] local.INFO: TCP Data received {"connection_id":122567,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:09:11] local.INFO: Processing buffer {"connection_id":122567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:09:11] local.INFO: Packet analysis {"connection_id":122567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:09:11] local.INFO: Extracted packet for processing {"connection_id":122567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236923000,"timestamp_ms":1783236923000,"timestamp_seconds":1783236923,"priority":1,"record_length":96,"hex_timestamp":"0000019f31340e78"} 
[2026-07-05 13:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508575232001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:09:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508575232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":122567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:09:11] local.INFO: GPS data processed {"connection_id":122567,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:09:11] local.INFO: Acknowledgment sent {"connection_id":122567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:09:42] local.INFO: TCP Data received {"connection_id":122567,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:09:42] local.INFO: Processing buffer {"connection_id":122567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:09:42] local.INFO: Packet analysis {"connection_id":122567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:09:42] local.INFO: Extracted packet for processing {"connection_id":122567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783236923000,"timestamp_ms":1783236923000,"timestamp_seconds":1783236923,"priority":1,"record_length":96,"hex_timestamp":"0000019f31340e78"} 
[2026-07-05 13:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:09: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-07-05 13: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:09: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-07-05 13: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-07-05 13:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508575232001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:09:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508575232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":122567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:09:42] local.INFO: GPS data processed {"connection_id":122567,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:09:42] local.INFO: Acknowledgment sent {"connection_id":122567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:10:05] local.INFO: TCP Data received {"connection_id":123296,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:10:05] local.INFO: Processing buffer {"connection_id":123296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:10:05] local.INFO: IMEI packet received {"connection_id":123296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":123296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:10:10] local.INFO: TCP Data received {"connection_id":123296,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:10:10] local.INFO: Processing buffer {"connection_id":123296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:10:10] local.INFO: IMEI packet received {"connection_id":123296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":123296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:10:11] local.INFO: TCP Data received {"connection_id":123296,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:10:11] local.INFO: Processing buffer {"connection_id":123296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:10:11] local.INFO: Packet analysis {"connection_id":123296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:10:11] local.INFO: Extracted packet for processing {"connection_id":123296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783236923000,"timestamp_ms":1783236923000,"timestamp_seconds":1783236923,"priority":1,"record_length":96,"hex_timestamp":"0000019f31340e78"} 
[2026-07-05 13:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508575232001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:10:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508575232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":123296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:10:11] local.INFO: GPS data processed {"connection_id":123296,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:10:11] local.INFO: Acknowledgment sent {"connection_id":123296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:10:42] local.INFO: TCP Data received {"connection_id":123296,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:10:42] local.INFO: Processing buffer {"connection_id":123296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31340e78012cb2a24007823a980042013b26..."} 
[2026-07-05 13:10:42] local.INFO: Packet analysis {"connection_id":123296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:10:42] local.INFO: Extracted packet for processing {"connection_id":123296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3134"} 
[2026-07-05 13:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783236923000,"timestamp_ms":1783236923000,"timestamp_seconds":1783236923,"priority":1,"record_length":96,"hex_timestamp":"0000019f31340e78"} 
[2026-07-05 13:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:10: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-07-05 13:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508575232001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:10:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508575232001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":123296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:10:42] local.INFO: GPS data processed {"connection_id":123296,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:10:42] local.INFO: Acknowledgment sent {"connection_id":123296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:11:06] local.INFO: TCP Data received {"connection_id":122568,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:11:06] local.INFO: Processing buffer {"connection_id":122568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:11:06] local.INFO: IMEI packet received {"connection_id":122568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":122568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:11:10] local.INFO: TCP Data received {"connection_id":122568,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:11:10] local.INFO: Processing buffer {"connection_id":122568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:11:10] local.INFO: IMEI packet received {"connection_id":122568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":122568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:11:11] local.INFO: TCP Data received {"connection_id":122568,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:11:11] local.INFO: Processing buffer {"connection_id":122568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:11:11] local.INFO: Packet analysis {"connection_id":122568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:11:11] local.INFO: Extracted packet for processing {"connection_id":122568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508652288001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783237224000,"timestamp_ms":1783237224000,"timestamp_seconds":1783237224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3138a640"} 
[2026-07-05 13:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:11: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-07-05 13:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508652288001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508652288001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:11:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508652288001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":122568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:11:11] local.INFO: GPS data processed {"connection_id":122568,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:11:11] local.INFO: Acknowledgment sent {"connection_id":122568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:11:42] local.INFO: TCP Data received {"connection_id":122568,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:11:42] local.INFO: Processing buffer {"connection_id":122568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:11:42] local.INFO: Packet analysis {"connection_id":122568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:11:42] local.INFO: Extracted packet for processing {"connection_id":122568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508652288001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783237224000,"timestamp_ms":1783237224000,"timestamp_seconds":1783237224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3138a640"} 
[2026-07-05 13:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:11: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-07-05 13:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508652288001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508652288001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:11:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508652288001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":122568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:11:42] local.INFO: GPS data processed {"connection_id":122568,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:11:42] local.INFO: Acknowledgment sent {"connection_id":122568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:12:10] local.INFO: TCP Data received {"connection_id":122515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:12:10] local.INFO: Processing buffer {"connection_id":122515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:12:10] local.INFO: IMEI packet received {"connection_id":122515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":122515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:12:15] local.INFO: TCP Data received {"connection_id":122515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:12:15] local.INFO: Processing buffer {"connection_id":122515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:12:15] local.INFO: IMEI packet received {"connection_id":122515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":122515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:12:16] local.INFO: TCP Data received {"connection_id":122515,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:12:16] local.INFO: Processing buffer {"connection_id":122515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:12:16] local.INFO: Packet analysis {"connection_id":122515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:12:16] local.INFO: Extracted packet for processing {"connection_id":122515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:12:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508652288001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:12:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783237224000,"timestamp_ms":1783237224000,"timestamp_seconds":1783237224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3138a640"} 
[2026-07-05 13:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508652288001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508652288001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:12:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:12:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508652288001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":122515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:12:16] local.INFO: GPS data processed {"connection_id":122515,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:12:16] local.INFO: Acknowledgment sent {"connection_id":122515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:12:20] local.INFO: TCP Data received {"connection_id":122515,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:12:20] local.INFO: Processing buffer {"connection_id":122515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:12:20] local.INFO: Packet analysis {"connection_id":122515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:12:20] local.INFO: Extracted packet for processing {"connection_id":122515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:12:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508652288001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783237224000,"timestamp_ms":1783237224000,"timestamp_seconds":1783237224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3138a640"} 
[2026-07-05 13:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508652288001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508652288001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:12:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508652288001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":122515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:12:20] local.INFO: GPS data processed {"connection_id":122515,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:12:20] local.INFO: Acknowledgment sent {"connection_id":122515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:13:05] local.INFO: TCP Data received {"connection_id":123298,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:13:05] local.INFO: Processing buffer {"connection_id":123298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:13:05] local.INFO: IMEI packet received {"connection_id":123298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":123298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:13:10] local.INFO: TCP Data received {"connection_id":123298,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:13:10] local.INFO: Processing buffer {"connection_id":123298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:13:10] local.INFO: IMEI packet received {"connection_id":123298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":123298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:13:11] local.INFO: TCP Data received {"connection_id":123298,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:13:11] local.INFO: Processing buffer {"connection_id":123298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:13:11] local.INFO: Packet analysis {"connection_id":123298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:13:11] local.INFO: Extracted packet for processing {"connection_id":123298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:13:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:13: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-07-05 13:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508652288001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:13:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783237224000,"timestamp_ms":1783237224000,"timestamp_seconds":1783237224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3138a640"} 
[2026-07-05 13:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:13: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-07-05 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508652288001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508652288001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:13:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:13:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508652288001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":123298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:13:11] local.INFO: GPS data processed {"connection_id":123298,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:13:11] local.INFO: Acknowledgment sent {"connection_id":123298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:13:42] local.INFO: TCP Data received {"connection_id":123298,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:13:42] local.INFO: Processing buffer {"connection_id":123298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:13:42] local.INFO: Packet analysis {"connection_id":123298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:13:42] local.INFO: Extracted packet for processing {"connection_id":123298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508652288001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783237224000,"timestamp_ms":1783237224000,"timestamp_seconds":1783237224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3138a640"} 
[2026-07-05 13:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:13: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-07-05 13:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508652288001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508652288001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:13:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508652288001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":123298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:13:42] local.INFO: GPS data processed {"connection_id":123298,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:13:42] local.INFO: Acknowledgment sent {"connection_id":123298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:14:05] local.INFO: TCP Data received {"connection_id":124502,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:14:05] local.INFO: Processing buffer {"connection_id":124502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:14:05] local.INFO: IMEI packet received {"connection_id":124502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":124502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:14:10] local.INFO: TCP Data received {"connection_id":124502,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:14:10] local.INFO: Processing buffer {"connection_id":124502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:14:10] local.INFO: IMEI packet received {"connection_id":124502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":124502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:14:12] local.INFO: TCP Data received {"connection_id":124502,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:14:12] local.INFO: Processing buffer {"connection_id":124502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:14:12] local.INFO: Packet analysis {"connection_id":124502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:14:12] local.INFO: Extracted packet for processing {"connection_id":124502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:14:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508652288001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783237224000,"timestamp_ms":1783237224000,"timestamp_seconds":1783237224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3138a640"} 
[2026-07-05 13:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":124502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":124502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":124502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508652288001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508652288001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:14:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508652288001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":124502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:14:12] local.INFO: GPS data processed {"connection_id":124502,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:14:12] local.INFO: Acknowledgment sent {"connection_id":124502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:14:25] local.INFO: TCP Data received {"connection_id":124501,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:14:25] local.INFO: Processing buffer {"connection_id":124501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:14:25] local.INFO: IMEI packet received {"connection_id":124501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":124501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:14:48] local.INFO: TCP Data received {"connection_id":124502,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:14:48] local.INFO: Processing buffer {"connection_id":124502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:14:48] local.INFO: Packet analysis {"connection_id":124502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:14:48] local.INFO: Extracted packet for processing {"connection_id":124502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:14:48] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508652288001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:14:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783237224000,"timestamp_ms":1783237224000,"timestamp_seconds":1783237224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3138a640"} 
[2026-07-05 13:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508652288001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508652288001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:14:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:14:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:14:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508652288001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":124502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:14:48] local.INFO: GPS data processed {"connection_id":124502,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:14:48] local.INFO: Acknowledgment sent {"connection_id":124502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:15:04] local.INFO: TCP Data received {"connection_id":124503,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:15:04] local.INFO: Processing buffer {"connection_id":124503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:15:04] local.INFO: IMEI packet received {"connection_id":124503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":124503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:15:06] local.INFO: TCP Data received {"connection_id":122570,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:15:06] local.INFO: Processing buffer {"connection_id":122570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:15:06] local.INFO: IMEI packet received {"connection_id":122570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":122570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:15:10] local.INFO: TCP Data received {"connection_id":122570,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:15:10] local.INFO: Processing buffer {"connection_id":122570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:15:10] local.INFO: IMEI packet received {"connection_id":122570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":122570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:15:11] local.INFO: TCP Data received {"connection_id":122570,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:15:11] local.INFO: Processing buffer {"connection_id":122570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:15:11] local.INFO: Packet analysis {"connection_id":122570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:15:11] local.INFO: Extracted packet for processing {"connection_id":122570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:15:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508652288001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783237224000,"timestamp_ms":1783237224000,"timestamp_seconds":1783237224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3138a640"} 
[2026-07-05 13:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:15: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-07-05 13:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508652288001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508652288001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:15:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508652288001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":122570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:15:11] local.INFO: GPS data processed {"connection_id":122570,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:15:11] local.INFO: Acknowledgment sent {"connection_id":122570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:15:42] local.INFO: TCP Data received {"connection_id":122570,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:15:42] local.INFO: Processing buffer {"connection_id":122570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3138a640012cb2a24007823a980042013b29..."} 
[2026-07-05 13:15:42] local.INFO: Packet analysis {"connection_id":122570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:15:42] local.INFO: Extracted packet for processing {"connection_id":122570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3138"} 
[2026-07-05 13:15:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508652288001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783237224000,"timestamp_ms":1783237224000,"timestamp_seconds":1783237224,"priority":1,"record_length":96,"hex_timestamp":"0000019f3138a640"} 
[2026-07-05 13:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:15: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-07-05 13:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508652288001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508652288001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:15:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508652288001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":122570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:15:42] local.INFO: GPS data processed {"connection_id":122570,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:15:42] local.INFO: Acknowledgment sent {"connection_id":122570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:16:05] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:16:05] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:16:05] local.INFO: IMEI packet received {"connection_id":124504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":124504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:16:10] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:16:10] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:16:10] local.INFO: IMEI packet received {"connection_id":124504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":124504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:16:11] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:16:11] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:16:11] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:16:11] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508729344001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783237525000,"timestamp_ms":1783237525000,"timestamp_seconds":1783237525,"priority":1,"record_length":96,"hex_timestamp":"0000019f313d3e08"} 
[2026-07-05 13:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508729344001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508729344001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:16:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508729344001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:16:11] local.INFO: GPS data processed {"connection_id":124504,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:16:11] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:16:42] local.INFO: TCP Data received {"connection_id":124504,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:16:42] local.INFO: Processing buffer {"connection_id":124504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:16:42] local.INFO: Packet analysis {"connection_id":124504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:16:42] local.INFO: Extracted packet for processing {"connection_id":124504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508729344001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783237525000,"timestamp_ms":1783237525000,"timestamp_seconds":1783237525,"priority":1,"record_length":96,"hex_timestamp":"0000019f313d3e08"} 
[2026-07-05 13:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:16: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-07-05 13:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:16: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-07-05 13:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508729344001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508729344001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:16:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508729344001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":124504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:16:42] local.INFO: GPS data processed {"connection_id":124504,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:16:42] local.INFO: Acknowledgment sent {"connection_id":124504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:17:05] local.INFO: TCP Data received {"connection_id":123300,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:17:05] local.INFO: Processing buffer {"connection_id":123300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:17:05] local.INFO: IMEI packet received {"connection_id":123300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":123300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:17:10] local.INFO: TCP Data received {"connection_id":123300,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:17:10] local.INFO: Processing buffer {"connection_id":123300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:17:10] local.INFO: IMEI packet received {"connection_id":123300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":123300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:17:11] local.INFO: TCP Data received {"connection_id":123300,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:17:11] local.INFO: Processing buffer {"connection_id":123300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:17:11] local.INFO: Packet analysis {"connection_id":123300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:17:11] local.INFO: Extracted packet for processing {"connection_id":123300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508729344001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783237525000,"timestamp_ms":1783237525000,"timestamp_seconds":1783237525,"priority":1,"record_length":96,"hex_timestamp":"0000019f313d3e08"} 
[2026-07-05 13:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508729344001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508729344001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:17:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508729344001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":123300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:17:11] local.INFO: GPS data processed {"connection_id":123300,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:17:11] local.INFO: Acknowledgment sent {"connection_id":123300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:17:42] local.INFO: TCP Data received {"connection_id":123300,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:17:42] local.INFO: Processing buffer {"connection_id":123300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:17:42] local.INFO: Packet analysis {"connection_id":123300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:17:42] local.INFO: Extracted packet for processing {"connection_id":123300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508729344001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783237525000,"timestamp_ms":1783237525000,"timestamp_seconds":1783237525,"priority":1,"record_length":96,"hex_timestamp":"0000019f313d3e08"} 
[2026-07-05 13:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:17: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-07-05 13:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508729344001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508729344001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508729344001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":123300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:17:42] local.INFO: GPS data processed {"connection_id":123300,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:17:42] local.INFO: Acknowledgment sent {"connection_id":123300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:18:05] local.INFO: TCP Data received {"connection_id":123301,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:18:05] local.INFO: Processing buffer {"connection_id":123301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:18:05] local.INFO: IMEI packet received {"connection_id":123301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":123301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:18:10] local.INFO: TCP Data received {"connection_id":123301,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:18:10] local.INFO: Processing buffer {"connection_id":123301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:18:10] local.INFO: IMEI packet received {"connection_id":123301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":123301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:18:11] local.INFO: TCP Data received {"connection_id":123301,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:18:11] local.INFO: Processing buffer {"connection_id":123301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:18:11] local.INFO: Packet analysis {"connection_id":123301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:18:11] local.INFO: Extracted packet for processing {"connection_id":123301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508729344001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783237525000,"timestamp_ms":1783237525000,"timestamp_seconds":1783237525,"priority":1,"record_length":96,"hex_timestamp":"0000019f313d3e08"} 
[2026-07-05 13:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508729344001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508729344001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:18:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508729344001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":123301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:18:11] local.INFO: GPS data processed {"connection_id":123301,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:18:11] local.INFO: Acknowledgment sent {"connection_id":123301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:18:42] local.INFO: TCP Data received {"connection_id":123301,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:18:42] local.INFO: Processing buffer {"connection_id":123301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:18:42] local.INFO: Packet analysis {"connection_id":123301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:18:42] local.INFO: Extracted packet for processing {"connection_id":123301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:18:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508729344001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783237525000,"timestamp_ms":1783237525000,"timestamp_seconds":1783237525,"priority":1,"record_length":96,"hex_timestamp":"0000019f313d3e08"} 
[2026-07-05 13:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:18: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-07-05 13:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:18: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-07-05 13: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-07-05 13:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508729344001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508729344001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:18:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508729344001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":123301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:18:42] local.INFO: GPS data processed {"connection_id":123301,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:18:42] local.INFO: Acknowledgment sent {"connection_id":123301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:19:06] local.INFO: TCP Data received {"connection_id":122518,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:19:06] local.INFO: Processing buffer {"connection_id":122518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:19:06] local.INFO: IMEI packet received {"connection_id":122518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":122518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:19:10] local.INFO: TCP Data received {"connection_id":122518,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:19:10] local.INFO: Processing buffer {"connection_id":122518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:19:10] local.INFO: IMEI packet received {"connection_id":122518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":122518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:19:11] local.INFO: TCP Data received {"connection_id":122518,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:19:11] local.INFO: Processing buffer {"connection_id":122518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:19:11] local.INFO: Packet analysis {"connection_id":122518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:19:11] local.INFO: Extracted packet for processing {"connection_id":122518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:19:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:19: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-07-05 13:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508729344001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783237525000,"timestamp_ms":1783237525000,"timestamp_seconds":1783237525,"priority":1,"record_length":96,"hex_timestamp":"0000019f313d3e08"} 
[2026-07-05 13:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:19: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-07-05 13:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508729344001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508729344001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:19:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508729344001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":122518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:19:11] local.INFO: GPS data processed {"connection_id":122518,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:19:11] local.INFO: Acknowledgment sent {"connection_id":122518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:19:42] local.INFO: TCP Data received {"connection_id":122518,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:19:42] local.INFO: Processing buffer {"connection_id":122518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:19:42] local.INFO: Packet analysis {"connection_id":122518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:19:42] local.INFO: Extracted packet for processing {"connection_id":122518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508729344001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783237525000,"timestamp_ms":1783237525000,"timestamp_seconds":1783237525,"priority":1,"record_length":96,"hex_timestamp":"0000019f313d3e08"} 
[2026-07-05 13:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:19: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-07-05 13:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:19: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-07-05 13:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508729344001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508729344001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:19:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508729344001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":122518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:19:42] local.INFO: GPS data processed {"connection_id":122518,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:19:42] local.INFO: Acknowledgment sent {"connection_id":122518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:20:05] local.INFO: TCP Data received {"connection_id":123303,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:20:05] local.INFO: Processing buffer {"connection_id":123303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:20:05] local.INFO: IMEI packet received {"connection_id":123303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":123303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:20:10] local.INFO: TCP Data received {"connection_id":123303,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:20:10] local.INFO: Processing buffer {"connection_id":123303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:20:10] local.INFO: IMEI packet received {"connection_id":123303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":123303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:20:11] local.INFO: TCP Data received {"connection_id":123303,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:20:11] local.INFO: Processing buffer {"connection_id":123303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:20:11] local.INFO: Packet analysis {"connection_id":123303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:20:11] local.INFO: Extracted packet for processing {"connection_id":123303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:20:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508729344001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783237525000,"timestamp_ms":1783237525000,"timestamp_seconds":1783237525,"priority":1,"record_length":96,"hex_timestamp":"0000019f313d3e08"} 
[2026-07-05 13:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508729344001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508729344001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:20:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508729344001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":123303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:20:11] local.INFO: GPS data processed {"connection_id":123303,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:20:11] local.INFO: Acknowledgment sent {"connection_id":123303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:20:20] local.INFO: TCP Data received {"connection_id":123302,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:20:20] local.INFO: Processing buffer {"connection_id":123302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:20:20] local.INFO: IMEI packet received {"connection_id":123302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":123302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:20:42] local.INFO: TCP Data received {"connection_id":123303,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:20:42] local.INFO: Processing buffer {"connection_id":123303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f313d3e08012cb2a24007823a980042013b29..."} 
[2026-07-05 13:20:42] local.INFO: Packet analysis {"connection_id":123303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:20:42] local.INFO: Extracted packet for processing {"connection_id":123303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f313d"} 
[2026-07-05 13:20:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508729344001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783237525000,"timestamp_ms":1783237525000,"timestamp_seconds":1783237525,"priority":1,"record_length":96,"hex_timestamp":"0000019f313d3e08"} 
[2026-07-05 13:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:20: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-07-05 13:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:20: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-07-05 13: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-07-05 13:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508729344001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508729344001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:20:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508729344001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":123303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:20:42] local.INFO: GPS data processed {"connection_id":123303,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:20:42] local.INFO: Acknowledgment sent {"connection_id":123303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:21:04] local.INFO: TCP Data received {"connection_id":122519,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:21:04] local.INFO: Processing buffer {"connection_id":122519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:21:04] local.INFO: IMEI packet received {"connection_id":122519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":122519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:21:10] local.INFO: TCP Data received {"connection_id":122572,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:21:10] local.INFO: Processing buffer {"connection_id":122572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:21:10] local.INFO: IMEI packet received {"connection_id":122572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":122572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:21:15] local.INFO: TCP Data received {"connection_id":122572,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:21:15] local.INFO: Processing buffer {"connection_id":122572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:21:15] local.INFO: IMEI packet received {"connection_id":122572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":122572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:21:16] local.INFO: TCP Data received {"connection_id":122572,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:21:16] local.INFO: Processing buffer {"connection_id":122572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:21:16] local.INFO: Packet analysis {"connection_id":122572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:21:16] local.INFO: Extracted packet for processing {"connection_id":122572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:21:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508806400001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:21:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783237827000,"timestamp_ms":1783237827000,"timestamp_seconds":1783237827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3141d9b8"} 
[2026-07-05 13:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508806400001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508806400001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:21:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:21:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:21:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508806400001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":122572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:21:16] local.INFO: GPS data processed {"connection_id":122572,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:21:16] local.INFO: Acknowledgment sent {"connection_id":122572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:21:25] local.INFO: TCP Data received {"connection_id":122572,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:21:25] local.INFO: Processing buffer {"connection_id":122572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:21:25] local.INFO: Packet analysis {"connection_id":122572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:21:25] local.INFO: Extracted packet for processing {"connection_id":122572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:21:25] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508806400001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783237827000,"timestamp_ms":1783237827000,"timestamp_seconds":1783237827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3141d9b8"} 
[2026-07-05 13:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":122572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":122572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":122572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508806400001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508806400001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:21:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508806400001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":122572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:21:25] local.INFO: GPS data processed {"connection_id":122572,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:21:25] local.INFO: Acknowledgment sent {"connection_id":122572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:22:05] local.INFO: TCP Data received {"connection_id":122520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:22:05] local.INFO: Processing buffer {"connection_id":122520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:22:05] local.INFO: IMEI packet received {"connection_id":122520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":122520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:22:10] local.INFO: TCP Data received {"connection_id":122520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:22:10] local.INFO: Processing buffer {"connection_id":122520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:22:10] local.INFO: IMEI packet received {"connection_id":122520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":122520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:22:11] local.INFO: TCP Data received {"connection_id":122520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:22:11] local.INFO: Processing buffer {"connection_id":122520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:22:11] local.INFO: Packet analysis {"connection_id":122520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:22:11] local.INFO: Extracted packet for processing {"connection_id":122520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508806400001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783237827000,"timestamp_ms":1783237827000,"timestamp_seconds":1783237827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3141d9b8"} 
[2026-07-05 13:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508806400001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508806400001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:22:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508806400001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":122520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:22:11] local.INFO: GPS data processed {"connection_id":122520,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:22:11] local.INFO: Acknowledgment sent {"connection_id":122520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:22:43] local.INFO: TCP Data received {"connection_id":122520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:22:43] local.INFO: Processing buffer {"connection_id":122520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:22:43] local.INFO: Packet analysis {"connection_id":122520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:22:43] local.INFO: Extracted packet for processing {"connection_id":122520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508806400001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:22:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783237827000,"timestamp_ms":1783237827000,"timestamp_seconds":1783237827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3141d9b8"} 
[2026-07-05 13:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:22: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-07-05 13:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508806400001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508806400001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:22:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:22:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508806400001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":122520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:22:43] local.INFO: GPS data processed {"connection_id":122520,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:22:43] local.INFO: Acknowledgment sent {"connection_id":122520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:23:05] local.INFO: TCP Data received {"connection_id":122574,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:23:05] local.INFO: Processing buffer {"connection_id":122574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:23:05] local.INFO: IMEI packet received {"connection_id":122574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":122574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:23:10] local.INFO: TCP Data received {"connection_id":122574,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:23:10] local.INFO: Processing buffer {"connection_id":122574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:23:10] local.INFO: IMEI packet received {"connection_id":122574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":122574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:23:11] local.INFO: TCP Data received {"connection_id":122574,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:23:11] local.INFO: Processing buffer {"connection_id":122574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:23:11] local.INFO: Packet analysis {"connection_id":122574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:23:11] local.INFO: Extracted packet for processing {"connection_id":122574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508806400001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783237827000,"timestamp_ms":1783237827000,"timestamp_seconds":1783237827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3141d9b8"} 
[2026-07-05 13:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508806400001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508806400001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:23:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508806400001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":122574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:23:11] local.INFO: GPS data processed {"connection_id":122574,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:23:11] local.INFO: Acknowledgment sent {"connection_id":122574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:23:42] local.INFO: TCP Data received {"connection_id":122574,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:23:42] local.INFO: Processing buffer {"connection_id":122574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:23:42] local.INFO: Packet analysis {"connection_id":122574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:23:42] local.INFO: Extracted packet for processing {"connection_id":122574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508806400001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783237827000,"timestamp_ms":1783237827000,"timestamp_seconds":1783237827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3141d9b8"} 
[2026-07-05 13:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:23: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-07-05 13:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13: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-07-05 13:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508806400001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508806400001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:23:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508806400001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":122574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:23:42] local.INFO: GPS data processed {"connection_id":122574,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:23:42] local.INFO: Acknowledgment sent {"connection_id":122574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:24:10] local.INFO: TCP Data received {"connection_id":123305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:24:10] local.INFO: Processing buffer {"connection_id":123305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:24:10] local.INFO: IMEI packet received {"connection_id":123305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":123305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:24:15] local.INFO: TCP Data received {"connection_id":123305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:24:15] local.INFO: Processing buffer {"connection_id":123305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:24:15] local.INFO: IMEI packet received {"connection_id":123305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":123305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:24:16] local.INFO: TCP Data received {"connection_id":123305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:24:16] local.INFO: Processing buffer {"connection_id":123305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:24:16] local.INFO: Packet analysis {"connection_id":123305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:24:16] local.INFO: Extracted packet for processing {"connection_id":123305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:24:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508806400001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:24:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783237827000,"timestamp_ms":1783237827000,"timestamp_seconds":1783237827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3141d9b8"} 
[2026-07-05 13:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508806400001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508806400001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:24:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:24:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:24:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508806400001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":123305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:24:16] local.INFO: GPS data processed {"connection_id":123305,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:24:16] local.INFO: Acknowledgment sent {"connection_id":123305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:24:20] local.INFO: TCP Data received {"connection_id":123305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:24:20] local.INFO: Processing buffer {"connection_id":123305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:24:20] local.INFO: Packet analysis {"connection_id":123305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:24:20] local.INFO: Extracted packet for processing {"connection_id":123305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508806400001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783237827000,"timestamp_ms":1783237827000,"timestamp_seconds":1783237827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3141d9b8"} 
[2026-07-05 13:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508806400001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508806400001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:24:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508806400001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":123305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:24:20] local.INFO: GPS data processed {"connection_id":123305,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:24:20] local.INFO: Acknowledgment sent {"connection_id":123305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:25:05] local.INFO: TCP Data received {"connection_id":123306,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:25:05] local.INFO: Processing buffer {"connection_id":123306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:25:05] local.INFO: IMEI packet received {"connection_id":123306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":123306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:25:10] local.INFO: TCP Data received {"connection_id":123306,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:25:10] local.INFO: Processing buffer {"connection_id":123306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:25:10] local.INFO: IMEI packet received {"connection_id":123306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":123306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:25:11] local.INFO: TCP Data received {"connection_id":123306,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:25:11] local.INFO: Processing buffer {"connection_id":123306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:25:11] local.INFO: Packet analysis {"connection_id":123306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:25:11] local.INFO: Extracted packet for processing {"connection_id":123306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508806400001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783237827000,"timestamp_ms":1783237827000,"timestamp_seconds":1783237827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3141d9b8"} 
[2026-07-05 13:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508806400001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508806400001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:25:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508806400001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":123306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:25:11] local.INFO: GPS data processed {"connection_id":123306,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:25:11] local.INFO: Acknowledgment sent {"connection_id":123306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:25:42] local.INFO: TCP Data received {"connection_id":123306,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:25:42] local.INFO: Processing buffer {"connection_id":123306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3141d9b8012cb2a24007823a980042013b29..."} 
[2026-07-05 13:25:42] local.INFO: Packet analysis {"connection_id":123306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:25:42] local.INFO: Extracted packet for processing {"connection_id":123306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3141"} 
[2026-07-05 13:25:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508806400001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783237827000,"timestamp_ms":1783237827000,"timestamp_seconds":1783237827,"priority":1,"record_length":96,"hex_timestamp":"0000019f3141d9b8"} 
[2026-07-05 13:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:25: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-07-05 13:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508806400001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508806400001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:25:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508806400001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":123306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:25:42] local.INFO: GPS data processed {"connection_id":123306,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:25:42] local.INFO: Acknowledgment sent {"connection_id":123306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:26:05] local.INFO: TCP Data received {"connection_id":122576,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:26:05] local.INFO: Processing buffer {"connection_id":122576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:26:05] local.INFO: IMEI packet received {"connection_id":122576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":122576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:26:06] local.INFO: TCP Data received {"connection_id":122576,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:26:06] local.INFO: Processing buffer {"connection_id":122576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:26:06] local.INFO: IMEI packet received {"connection_id":122576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":122576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:26:10] local.INFO: TCP Data received {"connection_id":122576,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:26:10] local.INFO: Processing buffer {"connection_id":122576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:26:10] local.INFO: IMEI packet received {"connection_id":122576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":122576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:26:11] local.INFO: TCP Data received {"connection_id":122576,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:26:11] local.INFO: Processing buffer {"connection_id":122576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:26:11] local.INFO: Packet analysis {"connection_id":122576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:26:11] local.INFO: Extracted packet for processing {"connection_id":122576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:26:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508883712001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783238127000,"timestamp_ms":1783238127000,"timestamp_seconds":1783238127,"priority":1,"record_length":96,"hex_timestamp":"0000019f31466d98"} 
[2026-07-05 13:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:26: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-07-05 13:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508883712001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508883712001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:26:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:26:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508883712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":122576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:26:11] local.INFO: GPS data processed {"connection_id":122576,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:26:11] local.INFO: Acknowledgment sent {"connection_id":122576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:26:30] local.INFO: TCP Data received {"connection_id":122577,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:26:30] local.INFO: Processing buffer {"connection_id":122577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:26:30] local.INFO: IMEI packet received {"connection_id":122577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":122577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:26:42] local.INFO: TCP Data received {"connection_id":122576,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:26:42] local.INFO: Processing buffer {"connection_id":122576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:26:42] local.INFO: Packet analysis {"connection_id":122576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:26:42] local.INFO: Extracted packet for processing {"connection_id":122576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:26:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508883712001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783238127000,"timestamp_ms":1783238127000,"timestamp_seconds":1783238127,"priority":1,"record_length":96,"hex_timestamp":"0000019f31466d98"} 
[2026-07-05 13:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:26: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-07-05 13:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:26: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-07-05 13:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508883712001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508883712001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:26:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508883712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":122576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:26:42] local.INFO: GPS data processed {"connection_id":122576,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:26:42] local.INFO: Acknowledgment sent {"connection_id":122576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:27:05] local.INFO: TCP Data received {"connection_id":122521,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:27:05] local.INFO: Processing buffer {"connection_id":122521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:27:05] local.INFO: IMEI packet received {"connection_id":122521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":122521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:27:10] local.INFO: TCP Data received {"connection_id":122578,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:27:10] local.INFO: Processing buffer {"connection_id":122578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:27:10] local.INFO: IMEI packet received {"connection_id":122578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":122578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:27:10] local.INFO: TCP Data received {"connection_id":122521,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:27:10] local.INFO: Processing buffer {"connection_id":122521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:27:10] local.INFO: IMEI packet received {"connection_id":122521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":122521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:27:11] local.INFO: TCP Data received {"connection_id":122521,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:27:11] local.INFO: Processing buffer {"connection_id":122521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:27:11] local.INFO: Packet analysis {"connection_id":122521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:27:11] local.INFO: Extracted packet for processing {"connection_id":122521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508883712001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783238127000,"timestamp_ms":1783238127000,"timestamp_seconds":1783238127,"priority":1,"record_length":96,"hex_timestamp":"0000019f31466d98"} 
[2026-07-05 13:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:27: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-07-05 13:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508883712001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508883712001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:27:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508883712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":122521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:27:11] local.INFO: GPS data processed {"connection_id":122521,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:27:11] local.INFO: Acknowledgment sent {"connection_id":122521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:27:42] local.INFO: TCP Data received {"connection_id":122521,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:27:42] local.INFO: Processing buffer {"connection_id":122521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:27:42] local.INFO: Packet analysis {"connection_id":122521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:27:42] local.INFO: Extracted packet for processing {"connection_id":122521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508883712001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783238127000,"timestamp_ms":1783238127000,"timestamp_seconds":1783238127,"priority":1,"record_length":96,"hex_timestamp":"0000019f31466d98"} 
[2026-07-05 13:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13: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-07-05 13:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508883712001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508883712001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:27:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508883712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":122521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:27:42] local.INFO: GPS data processed {"connection_id":122521,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:27:42] local.INFO: Acknowledgment sent {"connection_id":122521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:28:10] local.INFO: TCP Data received {"connection_id":124507,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:28:10] local.INFO: Processing buffer {"connection_id":124507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:28:10] local.INFO: IMEI packet received {"connection_id":124507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":124507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:28:15] local.INFO: TCP Data received {"connection_id":124507,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:28:15] local.INFO: Processing buffer {"connection_id":124507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:28:15] local.INFO: IMEI packet received {"connection_id":124507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":124507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:28:16] local.INFO: TCP Data received {"connection_id":124507,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:28:16] local.INFO: Processing buffer {"connection_id":124507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:28:16] local.INFO: Packet analysis {"connection_id":124507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:28:16] local.INFO: Extracted packet for processing {"connection_id":124507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:28:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508883712001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:28:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783238127000,"timestamp_ms":1783238127000,"timestamp_seconds":1783238127,"priority":1,"record_length":96,"hex_timestamp":"0000019f31466d98"} 
[2026-07-05 13:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508883712001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508883712001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:28:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:28:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:28:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508883712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":124507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:28:16] local.INFO: GPS data processed {"connection_id":124507,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:28:16] local.INFO: Acknowledgment sent {"connection_id":124507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:28:21] local.INFO: TCP Data received {"connection_id":124507,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:28:21] local.INFO: Processing buffer {"connection_id":124507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:28:21] local.INFO: Packet analysis {"connection_id":124507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:28:21] local.INFO: Extracted packet for processing {"connection_id":124507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:28:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508883712001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783238127000,"timestamp_ms":1783238127000,"timestamp_seconds":1783238127,"priority":1,"record_length":96,"hex_timestamp":"0000019f31466d98"} 
[2026-07-05 13:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508883712001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508883712001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:28:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508883712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":124507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:28:21] local.INFO: GPS data processed {"connection_id":124507,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:28:21] local.INFO: Acknowledgment sent {"connection_id":124507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:29:05] local.INFO: TCP Data received {"connection_id":124508,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:29:05] local.INFO: Processing buffer {"connection_id":124508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:29:05] local.INFO: IMEI packet received {"connection_id":124508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":124508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:29:10] local.INFO: TCP Data received {"connection_id":124508,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:29:10] local.INFO: Processing buffer {"connection_id":124508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:29:10] local.INFO: IMEI packet received {"connection_id":124508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":124508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:29:11] local.INFO: TCP Data received {"connection_id":124508,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:29:11] local.INFO: Processing buffer {"connection_id":124508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:29:11] local.INFO: Packet analysis {"connection_id":124508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:29:11] local.INFO: Extracted packet for processing {"connection_id":124508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508883712001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783238127000,"timestamp_ms":1783238127000,"timestamp_seconds":1783238127,"priority":1,"record_length":96,"hex_timestamp":"0000019f31466d98"} 
[2026-07-05 13:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:29: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-07-05 13:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508883712001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508883712001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:29:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508883712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":124508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:29:11] local.INFO: GPS data processed {"connection_id":124508,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:29:11] local.INFO: Acknowledgment sent {"connection_id":124508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:29:42] local.INFO: TCP Data received {"connection_id":124508,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:29:42] local.INFO: Processing buffer {"connection_id":124508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:29:42] local.INFO: Packet analysis {"connection_id":124508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:29:42] local.INFO: Extracted packet for processing {"connection_id":124508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508883712001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783238127000,"timestamp_ms":1783238127000,"timestamp_seconds":1783238127,"priority":1,"record_length":96,"hex_timestamp":"0000019f31466d98"} 
[2026-07-05 13:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:29: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-07-05 13:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508883712001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508883712001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:29:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508883712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":124508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:29:42] local.INFO: GPS data processed {"connection_id":124508,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:29:42] local.INFO: Acknowledgment sent {"connection_id":124508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:30:05] local.INFO: TCP Data received {"connection_id":122523,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:30:05] local.INFO: Processing buffer {"connection_id":122523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:30:05] local.INFO: IMEI packet received {"connection_id":122523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":122523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:30:10] local.INFO: TCP Data received {"connection_id":122523,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:30:10] local.INFO: Processing buffer {"connection_id":122523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:30:10] local.INFO: IMEI packet received {"connection_id":122523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":122523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:30:11] local.INFO: TCP Data received {"connection_id":122523,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:30:11] local.INFO: Processing buffer {"connection_id":122523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:30:11] local.INFO: Packet analysis {"connection_id":122523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:30:11] local.INFO: Extracted packet for processing {"connection_id":122523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:30:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508883712001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783238127000,"timestamp_ms":1783238127000,"timestamp_seconds":1783238127,"priority":1,"record_length":96,"hex_timestamp":"0000019f31466d98"} 
[2026-07-05 13:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:30: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-07-05 13:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508883712001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508883712001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:30:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508883712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":122523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:30:11] local.INFO: GPS data processed {"connection_id":122523,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:30:11] local.INFO: Acknowledgment sent {"connection_id":122523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:30:42] local.INFO: TCP Data received {"connection_id":122523,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:30:42] local.INFO: Processing buffer {"connection_id":122523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31466d98012cb2a24007823a980042013b2a..."} 
[2026-07-05 13:30:42] local.INFO: Packet analysis {"connection_id":122523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:30:42] local.INFO: Extracted packet for processing {"connection_id":122523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3146"} 
[2026-07-05 13:30:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508883712001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783238127000,"timestamp_ms":1783238127000,"timestamp_seconds":1783238127,"priority":1,"record_length":96,"hex_timestamp":"0000019f31466d98"} 
[2026-07-05 13:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:30: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-07-05 13: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:30: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-07-05 13: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-07-05 13:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508883712001,"66":25343,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508883712001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:30:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508883712001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":122523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:30:42] local.INFO: GPS data processed {"connection_id":122523,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:30:42] local.INFO: Acknowledgment sent {"connection_id":122523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:31:07] local.INFO: TCP Data received {"connection_id":122581,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:31:07] local.INFO: Processing buffer {"connection_id":122581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:31:07] local.INFO: IMEI packet received {"connection_id":122581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":122581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:31:07] local.INFO: TCP Data received {"connection_id":122581,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:31:07] local.INFO: Processing buffer {"connection_id":122581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:31:07] local.INFO: IMEI packet received {"connection_id":122581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":122581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:31:10] local.INFO: TCP Data received {"connection_id":122581,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:31:10] local.INFO: Processing buffer {"connection_id":122581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:31:10] local.INFO: IMEI packet received {"connection_id":122581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":122581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:31:11] local.INFO: TCP Data received {"connection_id":122581,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:31:11] local.INFO: Processing buffer {"connection_id":122581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:31:11] local.INFO: Packet analysis {"connection_id":122581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:31:11] local.INFO: Extracted packet for processing {"connection_id":122581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:31:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508960512001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:31:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783238428000,"timestamp_ms":1783238428000,"timestamp_seconds":1783238428,"priority":1,"record_length":96,"hex_timestamp":"0000019f314b0560"} 
[2026-07-05 13:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:31: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-07-05 13:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508960512001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508960512001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:31:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:31:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508960512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":122581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:31:11] local.INFO: GPS data processed {"connection_id":122581,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:31:11] local.INFO: Acknowledgment sent {"connection_id":122581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:31:15] local.INFO: TCP Data received {"connection_id":122581,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:31:15] local.INFO: Processing buffer {"connection_id":122581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:31:15] local.INFO: Packet analysis {"connection_id":122581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:31:15] local.INFO: Extracted packet for processing {"connection_id":122581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:31:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508960512001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783238428000,"timestamp_ms":1783238428000,"timestamp_seconds":1783238428,"priority":1,"record_length":96,"hex_timestamp":"0000019f314b0560"} 
[2026-07-05 13:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508960512001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508960512001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:31:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508960512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":122581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:31:15] local.INFO: GPS data processed {"connection_id":122581,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:31:15] local.INFO: Acknowledgment sent {"connection_id":122581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:31:46] local.INFO: TCP Data received {"connection_id":122581,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:31:46] local.INFO: Processing buffer {"connection_id":122581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:31:46] local.INFO: Packet analysis {"connection_id":122581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:31:46] local.INFO: Extracted packet for processing {"connection_id":122581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508960512001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:31:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783238428000,"timestamp_ms":1783238428000,"timestamp_seconds":1783238428,"priority":1,"record_length":96,"hex_timestamp":"0000019f314b0560"} 
[2026-07-05 13:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508960512001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508960512001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:31:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508960512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":122581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:31:46] local.INFO: GPS data processed {"connection_id":122581,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:31:46] local.INFO: Acknowledgment sent {"connection_id":122581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:32:10] local.INFO: TCP Data received {"connection_id":123308,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:32:10] local.INFO: Processing buffer {"connection_id":123308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:32:10] local.INFO: IMEI packet received {"connection_id":123308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":123308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:32:15] local.INFO: TCP Data received {"connection_id":123308,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:32:15] local.INFO: Processing buffer {"connection_id":123308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:32:15] local.INFO: IMEI packet received {"connection_id":123308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":123308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:32:16] local.INFO: TCP Data received {"connection_id":123308,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:32:16] local.INFO: Processing buffer {"connection_id":123308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:32:16] local.INFO: Packet analysis {"connection_id":123308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:32:16] local.INFO: Extracted packet for processing {"connection_id":123308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:32:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508960512001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:32:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783238428000,"timestamp_ms":1783238428000,"timestamp_seconds":1783238428,"priority":1,"record_length":96,"hex_timestamp":"0000019f314b0560"} 
[2026-07-05 13:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508960512001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508960512001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:32:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:32:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:32:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508960512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":123308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:32:16] local.INFO: GPS data processed {"connection_id":123308,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:32:16] local.INFO: Acknowledgment sent {"connection_id":123308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:32:20] local.INFO: TCP Data received {"connection_id":123308,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:32:20] local.INFO: Processing buffer {"connection_id":123308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:32:20] local.INFO: Packet analysis {"connection_id":123308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:32:20] local.INFO: Extracted packet for processing {"connection_id":123308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:32:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508960512001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783238428000,"timestamp_ms":1783238428000,"timestamp_seconds":1783238428,"priority":1,"record_length":96,"hex_timestamp":"0000019f314b0560"} 
[2026-07-05 13:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508960512001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508960512001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:32:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508960512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":123308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:32:20] local.INFO: GPS data processed {"connection_id":123308,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:32:20] local.INFO: Acknowledgment sent {"connection_id":123308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:32:39] local.INFO: TCP Data received {"connection_id":124509,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:32:40] local.INFO: Processing buffer {"connection_id":124509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:32:40] local.INFO: IMEI packet received {"connection_id":124509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":124509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:33:04] local.INFO: TCP Data received {"connection_id":124510,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:33:05] local.INFO: Processing buffer {"connection_id":124510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:33:05] local.INFO: IMEI packet received {"connection_id":124510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":124510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:33:05] local.INFO: TCP Data received {"connection_id":122582,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:33:05] local.INFO: Processing buffer {"connection_id":122582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:33:05] local.INFO: IMEI packet received {"connection_id":122582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":122582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:33:10] local.INFO: TCP Data received {"connection_id":122582,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:33:10] local.INFO: Processing buffer {"connection_id":122582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:33:10] local.INFO: IMEI packet received {"connection_id":122582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":122582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:33:11] local.INFO: TCP Data received {"connection_id":122582,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:33:11] local.INFO: Processing buffer {"connection_id":122582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:33:11] local.INFO: Packet analysis {"connection_id":122582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:33:11] local.INFO: Extracted packet for processing {"connection_id":122582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508960512001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783238428000,"timestamp_ms":1783238428000,"timestamp_seconds":1783238428,"priority":1,"record_length":96,"hex_timestamp":"0000019f314b0560"} 
[2026-07-05 13:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:33: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-07-05 13:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508960512001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508960512001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:33:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508960512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":122582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:33:11] local.INFO: GPS data processed {"connection_id":122582,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:33:11] local.INFO: Acknowledgment sent {"connection_id":122582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:33:42] local.INFO: TCP Data received {"connection_id":122582,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:33:42] local.INFO: Processing buffer {"connection_id":122582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:33:42] local.INFO: Packet analysis {"connection_id":122582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:33:42] local.INFO: Extracted packet for processing {"connection_id":122582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508960512001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783238428000,"timestamp_ms":1783238428000,"timestamp_seconds":1783238428,"priority":1,"record_length":96,"hex_timestamp":"0000019f314b0560"} 
[2026-07-05 13:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:33: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-07-05 13:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:33: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-07-05 13:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508960512001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508960512001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:33:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508960512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":122582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:33:42] local.INFO: GPS data processed {"connection_id":122582,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:33:42] local.INFO: Acknowledgment sent {"connection_id":122582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:34:05] local.INFO: TCP Data received {"connection_id":122583,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:34:05] local.INFO: Processing buffer {"connection_id":122583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:34:05] local.INFO: IMEI packet received {"connection_id":122583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":122583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:34:10] local.INFO: TCP Data received {"connection_id":122583,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:34:10] local.INFO: Processing buffer {"connection_id":122583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:34:10] local.INFO: IMEI packet received {"connection_id":122583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":122583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:34:11] local.INFO: TCP Data received {"connection_id":122583,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:34:11] local.INFO: Processing buffer {"connection_id":122583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:34:11] local.INFO: Packet analysis {"connection_id":122583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:34:11] local.INFO: Extracted packet for processing {"connection_id":122583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:34:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508960512001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:34:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783238428000,"timestamp_ms":1783238428000,"timestamp_seconds":1783238428,"priority":1,"record_length":96,"hex_timestamp":"0000019f314b0560"} 
[2026-07-05 13:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:34: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-07-05 13:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508960512001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508960512001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:34:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:34:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508960512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":122583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:34:11] local.INFO: GPS data processed {"connection_id":122583,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:34:11] local.INFO: Acknowledgment sent {"connection_id":122583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:34:42] local.INFO: TCP Data received {"connection_id":122583,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:34:42] local.INFO: Processing buffer {"connection_id":122583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:34:42] local.INFO: Packet analysis {"connection_id":122583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:34:42] local.INFO: Extracted packet for processing {"connection_id":122583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508960512001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783238428000,"timestamp_ms":1783238428000,"timestamp_seconds":1783238428,"priority":1,"record_length":96,"hex_timestamp":"0000019f314b0560"} 
[2026-07-05 13:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:34: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-07-05 13:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:34: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-07-05 13:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508960512001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508960512001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:34:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508960512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":122583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:34:42] local.INFO: GPS data processed {"connection_id":122583,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:34:42] local.INFO: Acknowledgment sent {"connection_id":122583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:35:07] local.INFO: TCP Data received {"connection_id":122526,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:35:07] local.INFO: Processing buffer {"connection_id":122526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:35:07] local.INFO: IMEI packet received {"connection_id":122526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":122526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:35:10] local.INFO: TCP Data received {"connection_id":122526,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:35:10] local.INFO: Processing buffer {"connection_id":122526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:35:10] local.INFO: IMEI packet received {"connection_id":122526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":122526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:35:11] local.INFO: TCP Data received {"connection_id":122526,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:35:11] local.INFO: Processing buffer {"connection_id":122526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:35:11] local.INFO: Packet analysis {"connection_id":122526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:35:11] local.INFO: Extracted packet for processing {"connection_id":122526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:35:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508960512001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783238428000,"timestamp_ms":1783238428000,"timestamp_seconds":1783238428,"priority":1,"record_length":96,"hex_timestamp":"0000019f314b0560"} 
[2026-07-05 13:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:35: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-07-05 13:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508960512001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508960512001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:35:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508960512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":122526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:35:11] local.INFO: GPS data processed {"connection_id":122526,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:35:11] local.INFO: Acknowledgment sent {"connection_id":122526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:35:42] local.INFO: TCP Data received {"connection_id":122526,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:35:42] local.INFO: Processing buffer {"connection_id":122526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314b0560012cb2a24007823a980042013b29..."} 
[2026-07-05 13:35:42] local.INFO: Packet analysis {"connection_id":122526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:35:42] local.INFO: Extracted packet for processing {"connection_id":122526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314b"} 
[2026-07-05 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456508960512001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783238428000,"timestamp_ms":1783238428000,"timestamp_seconds":1783238428,"priority":1,"record_length":96,"hex_timestamp":"0000019f314b0560"} 
[2026-07-05 13:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:35: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-07-05 13: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 13:35: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-07-05 13: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-07-05 13:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456508960512001,"66":25321,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456508960512001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:35:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456508960512001,"power":25321,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":122526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:35:42] local.INFO: GPS data processed {"connection_id":122526,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:35:42] local.INFO: Acknowledgment sent {"connection_id":122526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:36:05] local.INFO: TCP Data received {"connection_id":122584,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:36:05] local.INFO: Processing buffer {"connection_id":122584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:36:05] local.INFO: IMEI packet received {"connection_id":122584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":122584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:36:07] local.INFO: TCP Data received {"connection_id":122584,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:36:07] local.INFO: Processing buffer {"connection_id":122584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:36:07] local.INFO: IMEI packet received {"connection_id":122584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":122584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:36:12] local.INFO: TCP Data received {"connection_id":122584,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:36:12] local.INFO: Processing buffer {"connection_id":122584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:36:12] local.INFO: IMEI packet received {"connection_id":122584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":122584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:36:12] local.INFO: TCP Data received {"connection_id":122584,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:36:12] local.INFO: Processing buffer {"connection_id":122584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:36:12] local.INFO: Packet analysis {"connection_id":122584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:36:12] local.INFO: Extracted packet for processing {"connection_id":122584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:36:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509037568001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783238729000,"timestamp_ms":1783238729000,"timestamp_seconds":1783238729,"priority":1,"record_length":96,"hex_timestamp":"0000019f314f9d28"} 
[2026-07-05 13:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509037568001,"66":24864,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509037568001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:36:12] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509037568001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":122584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:36:12] local.INFO: GPS data processed {"connection_id":122584,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:36:12] local.INFO: Acknowledgment sent {"connection_id":122584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:36:44] local.INFO: TCP Data received {"connection_id":122584,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:36:44] local.INFO: Processing buffer {"connection_id":122584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:36:44] local.INFO: Packet analysis {"connection_id":122584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:36:44] local.INFO: Extracted packet for processing {"connection_id":122584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:36:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509037568001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:36:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783238729000,"timestamp_ms":1783238729000,"timestamp_seconds":1783238729,"priority":1,"record_length":96,"hex_timestamp":"0000019f314f9d28"} 
[2026-07-05 13:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:36: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-07-05 13:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509037568001,"66":24864,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509037568001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:36:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:36:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:36:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509037568001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":122584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:36:44] local.INFO: GPS data processed {"connection_id":122584,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:36:44] local.INFO: Acknowledgment sent {"connection_id":122584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:37:10] local.INFO: TCP Data received {"connection_id":122527,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:37:10] local.INFO: Processing buffer {"connection_id":122527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:37:10] local.INFO: IMEI packet received {"connection_id":122527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":122527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:37:15] local.INFO: TCP Data received {"connection_id":122527,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:37:15] local.INFO: Processing buffer {"connection_id":122527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:37:15] local.INFO: IMEI packet received {"connection_id":122527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":122527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:37:16] local.INFO: TCP Data received {"connection_id":122527,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:37:16] local.INFO: Processing buffer {"connection_id":122527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:37:16] local.INFO: Packet analysis {"connection_id":122527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:37:16] local.INFO: Extracted packet for processing {"connection_id":122527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:37:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509037568001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:37:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783238729000,"timestamp_ms":1783238729000,"timestamp_seconds":1783238729,"priority":1,"record_length":96,"hex_timestamp":"0000019f314f9d28"} 
[2026-07-05 13:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509037568001,"66":24864,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509037568001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:37:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:37:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509037568001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":122527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:37:16] local.INFO: GPS data processed {"connection_id":122527,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:37:16] local.INFO: Acknowledgment sent {"connection_id":122527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:38:05] local.INFO: TCP Data received {"connection_id":123311,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:38:05] local.INFO: Processing buffer {"connection_id":123311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:38:05] local.INFO: IMEI packet received {"connection_id":123311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":123311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:38:10] local.INFO: TCP Data received {"connection_id":123311,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:38:10] local.INFO: Processing buffer {"connection_id":123311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:38:10] local.INFO: IMEI packet received {"connection_id":123311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":123311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:38:11] local.INFO: TCP Data received {"connection_id":123311,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:38:11] local.INFO: Processing buffer {"connection_id":123311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:38:11] local.INFO: Packet analysis {"connection_id":123311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:38:11] local.INFO: Extracted packet for processing {"connection_id":123311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:38:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509037568001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783238729000,"timestamp_ms":1783238729000,"timestamp_seconds":1783238729,"priority":1,"record_length":96,"hex_timestamp":"0000019f314f9d28"} 
[2026-07-05 13:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:38: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-07-05 13:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509037568001,"66":24864,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509037568001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:38:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509037568001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":123311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:38:11] local.INFO: GPS data processed {"connection_id":123311,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:38:11] local.INFO: Acknowledgment sent {"connection_id":123311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:38:24] local.INFO: TCP Data received {"connection_id":122528,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:38:24] local.INFO: Processing buffer {"connection_id":122528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:38:24] local.INFO: IMEI packet received {"connection_id":122528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":122528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:38:42] local.INFO: TCP Data received {"connection_id":123311,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:38:42] local.INFO: Processing buffer {"connection_id":123311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:38:42] local.INFO: Packet analysis {"connection_id":123311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:38:42] local.INFO: Extracted packet for processing {"connection_id":123311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:38:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509037568001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783238729000,"timestamp_ms":1783238729000,"timestamp_seconds":1783238729,"priority":1,"record_length":96,"hex_timestamp":"0000019f314f9d28"} 
[2026-07-05 13:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:38: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-07-05 13: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-07-05 13: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-07-05 13: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-07-05 13:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509037568001,"66":24864,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509037568001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:38:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509037568001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":123311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:38:42] local.INFO: GPS data processed {"connection_id":123311,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:38:42] local.INFO: Acknowledgment sent {"connection_id":123311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:39:04] local.INFO: TCP Data received {"connection_id":123313,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:39:04] local.INFO: Processing buffer {"connection_id":123313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:39:04] local.INFO: IMEI packet received {"connection_id":123313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":123313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:39:05] local.INFO: TCP Data received {"connection_id":123312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:39:05] local.INFO: Processing buffer {"connection_id":123312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:39:05] local.INFO: IMEI packet received {"connection_id":123312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":123312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:39:10] local.INFO: TCP Data received {"connection_id":123312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:39:10] local.INFO: Processing buffer {"connection_id":123312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:39:10] local.INFO: IMEI packet received {"connection_id":123312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":123312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:39:11] local.INFO: TCP Data received {"connection_id":123312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:39:11] local.INFO: Processing buffer {"connection_id":123312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:39:11] local.INFO: Packet analysis {"connection_id":123312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:39:11] local.INFO: Extracted packet for processing {"connection_id":123312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:39:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509037568001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783238729000,"timestamp_ms":1783238729000,"timestamp_seconds":1783238729,"priority":1,"record_length":96,"hex_timestamp":"0000019f314f9d28"} 
[2026-07-05 13:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:39: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-07-05 13:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509037568001,"66":24864,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509037568001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:39:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509037568001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":123312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:39:11] local.INFO: GPS data processed {"connection_id":123312,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:39:11] local.INFO: Acknowledgment sent {"connection_id":123312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:39:42] local.INFO: TCP Data received {"connection_id":123312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:39:42] local.INFO: Processing buffer {"connection_id":123312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:39:42] local.INFO: Packet analysis {"connection_id":123312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:39:42] local.INFO: Extracted packet for processing {"connection_id":123312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:39:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509037568001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783238729000,"timestamp_ms":1783238729000,"timestamp_seconds":1783238729,"priority":1,"record_length":96,"hex_timestamp":"0000019f314f9d28"} 
[2026-07-05 13:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:39: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-07-05 13: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-07-05 13: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-07-05 13: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-07-05 13:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509037568001,"66":24864,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509037568001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:39:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509037568001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":123312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:39:42] local.INFO: GPS data processed {"connection_id":123312,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:39:42] local.INFO: Acknowledgment sent {"connection_id":123312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:40:07] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:40:07] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:40:07] local.INFO: IMEI packet received {"connection_id":124512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":124512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:40:10] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:40:10] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:40:10] local.INFO: IMEI packet received {"connection_id":124512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":124512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:40:11] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:40:11] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:40:11] local.INFO: Packet analysis {"connection_id":124512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:40:11] local.INFO: Extracted packet for processing {"connection_id":124512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:40:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509037568001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783238729000,"timestamp_ms":1783238729000,"timestamp_seconds":1783238729,"priority":1,"record_length":96,"hex_timestamp":"0000019f314f9d28"} 
[2026-07-05 13:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:40: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-07-05 13:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509037568001,"66":24864,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509037568001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:40:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509037568001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":124512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:40:11] local.INFO: GPS data processed {"connection_id":124512,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:40:11] local.INFO: Acknowledgment sent {"connection_id":124512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:40:42] local.INFO: TCP Data received {"connection_id":124512,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:40:42] local.INFO: Processing buffer {"connection_id":124512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f314f9d28012cb2a24007823a980042013b28..."} 
[2026-07-05 13:40:42] local.INFO: Packet analysis {"connection_id":124512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:40:42] local.INFO: Extracted packet for processing {"connection_id":124512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f314f"} 
[2026-07-05 13:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509037568001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783238729000,"timestamp_ms":1783238729000,"timestamp_seconds":1783238729,"priority":1,"record_length":96,"hex_timestamp":"0000019f314f9d28"} 
[2026-07-05 13:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:40: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-07-05 13:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 13:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509037568001,"66":24864,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509037568001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:40:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509037568001,"power":24864,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":124512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:40:42] local.INFO: GPS data processed {"connection_id":124512,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:40:42] local.INFO: Acknowledgment sent {"connection_id":124512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:41:05] local.INFO: TCP Data received {"connection_id":122529,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:41:05] local.INFO: Processing buffer {"connection_id":122529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:41:05] local.INFO: IMEI packet received {"connection_id":122529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":122529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:41:08] local.INFO: TCP Data received {"connection_id":122529,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:41:08] local.INFO: Processing buffer {"connection_id":122529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:41:08] local.INFO: IMEI packet received {"connection_id":122529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":122529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:41:10] local.INFO: TCP Data received {"connection_id":122529,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:41:10] local.INFO: Processing buffer {"connection_id":122529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:41:10] local.INFO: IMEI packet received {"connection_id":122529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":122529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:41:11] local.INFO: TCP Data received {"connection_id":122529,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:41:11] local.INFO: Processing buffer {"connection_id":122529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:41:11] local.INFO: Packet analysis {"connection_id":122529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:41:11] local.INFO: Extracted packet for processing {"connection_id":122529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509114624001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239030000,"timestamp_ms":1783239030000,"timestamp_seconds":1783239030,"priority":1,"record_length":96,"hex_timestamp":"0000019f315434f0"} 
[2026-07-05 13:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:41: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-07-05 13: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-05 13:41:11] 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-07-05 13: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-07-05 13:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509114624001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509114624001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:41:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509114624001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":122529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:41:11] local.INFO: GPS data processed {"connection_id":122529,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:41:11] local.INFO: Acknowledgment sent {"connection_id":122529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:41:43] local.INFO: TCP Data received {"connection_id":122529,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:41:43] local.INFO: Processing buffer {"connection_id":122529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:41:43] local.INFO: Packet analysis {"connection_id":122529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:41:43] local.INFO: Extracted packet for processing {"connection_id":122529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:41:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509114624001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:41:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783239030000,"timestamp_ms":1783239030000,"timestamp_seconds":1783239030,"priority":1,"record_length":96,"hex_timestamp":"0000019f315434f0"} 
[2026-07-05 13:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:41: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-07-05 13:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-05 13:41:43] 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-07-05 13:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509114624001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509114624001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:41:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:41:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509114624001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":122529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:41:43] local.INFO: GPS data processed {"connection_id":122529,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:41:43] local.INFO: Acknowledgment sent {"connection_id":122529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:42:05] local.INFO: TCP Data received {"connection_id":123314,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:42:05] local.INFO: Processing buffer {"connection_id":123314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:42:05] local.INFO: IMEI packet received {"connection_id":123314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":123314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:42:10] local.INFO: TCP Data received {"connection_id":123314,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:42:10] local.INFO: Processing buffer {"connection_id":123314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:42:10] local.INFO: IMEI packet received {"connection_id":123314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":123314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:42:11] local.INFO: TCP Data received {"connection_id":123314,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:42:11] local.INFO: Processing buffer {"connection_id":123314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:42:11] local.INFO: Packet analysis {"connection_id":123314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:42:11] local.INFO: Extracted packet for processing {"connection_id":123314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509114624001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239030000,"timestamp_ms":1783239030000,"timestamp_seconds":1783239030,"priority":1,"record_length":96,"hex_timestamp":"0000019f315434f0"} 
[2026-07-05 13:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:42: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-07-05 13:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-05 13:42:11] 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-07-05 13:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509114624001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509114624001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:42:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509114624001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":123314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:42:11] local.INFO: GPS data processed {"connection_id":123314,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:42:11] local.INFO: Acknowledgment sent {"connection_id":123314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:42:42] local.INFO: TCP Data received {"connection_id":123314,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:42:42] local.INFO: Processing buffer {"connection_id":123314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:42:42] local.INFO: Packet analysis {"connection_id":123314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:42:42] local.INFO: Extracted packet for processing {"connection_id":123314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509114624001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239030000,"timestamp_ms":1783239030000,"timestamp_seconds":1783239030,"priority":1,"record_length":96,"hex_timestamp":"0000019f315434f0"} 
[2026-07-05 13:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:42: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-07-05 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-05 13:42:42] 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-07-05 13:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509114624001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509114624001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:42:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509114624001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":123314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:42:42] local.INFO: GPS data processed {"connection_id":123314,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:42:42] local.INFO: Acknowledgment sent {"connection_id":123314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:43:05] local.INFO: TCP Data received {"connection_id":124515,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:43:05] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:43:05] local.INFO: IMEI packet received {"connection_id":124515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":124515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:43:10] local.INFO: TCP Data received {"connection_id":124515,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:43:10] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:43:10] local.INFO: IMEI packet received {"connection_id":124515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":124515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:43:11] local.INFO: TCP Data received {"connection_id":124515,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:43:11] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:43:11] local.INFO: Packet analysis {"connection_id":124515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:43:11] local.INFO: Extracted packet for processing {"connection_id":124515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509114624001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239030000,"timestamp_ms":1783239030000,"timestamp_seconds":1783239030,"priority":1,"record_length":96,"hex_timestamp":"0000019f315434f0"} 
[2026-07-05 13:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:43: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-07-05 13:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-05 13:43:11] 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-07-05 13:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509114624001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509114624001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:43:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509114624001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":124515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:43:11] local.INFO: GPS data processed {"connection_id":124515,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:43:11] local.INFO: Acknowledgment sent {"connection_id":124515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:43:42] local.INFO: TCP Data received {"connection_id":124515,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:43:42] local.INFO: Processing buffer {"connection_id":124515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:43:42] local.INFO: Packet analysis {"connection_id":124515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:43:42] local.INFO: Extracted packet for processing {"connection_id":124515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:43:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509114624001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239030000,"timestamp_ms":1783239030000,"timestamp_seconds":1783239030,"priority":1,"record_length":96,"hex_timestamp":"0000019f315434f0"} 
[2026-07-05 13:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:43: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-07-05 13:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-05 13:43:42] 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-07-05 13:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509114624001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509114624001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:43:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509114624001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":124515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:43:42] local.INFO: GPS data processed {"connection_id":124515,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:43:42] local.INFO: Acknowledgment sent {"connection_id":124515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:44:05] local.INFO: TCP Data received {"connection_id":122531,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:44:05] local.INFO: Processing buffer {"connection_id":122531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:44:05] local.INFO: IMEI packet received {"connection_id":122531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":122531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:44:10] local.INFO: TCP Data received {"connection_id":122531,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:44:10] local.INFO: Processing buffer {"connection_id":122531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:44:10] local.INFO: IMEI packet received {"connection_id":122531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":122531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:44:11] local.INFO: TCP Data received {"connection_id":122531,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:44:11] local.INFO: Processing buffer {"connection_id":122531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:44:11] local.INFO: Packet analysis {"connection_id":122531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:44:11] local.INFO: Extracted packet for processing {"connection_id":122531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509114624001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239030000,"timestamp_ms":1783239030000,"timestamp_seconds":1783239030,"priority":1,"record_length":96,"hex_timestamp":"0000019f315434f0"} 
[2026-07-05 13:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:44: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-07-05 13:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-05 13:44:11] 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-07-05 13:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509114624001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509114624001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:44:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509114624001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":122531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:44:11] local.INFO: GPS data processed {"connection_id":122531,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:44:11] local.INFO: Acknowledgment sent {"connection_id":122531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:44:20] local.INFO: TCP Data received {"connection_id":122532,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:44:20] local.INFO: Processing buffer {"connection_id":122532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:44:20] local.INFO: IMEI packet received {"connection_id":122532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":122532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:44:42] local.INFO: TCP Data received {"connection_id":122531,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:44:42] local.INFO: Processing buffer {"connection_id":122531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:44:42] local.INFO: Packet analysis {"connection_id":122531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:44:42] local.INFO: Extracted packet for processing {"connection_id":122531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:44:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509114624001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239030000,"timestamp_ms":1783239030000,"timestamp_seconds":1783239030,"priority":1,"record_length":96,"hex_timestamp":"0000019f315434f0"} 
[2026-07-05 13:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:44: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-07-05 13:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-05 13:44:42] 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-07-05 13:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509114624001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509114624001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:44:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509114624001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":122531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:44:42] local.INFO: GPS data processed {"connection_id":122531,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:44:42] local.INFO: Acknowledgment sent {"connection_id":122531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:45:05] local.INFO: TCP Data received {"connection_id":123315,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:45:05] local.INFO: Processing buffer {"connection_id":123315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:45:05] local.INFO: IMEI packet received {"connection_id":123315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":123315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:45:09] local.INFO: TCP Data received {"connection_id":122585,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:45:09] local.INFO: Processing buffer {"connection_id":122585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:45:09] local.INFO: IMEI packet received {"connection_id":122585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":122585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:45:10] local.INFO: TCP Data received {"connection_id":123315,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:45:10] local.INFO: Processing buffer {"connection_id":123315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:45:10] local.INFO: IMEI packet received {"connection_id":123315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":123315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:45:11] local.INFO: TCP Data received {"connection_id":123315,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:45:11] local.INFO: Processing buffer {"connection_id":123315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:45:11] local.INFO: Packet analysis {"connection_id":123315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:45:11] local.INFO: Extracted packet for processing {"connection_id":123315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509114624001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239030000,"timestamp_ms":1783239030000,"timestamp_seconds":1783239030,"priority":1,"record_length":96,"hex_timestamp":"0000019f315434f0"} 
[2026-07-05 13:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:45: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-07-05 13:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-05 13:45:11] 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-07-05 13:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509114624001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509114624001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:45:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509114624001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":123315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:45:11] local.INFO: GPS data processed {"connection_id":123315,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:45:11] local.INFO: Acknowledgment sent {"connection_id":123315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:45:42] local.INFO: TCP Data received {"connection_id":123315,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:45:42] local.INFO: Processing buffer {"connection_id":123315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315434f0012cb2a24007823a980042013b26..."} 
[2026-07-05 13:45:42] local.INFO: Packet analysis {"connection_id":123315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:45:42] local.INFO: Extracted packet for processing {"connection_id":123315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3154"} 
[2026-07-05 13:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509114624001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239030000,"timestamp_ms":1783239030000,"timestamp_seconds":1783239030,"priority":1,"record_length":96,"hex_timestamp":"0000019f315434f0"} 
[2026-07-05 13:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:45: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-07-05 13:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-05 13:45:42] 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-07-05 13:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509114624001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509114624001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:45:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509114624001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":123315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:45:42] local.INFO: GPS data processed {"connection_id":123315,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:45:42] local.INFO: Acknowledgment sent {"connection_id":123315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:46:09] local.INFO: TCP Data received {"connection_id":122533,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:46:09] local.INFO: Processing buffer {"connection_id":122533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:46:09] local.INFO: IMEI packet received {"connection_id":122533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":122533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:46:10] local.INFO: TCP Data received {"connection_id":122533,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:46:10] local.INFO: Processing buffer {"connection_id":122533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:46:10] local.INFO: IMEI packet received {"connection_id":122533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":122533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:46:15] local.INFO: TCP Data received {"connection_id":122533,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:46:15] local.INFO: Processing buffer {"connection_id":122533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:46:15] local.INFO: IMEI packet received {"connection_id":122533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":122533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:46:16] local.INFO: TCP Data received {"connection_id":122533,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:46:16] local.INFO: Processing buffer {"connection_id":122533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:46:16] local.INFO: Packet analysis {"connection_id":122533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:46:16] local.INFO: Extracted packet for processing {"connection_id":122533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:46:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509191680001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:46:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783239331000,"timestamp_ms":1783239331000,"timestamp_seconds":1783239331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3158ccb8"} 
[2026-07-05 13:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509191680001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509191680001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:46:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:46:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:46:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509191680001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":122533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:46:16] local.INFO: GPS data processed {"connection_id":122533,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:46:16] local.INFO: Acknowledgment sent {"connection_id":122533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:46:24] local.INFO: TCP Data received {"connection_id":122533,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:46:24] local.INFO: Processing buffer {"connection_id":122533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:46:24] local.INFO: Packet analysis {"connection_id":122533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:46:24] local.INFO: Extracted packet for processing {"connection_id":122533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:46:24] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509191680001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:46:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783239331000,"timestamp_ms":1783239331000,"timestamp_seconds":1783239331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3158ccb8"} 
[2026-07-05 13:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":122533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":122533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":122533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509191680001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509191680001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:46:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:46:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:46:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509191680001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":122533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:46:24] local.INFO: GPS data processed {"connection_id":122533,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:46:24] local.INFO: Acknowledgment sent {"connection_id":122533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:47:05] local.INFO: TCP Data received {"connection_id":122587,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:47:05] local.INFO: Processing buffer {"connection_id":122587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:47:05] local.INFO: IMEI packet received {"connection_id":122587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":122587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:47:10] local.INFO: TCP Data received {"connection_id":122587,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:47:10] local.INFO: Processing buffer {"connection_id":122587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:47:10] local.INFO: IMEI packet received {"connection_id":122587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":122587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:47:11] local.INFO: TCP Data received {"connection_id":122587,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:47:11] local.INFO: Processing buffer {"connection_id":122587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:47:11] local.INFO: Packet analysis {"connection_id":122587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:47:11] local.INFO: Extracted packet for processing {"connection_id":122587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:47: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-07-05 13:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509191680001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239331000,"timestamp_ms":1783239331000,"timestamp_seconds":1783239331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3158ccb8"} 
[2026-07-05 13:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:47: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-07-05 13:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509191680001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509191680001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:47:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509191680001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":122587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:47:11] local.INFO: GPS data processed {"connection_id":122587,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:47:11] local.INFO: Acknowledgment sent {"connection_id":122587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:47:42] local.INFO: TCP Data received {"connection_id":122587,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:47:42] local.INFO: Processing buffer {"connection_id":122587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:47:42] local.INFO: Packet analysis {"connection_id":122587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:47:42] local.INFO: Extracted packet for processing {"connection_id":122587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509191680001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239331000,"timestamp_ms":1783239331000,"timestamp_seconds":1783239331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3158ccb8"} 
[2026-07-05 13:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:47: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-07-05 13:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509191680001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509191680001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:47:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509191680001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":122587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:47:42] local.INFO: GPS data processed {"connection_id":122587,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:47:42] local.INFO: Acknowledgment sent {"connection_id":122587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:48:05] local.INFO: TCP Data received {"connection_id":122588,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:48:05] local.INFO: Processing buffer {"connection_id":122588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:48:05] local.INFO: IMEI packet received {"connection_id":122588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":122588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:48:10] local.INFO: TCP Data received {"connection_id":122588,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:48:10] local.INFO: Processing buffer {"connection_id":122588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:48:10] local.INFO: IMEI packet received {"connection_id":122588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":122588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:48:11] local.INFO: TCP Data received {"connection_id":122588,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:48:11] local.INFO: Processing buffer {"connection_id":122588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:48:11] local.INFO: Packet analysis {"connection_id":122588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:48:11] local.INFO: Extracted packet for processing {"connection_id":122588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:48:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509191680001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239331000,"timestamp_ms":1783239331000,"timestamp_seconds":1783239331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3158ccb8"} 
[2026-07-05 13:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509191680001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509191680001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:48:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509191680001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":122588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:48:11] local.INFO: GPS data processed {"connection_id":122588,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:48:11] local.INFO: Acknowledgment sent {"connection_id":122588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:48:42] local.INFO: TCP Data received {"connection_id":122588,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:48:42] local.INFO: Processing buffer {"connection_id":122588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:48:42] local.INFO: Packet analysis {"connection_id":122588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:48:42] local.INFO: Extracted packet for processing {"connection_id":122588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:48:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509191680001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239331000,"timestamp_ms":1783239331000,"timestamp_seconds":1783239331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3158ccb8"} 
[2026-07-05 13:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:48: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-07-05 13:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:48: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-07-05 13: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-07-05 13:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509191680001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509191680001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:48:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509191680001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":122588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:48:42] local.INFO: GPS data processed {"connection_id":122588,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:48:42] local.INFO: Acknowledgment sent {"connection_id":122588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:49:10] local.INFO: TCP Data received {"connection_id":124518,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:49:10] local.INFO: Processing buffer {"connection_id":124518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:49:10] local.INFO: IMEI packet received {"connection_id":124518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":124518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:49:15] local.INFO: TCP Data received {"connection_id":124518,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:49:15] local.INFO: Processing buffer {"connection_id":124518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:49:15] local.INFO: IMEI packet received {"connection_id":124518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":124518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:49:16] local.INFO: TCP Data received {"connection_id":124518,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:49:16] local.INFO: Processing buffer {"connection_id":124518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:49:16] local.INFO: Packet analysis {"connection_id":124518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:49:16] local.INFO: Extracted packet for processing {"connection_id":124518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:49:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509191680001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:49:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783239331000,"timestamp_ms":1783239331000,"timestamp_seconds":1783239331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3158ccb8"} 
[2026-07-05 13:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509191680001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509191680001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:49:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:49:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509191680001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":124518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:49:16] local.INFO: GPS data processed {"connection_id":124518,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:49:16] local.INFO: Acknowledgment sent {"connection_id":124518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:49:20] local.INFO: TCP Data received {"connection_id":124518,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:49:20] local.INFO: Processing buffer {"connection_id":124518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:49:20] local.INFO: Packet analysis {"connection_id":124518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:49:20] local.INFO: Extracted packet for processing {"connection_id":124518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509191680001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783239331000,"timestamp_ms":1783239331000,"timestamp_seconds":1783239331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3158ccb8"} 
[2026-07-05 13:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509191680001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509191680001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:49:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509191680001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":124518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:49:20] local.INFO: GPS data processed {"connection_id":124518,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:49:20] local.INFO: Acknowledgment sent {"connection_id":124518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:50:05] local.INFO: TCP Data received {"connection_id":124519,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:50:05] local.INFO: Processing buffer {"connection_id":124519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:50:05] local.INFO: IMEI packet received {"connection_id":124519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":124519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:50:10] local.INFO: TCP Data received {"connection_id":124519,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:50:10] local.INFO: Processing buffer {"connection_id":124519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:50:10] local.INFO: IMEI packet received {"connection_id":124519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":124519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:50:11] local.INFO: TCP Data received {"connection_id":124519,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:50:11] local.INFO: Processing buffer {"connection_id":124519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:50:11] local.INFO: Packet analysis {"connection_id":124519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:50:11] local.INFO: Extracted packet for processing {"connection_id":124519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:50:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509191680001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239331000,"timestamp_ms":1783239331000,"timestamp_seconds":1783239331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3158ccb8"} 
[2026-07-05 13:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509191680001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509191680001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:50:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509191680001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":124519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:50:11] local.INFO: GPS data processed {"connection_id":124519,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:50:11] local.INFO: Acknowledgment sent {"connection_id":124519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:50:29] local.INFO: TCP Data received {"connection_id":124520,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:50:29] local.INFO: Processing buffer {"connection_id":124520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:50:29] local.INFO: IMEI packet received {"connection_id":124520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":124520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:50:42] local.INFO: TCP Data received {"connection_id":124519,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:50:42] local.INFO: Processing buffer {"connection_id":124519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3158ccb8012cb2a24007823a980042013b28..."} 
[2026-07-05 13:50:42] local.INFO: Packet analysis {"connection_id":124519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:50:42] local.INFO: Extracted packet for processing {"connection_id":124519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3158"} 
[2026-07-05 13:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509191680001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239331000,"timestamp_ms":1783239331000,"timestamp_seconds":1783239331,"priority":1,"record_length":96,"hex_timestamp":"0000019f3158ccb8"} 
[2026-07-05 13:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:50: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-07-05 13:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:50: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-07-05 13:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509191680001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509191680001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:50:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509191680001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":124519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:50:42] local.INFO: GPS data processed {"connection_id":124519,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:50:42] local.INFO: Acknowledgment sent {"connection_id":124519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:51:04] local.INFO: TCP Data received {"connection_id":122537,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:51:04] local.INFO: Processing buffer {"connection_id":122537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:51:04] local.INFO: IMEI packet received {"connection_id":122537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":122537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:51:05] local.INFO: TCP Data received {"connection_id":122536,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:51:05] local.INFO: Processing buffer {"connection_id":122536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:51:05] local.INFO: IMEI packet received {"connection_id":122536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":122536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:51:10] local.INFO: TCP Data received {"connection_id":122536,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:51:10] local.INFO: Processing buffer {"connection_id":122536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:51:10] local.INFO: IMEI packet received {"connection_id":122536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":122536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:51:11] local.INFO: TCP Data received {"connection_id":122536,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:51:11] local.INFO: Processing buffer {"connection_id":122536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:51:11] local.INFO: Packet analysis {"connection_id":122536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:51:11] local.INFO: Extracted packet for processing {"connection_id":122536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:51:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509268736001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239632000,"timestamp_ms":1783239632000,"timestamp_seconds":1783239632,"priority":1,"record_length":96,"hex_timestamp":"0000019f315d6480"} 
[2026-07-05 13:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509268736001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509268736001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:51:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509268736001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":122536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:51:11] local.INFO: GPS data processed {"connection_id":122536,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:51:11] local.INFO: Acknowledgment sent {"connection_id":122536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:51:42] local.INFO: TCP Data received {"connection_id":122536,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:51:42] local.INFO: Processing buffer {"connection_id":122536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:51:42] local.INFO: Packet analysis {"connection_id":122536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:51:42] local.INFO: Extracted packet for processing {"connection_id":122536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:51:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509268736001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239632000,"timestamp_ms":1783239632000,"timestamp_seconds":1783239632,"priority":1,"record_length":96,"hex_timestamp":"0000019f315d6480"} 
[2026-07-05 13:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:51: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-07-05 13:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509268736001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509268736001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:51:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509268736001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":122536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:51:42] local.INFO: GPS data processed {"connection_id":122536,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:51:42] local.INFO: Acknowledgment sent {"connection_id":122536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:52:10] local.INFO: TCP Data received {"connection_id":123317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:52:10] local.INFO: Processing buffer {"connection_id":123317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:52:10] local.INFO: IMEI packet received {"connection_id":123317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":123317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:52:15] local.INFO: TCP Data received {"connection_id":123317,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:52:15] local.INFO: Processing buffer {"connection_id":123317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:52:15] local.INFO: IMEI packet received {"connection_id":123317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":123317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:52:16] local.INFO: TCP Data received {"connection_id":123317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:52:16] local.INFO: Processing buffer {"connection_id":123317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:52:16] local.INFO: Packet analysis {"connection_id":123317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:52:16] local.INFO: Extracted packet for processing {"connection_id":123317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:52:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509268736001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:52:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783239632000,"timestamp_ms":1783239632000,"timestamp_seconds":1783239632,"priority":1,"record_length":96,"hex_timestamp":"0000019f315d6480"} 
[2026-07-05 13:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509268736001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509268736001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:52:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509268736001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":123317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:52:16] local.INFO: GPS data processed {"connection_id":123317,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:52:16] local.INFO: Acknowledgment sent {"connection_id":123317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:52:20] local.INFO: TCP Data received {"connection_id":123317,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:52:20] local.INFO: Processing buffer {"connection_id":123317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:52:20] local.INFO: Packet analysis {"connection_id":123317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:52:20] local.INFO: Extracted packet for processing {"connection_id":123317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:52:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509268736001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783239632000,"timestamp_ms":1783239632000,"timestamp_seconds":1783239632,"priority":1,"record_length":96,"hex_timestamp":"0000019f315d6480"} 
[2026-07-05 13:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509268736001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509268736001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:52:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509268736001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":123317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:52:20] local.INFO: GPS data processed {"connection_id":123317,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:52:20] local.INFO: Acknowledgment sent {"connection_id":123317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:53:05] local.INFO: TCP Data received {"connection_id":122539,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:53:05] local.INFO: Processing buffer {"connection_id":122539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:53:05] local.INFO: IMEI packet received {"connection_id":122539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":122539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:53:10] local.INFO: TCP Data received {"connection_id":122539,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:53:10] local.INFO: Processing buffer {"connection_id":122539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:53:10] local.INFO: IMEI packet received {"connection_id":122539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":122539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:53:26] local.INFO: TCP Data received {"connection_id":122539,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:53:26] local.INFO: Processing buffer {"connection_id":122539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:53:26] local.INFO: Packet analysis {"connection_id":122539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:53:26] local.INFO: Extracted packet for processing {"connection_id":122539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509268736001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783239632000,"timestamp_ms":1783239632000,"timestamp_seconds":1783239632,"priority":1,"record_length":96,"hex_timestamp":"0000019f315d6480"} 
[2026-07-05 13:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":122539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":122539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":122539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509268736001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509268736001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:53:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509268736001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":122539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:53:26] local.INFO: GPS data processed {"connection_id":122539,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:53:26] local.INFO: Acknowledgment sent {"connection_id":122539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:54:05] local.INFO: TCP Data received {"connection_id":122589,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:54:05] local.INFO: Processing buffer {"connection_id":122589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:54:05] local.INFO: IMEI packet received {"connection_id":122589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":122589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:54:10] local.INFO: TCP Data received {"connection_id":122589,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:54:10] local.INFO: Processing buffer {"connection_id":122589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:54:10] local.INFO: IMEI packet received {"connection_id":122589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":122589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:54:11] local.INFO: TCP Data received {"connection_id":122589,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:54:11] local.INFO: Processing buffer {"connection_id":122589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:54:11] local.INFO: Packet analysis {"connection_id":122589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:54:11] local.INFO: Extracted packet for processing {"connection_id":122589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:54:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509268736001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239632000,"timestamp_ms":1783239632000,"timestamp_seconds":1783239632,"priority":1,"record_length":96,"hex_timestamp":"0000019f315d6480"} 
[2026-07-05 13:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509268736001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509268736001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:54:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509268736001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":122589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:54:11] local.INFO: GPS data processed {"connection_id":122589,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:54:11] local.INFO: Acknowledgment sent {"connection_id":122589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:54:42] local.INFO: TCP Data received {"connection_id":122589,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:54:42] local.INFO: Processing buffer {"connection_id":122589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:54:42] local.INFO: Packet analysis {"connection_id":122589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:54:42] local.INFO: Extracted packet for processing {"connection_id":122589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:54:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509268736001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239632000,"timestamp_ms":1783239632000,"timestamp_seconds":1783239632,"priority":1,"record_length":96,"hex_timestamp":"0000019f315d6480"} 
[2026-07-05 13:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:54: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-07-05 13:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509268736001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509268736001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:54:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509268736001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":122589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:54:42] local.INFO: GPS data processed {"connection_id":122589,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:54:42] local.INFO: Acknowledgment sent {"connection_id":122589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:55:05] local.INFO: TCP Data received {"connection_id":122590,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:55:05] local.INFO: Processing buffer {"connection_id":122590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:55:05] local.INFO: IMEI packet received {"connection_id":122590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":122590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:55:10] local.INFO: TCP Data received {"connection_id":122590,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:55:10] local.INFO: Processing buffer {"connection_id":122590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:55:10] local.INFO: IMEI packet received {"connection_id":122590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":122590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:55:11] local.INFO: TCP Data received {"connection_id":122590,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:55:11] local.INFO: Processing buffer {"connection_id":122590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:55:11] local.INFO: Packet analysis {"connection_id":122590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:55:11] local.INFO: Extracted packet for processing {"connection_id":122590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509268736001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239632000,"timestamp_ms":1783239632000,"timestamp_seconds":1783239632,"priority":1,"record_length":96,"hex_timestamp":"0000019f315d6480"} 
[2026-07-05 13:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509268736001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509268736001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:55:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509268736001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":122590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:55:11] local.INFO: GPS data processed {"connection_id":122590,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:55:11] local.INFO: Acknowledgment sent {"connection_id":122590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:55:42] local.INFO: TCP Data received {"connection_id":122590,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:55:42] local.INFO: Processing buffer {"connection_id":122590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f315d6480012cb2a24007823a980042013b26..."} 
[2026-07-05 13:55:42] local.INFO: Packet analysis {"connection_id":122590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:55:42] local.INFO: Extracted packet for processing {"connection_id":122590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f315d"} 
[2026-07-05 13:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509268736001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 13:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239632000,"timestamp_ms":1783239632000,"timestamp_seconds":1783239632,"priority":1,"record_length":96,"hex_timestamp":"0000019f315d6480"} 
[2026-07-05 13:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:55: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-07-05 13:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:55: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-07-05 13:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509268736001,"66":25375,"221":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 13:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509268736001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:55:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 13:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 13:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509268736001,"power":25375,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":122590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:55:42] local.INFO: GPS data processed {"connection_id":122590,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:55:42] local.INFO: Acknowledgment sent {"connection_id":122590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:56:10] local.INFO: TCP Data received {"connection_id":122541,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:56:10] local.INFO: Processing buffer {"connection_id":122541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:56:10] local.INFO: IMEI packet received {"connection_id":122541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":122541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:56:11] local.INFO: TCP Data received {"connection_id":122541,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:56:11] local.INFO: Processing buffer {"connection_id":122541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:56:11] local.INFO: IMEI packet received {"connection_id":122541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":122541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:56:11] local.INFO: TCP Data received {"connection_id":122541,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:56:11] local.INFO: Processing buffer {"connection_id":122541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:56:11] local.INFO: Packet analysis {"connection_id":122541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:56:11] local.INFO: Extracted packet for processing {"connection_id":122541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:56:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:56:11] 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-07-05 13:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 13:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:56: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-07-05 13:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 13:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:56:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 13:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 13:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":122541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:56:11] local.INFO: GPS data processed {"connection_id":122541,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:56:11] local.INFO: Acknowledgment sent {"connection_id":122541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:56:15] local.INFO: TCP Data received {"connection_id":122541,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:56:15] local.INFO: Processing buffer {"connection_id":122541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:56:15] local.INFO: Packet analysis {"connection_id":122541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:56:15] local.INFO: Extracted packet for processing {"connection_id":122541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:56:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:56:15] 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-07-05 13:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 13:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 13:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:56:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 13:56:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 13:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":122541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:56:15] local.INFO: GPS data processed {"connection_id":122541,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:56:15] local.INFO: Acknowledgment sent {"connection_id":122541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:56:29] local.INFO: TCP Data received {"connection_id":123319,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:56:29] local.INFO: Processing buffer {"connection_id":123319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:56:29] local.INFO: IMEI packet received {"connection_id":123319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":123319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:56:47] local.INFO: TCP Data received {"connection_id":122541,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:56:47] local.INFO: Processing buffer {"connection_id":122541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:56:47] local.INFO: Packet analysis {"connection_id":122541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:56:47] local.INFO: Extracted packet for processing {"connection_id":122541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:56:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:56:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:56:47] 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-07-05 13:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 13:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 13:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:56: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-07-05 13: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-07-05 13:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 13:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:56:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 13:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 13:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:56:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":122541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:56:47] local.INFO: GPS data processed {"connection_id":122541,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:56:47] local.INFO: Acknowledgment sent {"connection_id":122541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:57:05] local.INFO: TCP Data received {"connection_id":123320,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:57:05] local.INFO: Processing buffer {"connection_id":123320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:57:05] local.INFO: IMEI packet received {"connection_id":123320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":123320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:57:09] local.INFO: TCP Data received {"connection_id":123321,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:57:09] local.INFO: Processing buffer {"connection_id":123321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 13:57:09] local.INFO: IMEI packet received {"connection_id":123321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 13:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":123321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:57:10] local.INFO: TCP Data received {"connection_id":123320,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:57:10] local.INFO: Processing buffer {"connection_id":123320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:57:10] local.INFO: IMEI packet received {"connection_id":123320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":123320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:57:11] local.INFO: TCP Data received {"connection_id":123320,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:57:11] local.INFO: Processing buffer {"connection_id":123320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:57:11] local.INFO: Packet analysis {"connection_id":123320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:57:11] local.INFO: Extracted packet for processing {"connection_id":123320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:57:11] 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-07-05 13:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 13:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:57: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-07-05 13:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13: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-07-05 13:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 13:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:57:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 13:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 13:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":123320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:57:11] local.INFO: GPS data processed {"connection_id":123320,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:57:11] local.INFO: Acknowledgment sent {"connection_id":123320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:57:42] local.INFO: TCP Data received {"connection_id":123320,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:57:42] local.INFO: Processing buffer {"connection_id":123320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:57:42] local.INFO: Packet analysis {"connection_id":123320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:57:42] local.INFO: Extracted packet for processing {"connection_id":123320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:57:42] 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-07-05 13:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 13:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:57: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-07-05 13:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:57: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-07-05 13: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-07-05 13:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 13:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:57:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 13:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 13:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":123320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:57:42] local.INFO: GPS data processed {"connection_id":123320,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:57:42] local.INFO: Acknowledgment sent {"connection_id":123320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:58:05] local.INFO: TCP Data received {"connection_id":122543,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:58:05] local.INFO: Processing buffer {"connection_id":122543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:58:05] local.INFO: IMEI packet received {"connection_id":122543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":122543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:58:10] local.INFO: TCP Data received {"connection_id":122543,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:58:10] local.INFO: Processing buffer {"connection_id":122543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:58:10] local.INFO: IMEI packet received {"connection_id":122543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":122543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:58:11] local.INFO: TCP Data received {"connection_id":122543,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:58:11] local.INFO: Processing buffer {"connection_id":122543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:58:11] local.INFO: Packet analysis {"connection_id":122543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:58:11] local.INFO: Extracted packet for processing {"connection_id":122543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:58:11] 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-07-05 13:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 13:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:58: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-07-05 13:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 13:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:58:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 13:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 13:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":122543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:58:11] local.INFO: GPS data processed {"connection_id":122543,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:58:11] local.INFO: Acknowledgment sent {"connection_id":122543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:58:42] local.INFO: TCP Data received {"connection_id":122543,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:58:42] local.INFO: Processing buffer {"connection_id":122543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:58:42] local.INFO: Packet analysis {"connection_id":122543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:58:42] local.INFO: Extracted packet for processing {"connection_id":122543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:58:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:58:42] 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-07-05 13:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 13:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:58: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-07-05 13:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 13:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:58:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 13:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 13:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":122543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:58:42] local.INFO: GPS data processed {"connection_id":122543,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:58:42] local.INFO: Acknowledgment sent {"connection_id":122543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:59:05] local.INFO: TCP Data received {"connection_id":124524,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:59:05] local.INFO: Processing buffer {"connection_id":124524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:59:05] local.INFO: IMEI packet received {"connection_id":124524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 13:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":124524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 13:59:10] local.INFO: TCP Data received {"connection_id":124524,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:59:10] local.INFO: Processing buffer {"connection_id":124524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 13:59:10] local.INFO: IMEI packet received {"connection_id":124524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 13:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":124524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 13:59:11] local.INFO: TCP Data received {"connection_id":124524,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:59:11] local.INFO: Processing buffer {"connection_id":124524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:59:11] local.INFO: Packet analysis {"connection_id":124524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:59:11] local.INFO: Extracted packet for processing {"connection_id":124524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:59:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 13:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:59:11] 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-07-05 13:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 13:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13:59: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-07-05 13:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 13:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 13:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 13:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:59:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 13:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 13:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":124524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:59:11] local.INFO: GPS data processed {"connection_id":124524,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:59:11] local.INFO: Acknowledgment sent {"connection_id":124524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 13:59:42] local.INFO: TCP Data received {"connection_id":124524,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:59:42] local.INFO: Processing buffer {"connection_id":124524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 13:59:42] local.INFO: Packet analysis {"connection_id":124524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:59:42] local.INFO: Extracted packet for processing {"connection_id":124524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 13:59:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 13: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-07-05 13:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 13:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 13:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 13:59:42] 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-07-05 13:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 13:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 13: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-07-05 13:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 13:59: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-07-05 13: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-07-05 13:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 13:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 13:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 13:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 13:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 13:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 13:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 13:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 13:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 13:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 13:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 13:59:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 13:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 13:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 13:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 13:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 13:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":124524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 13:59:42] local.INFO: GPS data processed {"connection_id":124524,"processed":1,"errors":0,"total":1} 
[2026-07-05 13:59:42] local.INFO: Acknowledgment sent {"connection_id":124524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:00:15] local.INFO: TCP Data received {"connection_id":122591,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:00:15] local.INFO: Processing buffer {"connection_id":122591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:00:15] local.INFO: IMEI packet received {"connection_id":122591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":122591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:00:20] local.INFO: TCP Data received {"connection_id":122591,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:00:20] local.INFO: Processing buffer {"connection_id":122591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:00:20] local.INFO: IMEI packet received {"connection_id":122591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":122591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:00:21] local.INFO: TCP Data received {"connection_id":122591,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 14:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 14:00:21] local.INFO: Processing buffer {"connection_id":122591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 14:00:21] local.INFO: Packet analysis {"connection_id":122591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 14:00:21] local.INFO: Extracted packet for processing {"connection_id":122591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 14:00:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:00:21] 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-07-05 14:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 14:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 14:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 14:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:00:21] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 14:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 14:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":122591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:00:21] local.INFO: GPS data processed {"connection_id":122591,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:00:21] local.INFO: Acknowledgment sent {"connection_id":122591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:00:25] local.INFO: TCP Data received {"connection_id":122591,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 14:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 14:00:25] local.INFO: Processing buffer {"connection_id":122591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 14:00:25] local.INFO: Packet analysis {"connection_id":122591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 14:00:25] local.INFO: Extracted packet for processing {"connection_id":122591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 14:00:25] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:00:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:00:25] 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-07-05 14:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 14:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 14:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":122591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":122591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":122591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 14:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:00:25] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 14:00:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 14:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:00:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":122591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:00:25] local.INFO: GPS data processed {"connection_id":122591,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:00:25] local.INFO: Acknowledgment sent {"connection_id":122591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:01:05] local.INFO: TCP Data received {"connection_id":124526,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:01:05] local.INFO: Processing buffer {"connection_id":124526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:01:05] local.INFO: IMEI packet received {"connection_id":124526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":124526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:01:10] local.INFO: TCP Data received {"connection_id":124526,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:01:10] local.INFO: Processing buffer {"connection_id":124526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:01:10] local.INFO: IMEI packet received {"connection_id":124526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":124526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:01:11] local.INFO: TCP Data received {"connection_id":124526,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 14:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 14:01:11] local.INFO: Processing buffer {"connection_id":124526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3161fc48012cb2a24007823a980042013b26..."} 
[2026-07-05 14:01:11] local.INFO: Packet analysis {"connection_id":124526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 14:01:11] local.INFO: Extracted packet for processing {"connection_id":124526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3161"} 
[2026-07-05 14:01:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509345792001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:01:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:01:11] 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-07-05 14:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783239933000,"timestamp_ms":1783239933000,"timestamp_seconds":1783239933,"priority":1,"record_length":96,"hex_timestamp":"0000019f3161fc48"} 
[2026-07-05 14:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:01: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-07-05 14:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 14:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509345792001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 14:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509345792001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:01:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 14:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 14:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:01:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509345792001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":124526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:01:11] local.INFO: GPS data processed {"connection_id":124526,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:01:11] local.INFO: Acknowledgment sent {"connection_id":124526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:01:42] local.INFO: TCP Data received {"connection_id":124526,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:01:42] local.INFO: Processing buffer {"connection_id":124526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:01:42] local.INFO: Packet analysis {"connection_id":124526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:01:42] local.INFO: Extracted packet for processing {"connection_id":124526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509422848001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783240235000,"timestamp_ms":1783240235000,"timestamp_seconds":1783240235,"priority":1,"record_length":96,"hex_timestamp":"0000019f316697f8"} 
[2026-07-05 14:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14: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-07-05 14: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-07-05 14: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-07-05 14: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-07-05 14:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509422848001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509422848001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:01:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509422848001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":124526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:01:42] local.INFO: GPS data processed {"connection_id":124526,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:01:42] local.INFO: Acknowledgment sent {"connection_id":124526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:02:05] local.INFO: TCP Data received {"connection_id":123323,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:02:05] local.INFO: Processing buffer {"connection_id":123323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:02:05] local.INFO: IMEI packet received {"connection_id":123323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":123323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:02:10] local.INFO: TCP Data received {"connection_id":123323,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:02:10] local.INFO: Processing buffer {"connection_id":123323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:02:10] local.INFO: IMEI packet received {"connection_id":123323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":123323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:02:11] local.INFO: TCP Data received {"connection_id":123323,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:02:11] local.INFO: Processing buffer {"connection_id":123323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:02:11] local.INFO: Packet analysis {"connection_id":123323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:02:11] local.INFO: Extracted packet for processing {"connection_id":123323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:02:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509422848001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240235000,"timestamp_ms":1783240235000,"timestamp_seconds":1783240235,"priority":1,"record_length":96,"hex_timestamp":"0000019f316697f8"} 
[2026-07-05 14:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:02: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-07-05 14:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509422848001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509422848001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:02:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509422848001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":123323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:02:11] local.INFO: GPS data processed {"connection_id":123323,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:02:11] local.INFO: Acknowledgment sent {"connection_id":123323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:02:24] local.INFO: TCP Data received {"connection_id":122544,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:02:24] local.INFO: Processing buffer {"connection_id":122544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:02:24] local.INFO: IMEI packet received {"connection_id":122544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":122544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:02:42] local.INFO: TCP Data received {"connection_id":123323,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:02:42] local.INFO: Processing buffer {"connection_id":123323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:02:42] local.INFO: Packet analysis {"connection_id":123323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:02:42] local.INFO: Extracted packet for processing {"connection_id":123323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:02:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509422848001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783240235000,"timestamp_ms":1783240235000,"timestamp_seconds":1783240235,"priority":1,"record_length":96,"hex_timestamp":"0000019f316697f8"} 
[2026-07-05 14:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:02: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-07-05 14:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:02: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-07-05 14:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509422848001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509422848001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:02:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509422848001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":123323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:02:42] local.INFO: GPS data processed {"connection_id":123323,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:02:42] local.INFO: Acknowledgment sent {"connection_id":123323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:03:04] local.INFO: TCP Data received {"connection_id":122592,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:03:04] local.INFO: Processing buffer {"connection_id":122592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:03:04] local.INFO: IMEI packet received {"connection_id":122592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":122592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:03:05] local.INFO: TCP Data received {"connection_id":124527,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:03:05] local.INFO: Processing buffer {"connection_id":124527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:03:05] local.INFO: IMEI packet received {"connection_id":124527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":124527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:03:10] local.INFO: TCP Data received {"connection_id":124527,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:03:10] local.INFO: Processing buffer {"connection_id":124527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:03:10] local.INFO: IMEI packet received {"connection_id":124527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":124527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:03:11] local.INFO: TCP Data received {"connection_id":124527,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:03:11] local.INFO: Processing buffer {"connection_id":124527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:03:11] local.INFO: Packet analysis {"connection_id":124527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:03:11] local.INFO: Extracted packet for processing {"connection_id":124527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:03:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509422848001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240235000,"timestamp_ms":1783240235000,"timestamp_seconds":1783240235,"priority":1,"record_length":96,"hex_timestamp":"0000019f316697f8"} 
[2026-07-05 14:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:03: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-07-05 14:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509422848001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509422848001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:03:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509422848001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":124527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:03:11] local.INFO: GPS data processed {"connection_id":124527,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:03:11] local.INFO: Acknowledgment sent {"connection_id":124527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:03:42] local.INFO: TCP Data received {"connection_id":124527,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:03:42] local.INFO: Processing buffer {"connection_id":124527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:03:42] local.INFO: Packet analysis {"connection_id":124527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:03:42] local.INFO: Extracted packet for processing {"connection_id":124527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509422848001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783240235000,"timestamp_ms":1783240235000,"timestamp_seconds":1783240235,"priority":1,"record_length":96,"hex_timestamp":"0000019f316697f8"} 
[2026-07-05 14:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:03: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-07-05 14:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:03: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-07-05 14:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509422848001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509422848001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:03:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509422848001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":124527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:03:42] local.INFO: GPS data processed {"connection_id":124527,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:03:42] local.INFO: Acknowledgment sent {"connection_id":124527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:04:10] local.INFO: TCP Data received {"connection_id":122545,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:04:10] local.INFO: Processing buffer {"connection_id":122545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:04:10] local.INFO: IMEI packet received {"connection_id":122545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":122545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:04:15] local.INFO: TCP Data received {"connection_id":122545,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:04:15] local.INFO: Processing buffer {"connection_id":122545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:04:15] local.INFO: IMEI packet received {"connection_id":122545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":122545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:04:16] local.INFO: TCP Data received {"connection_id":122545,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:04:16] local.INFO: Processing buffer {"connection_id":122545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:04:16] local.INFO: Packet analysis {"connection_id":122545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:04:16] local.INFO: Extracted packet for processing {"connection_id":122545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:04:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509422848001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:04:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783240235000,"timestamp_ms":1783240235000,"timestamp_seconds":1783240235,"priority":1,"record_length":96,"hex_timestamp":"0000019f316697f8"} 
[2026-07-05 14:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509422848001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509422848001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:04:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:04:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:04:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509422848001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":122545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:04:16] local.INFO: GPS data processed {"connection_id":122545,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:04:16] local.INFO: Acknowledgment sent {"connection_id":122545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:04:20] local.INFO: TCP Data received {"connection_id":122545,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:04:20] local.INFO: Processing buffer {"connection_id":122545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:04:20] local.INFO: Packet analysis {"connection_id":122545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:04:20] local.INFO: Extracted packet for processing {"connection_id":122545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:04:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509422848001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783240235000,"timestamp_ms":1783240235000,"timestamp_seconds":1783240235,"priority":1,"record_length":96,"hex_timestamp":"0000019f316697f8"} 
[2026-07-05 14:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509422848001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509422848001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:04:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:04:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509422848001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":122545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:04:20] local.INFO: GPS data processed {"connection_id":122545,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:04:20] local.INFO: Acknowledgment sent {"connection_id":122545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:05:05] local.INFO: TCP Data received {"connection_id":122546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:05:05] local.INFO: Processing buffer {"connection_id":122546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:05:05] local.INFO: IMEI packet received {"connection_id":122546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":122546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:05:10] local.INFO: TCP Data received {"connection_id":122546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:05:10] local.INFO: Processing buffer {"connection_id":122546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:05:10] local.INFO: IMEI packet received {"connection_id":122546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":122546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:05:11] local.INFO: TCP Data received {"connection_id":122546,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:05:11] local.INFO: Processing buffer {"connection_id":122546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:05:11] local.INFO: Packet analysis {"connection_id":122546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:05:11] local.INFO: Extracted packet for processing {"connection_id":122546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:05:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509422848001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240235000,"timestamp_ms":1783240235000,"timestamp_seconds":1783240235,"priority":1,"record_length":96,"hex_timestamp":"0000019f316697f8"} 
[2026-07-05 14:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:05: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-07-05 14: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509422848001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509422848001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:05:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:05:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509422848001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":122546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:05:11] local.INFO: GPS data processed {"connection_id":122546,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:05:11] local.INFO: Acknowledgment sent {"connection_id":122546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:05:42] local.INFO: TCP Data received {"connection_id":122546,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:05:42] local.INFO: Processing buffer {"connection_id":122546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:05:42] local.INFO: Packet analysis {"connection_id":122546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:05:42] local.INFO: Extracted packet for processing {"connection_id":122546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:05:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 14:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509422848001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783240235000,"timestamp_ms":1783240235000,"timestamp_seconds":1783240235,"priority":1,"record_length":96,"hex_timestamp":"0000019f316697f8"} 
[2026-07-05 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-07-05 14:05: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-07-05 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":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 14:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509422848001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509422848001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:05:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509422848001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":122546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:05:42] local.INFO: GPS data processed {"connection_id":122546,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:05:42] local.INFO: Acknowledgment sent {"connection_id":122546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:06:05] local.INFO: TCP Data received {"connection_id":123324,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:06:05] local.INFO: Processing buffer {"connection_id":123324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:06:05] local.INFO: IMEI packet received {"connection_id":123324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":123324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:06:10] local.INFO: TCP Data received {"connection_id":123324,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:06:10] local.INFO: Processing buffer {"connection_id":123324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:06:10] local.INFO: IMEI packet received {"connection_id":123324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":123324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:06:11] local.INFO: TCP Data received {"connection_id":123324,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:06:11] local.INFO: Processing buffer {"connection_id":123324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316697f8012cb2a24007823a980042013b23..."} 
[2026-07-05 14:06:11] local.INFO: Packet analysis {"connection_id":123324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:06:11] local.INFO: Extracted packet for processing {"connection_id":123324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3166"} 
[2026-07-05 14:06:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509422848001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240235000,"timestamp_ms":1783240235000,"timestamp_seconds":1783240235,"priority":1,"record_length":96,"hex_timestamp":"0000019f316697f8"} 
[2026-07-05 14:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509422848001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509422848001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:06:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509422848001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":123324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:06:11] local.INFO: GPS data processed {"connection_id":123324,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:06:11] local.INFO: Acknowledgment sent {"connection_id":123324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:06:42] local.INFO: TCP Data received {"connection_id":123324,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:06:42] local.INFO: Processing buffer {"connection_id":123324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:06:42] local.INFO: Packet analysis {"connection_id":123324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:06:42] local.INFO: Extracted packet for processing {"connection_id":123324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:06:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509500160001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783240539000,"timestamp_ms":1783240539000,"timestamp_seconds":1783240539,"priority":1,"record_length":96,"hex_timestamp":"0000019f316b3b78"} 
[2026-07-05 14:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:06: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-07-05 14:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509500160001,"66":25299,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509500160001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:06:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509500160001,"power":25299,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":123324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:06:42] local.INFO: GPS data processed {"connection_id":123324,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:06:42] local.INFO: Acknowledgment sent {"connection_id":123324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:07:05] local.INFO: TCP Data received {"connection_id":122594,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:07:05] local.INFO: Processing buffer {"connection_id":122594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:07:05] local.INFO: IMEI packet received {"connection_id":122594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":122594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:07:10] local.INFO: TCP Data received {"connection_id":122594,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:07:10] local.INFO: Processing buffer {"connection_id":122594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:07:10] local.INFO: IMEI packet received {"connection_id":122594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":122594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:07:11] local.INFO: TCP Data received {"connection_id":122594,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:07:11] local.INFO: Processing buffer {"connection_id":122594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:07:11] local.INFO: Packet analysis {"connection_id":122594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:07:11] local.INFO: Extracted packet for processing {"connection_id":122594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509500160001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240539000,"timestamp_ms":1783240539000,"timestamp_seconds":1783240539,"priority":1,"record_length":96,"hex_timestamp":"0000019f316b3b78"} 
[2026-07-05 14:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509500160001,"66":25299,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509500160001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:07:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509500160001,"power":25299,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":122594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:07:11] local.INFO: GPS data processed {"connection_id":122594,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:07:11] local.INFO: Acknowledgment sent {"connection_id":122594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:07:42] local.INFO: TCP Data received {"connection_id":122594,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:07:42] local.INFO: Processing buffer {"connection_id":122594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:07:42] local.INFO: Packet analysis {"connection_id":122594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:07:42] local.INFO: Extracted packet for processing {"connection_id":122594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509500160001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783240539000,"timestamp_ms":1783240539000,"timestamp_seconds":1783240539,"priority":1,"record_length":96,"hex_timestamp":"0000019f316b3b78"} 
[2026-07-05 14:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:07: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-07-05 14:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509500160001,"66":25299,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509500160001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:07:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509500160001,"power":25299,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":122594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:07:42] local.INFO: GPS data processed {"connection_id":122594,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:07:42] local.INFO: Acknowledgment sent {"connection_id":122594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:08:10] local.INFO: TCP Data received {"connection_id":122550,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:08:10] local.INFO: Processing buffer {"connection_id":122550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:08:10] local.INFO: IMEI packet received {"connection_id":122550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":122550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:08:15] local.INFO: TCP Data received {"connection_id":122550,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:08:15] local.INFO: Processing buffer {"connection_id":122550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:08:15] local.INFO: IMEI packet received {"connection_id":122550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":122550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:08:16] local.INFO: TCP Data received {"connection_id":122550,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:08:16] local.INFO: Processing buffer {"connection_id":122550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:08:16] local.INFO: Packet analysis {"connection_id":122550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:08:16] local.INFO: Extracted packet for processing {"connection_id":122550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:08:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509500160001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:08:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783240539000,"timestamp_ms":1783240539000,"timestamp_seconds":1783240539,"priority":1,"record_length":96,"hex_timestamp":"0000019f316b3b78"} 
[2026-07-05 14:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509500160001,"66":25299,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509500160001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:08:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:08:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:08:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509500160001,"power":25299,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":122550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:08:16] local.INFO: GPS data processed {"connection_id":122550,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:08:16] local.INFO: Acknowledgment sent {"connection_id":122550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:08:20] local.INFO: TCP Data received {"connection_id":122550,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:08:20] local.INFO: Processing buffer {"connection_id":122550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:08:20] local.INFO: Packet analysis {"connection_id":122550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:08:20] local.INFO: Extracted packet for processing {"connection_id":122550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 14:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509500160001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783240539000,"timestamp_ms":1783240539000,"timestamp_seconds":1783240539,"priority":1,"record_length":96,"hex_timestamp":"0000019f316b3b78"} 
[2026-07-05 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-07-05 14:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 14:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509500160001,"66":25299,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509500160001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:08:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509500160001,"power":25299,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":122550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:08:20] local.INFO: GPS data processed {"connection_id":122550,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:08:20] local.INFO: Acknowledgment sent {"connection_id":122550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:08:31] local.INFO: TCP Data received {"connection_id":122595,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:08:31] local.INFO: Processing buffer {"connection_id":122595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:08:31] local.INFO: IMEI packet received {"connection_id":122595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":122595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:09:05] local.INFO: TCP Data received {"connection_id":122551,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:09:05] local.INFO: Processing buffer {"connection_id":122551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:09:05] local.INFO: IMEI packet received {"connection_id":122551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":122551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:09:09] local.INFO: TCP Data received {"connection_id":124528,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:09:09] local.INFO: Processing buffer {"connection_id":124528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:09:09] local.INFO: IMEI packet received {"connection_id":124528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":124528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:09:10] local.INFO: TCP Data received {"connection_id":122551,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:09:10] local.INFO: Processing buffer {"connection_id":122551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:09:10] local.INFO: IMEI packet received {"connection_id":122551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":122551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:09:11] local.INFO: TCP Data received {"connection_id":122551,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:09:11] local.INFO: Processing buffer {"connection_id":122551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:09:11] local.INFO: Packet analysis {"connection_id":122551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:09:11] local.INFO: Extracted packet for processing {"connection_id":122551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509500160001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240539000,"timestamp_ms":1783240539000,"timestamp_seconds":1783240539,"priority":1,"record_length":96,"hex_timestamp":"0000019f316b3b78"} 
[2026-07-05 14:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509500160001,"66":25299,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509500160001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:09:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509500160001,"power":25299,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":122551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:09:11] local.INFO: GPS data processed {"connection_id":122551,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:09:11] local.INFO: Acknowledgment sent {"connection_id":122551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:09:42] local.INFO: TCP Data received {"connection_id":122551,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:09:42] local.INFO: Processing buffer {"connection_id":122551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:09:42] local.INFO: Packet analysis {"connection_id":122551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:09:42] local.INFO: Extracted packet for processing {"connection_id":122551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509500160001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783240539000,"timestamp_ms":1783240539000,"timestamp_seconds":1783240539,"priority":1,"record_length":96,"hex_timestamp":"0000019f316b3b78"} 
[2026-07-05 14:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:09: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-07-05 14: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:09: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-07-05 14: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-07-05 14:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509500160001,"66":25299,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509500160001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:09:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509500160001,"power":25299,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":122551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:09:42] local.INFO: GPS data processed {"connection_id":122551,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:09:42] local.INFO: Acknowledgment sent {"connection_id":122551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:10:05] local.INFO: TCP Data received {"connection_id":123326,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:10:05] local.INFO: Processing buffer {"connection_id":123326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:10:05] local.INFO: IMEI packet received {"connection_id":123326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":123326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:10:10] local.INFO: TCP Data received {"connection_id":123326,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:10:10] local.INFO: Processing buffer {"connection_id":123326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:10:10] local.INFO: IMEI packet received {"connection_id":123326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":123326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:10:11] local.INFO: TCP Data received {"connection_id":123326,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:10:11] local.INFO: Processing buffer {"connection_id":123326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:10:11] local.INFO: Packet analysis {"connection_id":123326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:10:11] local.INFO: Extracted packet for processing {"connection_id":123326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509500160001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240539000,"timestamp_ms":1783240539000,"timestamp_seconds":1783240539,"priority":1,"record_length":96,"hex_timestamp":"0000019f316b3b78"} 
[2026-07-05 14:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509500160001,"66":25299,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509500160001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:10:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509500160001,"power":25299,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":123326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:10:11] local.INFO: GPS data processed {"connection_id":123326,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:10:11] local.INFO: Acknowledgment sent {"connection_id":123326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:10:42] local.INFO: TCP Data received {"connection_id":123326,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:10:42] local.INFO: Processing buffer {"connection_id":123326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:10:42] local.INFO: Packet analysis {"connection_id":123326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:10:42] local.INFO: Extracted packet for processing {"connection_id":123326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509500160001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783240539000,"timestamp_ms":1783240539000,"timestamp_seconds":1783240539,"priority":1,"record_length":96,"hex_timestamp":"0000019f316b3b78"} 
[2026-07-05 14:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:10: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-07-05 14:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509500160001,"66":25299,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509500160001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:10:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509500160001,"power":25299,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":123326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:10:42] local.INFO: GPS data processed {"connection_id":123326,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:10:42] local.INFO: Acknowledgment sent {"connection_id":123326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:11:05] local.INFO: TCP Data received {"connection_id":122552,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:11:05] local.INFO: Processing buffer {"connection_id":122552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:11:05] local.INFO: IMEI packet received {"connection_id":122552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":122552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:11:10] local.INFO: TCP Data received {"connection_id":122552,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:11:10] local.INFO: Processing buffer {"connection_id":122552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:11:10] local.INFO: IMEI packet received {"connection_id":122552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":122552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:11:11] local.INFO: TCP Data received {"connection_id":122552,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:11:11] local.INFO: Processing buffer {"connection_id":122552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316b3b78012cb2a24007823a980042013b26..."} 
[2026-07-05 14:11:11] local.INFO: Packet analysis {"connection_id":122552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:11:11] local.INFO: Extracted packet for processing {"connection_id":122552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316b"} 
[2026-07-05 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509500160001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240539000,"timestamp_ms":1783240539000,"timestamp_seconds":1783240539,"priority":1,"record_length":96,"hex_timestamp":"0000019f316b3b78"} 
[2026-07-05 14:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509500160001,"66":25299,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509500160001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:11:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509500160001,"power":25299,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":122552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:11:11] local.INFO: GPS data processed {"connection_id":122552,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:11:11] local.INFO: Acknowledgment sent {"connection_id":122552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:11:42] local.INFO: TCP Data received {"connection_id":122552,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:11:42] local.INFO: Processing buffer {"connection_id":122552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:11:42] local.INFO: Packet analysis {"connection_id":122552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:11:42] local.INFO: Extracted packet for processing {"connection_id":122552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509577984001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783240843000,"timestamp_ms":1783240843000,"timestamp_seconds":1783240843,"priority":1,"record_length":96,"hex_timestamp":"0000019f316fdef8"} 
[2026-07-05 14:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:11: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-07-05 14:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 14:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509577984001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509577984001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:11:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509577984001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":122552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:11:42] local.INFO: GPS data processed {"connection_id":122552,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:11:42] local.INFO: Acknowledgment sent {"connection_id":122552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:12:05] local.INFO: TCP Data received {"connection_id":124530,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:12:05] local.INFO: Processing buffer {"connection_id":124530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:12:05] local.INFO: IMEI packet received {"connection_id":124530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":124530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:12:10] local.INFO: TCP Data received {"connection_id":124530,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:12:10] local.INFO: Processing buffer {"connection_id":124530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:12:10] local.INFO: IMEI packet received {"connection_id":124530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":124530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:12:11] local.INFO: TCP Data received {"connection_id":124530,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:12:11] local.INFO: Processing buffer {"connection_id":124530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:12:11] local.INFO: Packet analysis {"connection_id":124530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:12:11] local.INFO: Extracted packet for processing {"connection_id":124530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:12:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509577984001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240843000,"timestamp_ms":1783240843000,"timestamp_seconds":1783240843,"priority":1,"record_length":96,"hex_timestamp":"0000019f316fdef8"} 
[2026-07-05 14:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 14:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509577984001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509577984001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:12:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509577984001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":124530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:12:11] local.INFO: GPS data processed {"connection_id":124530,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:12:11] local.INFO: Acknowledgment sent {"connection_id":124530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:12:19] local.INFO: TCP Data received {"connection_id":124530,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:12:19] local.INFO: Processing buffer {"connection_id":124530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:12:19] local.INFO: Packet analysis {"connection_id":124530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:12:19] local.INFO: Extracted packet for processing {"connection_id":124530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:12:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509577984001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:12:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783240843000,"timestamp_ms":1783240843000,"timestamp_seconds":1783240843,"priority":1,"record_length":96,"hex_timestamp":"0000019f316fdef8"} 
[2026-07-05 14:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 14:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509577984001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509577984001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:12:19] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:12:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:12:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509577984001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":124530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:12:19] local.INFO: GPS data processed {"connection_id":124530,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:12:19] local.INFO: Acknowledgment sent {"connection_id":124530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:12:50] local.INFO: TCP Data received {"connection_id":124530,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:12:50] local.INFO: Processing buffer {"connection_id":124530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:12:50] local.INFO: Packet analysis {"connection_id":124530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:12:50] local.INFO: Extracted packet for processing {"connection_id":124530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:12:50] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509577984001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783240843000,"timestamp_ms":1783240843000,"timestamp_seconds":1783240843,"priority":1,"record_length":96,"hex_timestamp":"0000019f316fdef8"} 
[2026-07-05 14:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 14:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":124530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":124530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":124530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509577984001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509577984001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:12:50] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509577984001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":124530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:12:50] local.INFO: GPS data processed {"connection_id":124530,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:12:50] local.INFO: Acknowledgment sent {"connection_id":124530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:13:05] local.INFO: TCP Data received {"connection_id":122597,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:13:05] local.INFO: Processing buffer {"connection_id":122597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:13:05] local.INFO: IMEI packet received {"connection_id":122597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":122597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:13:10] local.INFO: TCP Data received {"connection_id":122597,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:13:10] local.INFO: Processing buffer {"connection_id":122597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:13:10] local.INFO: IMEI packet received {"connection_id":122597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":122597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:13:13] local.INFO: TCP Data received {"connection_id":122597,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:13:13] local.INFO: Processing buffer {"connection_id":122597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:13:13] local.INFO: Packet analysis {"connection_id":122597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:13:13] local.INFO: Extracted packet for processing {"connection_id":122597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:13:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509577984001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783240843000,"timestamp_ms":1783240843000,"timestamp_seconds":1783240843,"priority":1,"record_length":96,"hex_timestamp":"0000019f316fdef8"} 
[2026-07-05 14:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 14:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509577984001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509577984001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:13:13] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509577984001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":122597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:13:13] local.INFO: GPS data processed {"connection_id":122597,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:13:13] local.INFO: Acknowledgment sent {"connection_id":122597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:13:44] local.INFO: TCP Data received {"connection_id":122597,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:13:44] local.INFO: Processing buffer {"connection_id":122597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:13:44] local.INFO: Packet analysis {"connection_id":122597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:13:44] local.INFO: Extracted packet for processing {"connection_id":122597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:13:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509577984001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:13:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783240843000,"timestamp_ms":1783240843000,"timestamp_seconds":1783240843,"priority":1,"record_length":96,"hex_timestamp":"0000019f316fdef8"} 
[2026-07-05 14:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 14:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509577984001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509577984001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:13:44] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:13:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509577984001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":122597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:13:44] local.INFO: GPS data processed {"connection_id":122597,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:13:44] local.INFO: Acknowledgment sent {"connection_id":122597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:14:05] local.INFO: TCP Data received {"connection_id":122554,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:14:05] local.INFO: Processing buffer {"connection_id":122554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:14:05] local.INFO: IMEI packet received {"connection_id":122554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":122554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:14:10] local.INFO: TCP Data received {"connection_id":122554,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:14:10] local.INFO: Processing buffer {"connection_id":122554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:14:10] local.INFO: IMEI packet received {"connection_id":122554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":122554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:14:11] local.INFO: TCP Data received {"connection_id":122554,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:14:11] local.INFO: Processing buffer {"connection_id":122554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:14:11] local.INFO: Packet analysis {"connection_id":122554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:14:11] local.INFO: Extracted packet for processing {"connection_id":122554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:14:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509577984001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240843000,"timestamp_ms":1783240843000,"timestamp_seconds":1783240843,"priority":1,"record_length":96,"hex_timestamp":"0000019f316fdef8"} 
[2026-07-05 14:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 14:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509577984001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509577984001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:14:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509577984001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":122554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:14:11] local.INFO: GPS data processed {"connection_id":122554,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:14:11] local.INFO: Acknowledgment sent {"connection_id":122554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:14:29] local.INFO: TCP Data received {"connection_id":124531,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:14:29] local.INFO: Processing buffer {"connection_id":124531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:14:29] local.INFO: IMEI packet received {"connection_id":124531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":124531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:14:42] local.INFO: TCP Data received {"connection_id":122554,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:14:42] local.INFO: Processing buffer {"connection_id":122554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:14:42] local.INFO: Packet analysis {"connection_id":122554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:14:42] local.INFO: Extracted packet for processing {"connection_id":122554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:14:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509577984001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783240843000,"timestamp_ms":1783240843000,"timestamp_seconds":1783240843,"priority":1,"record_length":96,"hex_timestamp":"0000019f316fdef8"} 
[2026-07-05 14:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:14: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-07-05 14:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 14:14: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-07-05 14:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509577984001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509577984001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:14:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509577984001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":122554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:14:42] local.INFO: GPS data processed {"connection_id":122554,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:14:42] local.INFO: Acknowledgment sent {"connection_id":122554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:15:04] local.INFO: TCP Data received {"connection_id":122555,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:15:04] local.INFO: Processing buffer {"connection_id":122555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:15:04] local.INFO: IMEI packet received {"connection_id":122555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":122555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:15:05] local.INFO: TCP Data received {"connection_id":122556,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:15:05] local.INFO: Processing buffer {"connection_id":122556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:15:05] local.INFO: IMEI packet received {"connection_id":122556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":122556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:15:10] local.INFO: TCP Data received {"connection_id":122556,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:15:10] local.INFO: Processing buffer {"connection_id":122556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:15:10] local.INFO: IMEI packet received {"connection_id":122556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":122556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:15:11] local.INFO: TCP Data received {"connection_id":122556,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:15:11] local.INFO: Processing buffer {"connection_id":122556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:15:11] local.INFO: Packet analysis {"connection_id":122556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:15:11] local.INFO: Extracted packet for processing {"connection_id":122556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:15:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509577984001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240843000,"timestamp_ms":1783240843000,"timestamp_seconds":1783240843,"priority":1,"record_length":96,"hex_timestamp":"0000019f316fdef8"} 
[2026-07-05 14:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 14:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509577984001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509577984001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:15:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509577984001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":122556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:15:11] local.INFO: GPS data processed {"connection_id":122556,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:15:11] local.INFO: Acknowledgment sent {"connection_id":122556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:15:42] local.INFO: TCP Data received {"connection_id":122556,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:15:42] local.INFO: Processing buffer {"connection_id":122556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:15:42] local.INFO: Packet analysis {"connection_id":122556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:15:42] local.INFO: Extracted packet for processing {"connection_id":122556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:15:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509577984001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783240843000,"timestamp_ms":1783240843000,"timestamp_seconds":1783240843,"priority":1,"record_length":96,"hex_timestamp":"0000019f316fdef8"} 
[2026-07-05 14:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:15: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-07-05 14:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 14:15: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-07-05 14:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509577984001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509577984001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:15:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509577984001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":122556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:15:42] local.INFO: GPS data processed {"connection_id":122556,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:15:42] local.INFO: Acknowledgment sent {"connection_id":122556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:16:05] local.INFO: TCP Data received {"connection_id":124533,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:16:05] local.INFO: Processing buffer {"connection_id":124533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:16:05] local.INFO: IMEI packet received {"connection_id":124533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":124533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:16:10] local.INFO: TCP Data received {"connection_id":124533,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:16:10] local.INFO: Processing buffer {"connection_id":124533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:16:10] local.INFO: IMEI packet received {"connection_id":124533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":124533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:16:11] local.INFO: TCP Data received {"connection_id":124533,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:16:11] local.INFO: Processing buffer {"connection_id":124533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f316fdef8012cb2a24007823a980042013b25..."} 
[2026-07-05 14:16:11] local.INFO: Packet analysis {"connection_id":124533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:16:11] local.INFO: Extracted packet for processing {"connection_id":124533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f316f"} 
[2026-07-05 14:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509577984001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783240843000,"timestamp_ms":1783240843000,"timestamp_seconds":1783240843,"priority":1,"record_length":96,"hex_timestamp":"0000019f316fdef8"} 
[2026-07-05 14:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 14:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509577984001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509577984001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:16:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509577984001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":124533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:16:11] local.INFO: GPS data processed {"connection_id":124533,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:16:11] local.INFO: Acknowledgment sent {"connection_id":124533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:16:42] local.INFO: TCP Data received {"connection_id":124533,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:16:42] local.INFO: Processing buffer {"connection_id":124533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:16:42] local.INFO: Packet analysis {"connection_id":124533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:16:42] local.INFO: Extracted packet for processing {"connection_id":124533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509655808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783241159000,"timestamp_ms":1783241159000,"timestamp_seconds":1783241159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3174b158"} 
[2026-07-05 14:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:16: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-07-05 14:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:16: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-07-05 14:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509655808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509655808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:16:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509655808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":124533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:16:42] local.INFO: GPS data processed {"connection_id":124533,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:16:42] local.INFO: Acknowledgment sent {"connection_id":124533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:17:05] local.INFO: TCP Data received {"connection_id":122598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:17:05] local.INFO: Processing buffer {"connection_id":122598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:17:05] local.INFO: IMEI packet received {"connection_id":122598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":122598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:17:10] local.INFO: TCP Data received {"connection_id":122598,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:17:10] local.INFO: Processing buffer {"connection_id":122598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:17:10] local.INFO: IMEI packet received {"connection_id":122598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":122598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:17:11] local.INFO: TCP Data received {"connection_id":122598,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:17:11] local.INFO: Processing buffer {"connection_id":122598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:17:11] local.INFO: Packet analysis {"connection_id":122598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:17:11] local.INFO: Extracted packet for processing {"connection_id":122598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509655808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783241159000,"timestamp_ms":1783241159000,"timestamp_seconds":1783241159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3174b158"} 
[2026-07-05 14:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509655808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509655808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:17:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509655808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":122598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:17:11] local.INFO: GPS data processed {"connection_id":122598,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:17:11] local.INFO: Acknowledgment sent {"connection_id":122598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:17:42] local.INFO: TCP Data received {"connection_id":122598,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:17:42] local.INFO: Processing buffer {"connection_id":122598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:17:42] local.INFO: Packet analysis {"connection_id":122598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:17:42] local.INFO: Extracted packet for processing {"connection_id":122598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509655808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783241159000,"timestamp_ms":1783241159000,"timestamp_seconds":1783241159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3174b158"} 
[2026-07-05 14:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:17: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-07-05 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509655808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509655808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:17:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509655808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":122598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:17:42] local.INFO: GPS data processed {"connection_id":122598,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:17:42] local.INFO: Acknowledgment sent {"connection_id":122598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:18:05] local.INFO: TCP Data received {"connection_id":123328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:18:05] local.INFO: Processing buffer {"connection_id":123328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:18:05] local.INFO: IMEI packet received {"connection_id":123328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":123328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:18:10] local.INFO: TCP Data received {"connection_id":123328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:18:10] local.INFO: Processing buffer {"connection_id":123328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:18:10] local.INFO: IMEI packet received {"connection_id":123328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":123328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:18:13] local.INFO: TCP Data received {"connection_id":123328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:18:13] local.INFO: Processing buffer {"connection_id":123328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:18:13] local.INFO: Packet analysis {"connection_id":123328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:18:13] local.INFO: Extracted packet for processing {"connection_id":123328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:18:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509655808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:18:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783241159000,"timestamp_ms":1783241159000,"timestamp_seconds":1783241159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3174b158"} 
[2026-07-05 14:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":123328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":123328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":123328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509655808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509655808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:18:13] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:18:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509655808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":123328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:18:14] local.INFO: GPS data processed {"connection_id":123328,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:18:14] local.INFO: Acknowledgment sent {"connection_id":123328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:18:45] local.INFO: TCP Data received {"connection_id":123328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:18:45] local.INFO: Processing buffer {"connection_id":123328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:18:45] local.INFO: Packet analysis {"connection_id":123328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:18:45] local.INFO: Extracted packet for processing {"connection_id":123328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:18:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509655808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:18:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783241159000,"timestamp_ms":1783241159000,"timestamp_seconds":1783241159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3174b158"} 
[2026-07-05 14:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":123328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":123328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":123328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509655808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509655808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:18:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509655808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":123328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:18:45] local.INFO: GPS data processed {"connection_id":123328,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:18:45] local.INFO: Acknowledgment sent {"connection_id":123328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:19:05] local.INFO: TCP Data received {"connection_id":123329,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:19:05] local.INFO: Processing buffer {"connection_id":123329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:19:05] local.INFO: IMEI packet received {"connection_id":123329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":123329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:19:10] local.INFO: TCP Data received {"connection_id":123329,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:19:10] local.INFO: Processing buffer {"connection_id":123329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:19:10] local.INFO: IMEI packet received {"connection_id":123329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":123329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:19:11] local.INFO: TCP Data received {"connection_id":123329,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:19:11] local.INFO: Processing buffer {"connection_id":123329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:19:11] local.INFO: Packet analysis {"connection_id":123329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:19:11] local.INFO: Extracted packet for processing {"connection_id":123329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:19:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:19: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-07-05 14:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509655808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783241159000,"timestamp_ms":1783241159000,"timestamp_seconds":1783241159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3174b158"} 
[2026-07-05 14:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:19: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-07-05 14:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509655808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509655808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:19:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509655808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":123329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:19:11] local.INFO: GPS data processed {"connection_id":123329,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:19:11] local.INFO: Acknowledgment sent {"connection_id":123329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:19:42] local.INFO: TCP Data received {"connection_id":123329,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:19:42] local.INFO: Processing buffer {"connection_id":123329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:19:42] local.INFO: Packet analysis {"connection_id":123329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:19:42] local.INFO: Extracted packet for processing {"connection_id":123329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509655808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783241159000,"timestamp_ms":1783241159000,"timestamp_seconds":1783241159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3174b158"} 
[2026-07-05 14:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:19: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-07-05 14:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:19: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-07-05 14:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509655808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509655808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:19:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509655808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":123329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:19:42] local.INFO: GPS data processed {"connection_id":123329,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:19:42] local.INFO: Acknowledgment sent {"connection_id":123329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:20:05] local.INFO: TCP Data received {"connection_id":124535,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:20:05] local.INFO: Processing buffer {"connection_id":124535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:20:05] local.INFO: IMEI packet received {"connection_id":124535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":124535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:20:10] local.INFO: TCP Data received {"connection_id":124535,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:20:10] local.INFO: Processing buffer {"connection_id":124535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:20:10] local.INFO: IMEI packet received {"connection_id":124535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":124535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:20:11] local.INFO: TCP Data received {"connection_id":124535,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:20:11] local.INFO: Processing buffer {"connection_id":124535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:20:11] local.INFO: Packet analysis {"connection_id":124535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:20:11] local.INFO: Extracted packet for processing {"connection_id":124535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:20:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509655808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783241159000,"timestamp_ms":1783241159000,"timestamp_seconds":1783241159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3174b158"} 
[2026-07-05 14:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509655808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509655808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:20:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509655808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":124535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:20:11] local.INFO: GPS data processed {"connection_id":124535,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:20:11] local.INFO: Acknowledgment sent {"connection_id":124535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:20:19] local.INFO: TCP Data received {"connection_id":122557,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:20:19] local.INFO: Processing buffer {"connection_id":122557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:20:19] local.INFO: IMEI packet received {"connection_id":122557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":122557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:20:42] local.INFO: TCP Data received {"connection_id":124535,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:20:42] local.INFO: Processing buffer {"connection_id":124535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:20:42] local.INFO: Packet analysis {"connection_id":124535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:20:42] local.INFO: Extracted packet for processing {"connection_id":124535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:20:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509655808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783241159000,"timestamp_ms":1783241159000,"timestamp_seconds":1783241159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3174b158"} 
[2026-07-05 14:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:20: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-07-05 14:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:20: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-07-05 14: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-07-05 14:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509655808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509655808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509655808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":124535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:20:42] local.INFO: GPS data processed {"connection_id":124535,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:20:42] local.INFO: Acknowledgment sent {"connection_id":124535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:21:04] local.INFO: TCP Data received {"connection_id":124536,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:21:04] local.INFO: Processing buffer {"connection_id":124536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:21:04] local.INFO: IMEI packet received {"connection_id":124536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":124536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:21:10] local.INFO: TCP Data received {"connection_id":124537,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:21:10] local.INFO: Processing buffer {"connection_id":124537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:21:10] local.INFO: IMEI packet received {"connection_id":124537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":124537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:21:15] local.INFO: TCP Data received {"connection_id":124537,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:21:15] local.INFO: Processing buffer {"connection_id":124537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:21:15] local.INFO: IMEI packet received {"connection_id":124537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":124537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:21:20] local.INFO: TCP Data received {"connection_id":124537,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:21:20] local.INFO: Processing buffer {"connection_id":124537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3174b158012cb2a24007823a980042013b27..."} 
[2026-07-05 14:21:20] local.INFO: Packet analysis {"connection_id":124537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:21:20] local.INFO: Extracted packet for processing {"connection_id":124537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3174"} 
[2026-07-05 14:21:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509655808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783241159000,"timestamp_ms":1783241159000,"timestamp_seconds":1783241159,"priority":1,"record_length":96,"hex_timestamp":"0000019f3174b158"} 
[2026-07-05 14:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509655808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509655808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:21:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:21:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509655808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":124537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:21:20] local.INFO: GPS data processed {"connection_id":124537,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:21:20] local.INFO: Acknowledgment sent {"connection_id":124537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:21:21] local.INFO: TCP Data received {"connection_id":124537,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:21:21] local.INFO: Processing buffer {"connection_id":124537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:21:21] local.INFO: Packet analysis {"connection_id":124537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:21:21] local.INFO: Extracted packet for processing {"connection_id":124537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:21:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509736704001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783241474000,"timestamp_ms":1783241474000,"timestamp_seconds":1783241474,"priority":1,"record_length":96,"hex_timestamp":"0000019f31797fd0"} 
[2026-07-05 14:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509736704001,"66":24647,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509736704001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:21:21] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509736704001,"power":24647,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":124537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:21:21] local.INFO: GPS data processed {"connection_id":124537,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:21:21] local.INFO: Acknowledgment sent {"connection_id":124537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:22:05] local.INFO: TCP Data received {"connection_id":124538,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:22:05] local.INFO: Processing buffer {"connection_id":124538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:22:05] local.INFO: IMEI packet received {"connection_id":124538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":124538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:22:10] local.INFO: TCP Data received {"connection_id":124538,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:22:10] local.INFO: Processing buffer {"connection_id":124538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:22:10] local.INFO: IMEI packet received {"connection_id":124538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":124538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:22:11] local.INFO: TCP Data received {"connection_id":124538,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:22:11] local.INFO: Processing buffer {"connection_id":124538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:22:11] local.INFO: Packet analysis {"connection_id":124538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:22:11] local.INFO: Extracted packet for processing {"connection_id":124538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509736704001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783241474000,"timestamp_ms":1783241474000,"timestamp_seconds":1783241474,"priority":1,"record_length":96,"hex_timestamp":"0000019f31797fd0"} 
[2026-07-05 14:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509736704001,"66":24647,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509736704001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:22:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509736704001,"power":24647,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":124538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:22:11] local.INFO: GPS data processed {"connection_id":124538,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:22:11] local.INFO: Acknowledgment sent {"connection_id":124538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:22:42] local.INFO: TCP Data received {"connection_id":124538,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:22:42] local.INFO: Processing buffer {"connection_id":124538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:22:42] local.INFO: Packet analysis {"connection_id":124538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:22:42] local.INFO: Extracted packet for processing {"connection_id":124538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509736704001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783241474000,"timestamp_ms":1783241474000,"timestamp_seconds":1783241474,"priority":1,"record_length":96,"hex_timestamp":"0000019f31797fd0"} 
[2026-07-05 14:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:22: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-07-05 14:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:22: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-07-05 14:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509736704001,"66":24647,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509736704001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:22:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509736704001,"power":24647,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":124538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:22:42] local.INFO: GPS data processed {"connection_id":124538,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:22:42] local.INFO: Acknowledgment sent {"connection_id":124538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:22:59] local.INFO: TCP Data received {"connection_id":123331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:22:59] local.INFO: Processing buffer {"connection_id":123331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:22:59] local.INFO: IMEI packet received {"connection_id":123331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-05 14:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":123331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:23:00] local.INFO: TCP Data received {"connection_id":123331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:23:00] local.INFO: Processing buffer {"connection_id":123331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:23:00] local.INFO: IMEI packet received {"connection_id":123331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-05 14:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":123331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:23:05] local.INFO: TCP Data received {"connection_id":123332,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:23:05] local.INFO: Processing buffer {"connection_id":123332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:23:05] local.INFO: IMEI packet received {"connection_id":123332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":123332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:23:07] local.INFO: TCP Data received {"connection_id":123331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:23:07] local.INFO: Processing buffer {"connection_id":123331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:23:07] local.INFO: IMEI packet received {"connection_id":123331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-05 14:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":123331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:23:10] local.INFO: TCP Data received {"connection_id":123332,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:23:10] local.INFO: Processing buffer {"connection_id":123332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:23:10] local.INFO: IMEI packet received {"connection_id":123332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":123332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:23:10] local.INFO: TCP Data received {"connection_id":123331,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-07-05 14:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-07-05 14:23:11] local.INFO: Processing buffer {"connection_id":123331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-07-05 14:23:11] local.INFO: Packet analysis {"connection_id":123331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 14:23:11] local.INFO: Extracted packet for processing {"connection_id":123331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 14:23: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-07-05 14:23:11] 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-07-05 14:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456468392704001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047494590005248,"note":"Value kept but may cause issues"} 
[2026-07-05 14:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798474170292707328,"note":"Value kept but may cause issues"} 
[2026-07-05 14:23:11] 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-07-05 14:23:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 14:23:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 14:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123331,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 14:23:11] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 14:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":123331,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 14:23:11] local.ERROR: GPS data processing failed {"connection_id":123331,"error":"No valid data to process"} 
[2026-07-05 14:23:11] local.INFO: Acknowledgment sent {"connection_id":123331,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 14:23:11] local.INFO: TCP Data received {"connection_id":123332,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:23:11] local.INFO: Processing buffer {"connection_id":123332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:23:11] local.INFO: Packet analysis {"connection_id":123332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:23:11] local.INFO: Extracted packet for processing {"connection_id":123332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:23:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509736704001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783241474000,"timestamp_ms":1783241474000,"timestamp_seconds":1783241474,"priority":1,"record_length":96,"hex_timestamp":"0000019f31797fd0"} 
[2026-07-05 14:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509736704001,"66":24647,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509736704001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:23:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509736704001,"power":24647,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":123332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:23:11] local.INFO: GPS data processed {"connection_id":123332,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:23:11] local.INFO: Acknowledgment sent {"connection_id":123332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:23:42] local.INFO: TCP Data received {"connection_id":123332,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:23:42] local.INFO: Processing buffer {"connection_id":123332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:23:42] local.INFO: Packet analysis {"connection_id":123332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:23:42] local.INFO: Extracted packet for processing {"connection_id":123332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509736704001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783241474000,"timestamp_ms":1783241474000,"timestamp_seconds":1783241474,"priority":1,"record_length":96,"hex_timestamp":"0000019f31797fd0"} 
[2026-07-05 14:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:23: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-07-05 14:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:23: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-07-05 14:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509736704001,"66":24647,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509736704001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:23:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509736704001,"power":24647,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":123332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:23:42] local.INFO: GPS data processed {"connection_id":123332,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:23:42] local.INFO: Acknowledgment sent {"connection_id":123332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:23:46] local.INFO: TCP Data received {"connection_id":123331,"ip":"42.106.6.20","data_length":327,"data_hex":"000000000000013b8e0400000000000109a00100000000000000000000000000..."} 
[2026-07-05 14:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123331,"packet_length":327,"packet_hex":"000000000000013b8e0400000000000109a00100000000000000000000000000..."} 
[2026-07-05 14:23:46] local.INFO: Processing buffer {"connection_id":123331,"buffer_length":327,"buffer_hex":"000000000000013b8e0400000000000109a00100000000000000000000000000..."} 
[2026-07-05 14:23:46] local.INFO: Packet analysis {"connection_id":123331,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000000000001"} 
[2026-07-05 14:23:46] local.INFO: Extracted packet for processing {"connection_id":123331,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000000000001"} 
[2026-07-05 14:23: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-07-05 14:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-07-05 14:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047494590005248,"note":"Value kept but may cause issues"} 
[2026-07-05 14:23:46] 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-07-05 14:23:46] 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-07-05 14:23:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":4,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:23:46] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 14:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":123331,"avl_records_parsed":0,"avl_records_expected":4,"crc_valid":false} 
[2026-07-05 14:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 14:23:46] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 14:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":123331,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 14:23:46] local.ERROR: GPS data processing failed {"connection_id":123331,"error":"No valid data to process"} 
[2026-07-05 14:23:46] local.INFO: Acknowledgment sent {"connection_id":123331,"records_acknowledged":0,"records_expected":4,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 14:24:05] local.INFO: TCP Data received {"connection_id":124541,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:24:05] local.INFO: Processing buffer {"connection_id":124541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:24:05] local.INFO: IMEI packet received {"connection_id":124541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":124541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:24:10] local.INFO: TCP Data received {"connection_id":124541,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:24:10] local.INFO: Processing buffer {"connection_id":124541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:24:10] local.INFO: IMEI packet received {"connection_id":124541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":124541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:24:11] local.INFO: TCP Data received {"connection_id":124541,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:24:11] local.INFO: Processing buffer {"connection_id":124541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:24:11] local.INFO: Packet analysis {"connection_id":124541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:24:11] local.INFO: Extracted packet for processing {"connection_id":124541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:24:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:24: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-07-05 14:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509736704001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783241474000,"timestamp_ms":1783241474000,"timestamp_seconds":1783241474,"priority":1,"record_length":96,"hex_timestamp":"0000019f31797fd0"} 
[2026-07-05 14:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:24: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-07-05 14:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509736704001,"66":24647,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509736704001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:24:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509736704001,"power":24647,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":124541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:24:11] local.INFO: GPS data processed {"connection_id":124541,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:24:11] local.INFO: Acknowledgment sent {"connection_id":124541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:24:17] local.INFO: TCP Data received {"connection_id":123331,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e010000019f317bba200100000000000000000000000000..."} 
[2026-07-05 14:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123331,"packet_length":93,"packet_hex":"00000000000000518e010000019f317bba200100000000000000000000000000..."} 
[2026-07-05 14:24:17] local.INFO: Processing buffer {"connection_id":123331,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f317bba200100000000000000000000000000..."} 
[2026-07-05 14:24:17] local.INFO: Packet analysis {"connection_id":123331,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f317b"} 
[2026-07-05 14:24:17] local.INFO: Extracted packet for processing {"connection_id":123331,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f317b"} 
[2026-07-05 14:24: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-07-05 14:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-05 14:24: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-07-05 14:24: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-07-05 14:24:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:24:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 14:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123331,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-05 14:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 14:24:17] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 14:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":123331,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 14:24:17] local.ERROR: GPS data processing failed {"connection_id":123331,"error":"No valid data to process"} 
[2026-07-05 14:24:17] local.INFO: Acknowledgment sent {"connection_id":123331,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 14:24:42] local.INFO: TCP Data received {"connection_id":124541,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:24:42] local.INFO: Processing buffer {"connection_id":124541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:24:42] local.INFO: Packet analysis {"connection_id":124541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:24:42] local.INFO: Extracted packet for processing {"connection_id":124541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509736704001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783241474000,"timestamp_ms":1783241474000,"timestamp_seconds":1783241474,"priority":1,"record_length":96,"hex_timestamp":"0000019f31797fd0"} 
[2026-07-05 14:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:24: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-07-05 14:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509736704001,"66":24647,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509736704001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:24:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509736704001,"power":24647,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":124541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:24:42] local.INFO: GPS data processed {"connection_id":124541,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:24:42] local.INFO: Acknowledgment sent {"connection_id":124541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:24:49] local.INFO: TCP Data received {"connection_id":123331,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e010000019f317c0c280100000000000000000000000000..."} 
[2026-07-05 14:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123331,"packet_length":93,"packet_hex":"00000000000000518e010000019f317c0c280100000000000000000000000000..."} 
[2026-07-05 14:24:49] local.INFO: Processing buffer {"connection_id":123331,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f317c0c280100000000000000000000000000..."} 
[2026-07-05 14:24:49] local.INFO: Packet analysis {"connection_id":123331,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f317c"} 
[2026-07-05 14:24:49] local.INFO: Extracted packet for processing {"connection_id":123331,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f317c"} 
[2026-07-05 14:24:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 14: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":93,"current_offset":40} 
[2026-07-05 14:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:24:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:24:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 14:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":123331,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-05 14:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 14:24:49] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 14:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":123331,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 14:24:49] local.ERROR: GPS data processing failed {"connection_id":123331,"error":"No valid data to process"} 
[2026-07-05 14:24:49] local.INFO: Acknowledgment sent {"connection_id":123331,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 14:25:10] local.INFO: TCP Data received {"connection_id":122602,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:25:10] local.INFO: Processing buffer {"connection_id":122602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:25:10] local.INFO: IMEI packet received {"connection_id":122602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":122602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:25:15] local.INFO: TCP Data received {"connection_id":122602,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:25:15] local.INFO: Processing buffer {"connection_id":122602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:25:15] local.INFO: IMEI packet received {"connection_id":122602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":122602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:25:16] local.INFO: TCP Data received {"connection_id":122602,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:25:16] local.INFO: Processing buffer {"connection_id":122602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:25:16] local.INFO: Packet analysis {"connection_id":122602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:25:16] local.INFO: Extracted packet for processing {"connection_id":122602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:25:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509736704001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:25:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783241474000,"timestamp_ms":1783241474000,"timestamp_seconds":1783241474,"priority":1,"record_length":96,"hex_timestamp":"0000019f31797fd0"} 
[2026-07-05 14:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509736704001,"66":24647,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509736704001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:25:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:25:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:25:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509736704001,"power":24647,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":122602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:25:16] local.INFO: GPS data processed {"connection_id":122602,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:25:16] local.INFO: Acknowledgment sent {"connection_id":122602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:25:20] local.INFO: TCP Data received {"connection_id":123331,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e010000019f317c5e300100000000000000000000000000..."} 
[2026-07-05 14:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123331,"packet_length":93,"packet_hex":"00000000000000518e010000019f317c5e300100000000000000000000000000..."} 
[2026-07-05 14:25:20] local.INFO: Processing buffer {"connection_id":123331,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f317c5e300100000000000000000000000000..."} 
[2026-07-05 14:25:20] local.INFO: Packet analysis {"connection_id":123331,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f317c"} 
[2026-07-05 14:25:20] local.INFO: Extracted packet for processing {"connection_id":123331,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f317c"} 
[2026-07-05 14:25:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 14: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":93,"current_offset":40} 
[2026-07-05 14:25: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-07-05 14:25: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-07-05 14:25:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:25:20] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 14:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123331,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-05 14:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 14:25:20] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 14:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":123331,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 14:25:20] local.ERROR: GPS data processing failed {"connection_id":123331,"error":"No valid data to process"} 
[2026-07-05 14:25:20] local.INFO: Acknowledgment sent {"connection_id":123331,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 14:25:20] local.INFO: TCP Data received {"connection_id":122602,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:25:20] local.INFO: Processing buffer {"connection_id":122602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:25:20] local.INFO: Packet analysis {"connection_id":122602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:25:20] local.INFO: Extracted packet for processing {"connection_id":122602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509736704001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783241474000,"timestamp_ms":1783241474000,"timestamp_seconds":1783241474,"priority":1,"record_length":96,"hex_timestamp":"0000019f31797fd0"} 
[2026-07-05 14:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509736704001,"66":24647,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509736704001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:25:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509736704001,"power":24647,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":122602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:25:20] local.INFO: GPS data processed {"connection_id":122602,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:25:20] local.INFO: Acknowledgment sent {"connection_id":122602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:26:05] local.INFO: TCP Data received {"connection_id":122603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:26:05] local.INFO: Processing buffer {"connection_id":122603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:26:05] local.INFO: IMEI packet received {"connection_id":122603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":122603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:26:10] local.INFO: TCP Data received {"connection_id":122603,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:26:10] local.INFO: Processing buffer {"connection_id":122603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:26:10] local.INFO: IMEI packet received {"connection_id":122603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":122603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:26:10] local.INFO: TCP Data received {"connection_id":122603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:26:10] local.INFO: Processing buffer {"connection_id":122603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31797fd0012cb2a24007823a980042013b28..."} 
[2026-07-05 14:26:10] local.INFO: Packet analysis {"connection_id":122603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:26:10] local.INFO: Extracted packet for processing {"connection_id":122603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3179"} 
[2026-07-05 14:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509736704001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783241474000,"timestamp_ms":1783241474000,"timestamp_seconds":1783241474,"priority":1,"record_length":96,"hex_timestamp":"0000019f31797fd0"} 
[2026-07-05 14:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:26: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-07-05 14:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:26: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-07-05 14: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-07-05 14:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509736704001,"66":24647,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509736704001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:26:10] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509736704001,"power":24647,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":122603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:26:10] local.INFO: GPS data processed {"connection_id":122603,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:26:10] local.INFO: Acknowledgment sent {"connection_id":122603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:26:29] local.INFO: TCP Data received {"connection_id":124542,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:26:29] local.INFO: Processing buffer {"connection_id":124542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:26:29] local.INFO: IMEI packet received {"connection_id":124542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":124542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:26:41] local.INFO: TCP Data received {"connection_id":122603,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:26:41] local.INFO: Processing buffer {"connection_id":122603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:26:41] local.INFO: Packet analysis {"connection_id":122603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:26:41] local.INFO: Extracted packet for processing {"connection_id":122603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509817344001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783241775000,"timestamp_ms":1783241775000,"timestamp_seconds":1783241775,"priority":1,"record_length":96,"hex_timestamp":"0000019f317e1798"} 
[2026-07-05 14:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:26: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-07-05 14: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-05 14:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509817344001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509817344001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:26:41] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509817344001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":122603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:26:41] local.INFO: GPS data processed {"connection_id":122603,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:26:41] local.INFO: Acknowledgment sent {"connection_id":122603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:26:49] local.INFO: TCP Data received {"connection_id":123331,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e010000019f317cb0380100000000000000000000000000..."} 
[2026-07-05 14:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123331,"packet_length":93,"packet_hex":"00000000000000518e010000019f317cb0380100000000000000000000000000..."} 
[2026-07-05 14:26:49] local.INFO: Processing buffer {"connection_id":123331,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f317cb0380100000000000000000000000000..."} 
[2026-07-05 14:26:49] local.INFO: Packet analysis {"connection_id":123331,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f317c"} 
[2026-07-05 14:26:49] local.INFO: Extracted packet for processing {"connection_id":123331,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f317c"} 
[2026-07-05 14:26:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 14:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-05 14:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:26:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:26:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 14:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":123331,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-05 14:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":0} 
[2026-07-05 14:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 14:26:49] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 14:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":123331,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 14:26:49] local.ERROR: GPS data processing failed {"connection_id":123331,"error":"No valid data to process"} 
[2026-07-05 14:26:49] local.INFO: Acknowledgment sent {"connection_id":123331,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 14:26:52] local.INFO: TCP Data received {"connection_id":123331,"ip":"42.106.6.20","data_length":171,"data_hex":"000000000000009f8e020000019f317d02400100000000000000000000000000..."} 
[2026-07-05 14:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123331,"packet_length":171,"packet_hex":"000000000000009f8e020000019f317d02400100000000000000000000000000..."} 
[2026-07-05 14:26:52] local.INFO: Processing buffer {"connection_id":123331,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019f317d02400100000000000000000000000000..."} 
[2026-07-05 14:26:52] local.INFO: Packet analysis {"connection_id":123331,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019f317d"} 
[2026-07-05 14:26:52] local.INFO: Extracted packet for processing {"connection_id":123331,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019f317d"} 
[2026-07-05 14:26:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 14: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":171,"current_offset":40} 
[2026-07-05 14:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047494590005248,"note":"Value kept but may cause issues"} 
[2026-07-05 14:26:52] 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-07-05 14:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783241704000,"timestamp_ms":1783241704000,"timestamp_seconds":1783241704,"priority":1,"record_length":96,"hex_timestamp":"0000019f317d0240"} 
[2026-07-05 14:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:26:52] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 14: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":53,"n8_eight_byte":230,"data_length":171,"current_offset":136} 
[2026-07-05 14:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:26:52] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":123331,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-07-05 14:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-05 14:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-05 14:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-05 14:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-05 14:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":123331,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 14:26:52] local.INFO: GPS data processed {"connection_id":123331,"processed":0,"errors":0,"total":1} 
[2026-07-05 14:26:52] local.INFO: Acknowledgment sent {"connection_id":123331,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:27:05] local.INFO: TCP Data received {"connection_id":122604,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:27:05] local.INFO: Processing buffer {"connection_id":122604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:27:05] local.INFO: IMEI packet received {"connection_id":122604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":122604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:27:05] local.INFO: TCP Data received {"connection_id":122558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:27:05] local.INFO: Processing buffer {"connection_id":122558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:27:05] local.INFO: IMEI packet received {"connection_id":122558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":122558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:27:11] local.INFO: TCP Data received {"connection_id":122558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:27:11] local.INFO: Processing buffer {"connection_id":122558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:27:11] local.INFO: IMEI packet received {"connection_id":122558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":122558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:27:22] local.INFO: TCP Data received {"connection_id":123331,"ip":"42.106.6.20","data_length":249,"data_hex":"00000000000000ed8e030000019f317d54480100000000000000000000000000..."} 
[2026-07-05 14:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123331,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f317d54480100000000000000000000000000..."} 
[2026-07-05 14:27:22] local.INFO: Processing buffer {"connection_id":123331,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f317d54480100000000000000000000000000..."} 
[2026-07-05 14:27:22] local.INFO: Packet analysis {"connection_id":123331,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f317d"} 
[2026-07-05 14:27:22] local.INFO: Extracted packet for processing {"connection_id":123331,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f317d"} 
[2026-07-05 14:27:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 14:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-05 14:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":23047494590005248,"note":"Value kept but may cause issues"} 
[2026-07-05 14:27:22] 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-07-05 14:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783241725000,"timestamp_ms":1783241725000,"timestamp_seconds":1783241725,"priority":1,"record_length":96,"hex_timestamp":"0000019f317d5448"} 
[2026-07-05 14:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 14:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":249,"current_offset":136} 
[2026-07-05 14:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:27:22] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":123331,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-05 14:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-05 14:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":123331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-07-05 14:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-07-05 14:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-07-05 14:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":123331,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 14:27:22] local.INFO: GPS data processed {"connection_id":123331,"processed":0,"errors":0,"total":1} 
[2026-07-05 14:27:22] local.INFO: Acknowledgment sent {"connection_id":123331,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:27:43] local.INFO: TCP Data received {"connection_id":122558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:27:43] local.INFO: Processing buffer {"connection_id":122558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:27:43] local.INFO: Packet analysis {"connection_id":122558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:27:43] local.INFO: Extracted packet for processing {"connection_id":122558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:27:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509817344001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:27:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783241775000,"timestamp_ms":1783241775000,"timestamp_seconds":1783241775,"priority":1,"record_length":96,"hex_timestamp":"0000019f317e1798"} 
[2026-07-05 14:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-05 14:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509817344001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509817344001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:27:43] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:27:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:27:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509817344001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":122558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:27:43] local.INFO: GPS data processed {"connection_id":122558,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:27:43] local.INFO: Acknowledgment sent {"connection_id":122558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:27:44] local.INFO: TCP Data received {"connection_id":122558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:27:44] local.INFO: Processing buffer {"connection_id":122558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:27:44] local.INFO: Packet analysis {"connection_id":122558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:27:44] local.INFO: Extracted packet for processing {"connection_id":122558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:27:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509817344001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:27:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783241775000,"timestamp_ms":1783241775000,"timestamp_seconds":1783241775,"priority":1,"record_length":96,"hex_timestamp":"0000019f317e1798"} 
[2026-07-05 14:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-05 14:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509817344001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509817344001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:27:44] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:27:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509817344001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":122558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:27:44] local.INFO: GPS data processed {"connection_id":122558,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:27:44] local.INFO: Acknowledgment sent {"connection_id":122558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:27:44] local.INFO: TCP Data received {"connection_id":123333,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123333,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:27:44] local.INFO: Processing buffer {"connection_id":123333,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-07-05 14:27:44] local.INFO: IMEI packet received {"connection_id":123333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-07-05 14:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":123333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:27:44] local.INFO: TCP Data received {"connection_id":123333,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-05 14:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123333,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-05 14:27:44] local.INFO: Processing buffer {"connection_id":123333,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-07-05 14:27:44] local.INFO: IMEI packet received {"connection_id":123333,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-07-05 14:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":123333,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:28:05] local.INFO: TCP Data received {"connection_id":124543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:28:05] local.INFO: Processing buffer {"connection_id":124543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:28:05] local.INFO: IMEI packet received {"connection_id":124543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":124543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:28:10] local.INFO: TCP Data received {"connection_id":124543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:28:10] local.INFO: Processing buffer {"connection_id":124543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:28:10] local.INFO: IMEI packet received {"connection_id":124543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":124543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:28:11] local.INFO: TCP Data received {"connection_id":124543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:28:11] local.INFO: Processing buffer {"connection_id":124543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:28:11] local.INFO: Packet analysis {"connection_id":124543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:28:11] local.INFO: Extracted packet for processing {"connection_id":124543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509817344001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783241775000,"timestamp_ms":1783241775000,"timestamp_seconds":1783241775,"priority":1,"record_length":96,"hex_timestamp":"0000019f317e1798"} 
[2026-07-05 14:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-05 14:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509817344001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509817344001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:28:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509817344001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":124543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:28:11] local.INFO: GPS data processed {"connection_id":124543,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:28:11] local.INFO: Acknowledgment sent {"connection_id":124543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:28:42] local.INFO: TCP Data received {"connection_id":124543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:28:42] local.INFO: Processing buffer {"connection_id":124543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:28:42] local.INFO: Packet analysis {"connection_id":124543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:28:42] local.INFO: Extracted packet for processing {"connection_id":124543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:28:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509817344001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783241775000,"timestamp_ms":1783241775000,"timestamp_seconds":1783241775,"priority":1,"record_length":96,"hex_timestamp":"0000019f317e1798"} 
[2026-07-05 14:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:28: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-07-05 14:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-05 14:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509817344001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509817344001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:28:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509817344001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":124543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:28:42] local.INFO: GPS data processed {"connection_id":124543,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:28:42] local.INFO: Acknowledgment sent {"connection_id":124543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:29:05] local.INFO: TCP Data received {"connection_id":122559,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:29:05] local.INFO: Processing buffer {"connection_id":122559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:29:05] local.INFO: IMEI packet received {"connection_id":122559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":122559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:29:10] local.INFO: TCP Data received {"connection_id":122559,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:29:10] local.INFO: Processing buffer {"connection_id":122559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:29:10] local.INFO: IMEI packet received {"connection_id":122559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":122559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:29:11] local.INFO: TCP Data received {"connection_id":122559,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:29:11] local.INFO: Processing buffer {"connection_id":122559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:29:11] local.INFO: Packet analysis {"connection_id":122559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:29:11] local.INFO: Extracted packet for processing {"connection_id":122559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509817344001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783241775000,"timestamp_ms":1783241775000,"timestamp_seconds":1783241775,"priority":1,"record_length":96,"hex_timestamp":"0000019f317e1798"} 
[2026-07-05 14:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-05 14:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509817344001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509817344001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509817344001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":122559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:29:11] local.INFO: GPS data processed {"connection_id":122559,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:29:11] local.INFO: Acknowledgment sent {"connection_id":122559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:29:42] local.INFO: TCP Data received {"connection_id":122559,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:29:42] local.INFO: Processing buffer {"connection_id":122559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:29:42] local.INFO: Packet analysis {"connection_id":122559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:29:42] local.INFO: Extracted packet for processing {"connection_id":122559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509817344001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783241775000,"timestamp_ms":1783241775000,"timestamp_seconds":1783241775,"priority":1,"record_length":96,"hex_timestamp":"0000019f317e1798"} 
[2026-07-05 14:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:29: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-07-05 14:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-05 14:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509817344001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509817344001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:29:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509817344001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":122559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:29:42] local.INFO: GPS data processed {"connection_id":122559,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:29:42] local.INFO: Acknowledgment sent {"connection_id":122559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:30:10] local.INFO: TCP Data received {"connection_id":123334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:30:10] local.INFO: Processing buffer {"connection_id":123334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:30:10] local.INFO: IMEI packet received {"connection_id":123334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":123334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:30:15] local.INFO: TCP Data received {"connection_id":123334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:30:15] local.INFO: Processing buffer {"connection_id":123334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:30:15] local.INFO: IMEI packet received {"connection_id":123334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":123334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:30:15] local.INFO: TCP Data received {"connection_id":123334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:30:15] local.INFO: Processing buffer {"connection_id":123334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:30:15] local.INFO: Packet analysis {"connection_id":123334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:30:15] local.INFO: Extracted packet for processing {"connection_id":123334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:30:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:30: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-07-05 14:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509817344001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783241775000,"timestamp_ms":1783241775000,"timestamp_seconds":1783241775,"priority":1,"record_length":96,"hex_timestamp":"0000019f317e1798"} 
[2026-07-05 14:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:30: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-05 14:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:30: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-07-05 14:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509817344001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509817344001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509817344001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":123334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:30:15] local.INFO: GPS data processed {"connection_id":123334,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:30:15] local.INFO: Acknowledgment sent {"connection_id":123334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:30:20] local.INFO: TCP Data received {"connection_id":123334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:30:20] local.INFO: Processing buffer {"connection_id":123334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:30:20] local.INFO: Packet analysis {"connection_id":123334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:30:20] local.INFO: Extracted packet for processing {"connection_id":123334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:30:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509817344001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783241775000,"timestamp_ms":1783241775000,"timestamp_seconds":1783241775,"priority":1,"record_length":96,"hex_timestamp":"0000019f317e1798"} 
[2026-07-05 14:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-05 14:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509817344001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509817344001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:30:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509817344001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":123334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:30:20] local.INFO: GPS data processed {"connection_id":123334,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:30:20] local.INFO: Acknowledgment sent {"connection_id":123334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:31:05] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:31:05] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:31:05] local.INFO: IMEI packet received {"connection_id":124546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":124546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:31:10] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:31:10] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:31:10] local.INFO: IMEI packet received {"connection_id":124546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":124546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:31:13] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:31:13] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f317e1798012cb2a24007823a980042013b27..."} 
[2026-07-05 14:31:13] local.INFO: Packet analysis {"connection_id":124546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:31:13] local.INFO: Extracted packet for processing {"connection_id":124546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f317e"} 
[2026-07-05 14:31:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509817344001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783241775000,"timestamp_ms":1783241775000,"timestamp_seconds":1783241775,"priority":1,"record_length":96,"hex_timestamp":"0000019f317e1798"} 
[2026-07-05 14:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-05 14:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509817344001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509817344001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:31:13] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509817344001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":124546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:31:13] local.INFO: GPS data processed {"connection_id":124546,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:31:13] local.INFO: Acknowledgment sent {"connection_id":124546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:31:44] local.INFO: TCP Data received {"connection_id":124546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:31:44] local.INFO: Processing buffer {"connection_id":124546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:31:44] local.INFO: Packet analysis {"connection_id":124546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:31:44] local.INFO: Extracted packet for processing {"connection_id":124546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:31:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509894400001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:31:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783242076000,"timestamp_ms":1783242076000,"timestamp_seconds":1783242076,"priority":1,"record_length":96,"hex_timestamp":"0000019f3182af60"} 
[2026-07-05 14:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509894400001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509894400001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:31:44] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:31:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509894400001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":124546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:31:44] local.INFO: GPS data processed {"connection_id":124546,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:31:44] local.INFO: Acknowledgment sent {"connection_id":124546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:32:05] local.INFO: TCP Data received {"connection_id":122606,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:32:05] local.INFO: Processing buffer {"connection_id":122606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:32:05] local.INFO: IMEI packet received {"connection_id":122606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":122606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:32:10] local.INFO: TCP Data received {"connection_id":122606,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:32:10] local.INFO: Processing buffer {"connection_id":122606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:32:10] local.INFO: IMEI packet received {"connection_id":122606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":122606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:32:20] local.INFO: TCP Data received {"connection_id":122606,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:32:20] local.INFO: Processing buffer {"connection_id":122606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:32:20] local.INFO: Packet analysis {"connection_id":122606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:32:20] local.INFO: Extracted packet for processing {"connection_id":122606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:32:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509894400001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783242076000,"timestamp_ms":1783242076000,"timestamp_seconds":1783242076,"priority":1,"record_length":96,"hex_timestamp":"0000019f3182af60"} 
[2026-07-05 14:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509894400001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509894400001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:32:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509894400001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":122606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:32:20] local.INFO: GPS data processed {"connection_id":122606,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:32:20] local.INFO: Acknowledgment sent {"connection_id":122606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:32:34] local.INFO: TCP Data received {"connection_id":124548,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:32:34] local.INFO: Processing buffer {"connection_id":124548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:32:34] local.INFO: IMEI packet received {"connection_id":124548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":124548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:33:05] local.INFO: TCP Data received {"connection_id":123335,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:33:05] local.INFO: Processing buffer {"connection_id":123335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:33:05] local.INFO: IMEI packet received {"connection_id":123335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":123335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:33:09] local.INFO: TCP Data received {"connection_id":123336,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:33:09] local.INFO: Processing buffer {"connection_id":123336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:33:09] local.INFO: IMEI packet received {"connection_id":123336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":123336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:33:10] local.INFO: TCP Data received {"connection_id":123335,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:33:10] local.INFO: Processing buffer {"connection_id":123335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:33:10] local.INFO: IMEI packet received {"connection_id":123335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":123335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:33:11] local.INFO: TCP Data received {"connection_id":123335,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:33:11] local.INFO: Processing buffer {"connection_id":123335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:33:11] local.INFO: Packet analysis {"connection_id":123335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:33:11] local.INFO: Extracted packet for processing {"connection_id":123335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509894400001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242076000,"timestamp_ms":1783242076000,"timestamp_seconds":1783242076,"priority":1,"record_length":96,"hex_timestamp":"0000019f3182af60"} 
[2026-07-05 14:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509894400001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509894400001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:33:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509894400001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":123335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:33:11] local.INFO: GPS data processed {"connection_id":123335,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:33:11] local.INFO: Acknowledgment sent {"connection_id":123335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:33:42] local.INFO: TCP Data received {"connection_id":123335,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:33:42] local.INFO: Processing buffer {"connection_id":123335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:33:42] local.INFO: Packet analysis {"connection_id":123335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:33:42] local.INFO: Extracted packet for processing {"connection_id":123335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509894400001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783242076000,"timestamp_ms":1783242076000,"timestamp_seconds":1783242076,"priority":1,"record_length":96,"hex_timestamp":"0000019f3182af60"} 
[2026-07-05 14:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:33: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-07-05 14:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:33: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-07-05 14:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509894400001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509894400001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:33:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509894400001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":123335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:33:42] local.INFO: GPS data processed {"connection_id":123335,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:33:42] local.INFO: Acknowledgment sent {"connection_id":123335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:34:05] local.INFO: TCP Data received {"connection_id":124549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:34:05] local.INFO: Processing buffer {"connection_id":124549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:34:05] local.INFO: IMEI packet received {"connection_id":124549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":124549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:34:10] local.INFO: TCP Data received {"connection_id":124549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:34:10] local.INFO: Processing buffer {"connection_id":124549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:34:10] local.INFO: IMEI packet received {"connection_id":124549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":124549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:34:11] local.INFO: TCP Data received {"connection_id":124549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:34:11] local.INFO: Processing buffer {"connection_id":124549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:34:11] local.INFO: Packet analysis {"connection_id":124549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:34:11] local.INFO: Extracted packet for processing {"connection_id":124549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:34:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509894400001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:34:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242076000,"timestamp_ms":1783242076000,"timestamp_seconds":1783242076,"priority":1,"record_length":96,"hex_timestamp":"0000019f3182af60"} 
[2026-07-05 14:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509894400001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509894400001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:34:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:34:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509894400001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":124549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:34:11] local.INFO: GPS data processed {"connection_id":124549,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:34:11] local.INFO: Acknowledgment sent {"connection_id":124549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:34:42] local.INFO: TCP Data received {"connection_id":124549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:34:42] local.INFO: Processing buffer {"connection_id":124549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:34:42] local.INFO: Packet analysis {"connection_id":124549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:34:42] local.INFO: Extracted packet for processing {"connection_id":124549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509894400001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783242076000,"timestamp_ms":1783242076000,"timestamp_seconds":1783242076,"priority":1,"record_length":96,"hex_timestamp":"0000019f3182af60"} 
[2026-07-05 14:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:34: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-07-05 14:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:34: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-07-05 14:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509894400001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509894400001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:34:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509894400001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":124549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:34:42] local.INFO: GPS data processed {"connection_id":124549,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:34:42] local.INFO: Acknowledgment sent {"connection_id":124549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:35:10] local.INFO: TCP Data received {"connection_id":123338,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:35:10] local.INFO: Processing buffer {"connection_id":123338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:35:10] local.INFO: IMEI packet received {"connection_id":123338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":123338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:35:15] local.INFO: TCP Data received {"connection_id":123338,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:35:15] local.INFO: Processing buffer {"connection_id":123338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:35:15] local.INFO: IMEI packet received {"connection_id":123338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":123338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:35:16] local.INFO: TCP Data received {"connection_id":123338,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:35:16] local.INFO: Processing buffer {"connection_id":123338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:35:16] local.INFO: Packet analysis {"connection_id":123338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:35:16] local.INFO: Extracted packet for processing {"connection_id":123338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:35:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509894400001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:35:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783242076000,"timestamp_ms":1783242076000,"timestamp_seconds":1783242076,"priority":1,"record_length":96,"hex_timestamp":"0000019f3182af60"} 
[2026-07-05 14:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509894400001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509894400001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:35:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:35:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:35:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509894400001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":123338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:35:16] local.INFO: GPS data processed {"connection_id":123338,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:35:16] local.INFO: Acknowledgment sent {"connection_id":123338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:35:20] local.INFO: TCP Data received {"connection_id":123338,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:35:20] local.INFO: Processing buffer {"connection_id":123338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:35:20] local.INFO: Packet analysis {"connection_id":123338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:35:20] local.INFO: Extracted packet for processing {"connection_id":123338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509894400001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783242076000,"timestamp_ms":1783242076000,"timestamp_seconds":1783242076,"priority":1,"record_length":96,"hex_timestamp":"0000019f3182af60"} 
[2026-07-05 14:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509894400001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509894400001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:35:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509894400001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":123338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:35:20] local.INFO: GPS data processed {"connection_id":123338,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:35:20] local.INFO: Acknowledgment sent {"connection_id":123338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:36:05] local.INFO: TCP Data received {"connection_id":124550,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:36:05] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:36:05] local.INFO: IMEI packet received {"connection_id":124550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":124550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:36:10] local.INFO: TCP Data received {"connection_id":124550,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:36:10] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:36:10] local.INFO: IMEI packet received {"connection_id":124550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":124550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:36:11] local.INFO: TCP Data received {"connection_id":124550,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:36:11] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3182af60012cb2a24007823a980042013b28..."} 
[2026-07-05 14:36:11] local.INFO: Packet analysis {"connection_id":124550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:36:11] local.INFO: Extracted packet for processing {"connection_id":124550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3182"} 
[2026-07-05 14:36:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509894400001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242076000,"timestamp_ms":1783242076000,"timestamp_seconds":1783242076,"priority":1,"record_length":96,"hex_timestamp":"0000019f3182af60"} 
[2026-07-05 14:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509894400001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509894400001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:36:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509894400001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":124550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:36:11] local.INFO: GPS data processed {"connection_id":124550,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:36:11] local.INFO: Acknowledgment sent {"connection_id":124550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:36:41] local.INFO: TCP Data received {"connection_id":124550,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:36:41] local.INFO: Processing buffer {"connection_id":124550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:36:41] local.INFO: Packet analysis {"connection_id":124550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:36:41] local.INFO: Extracted packet for processing {"connection_id":124550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509971456001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783242371000,"timestamp_ms":1783242371000,"timestamp_seconds":1783242371,"priority":1,"record_length":96,"hex_timestamp":"0000019f31872fb8"} 
[2026-07-05 14:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:36: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-07-05 14: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-07-05 14:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509971456001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509971456001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:36:41] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509971456001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":124550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:36:41] local.INFO: GPS data processed {"connection_id":124550,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:36:41] local.INFO: Acknowledgment sent {"connection_id":124550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:37:05] local.INFO: TCP Data received {"connection_id":122607,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:37:05] local.INFO: Processing buffer {"connection_id":122607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:37:05] local.INFO: IMEI packet received {"connection_id":122607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":122607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:37:10] local.INFO: TCP Data received {"connection_id":122607,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:37:10] local.INFO: Processing buffer {"connection_id":122607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:37:10] local.INFO: IMEI packet received {"connection_id":122607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":122607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:37:11] local.INFO: TCP Data received {"connection_id":122607,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:37:11] local.INFO: Processing buffer {"connection_id":122607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:37:11] local.INFO: Packet analysis {"connection_id":122607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:37:11] local.INFO: Extracted packet for processing {"connection_id":122607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:37:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509971456001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242371000,"timestamp_ms":1783242371000,"timestamp_seconds":1783242371,"priority":1,"record_length":96,"hex_timestamp":"0000019f31872fb8"} 
[2026-07-05 14:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509971456001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509971456001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:37:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509971456001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":122607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:37:11] local.INFO: GPS data processed {"connection_id":122607,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:37:11] local.INFO: Acknowledgment sent {"connection_id":122607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:37:42] local.INFO: TCP Data received {"connection_id":122607,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:37:42] local.INFO: Processing buffer {"connection_id":122607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:37:42] local.INFO: Packet analysis {"connection_id":122607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:37:42] local.INFO: Extracted packet for processing {"connection_id":122607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509971456001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783242371000,"timestamp_ms":1783242371000,"timestamp_seconds":1783242371,"priority":1,"record_length":96,"hex_timestamp":"0000019f31872fb8"} 
[2026-07-05 14:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:37: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-07-05 14:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509971456001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509971456001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:37:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509971456001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":122607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:37:42] local.INFO: GPS data processed {"connection_id":122607,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:37:42] local.INFO: Acknowledgment sent {"connection_id":122607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:38:05] local.INFO: TCP Data received {"connection_id":122563,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:38:05] local.INFO: Processing buffer {"connection_id":122563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:38:05] local.INFO: IMEI packet received {"connection_id":122563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":122563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:38:10] local.INFO: TCP Data received {"connection_id":122563,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:38:10] local.INFO: Processing buffer {"connection_id":122563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:38:10] local.INFO: IMEI packet received {"connection_id":122563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":122563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:38:11] local.INFO: TCP Data received {"connection_id":122563,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:38:11] local.INFO: Processing buffer {"connection_id":122563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:38:11] local.INFO: Packet analysis {"connection_id":122563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:38:11] local.INFO: Extracted packet for processing {"connection_id":122563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:38:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509971456001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:38:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242371000,"timestamp_ms":1783242371000,"timestamp_seconds":1783242371,"priority":1,"record_length":96,"hex_timestamp":"0000019f31872fb8"} 
[2026-07-05 14:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509971456001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509971456001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:38:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:38:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509971456001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":122563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:38:11] local.INFO: GPS data processed {"connection_id":122563,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:38:11] local.INFO: Acknowledgment sent {"connection_id":122563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:38:39] local.INFO: TCP Data received {"connection_id":122562,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:38:39] local.INFO: Processing buffer {"connection_id":122562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:38:39] local.INFO: IMEI packet received {"connection_id":122562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":122562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:38:42] local.INFO: TCP Data received {"connection_id":122563,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:38:42] local.INFO: Processing buffer {"connection_id":122563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:38:42] local.INFO: Packet analysis {"connection_id":122563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:38:42] local.INFO: Extracted packet for processing {"connection_id":122563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:38:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509971456001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783242371000,"timestamp_ms":1783242371000,"timestamp_seconds":1783242371,"priority":1,"record_length":96,"hex_timestamp":"0000019f31872fb8"} 
[2026-07-05 14:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:38: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-07-05 14:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14: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-07-05 14:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509971456001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509971456001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:38:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509971456001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":122563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:38:42] local.INFO: GPS data processed {"connection_id":122563,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:38:42] local.INFO: Acknowledgment sent {"connection_id":122563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:39:06] local.INFO: TCP Data received {"connection_id":124552,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:39:06] local.INFO: Processing buffer {"connection_id":124552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:39:06] local.INFO: IMEI packet received {"connection_id":124552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":124552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:39:10] local.INFO: TCP Data received {"connection_id":124553,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:39:10] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:39:10] local.INFO: IMEI packet received {"connection_id":124553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":124553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:39:15] local.INFO: TCP Data received {"connection_id":124553,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:39:15] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:39:15] local.INFO: IMEI packet received {"connection_id":124553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":124553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:39:16] local.INFO: TCP Data received {"connection_id":124553,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:39:16] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:39:16] local.INFO: Packet analysis {"connection_id":124553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:39:16] local.INFO: Extracted packet for processing {"connection_id":124553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:39:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509971456001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783242371000,"timestamp_ms":1783242371000,"timestamp_seconds":1783242371,"priority":1,"record_length":96,"hex_timestamp":"0000019f31872fb8"} 
[2026-07-05 14:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509971456001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509971456001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:39:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509971456001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":124553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:39:16] local.INFO: GPS data processed {"connection_id":124553,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:39:16] local.INFO: Acknowledgment sent {"connection_id":124553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:39:20] local.INFO: TCP Data received {"connection_id":124553,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:39:20] local.INFO: Processing buffer {"connection_id":124553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:39:20] local.INFO: Packet analysis {"connection_id":124553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:39:20] local.INFO: Extracted packet for processing {"connection_id":124553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509971456001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783242371000,"timestamp_ms":1783242371000,"timestamp_seconds":1783242371,"priority":1,"record_length":96,"hex_timestamp":"0000019f31872fb8"} 
[2026-07-05 14:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509971456001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509971456001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:39:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509971456001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":124553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:39:20] local.INFO: GPS data processed {"connection_id":124553,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:39:20] local.INFO: Acknowledgment sent {"connection_id":124553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:40:05] local.INFO: TCP Data received {"connection_id":123339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:40:05] local.INFO: Processing buffer {"connection_id":123339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:40:05] local.INFO: IMEI packet received {"connection_id":123339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":123339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:40:10] local.INFO: TCP Data received {"connection_id":123339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:40:10] local.INFO: Processing buffer {"connection_id":123339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:40:10] local.INFO: IMEI packet received {"connection_id":123339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":123339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:40:11] local.INFO: TCP Data received {"connection_id":123339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:40:11] local.INFO: Processing buffer {"connection_id":123339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:40:11] local.INFO: Packet analysis {"connection_id":123339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:40:11] local.INFO: Extracted packet for processing {"connection_id":123339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:40:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509971456001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242371000,"timestamp_ms":1783242371000,"timestamp_seconds":1783242371,"priority":1,"record_length":96,"hex_timestamp":"0000019f31872fb8"} 
[2026-07-05 14:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509971456001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509971456001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:40:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509971456001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":123339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:40:11] local.INFO: GPS data processed {"connection_id":123339,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:40:11] local.INFO: Acknowledgment sent {"connection_id":123339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:40:15] local.INFO: TCP Data received {"connection_id":123339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:40:15] local.INFO: Processing buffer {"connection_id":123339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:40:15] local.INFO: Packet analysis {"connection_id":123339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:40:15] local.INFO: Extracted packet for processing {"connection_id":123339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:40:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509971456001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783242371000,"timestamp_ms":1783242371000,"timestamp_seconds":1783242371,"priority":1,"record_length":96,"hex_timestamp":"0000019f31872fb8"} 
[2026-07-05 14:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509971456001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509971456001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:40:15] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:40:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509971456001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":123339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:40:15] local.INFO: GPS data processed {"connection_id":123339,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:40:15] local.INFO: Acknowledgment sent {"connection_id":123339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:40:46] local.INFO: TCP Data received {"connection_id":123339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:40:46] local.INFO: Processing buffer {"connection_id":123339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:40:46] local.INFO: Packet analysis {"connection_id":123339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:40:46] local.INFO: Extracted packet for processing {"connection_id":123339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:40:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509971456001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:40:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783242371000,"timestamp_ms":1783242371000,"timestamp_seconds":1783242371,"priority":1,"record_length":96,"hex_timestamp":"0000019f31872fb8"} 
[2026-07-05 14:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:40: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-07-05 14:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":123339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":123339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":123339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509971456001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509971456001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:40:46] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:40:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:40:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509971456001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":123339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:40:46] local.INFO: GPS data processed {"connection_id":123339,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:40:46] local.INFO: Acknowledgment sent {"connection_id":123339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:41:05] local.INFO: TCP Data received {"connection_id":124554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:41:05] local.INFO: Processing buffer {"connection_id":124554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:41:05] local.INFO: IMEI packet received {"connection_id":124554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":124554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:41:10] local.INFO: TCP Data received {"connection_id":124554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:41:10] local.INFO: Processing buffer {"connection_id":124554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:41:10] local.INFO: IMEI packet received {"connection_id":124554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":124554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:41:11] local.INFO: TCP Data received {"connection_id":124554,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:41:11] local.INFO: Processing buffer {"connection_id":124554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31872fb8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:41:11] local.INFO: Packet analysis {"connection_id":124554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:41:11] local.INFO: Extracted packet for processing {"connection_id":124554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3187"} 
[2026-07-05 14:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456509971456001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242371000,"timestamp_ms":1783242371000,"timestamp_seconds":1783242371,"priority":1,"record_length":96,"hex_timestamp":"0000019f31872fb8"} 
[2026-07-05 14:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 14:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456509971456001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456509971456001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:41:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456509971456001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":124554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:41:11] local.INFO: GPS data processed {"connection_id":124554,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:41:11] local.INFO: Acknowledgment sent {"connection_id":124554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:41:41] local.INFO: TCP Data received {"connection_id":124554,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:41:41] local.INFO: Processing buffer {"connection_id":124554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:41:41] local.INFO: Packet analysis {"connection_id":124554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:41:41] local.INFO: Extracted packet for processing {"connection_id":124554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:41:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510046976001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783242669000,"timestamp_ms":1783242669000,"timestamp_seconds":1783242669,"priority":1,"record_length":96,"hex_timestamp":"0000019f318bbbc8"} 
[2026-07-05 14:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:41: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-07-05 14: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-07-05 14: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-07-05 14: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-07-05 14:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510046976001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510046976001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:41:41] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510046976001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":124554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:41:41] local.INFO: GPS data processed {"connection_id":124554,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:41:41] local.INFO: Acknowledgment sent {"connection_id":124554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:42:04] local.INFO: TCP Data received {"connection_id":122609,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:42:05] local.INFO: Processing buffer {"connection_id":122609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:42:05] local.INFO: IMEI packet received {"connection_id":122609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":122609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:42:10] local.INFO: TCP Data received {"connection_id":122609,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:42:10] local.INFO: Processing buffer {"connection_id":122609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:42:10] local.INFO: IMEI packet received {"connection_id":122609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":122609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:42:11] local.INFO: TCP Data received {"connection_id":122609,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:42:11] local.INFO: Processing buffer {"connection_id":122609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:42:11] local.INFO: Packet analysis {"connection_id":122609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:42:11] local.INFO: Extracted packet for processing {"connection_id":122609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510046976001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242669000,"timestamp_ms":1783242669000,"timestamp_seconds":1783242669,"priority":1,"record_length":96,"hex_timestamp":"0000019f318bbbc8"} 
[2026-07-05 14:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510046976001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510046976001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:42:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510046976001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":122609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:42:11] local.INFO: GPS data processed {"connection_id":122609,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:42:11] local.INFO: Acknowledgment sent {"connection_id":122609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:42:42] local.INFO: TCP Data received {"connection_id":122609,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:42:42] local.INFO: Processing buffer {"connection_id":122609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:42:42] local.INFO: Packet analysis {"connection_id":122609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:42:42] local.INFO: Extracted packet for processing {"connection_id":122609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510046976001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783242669000,"timestamp_ms":1783242669000,"timestamp_seconds":1783242669,"priority":1,"record_length":96,"hex_timestamp":"0000019f318bbbc8"} 
[2026-07-05 14:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:42: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-07-05 14:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:42: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-07-05 14:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510046976001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510046976001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:42:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510046976001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":122609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:42:42] local.INFO: GPS data processed {"connection_id":122609,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:42:42] local.INFO: Acknowledgment sent {"connection_id":122609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:43:10] local.INFO: TCP Data received {"connection_id":124557,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:43:10] local.INFO: Processing buffer {"connection_id":124557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:43:10] local.INFO: IMEI packet received {"connection_id":124557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":124557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:43:15] local.INFO: TCP Data received {"connection_id":124557,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:43:15] local.INFO: Processing buffer {"connection_id":124557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:43:15] local.INFO: IMEI packet received {"connection_id":124557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":124557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:43:19] local.INFO: TCP Data received {"connection_id":124557,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:43:19] local.INFO: Processing buffer {"connection_id":124557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:43:19] local.INFO: Packet analysis {"connection_id":124557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:43:19] local.INFO: Extracted packet for processing {"connection_id":124557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:43:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 14:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510046976001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:43:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783242669000,"timestamp_ms":1783242669000,"timestamp_seconds":1783242669,"priority":1,"record_length":96,"hex_timestamp":"0000019f318bbbc8"} 
[2026-07-05 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-07-05 14:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 14:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510046976001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510046976001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:43:19] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:43:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:43:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510046976001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":124557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:43:19] local.INFO: GPS data processed {"connection_id":124557,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:43:19] local.INFO: Acknowledgment sent {"connection_id":124557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:43:23] local.INFO: TCP Data received {"connection_id":124557,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:43:23] local.INFO: Processing buffer {"connection_id":124557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:43:23] local.INFO: Packet analysis {"connection_id":124557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:43:23] local.INFO: Extracted packet for processing {"connection_id":124557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:43:23] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510046976001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:43:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783242669000,"timestamp_ms":1783242669000,"timestamp_seconds":1783242669,"priority":1,"record_length":96,"hex_timestamp":"0000019f318bbbc8"} 
[2026-07-05 14:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":124557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":124557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":124557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510046976001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510046976001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:43:23] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:43:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:43:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510046976001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":124557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:43:23] local.INFO: GPS data processed {"connection_id":124557,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:43:23] local.INFO: Acknowledgment sent {"connection_id":124557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:44:05] local.INFO: TCP Data received {"connection_id":122610,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:44:05] local.INFO: Processing buffer {"connection_id":122610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:44:05] local.INFO: IMEI packet received {"connection_id":122610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":122610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:44:10] local.INFO: TCP Data received {"connection_id":122610,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:44:10] local.INFO: Processing buffer {"connection_id":122610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:44:10] local.INFO: IMEI packet received {"connection_id":122610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":122610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:44:11] local.INFO: TCP Data received {"connection_id":122610,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:44:11] local.INFO: Processing buffer {"connection_id":122610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:44:11] local.INFO: Packet analysis {"connection_id":122610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:44:11] local.INFO: Extracted packet for processing {"connection_id":122610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:44:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510046976001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242669000,"timestamp_ms":1783242669000,"timestamp_seconds":1783242669,"priority":1,"record_length":96,"hex_timestamp":"0000019f318bbbc8"} 
[2026-07-05 14:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510046976001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510046976001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:44:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510046976001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":122610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:44:11] local.INFO: GPS data processed {"connection_id":122610,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:44:11] local.INFO: Acknowledgment sent {"connection_id":122610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:44:15] local.INFO: TCP Data received {"connection_id":122610,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:44:15] local.INFO: Processing buffer {"connection_id":122610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:44:15] local.INFO: Packet analysis {"connection_id":122610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:44:15] local.INFO: Extracted packet for processing {"connection_id":122610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:44:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:44: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-07-05 14:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510046976001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783242669000,"timestamp_ms":1783242669000,"timestamp_seconds":1783242669,"priority":1,"record_length":96,"hex_timestamp":"0000019f318bbbc8"} 
[2026-07-05 14:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:44: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-07-05 14:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510046976001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510046976001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:44:15] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:44:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510046976001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":122610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:44:15] local.INFO: GPS data processed {"connection_id":122610,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:44:15] local.INFO: Acknowledgment sent {"connection_id":122610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:44:29] local.INFO: TCP Data received {"connection_id":123341,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:44:29] local.INFO: Processing buffer {"connection_id":123341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:44:29] local.INFO: IMEI packet received {"connection_id":123341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":123341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:44:46] local.INFO: TCP Data received {"connection_id":122610,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:44:46] local.INFO: Processing buffer {"connection_id":122610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:44:46] local.INFO: Packet analysis {"connection_id":122610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:44:46] local.INFO: Extracted packet for processing {"connection_id":122610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:44:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510046976001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:44:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783242669000,"timestamp_ms":1783242669000,"timestamp_seconds":1783242669,"priority":1,"record_length":96,"hex_timestamp":"0000019f318bbbc8"} 
[2026-07-05 14:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510046976001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510046976001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:44:46] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:44:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:44:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510046976001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":122610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:44:46] local.INFO: GPS data processed {"connection_id":122610,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:44:46] local.INFO: Acknowledgment sent {"connection_id":122610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:45:04] local.INFO: TCP Data received {"connection_id":124558,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:45:04] local.INFO: Processing buffer {"connection_id":124558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:45:04] local.INFO: IMEI packet received {"connection_id":124558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":124558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:45:05] local.INFO: TCP Data received {"connection_id":123342,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:45:05] local.INFO: Processing buffer {"connection_id":123342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:45:05] local.INFO: IMEI packet received {"connection_id":123342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":123342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:45:10] local.INFO: TCP Data received {"connection_id":123342,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:45:10] local.INFO: Processing buffer {"connection_id":123342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:45:10] local.INFO: IMEI packet received {"connection_id":123342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":123342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:45:11] local.INFO: TCP Data received {"connection_id":123342,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:45:11] local.INFO: Processing buffer {"connection_id":123342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:45:11] local.INFO: Packet analysis {"connection_id":123342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:45:11] local.INFO: Extracted packet for processing {"connection_id":123342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510046976001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242669000,"timestamp_ms":1783242669000,"timestamp_seconds":1783242669,"priority":1,"record_length":96,"hex_timestamp":"0000019f318bbbc8"} 
[2026-07-05 14:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510046976001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510046976001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:45:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510046976001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":123342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:45:11] local.INFO: GPS data processed {"connection_id":123342,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:45:11] local.INFO: Acknowledgment sent {"connection_id":123342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:45:42] local.INFO: TCP Data received {"connection_id":123342,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:45:42] local.INFO: Processing buffer {"connection_id":123342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:45:42] local.INFO: Packet analysis {"connection_id":123342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:45:42] local.INFO: Extracted packet for processing {"connection_id":123342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510046976001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783242669000,"timestamp_ms":1783242669000,"timestamp_seconds":1783242669,"priority":1,"record_length":96,"hex_timestamp":"0000019f318bbbc8"} 
[2026-07-05 14:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:45: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-07-05 14:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:45: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-07-05 14:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510046976001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510046976001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:45:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510046976001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":123342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:45:42] local.INFO: GPS data processed {"connection_id":123342,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:45:42] local.INFO: Acknowledgment sent {"connection_id":123342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:46:05] local.INFO: TCP Data received {"connection_id":122564,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:46:05] local.INFO: Processing buffer {"connection_id":122564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:46:05] local.INFO: IMEI packet received {"connection_id":122564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":122564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:46:10] local.INFO: TCP Data received {"connection_id":122564,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:46:10] local.INFO: Processing buffer {"connection_id":122564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:46:10] local.INFO: IMEI packet received {"connection_id":122564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":122564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:46:11] local.INFO: TCP Data received {"connection_id":122564,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:46:11] local.INFO: Processing buffer {"connection_id":122564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f318bbbc8012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:46:11] local.INFO: Packet analysis {"connection_id":122564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:46:11] local.INFO: Extracted packet for processing {"connection_id":122564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f318b"} 
[2026-07-05 14:46:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510046976001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:46:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242669000,"timestamp_ms":1783242669000,"timestamp_seconds":1783242669,"priority":1,"record_length":96,"hex_timestamp":"0000019f318bbbc8"} 
[2026-07-05 14:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510046976001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510046976001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:46:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:46:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510046976001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":122564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:46:11] local.INFO: GPS data processed {"connection_id":122564,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:46:11] local.INFO: Acknowledgment sent {"connection_id":122564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:46:41] local.INFO: TCP Data received {"connection_id":122564,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:46:41] local.INFO: Processing buffer {"connection_id":122564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:46:41] local.INFO: Packet analysis {"connection_id":122564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:46:41] local.INFO: Extracted packet for processing {"connection_id":122564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510123264001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783242968000,"timestamp_ms":1783242968000,"timestamp_seconds":1783242968,"priority":1,"record_length":96,"hex_timestamp":"0000019f31904bc0"} 
[2026-07-05 14:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14: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-07-05 14: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-07-05 14:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510123264001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510123264001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:46:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510123264001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":122564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:46:42] local.INFO: GPS data processed {"connection_id":122564,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:46:42] local.INFO: Acknowledgment sent {"connection_id":122564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:47:05] local.INFO: TCP Data received {"connection_id":122612,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:47:05] local.INFO: Processing buffer {"connection_id":122612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:47:05] local.INFO: IMEI packet received {"connection_id":122612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":122612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:47:10] local.INFO: TCP Data received {"connection_id":122612,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:47:10] local.INFO: Processing buffer {"connection_id":122612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:47:10] local.INFO: IMEI packet received {"connection_id":122612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":122612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:47:11] local.INFO: TCP Data received {"connection_id":122612,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:47:11] local.INFO: Processing buffer {"connection_id":122612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:47:11] local.INFO: Packet analysis {"connection_id":122612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:47:11] local.INFO: Extracted packet for processing {"connection_id":122612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:47:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:47: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-07-05 14:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510123264001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242968000,"timestamp_ms":1783242968000,"timestamp_seconds":1783242968,"priority":1,"record_length":96,"hex_timestamp":"0000019f31904bc0"} 
[2026-07-05 14:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:47: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-07-05 14:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510123264001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510123264001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:47:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510123264001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":122612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:47:11] local.INFO: GPS data processed {"connection_id":122612,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:47:11] local.INFO: Acknowledgment sent {"connection_id":122612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:47:42] local.INFO: TCP Data received {"connection_id":122612,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:47:42] local.INFO: Processing buffer {"connection_id":122612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:47:42] local.INFO: Packet analysis {"connection_id":122612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:47:42] local.INFO: Extracted packet for processing {"connection_id":122612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510123264001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783242968000,"timestamp_ms":1783242968000,"timestamp_seconds":1783242968,"priority":1,"record_length":96,"hex_timestamp":"0000019f31904bc0"} 
[2026-07-05 14:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:47: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-07-05 14: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:47: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-07-05 14: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-07-05 14:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510123264001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510123264001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:47:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510123264001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":122612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:47:42] local.INFO: GPS data processed {"connection_id":122612,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:47:42] local.INFO: Acknowledgment sent {"connection_id":122612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:48:10] local.INFO: TCP Data received {"connection_id":122614,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:48:10] local.INFO: Processing buffer {"connection_id":122614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:48:10] local.INFO: IMEI packet received {"connection_id":122614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":122614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:48:15] local.INFO: TCP Data received {"connection_id":122614,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:48:15] local.INFO: Processing buffer {"connection_id":122614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:48:15] local.INFO: IMEI packet received {"connection_id":122614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":122614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:48:16] local.INFO: TCP Data received {"connection_id":122614,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:48:16] local.INFO: Processing buffer {"connection_id":122614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:48:16] local.INFO: Packet analysis {"connection_id":122614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:48:16] local.INFO: Extracted packet for processing {"connection_id":122614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:48:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510123264001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:48:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783242968000,"timestamp_ms":1783242968000,"timestamp_seconds":1783242968,"priority":1,"record_length":96,"hex_timestamp":"0000019f31904bc0"} 
[2026-07-05 14:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510123264001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510123264001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:48:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:48:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:48:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510123264001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":122614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:48:16] local.INFO: GPS data processed {"connection_id":122614,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:48:16] local.INFO: Acknowledgment sent {"connection_id":122614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:48:20] local.INFO: TCP Data received {"connection_id":122614,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:48:20] local.INFO: Processing buffer {"connection_id":122614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:48:20] local.INFO: Packet analysis {"connection_id":122614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:48:20] local.INFO: Extracted packet for processing {"connection_id":122614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:48:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510123264001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783242968000,"timestamp_ms":1783242968000,"timestamp_seconds":1783242968,"priority":1,"record_length":96,"hex_timestamp":"0000019f31904bc0"} 
[2026-07-05 14:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510123264001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510123264001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:48:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510123264001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":122614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:48:20] local.INFO: GPS data processed {"connection_id":122614,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:48:20] local.INFO: Acknowledgment sent {"connection_id":122614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:49:05] local.INFO: TCP Data received {"connection_id":122615,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:49:05] local.INFO: Processing buffer {"connection_id":122615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:49:05] local.INFO: IMEI packet received {"connection_id":122615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":122615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:49:10] local.INFO: TCP Data received {"connection_id":122615,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:49:10] local.INFO: Processing buffer {"connection_id":122615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:49:10] local.INFO: IMEI packet received {"connection_id":122615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":122615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:49:11] local.INFO: TCP Data received {"connection_id":122615,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:49:11] local.INFO: Processing buffer {"connection_id":122615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:49:11] local.INFO: Packet analysis {"connection_id":122615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:49:11] local.INFO: Extracted packet for processing {"connection_id":122615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510123264001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242968000,"timestamp_ms":1783242968000,"timestamp_seconds":1783242968,"priority":1,"record_length":96,"hex_timestamp":"0000019f31904bc0"} 
[2026-07-05 14:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510123264001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510123264001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:49:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510123264001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":122615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:49:11] local.INFO: GPS data processed {"connection_id":122615,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:49:11] local.INFO: Acknowledgment sent {"connection_id":122615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:49:42] local.INFO: TCP Data received {"connection_id":122615,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:49:42] local.INFO: Processing buffer {"connection_id":122615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:49:42] local.INFO: Packet analysis {"connection_id":122615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:49:42] local.INFO: Extracted packet for processing {"connection_id":122615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510123264001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783242968000,"timestamp_ms":1783242968000,"timestamp_seconds":1783242968,"priority":1,"record_length":96,"hex_timestamp":"0000019f31904bc0"} 
[2026-07-05 14:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:49: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-07-05 14:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:49: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-07-05 14: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-07-05 14:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510123264001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510123264001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:49:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510123264001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":122615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:49:42] local.INFO: GPS data processed {"connection_id":122615,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:49:42] local.INFO: Acknowledgment sent {"connection_id":122615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:50:05] local.INFO: TCP Data received {"connection_id":122567,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:50:05] local.INFO: Processing buffer {"connection_id":122567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:50:05] local.INFO: IMEI packet received {"connection_id":122567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":122567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:50:10] local.INFO: TCP Data received {"connection_id":122567,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:50:10] local.INFO: Processing buffer {"connection_id":122567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:50:10] local.INFO: IMEI packet received {"connection_id":122567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":122567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:50:11] local.INFO: TCP Data received {"connection_id":122567,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:50:11] local.INFO: Processing buffer {"connection_id":122567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:50:11] local.INFO: Packet analysis {"connection_id":122567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:50:11] local.INFO: Extracted packet for processing {"connection_id":122567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:50:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510123264001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242968000,"timestamp_ms":1783242968000,"timestamp_seconds":1783242968,"priority":1,"record_length":96,"hex_timestamp":"0000019f31904bc0"} 
[2026-07-05 14:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510123264001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510123264001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:50:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510123264001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":122567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:50:11] local.INFO: GPS data processed {"connection_id":122567,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:50:11] local.INFO: Acknowledgment sent {"connection_id":122567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:50:29] local.INFO: TCP Data received {"connection_id":123343,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:50:29] local.INFO: Processing buffer {"connection_id":123343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:50:29] local.INFO: IMEI packet received {"connection_id":123343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":123343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:50:42] local.INFO: TCP Data received {"connection_id":122567,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:50:42] local.INFO: Processing buffer {"connection_id":122567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:50:42] local.INFO: Packet analysis {"connection_id":122567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:50:42] local.INFO: Extracted packet for processing {"connection_id":122567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510123264001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783242968000,"timestamp_ms":1783242968000,"timestamp_seconds":1783242968,"priority":1,"record_length":96,"hex_timestamp":"0000019f31904bc0"} 
[2026-07-05 14:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:50: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-07-05 14:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:50: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-07-05 14:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510123264001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510123264001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:50:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510123264001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":122567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:50:42] local.INFO: GPS data processed {"connection_id":122567,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:50:42] local.INFO: Acknowledgment sent {"connection_id":122567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:51:05] local.INFO: TCP Data received {"connection_id":123344,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:51:05] local.INFO: Processing buffer {"connection_id":123344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:51:05] local.INFO: IMEI packet received {"connection_id":123344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":123344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:51:09] local.INFO: TCP Data received {"connection_id":124559,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:51:09] local.INFO: Processing buffer {"connection_id":124559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:51:09] local.INFO: IMEI packet received {"connection_id":124559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":124559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:51:10] local.INFO: TCP Data received {"connection_id":123344,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:51:10] local.INFO: Processing buffer {"connection_id":123344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:51:10] local.INFO: IMEI packet received {"connection_id":123344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":123344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:51:11] local.INFO: TCP Data received {"connection_id":123344,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:51:11] local.INFO: Processing buffer {"connection_id":123344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31904bc0012cb2a24007823a980042013b2b..."} 
[2026-07-05 14:51:11] local.INFO: Packet analysis {"connection_id":123344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:51:11] local.INFO: Extracted packet for processing {"connection_id":123344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 14:51:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510123264001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783242968000,"timestamp_ms":1783242968000,"timestamp_seconds":1783242968,"priority":1,"record_length":96,"hex_timestamp":"0000019f31904bc0"} 
[2026-07-05 14:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510123264001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510123264001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:51:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510123264001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":123344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:51:11] local.INFO: GPS data processed {"connection_id":123344,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:51:11] local.INFO: Acknowledgment sent {"connection_id":123344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:51:41] local.INFO: TCP Data received {"connection_id":123344,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:51:41] local.INFO: Processing buffer {"connection_id":123344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:51:41] local.INFO: Packet analysis {"connection_id":123344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:51:41] local.INFO: Extracted packet for processing {"connection_id":123344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:51:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510199808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783243271000,"timestamp_ms":1783243271000,"timestamp_seconds":1783243271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3194eb58"} 
[2026-07-05 14:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14: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-07-05 14: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:51: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-07-05 14: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-07-05 14:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510199808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510199808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:51:41] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510199808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":123344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:51:41] local.INFO: GPS data processed {"connection_id":123344,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:51:41] local.INFO: Acknowledgment sent {"connection_id":123344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:52:05] local.INFO: TCP Data received {"connection_id":122617,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:52:05] local.INFO: Processing buffer {"connection_id":122617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:52:05] local.INFO: IMEI packet received {"connection_id":122617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":122617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:52:10] local.INFO: TCP Data received {"connection_id":122617,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:52:10] local.INFO: Processing buffer {"connection_id":122617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:52:10] local.INFO: IMEI packet received {"connection_id":122617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":122617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:52:20] local.INFO: TCP Data received {"connection_id":122617,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:52:20] local.INFO: Processing buffer {"connection_id":122617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:52:20] local.INFO: Packet analysis {"connection_id":122617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:52:20] local.INFO: Extracted packet for processing {"connection_id":122617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:52:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510199808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783243271000,"timestamp_ms":1783243271000,"timestamp_seconds":1783243271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3194eb58"} 
[2026-07-05 14:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510199808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510199808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:52:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510199808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":122617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:52:20] local.INFO: GPS data processed {"connection_id":122617,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:52:20] local.INFO: Acknowledgment sent {"connection_id":122617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:53:05] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:53:05] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:53:05] local.INFO: IMEI packet received {"connection_id":124560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":124560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:53:10] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:53:10] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:53:10] local.INFO: IMEI packet received {"connection_id":124560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":124560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:53:11] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:53:11] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:53:11] local.INFO: Packet analysis {"connection_id":124560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:53:11] local.INFO: Extracted packet for processing {"connection_id":124560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:53:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510199808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783243271000,"timestamp_ms":1783243271000,"timestamp_seconds":1783243271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3194eb58"} 
[2026-07-05 14:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510199808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510199808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:53:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510199808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":124560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:53:11] local.INFO: GPS data processed {"connection_id":124560,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:53:11] local.INFO: Acknowledgment sent {"connection_id":124560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:53:42] local.INFO: TCP Data received {"connection_id":124560,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:53:42] local.INFO: Processing buffer {"connection_id":124560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:53:42] local.INFO: Packet analysis {"connection_id":124560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:53:42] local.INFO: Extracted packet for processing {"connection_id":124560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:53:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510199808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783243271000,"timestamp_ms":1783243271000,"timestamp_seconds":1783243271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3194eb58"} 
[2026-07-05 14:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:53: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-07-05 14:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:53: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-07-05 14:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510199808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510199808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:53:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510199808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":124560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:53:42] local.INFO: GPS data processed {"connection_id":124560,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:53:42] local.INFO: Acknowledgment sent {"connection_id":124560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:54:04] local.INFO: TCP Data received {"connection_id":122619,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:54:04] local.INFO: Processing buffer {"connection_id":122619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:54:04] local.INFO: IMEI packet received {"connection_id":122619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":122619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:54:10] local.INFO: TCP Data received {"connection_id":122619,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:54:10] local.INFO: Processing buffer {"connection_id":122619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:54:10] local.INFO: IMEI packet received {"connection_id":122619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":122619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:54:11] local.INFO: TCP Data received {"connection_id":122619,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:54:11] local.INFO: Processing buffer {"connection_id":122619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:54:11] local.INFO: Packet analysis {"connection_id":122619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:54:11] local.INFO: Extracted packet for processing {"connection_id":122619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:54:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510199808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:54:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783243271000,"timestamp_ms":1783243271000,"timestamp_seconds":1783243271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3194eb58"} 
[2026-07-05 14:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510199808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510199808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:54:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:54:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510199808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":122619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:54:11] local.INFO: GPS data processed {"connection_id":122619,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:54:11] local.INFO: Acknowledgment sent {"connection_id":122619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:54:42] local.INFO: TCP Data received {"connection_id":122619,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:54:42] local.INFO: Processing buffer {"connection_id":122619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:54:42] local.INFO: Packet analysis {"connection_id":122619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:54:42] local.INFO: Extracted packet for processing {"connection_id":122619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:54:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510199808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783243271000,"timestamp_ms":1783243271000,"timestamp_seconds":1783243271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3194eb58"} 
[2026-07-05 14:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:54: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-07-05 14:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:54: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-07-05 14:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510199808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510199808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:54:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510199808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":122619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:54:42] local.INFO: GPS data processed {"connection_id":122619,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:54:42] local.INFO: Acknowledgment sent {"connection_id":122619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:55:04] local.INFO: TCP Data received {"connection_id":123346,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:55:04] local.INFO: Processing buffer {"connection_id":123346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:55:04] local.INFO: IMEI packet received {"connection_id":123346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":123346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:55:10] local.INFO: TCP Data received {"connection_id":123346,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:55:10] local.INFO: Processing buffer {"connection_id":123346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:55:10] local.INFO: IMEI packet received {"connection_id":123346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":123346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:55:11] local.INFO: TCP Data received {"connection_id":123346,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:55:11] local.INFO: Processing buffer {"connection_id":123346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:55:11] local.INFO: Packet analysis {"connection_id":123346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:55:11] local.INFO: Extracted packet for processing {"connection_id":123346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510199808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783243271000,"timestamp_ms":1783243271000,"timestamp_seconds":1783243271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3194eb58"} 
[2026-07-05 14:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510199808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510199808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:55:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510199808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":123346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:55:11] local.INFO: GPS data processed {"connection_id":123346,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:55:11] local.INFO: Acknowledgment sent {"connection_id":123346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:55:42] local.INFO: TCP Data received {"connection_id":123346,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:55:42] local.INFO: Processing buffer {"connection_id":123346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:55:42] local.INFO: Packet analysis {"connection_id":123346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:55:42] local.INFO: Extracted packet for processing {"connection_id":123346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510199808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783243271000,"timestamp_ms":1783243271000,"timestamp_seconds":1783243271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3194eb58"} 
[2026-07-05 14:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:55: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-07-05 14:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:55: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-07-05 14:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510199808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510199808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:55:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510199808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":123346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:55:42] local.INFO: GPS data processed {"connection_id":123346,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:55:42] local.INFO: Acknowledgment sent {"connection_id":123346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:56:05] local.INFO: TCP Data received {"connection_id":124561,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:56:05] local.INFO: Processing buffer {"connection_id":124561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:56:05] local.INFO: IMEI packet received {"connection_id":124561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":124561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:56:10] local.INFO: TCP Data received {"connection_id":124561,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:56:10] local.INFO: Processing buffer {"connection_id":124561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:56:10] local.INFO: IMEI packet received {"connection_id":124561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":124561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:56:11] local.INFO: TCP Data received {"connection_id":124561,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:56:11] local.INFO: Processing buffer {"connection_id":124561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3194eb58012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:56:11] local.INFO: Packet analysis {"connection_id":124561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:56:11] local.INFO: Extracted packet for processing {"connection_id":124561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3194"} 
[2026-07-05 14:56:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510199808001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783243271000,"timestamp_ms":1783243271000,"timestamp_seconds":1783243271,"priority":1,"record_length":96,"hex_timestamp":"0000019f3194eb58"} 
[2026-07-05 14:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510199808001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510199808001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:56:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510199808001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":124561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:56:11] local.INFO: GPS data processed {"connection_id":124561,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:56:11] local.INFO: Acknowledgment sent {"connection_id":124561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:56:39] local.INFO: TCP Data received {"connection_id":123348,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:56:39] local.INFO: Processing buffer {"connection_id":123348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:56:39] local.INFO: IMEI packet received {"connection_id":123348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":123348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:56:42] local.INFO: TCP Data received {"connection_id":124561,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:56:42] local.INFO: Processing buffer {"connection_id":124561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:56:42] local.INFO: Packet analysis {"connection_id":124561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:56:42] local.INFO: Extracted packet for processing {"connection_id":124561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510277376001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783243569000,"timestamp_ms":1783243569000,"timestamp_seconds":1783243569,"priority":1,"record_length":96,"hex_timestamp":"0000019f31997768"} 
[2026-07-05 14:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:56: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-07-05 14:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:56: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-07-05 14:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510277376001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510277376001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:56:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510277376001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":124561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:56:42] local.INFO: GPS data processed {"connection_id":124561,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:56:42] local.INFO: Acknowledgment sent {"connection_id":124561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:57:04] local.INFO: TCP Data received {"connection_id":122568,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:57:04] local.INFO: Processing buffer {"connection_id":122568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 14:57:04] local.INFO: IMEI packet received {"connection_id":122568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 14:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":122568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:57:05] local.INFO: TCP Data received {"connection_id":122620,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:57:05] local.INFO: Processing buffer {"connection_id":122620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:57:05] local.INFO: IMEI packet received {"connection_id":122620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":122620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:57:10] local.INFO: TCP Data received {"connection_id":122620,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:57:10] local.INFO: Processing buffer {"connection_id":122620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:57:10] local.INFO: IMEI packet received {"connection_id":122620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":122620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:57:11] local.INFO: TCP Data received {"connection_id":122620,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:57:11] local.INFO: Processing buffer {"connection_id":122620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:57:11] local.INFO: Packet analysis {"connection_id":122620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:57:11] local.INFO: Extracted packet for processing {"connection_id":122620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510277376001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783243569000,"timestamp_ms":1783243569000,"timestamp_seconds":1783243569,"priority":1,"record_length":96,"hex_timestamp":"0000019f31997768"} 
[2026-07-05 14:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14: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-07-05 14:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510277376001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510277376001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:57:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510277376001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":122620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:57:11] local.INFO: GPS data processed {"connection_id":122620,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:57:11] local.INFO: Acknowledgment sent {"connection_id":122620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:57:42] local.INFO: TCP Data received {"connection_id":122620,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:57:42] local.INFO: Processing buffer {"connection_id":122620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:57:42] local.INFO: Packet analysis {"connection_id":122620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:57:42] local.INFO: Extracted packet for processing {"connection_id":122620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510277376001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783243569000,"timestamp_ms":1783243569000,"timestamp_seconds":1783243569,"priority":1,"record_length":96,"hex_timestamp":"0000019f31997768"} 
[2026-07-05 14:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:57: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-07-05 14: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:57: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-07-05 14: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-07-05 14:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510277376001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510277376001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:57:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510277376001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":122620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:57:42] local.INFO: GPS data processed {"connection_id":122620,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:57:42] local.INFO: Acknowledgment sent {"connection_id":122620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:58:05] local.INFO: TCP Data received {"connection_id":123349,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:58:05] local.INFO: Processing buffer {"connection_id":123349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:58:05] local.INFO: IMEI packet received {"connection_id":123349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":123349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:58:10] local.INFO: TCP Data received {"connection_id":123349,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:58:10] local.INFO: Processing buffer {"connection_id":123349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:58:10] local.INFO: IMEI packet received {"connection_id":123349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":123349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:58:11] local.INFO: TCP Data received {"connection_id":123349,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:58:11] local.INFO: Processing buffer {"connection_id":123349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:58:11] local.INFO: Packet analysis {"connection_id":123349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:58:11] local.INFO: Extracted packet for processing {"connection_id":123349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510277376001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783243569000,"timestamp_ms":1783243569000,"timestamp_seconds":1783243569,"priority":1,"record_length":96,"hex_timestamp":"0000019f31997768"} 
[2026-07-05 14:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510277376001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510277376001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:58:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510277376001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":123349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:58:11] local.INFO: GPS data processed {"connection_id":123349,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:58:11] local.INFO: Acknowledgment sent {"connection_id":123349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:58:42] local.INFO: TCP Data received {"connection_id":123349,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:58:42] local.INFO: Processing buffer {"connection_id":123349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:58:42] local.INFO: Packet analysis {"connection_id":123349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:58:42] local.INFO: Extracted packet for processing {"connection_id":123349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:58:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510277376001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783243569000,"timestamp_ms":1783243569000,"timestamp_seconds":1783243569,"priority":1,"record_length":96,"hex_timestamp":"0000019f31997768"} 
[2026-07-05 14:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:58: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-07-05 14:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510277376001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510277376001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:58:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510277376001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":123349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:58:42] local.INFO: GPS data processed {"connection_id":123349,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:58:42] local.INFO: Acknowledgment sent {"connection_id":123349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:59:05] local.INFO: TCP Data received {"connection_id":124562,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:59:05] local.INFO: Processing buffer {"connection_id":124562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:59:05] local.INFO: IMEI packet received {"connection_id":124562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 14:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":124562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 14:59:10] local.INFO: TCP Data received {"connection_id":124562,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:59:10] local.INFO: Processing buffer {"connection_id":124562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 14:59:10] local.INFO: IMEI packet received {"connection_id":124562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 14:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":124562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 14:59:11] local.INFO: TCP Data received {"connection_id":124562,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:59:11] local.INFO: Processing buffer {"connection_id":124562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:59:11] local.INFO: Packet analysis {"connection_id":124562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:59:11] local.INFO: Extracted packet for processing {"connection_id":124562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 14:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510277376001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783243569000,"timestamp_ms":1783243569000,"timestamp_seconds":1783243569,"priority":1,"record_length":96,"hex_timestamp":"0000019f31997768"} 
[2026-07-05 14:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 14:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 14:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510277376001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510277376001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:59:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510277376001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":124562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:59:11] local.INFO: GPS data processed {"connection_id":124562,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:59:11] local.INFO: Acknowledgment sent {"connection_id":124562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 14:59:42] local.INFO: TCP Data received {"connection_id":124562,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:59:42] local.INFO: Processing buffer {"connection_id":124562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 14:59:42] local.INFO: Packet analysis {"connection_id":124562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:59:42] local.INFO: Extracted packet for processing {"connection_id":124562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 14:59:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 14: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-07-05 14:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510277376001,"note":"Value kept but may cause issues"} 
[2026-07-05 14:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 14:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 14:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 14:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783243569000,"timestamp_ms":1783243569000,"timestamp_seconds":1783243569,"priority":1,"record_length":96,"hex_timestamp":"0000019f31997768"} 
[2026-07-05 14:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 14:59: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-07-05 14: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 14:59: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-07-05 14: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-07-05 14:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 14:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 14:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 14:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 14:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 14:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 14:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 14:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510277376001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 14:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 14:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 14:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510277376001,"description":"Unknown IO ID 0"} 
[2026-07-05 14:59:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 14:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 14:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 14:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 14:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510277376001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 14:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":124562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 14:59:42] local.INFO: GPS data processed {"connection_id":124562,"processed":1,"errors":0,"total":1} 
[2026-07-05 14:59:42] local.INFO: Acknowledgment sent {"connection_id":124562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:00:05] local.INFO: TCP Data received {"connection_id":122622,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:00:05] local.INFO: Processing buffer {"connection_id":122622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:00:05] local.INFO: IMEI packet received {"connection_id":122622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":122622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:00:10] local.INFO: TCP Data received {"connection_id":122622,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:00:10] local.INFO: Processing buffer {"connection_id":122622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:00:10] local.INFO: IMEI packet received {"connection_id":122622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":122622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:00:11] local.INFO: TCP Data received {"connection_id":122622,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 15:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 15:00:11] local.INFO: Processing buffer {"connection_id":122622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 15:00:11] local.INFO: Packet analysis {"connection_id":122622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 15:00:11] local.INFO: Extracted packet for processing {"connection_id":122622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 15:00:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510277376001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:00:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783243569000,"timestamp_ms":1783243569000,"timestamp_seconds":1783243569,"priority":1,"record_length":96,"hex_timestamp":"0000019f31997768"} 
[2026-07-05 15:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510277376001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510277376001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:00:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:00:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510277376001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":122622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:00:11] local.INFO: GPS data processed {"connection_id":122622,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:00:11] local.INFO: Acknowledgment sent {"connection_id":122622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:00:42] local.INFO: TCP Data received {"connection_id":122622,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 15:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 15:00:42] local.INFO: Processing buffer {"connection_id":122622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 15:00:42] local.INFO: Packet analysis {"connection_id":122622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 15:00:42] local.INFO: Extracted packet for processing {"connection_id":122622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 15:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510277376001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783243569000,"timestamp_ms":1783243569000,"timestamp_seconds":1783243569,"priority":1,"record_length":96,"hex_timestamp":"0000019f31997768"} 
[2026-07-05 15:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:00: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-07-05 15:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:00: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-07-05 15:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510277376001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510277376001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:00:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510277376001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":122622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:00:42] local.INFO: GPS data processed {"connection_id":122622,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:00:42] local.INFO: Acknowledgment sent {"connection_id":122622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:01:10] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:01:10] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:01:10] local.INFO: IMEI packet received {"connection_id":124563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":124563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:01:15] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:01:15] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:01:15] local.INFO: IMEI packet received {"connection_id":124563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":124563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:01:16] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 15:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 15:01:16] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31997768012cb2a24007823a980042013b2a..."} 
[2026-07-05 15:01:16] local.INFO: Packet analysis {"connection_id":124563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 15:01:16] local.INFO: Extracted packet for processing {"connection_id":124563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3199"} 
[2026-07-05 15:01:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510277376001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:01:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783243569000,"timestamp_ms":1783243569000,"timestamp_seconds":1783243569,"priority":1,"record_length":96,"hex_timestamp":"0000019f31997768"} 
[2026-07-05 15:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510277376001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510277376001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:01:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:01:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:01:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510277376001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":124563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:01:16] local.INFO: GPS data processed {"connection_id":124563,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:01:16] local.INFO: Acknowledgment sent {"connection_id":124563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:01:47] local.INFO: TCP Data received {"connection_id":124563,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:01:47] local.INFO: Processing buffer {"connection_id":124563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:01:47] local.INFO: Packet analysis {"connection_id":124563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:01:47] local.INFO: Extracted packet for processing {"connection_id":124563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:01:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510353664001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:01:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783243862000,"timestamp_ms":1783243862000,"timestamp_seconds":1783243862,"priority":1,"record_length":96,"hex_timestamp":"0000019f319deff0"} 
[2026-07-05 15:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:01: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-07-05 15:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510353664001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510353664001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:01:47] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:01:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510353664001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":124563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:01:47] local.INFO: GPS data processed {"connection_id":124563,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:01:47] local.INFO: Acknowledgment sent {"connection_id":124563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:02:04] local.INFO: TCP Data received {"connection_id":124564,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:02:04] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:02:04] local.INFO: IMEI packet received {"connection_id":124564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":124564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:02:10] local.INFO: TCP Data received {"connection_id":124564,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:02:10] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:02:10] local.INFO: IMEI packet received {"connection_id":124564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":124564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:02:11] local.INFO: TCP Data received {"connection_id":124564,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:02:11] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:02:11] local.INFO: Packet analysis {"connection_id":124564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:02:11] local.INFO: Extracted packet for processing {"connection_id":124564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:02:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510353664001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:02:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783243862000,"timestamp_ms":1783243862000,"timestamp_seconds":1783243862,"priority":1,"record_length":96,"hex_timestamp":"0000019f319deff0"} 
[2026-07-05 15:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510353664001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510353664001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:02:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:02:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510353664001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":124564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:02:11] local.INFO: GPS data processed {"connection_id":124564,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:02:11] local.INFO: Acknowledgment sent {"connection_id":124564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:02:19] local.INFO: TCP Data received {"connection_id":122623,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:02:19] local.INFO: Processing buffer {"connection_id":122623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:02:19] local.INFO: IMEI packet received {"connection_id":122623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":122623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:02:42] local.INFO: TCP Data received {"connection_id":124564,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:02:42] local.INFO: Processing buffer {"connection_id":124564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:02:42] local.INFO: Packet analysis {"connection_id":124564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:02:42] local.INFO: Extracted packet for processing {"connection_id":124564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:02:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510353664001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:02:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783243862000,"timestamp_ms":1783243862000,"timestamp_seconds":1783243862,"priority":1,"record_length":96,"hex_timestamp":"0000019f319deff0"} 
[2026-07-05 15:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:02: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-07-05 15:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510353664001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510353664001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:02:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510353664001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":124564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:02:42] local.INFO: GPS data processed {"connection_id":124564,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:02:42] local.INFO: Acknowledgment sent {"connection_id":124564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:03:04] local.INFO: TCP Data received {"connection_id":122624,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:03:04] local.INFO: Processing buffer {"connection_id":122624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:03:04] local.INFO: IMEI packet received {"connection_id":122624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":122624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:03:05] local.INFO: TCP Data received {"connection_id":122625,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:03:05] local.INFO: Processing buffer {"connection_id":122625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:03:05] local.INFO: IMEI packet received {"connection_id":122625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":122625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:03:10] local.INFO: TCP Data received {"connection_id":122625,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:03:10] local.INFO: Processing buffer {"connection_id":122625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:03:10] local.INFO: IMEI packet received {"connection_id":122625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":122625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:03:11] local.INFO: TCP Data received {"connection_id":122625,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:03:11] local.INFO: Processing buffer {"connection_id":122625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:03:11] local.INFO: Packet analysis {"connection_id":122625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:03:11] local.INFO: Extracted packet for processing {"connection_id":122625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:03:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510353664001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:03:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783243862000,"timestamp_ms":1783243862000,"timestamp_seconds":1783243862,"priority":1,"record_length":96,"hex_timestamp":"0000019f319deff0"} 
[2026-07-05 15:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510353664001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510353664001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:03:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:03:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510353664001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":122625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:03:11] local.INFO: GPS data processed {"connection_id":122625,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:03:11] local.INFO: Acknowledgment sent {"connection_id":122625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:03:42] local.INFO: TCP Data received {"connection_id":122625,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:03:42] local.INFO: Processing buffer {"connection_id":122625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:03:42] local.INFO: Packet analysis {"connection_id":122625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:03:42] local.INFO: Extracted packet for processing {"connection_id":122625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510353664001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783243862000,"timestamp_ms":1783243862000,"timestamp_seconds":1783243862,"priority":1,"record_length":96,"hex_timestamp":"0000019f319deff0"} 
[2026-07-05 15:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:03: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-07-05 15:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510353664001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510353664001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:03:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510353664001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":122625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:03:42] local.INFO: GPS data processed {"connection_id":122625,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:03:42] local.INFO: Acknowledgment sent {"connection_id":122625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:04:04] local.INFO: TCP Data received {"connection_id":122570,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:04:04] local.INFO: Processing buffer {"connection_id":122570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:04:04] local.INFO: IMEI packet received {"connection_id":122570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":122570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:04:10] local.INFO: TCP Data received {"connection_id":122570,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:04:10] local.INFO: Processing buffer {"connection_id":122570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:04:10] local.INFO: IMEI packet received {"connection_id":122570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":122570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:04:11] local.INFO: TCP Data received {"connection_id":122570,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:04:11] local.INFO: Processing buffer {"connection_id":122570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:04:11] local.INFO: Packet analysis {"connection_id":122570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:04:11] local.INFO: Extracted packet for processing {"connection_id":122570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:04:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510353664001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783243862000,"timestamp_ms":1783243862000,"timestamp_seconds":1783243862,"priority":1,"record_length":96,"hex_timestamp":"0000019f319deff0"} 
[2026-07-05 15:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510353664001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510353664001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:04:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510353664001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":122570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:04:11] local.INFO: GPS data processed {"connection_id":122570,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:04:11] local.INFO: Acknowledgment sent {"connection_id":122570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:04:42] local.INFO: TCP Data received {"connection_id":122570,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:04:42] local.INFO: Processing buffer {"connection_id":122570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:04:42] local.INFO: Packet analysis {"connection_id":122570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:04:42] local.INFO: Extracted packet for processing {"connection_id":122570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:04:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510353664001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783243862000,"timestamp_ms":1783243862000,"timestamp_seconds":1783243862,"priority":1,"record_length":96,"hex_timestamp":"0000019f319deff0"} 
[2026-07-05 15:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:04: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-07-05 15:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:04: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-07-05 15:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510353664001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510353664001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:04:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510353664001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":122570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:04:42] local.INFO: GPS data processed {"connection_id":122570,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:04:42] local.INFO: Acknowledgment sent {"connection_id":122570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:05:10] local.INFO: TCP Data received {"connection_id":122627,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:05:10] local.INFO: Processing buffer {"connection_id":122627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:05:10] local.INFO: IMEI packet received {"connection_id":122627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":122627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:05:15] local.INFO: TCP Data received {"connection_id":122627,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:05:15] local.INFO: Processing buffer {"connection_id":122627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:05:15] local.INFO: IMEI packet received {"connection_id":122627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":122627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:05:16] local.INFO: TCP Data received {"connection_id":122627,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:05:16] local.INFO: Processing buffer {"connection_id":122627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:05:16] local.INFO: Packet analysis {"connection_id":122627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:05:16] local.INFO: Extracted packet for processing {"connection_id":122627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:05:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510353664001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:05:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783243862000,"timestamp_ms":1783243862000,"timestamp_seconds":1783243862,"priority":1,"record_length":96,"hex_timestamp":"0000019f319deff0"} 
[2026-07-05 15:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510353664001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510353664001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:05:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:05:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:05:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510353664001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":122627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:05:16] local.INFO: GPS data processed {"connection_id":122627,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:05:16] local.INFO: Acknowledgment sent {"connection_id":122627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:05:20] local.INFO: TCP Data received {"connection_id":122627,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:05:20] local.INFO: Processing buffer {"connection_id":122627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:05:20] local.INFO: Packet analysis {"connection_id":122627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:05:20] local.INFO: Extracted packet for processing {"connection_id":122627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:05:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510353664001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783243862000,"timestamp_ms":1783243862000,"timestamp_seconds":1783243862,"priority":1,"record_length":96,"hex_timestamp":"0000019f319deff0"} 
[2026-07-05 15:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510353664001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510353664001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:05:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510353664001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":122627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:05:20] local.INFO: GPS data processed {"connection_id":122627,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:05:20] local.INFO: Acknowledgment sent {"connection_id":122627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:06:08] local.INFO: TCP Data received {"connection_id":124566,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:06:08] local.INFO: Processing buffer {"connection_id":124566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:06:08] local.INFO: IMEI packet received {"connection_id":124566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":124566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:06:09] local.INFO: TCP Data received {"connection_id":124566,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:06:09] local.INFO: Processing buffer {"connection_id":124566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:06:09] local.INFO: IMEI packet received {"connection_id":124566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":124566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:06:10] local.INFO: TCP Data received {"connection_id":124566,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:06:10] local.INFO: Processing buffer {"connection_id":124566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:06:10] local.INFO: Packet analysis {"connection_id":124566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:06:10] local.INFO: Extracted packet for processing {"connection_id":124566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:06:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510353664001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783243862000,"timestamp_ms":1783243862000,"timestamp_seconds":1783243862,"priority":1,"record_length":96,"hex_timestamp":"0000019f319deff0"} 
[2026-07-05 15:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:06: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-07-05 15:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510353664001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510353664001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:06:10] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510353664001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":124566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:06:10] local.INFO: GPS data processed {"connection_id":124566,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:06:10] local.INFO: Acknowledgment sent {"connection_id":124566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:06:15] local.INFO: TCP Data received {"connection_id":124566,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:06:15] local.INFO: Processing buffer {"connection_id":124566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f319deff0012cb2a24007823a980042013b29..."} 
[2026-07-05 15:06:15] local.INFO: Packet analysis {"connection_id":124566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:06:15] local.INFO: Extracted packet for processing {"connection_id":124566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f319d"} 
[2026-07-05 15:06:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:06: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-07-05 15:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510353664001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783243862000,"timestamp_ms":1783243862000,"timestamp_seconds":1783243862,"priority":1,"record_length":96,"hex_timestamp":"0000019f319deff0"} 
[2026-07-05 15:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:06: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-07-05 15:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510353664001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510353664001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:06:15] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:06:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510353664001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":124566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:06:15] local.INFO: GPS data processed {"connection_id":124566,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:06:15] local.INFO: Acknowledgment sent {"connection_id":124566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:06:46] local.INFO: TCP Data received {"connection_id":124566,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:06:46] local.INFO: Processing buffer {"connection_id":124566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:06:46] local.INFO: Packet analysis {"connection_id":124566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:06:46] local.INFO: Extracted packet for processing {"connection_id":124566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:06:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510428672001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:06:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783244161000,"timestamp_ms":1783244161000,"timestamp_seconds":1783244161,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a27fe8"} 
[2026-07-05 15:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510428672001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510428672001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:06:46] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:06:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:06:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510428672001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":124566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:06:46] local.INFO: GPS data processed {"connection_id":124566,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:06:46] local.INFO: Acknowledgment sent {"connection_id":124566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:07:04] local.INFO: TCP Data received {"connection_id":124568,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:07:04] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:07:04] local.INFO: IMEI packet received {"connection_id":124568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":124568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:07:10] local.INFO: TCP Data received {"connection_id":124568,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:07:10] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:07:10] local.INFO: IMEI packet received {"connection_id":124568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":124568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:07:11] local.INFO: TCP Data received {"connection_id":124568,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:07:11] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:07:11] local.INFO: Packet analysis {"connection_id":124568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:07:11] local.INFO: Extracted packet for processing {"connection_id":124568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:07:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510428672001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244161000,"timestamp_ms":1783244161000,"timestamp_seconds":1783244161,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a27fe8"} 
[2026-07-05 15:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510428672001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510428672001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:07:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:07:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510428672001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":124568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:07:11] local.INFO: GPS data processed {"connection_id":124568,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:07:11] local.INFO: Acknowledgment sent {"connection_id":124568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:07:42] local.INFO: TCP Data received {"connection_id":124568,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:07:42] local.INFO: Processing buffer {"connection_id":124568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:07:42] local.INFO: Packet analysis {"connection_id":124568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:07:42] local.INFO: Extracted packet for processing {"connection_id":124568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510428672001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783244161000,"timestamp_ms":1783244161000,"timestamp_seconds":1783244161,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a27fe8"} 
[2026-07-05 15:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:07: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-07-05 15:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:07: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-07-05 15:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510428672001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510428672001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:07:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510428672001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":124568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:07:42] local.INFO: GPS data processed {"connection_id":124568,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:07:42] local.INFO: Acknowledgment sent {"connection_id":124568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:08:10] local.INFO: TCP Data received {"connection_id":123353,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:08:10] local.INFO: Processing buffer {"connection_id":123353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:08:10] local.INFO: IMEI packet received {"connection_id":123353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":123353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:08:15] local.INFO: TCP Data received {"connection_id":123353,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:08:15] local.INFO: Processing buffer {"connection_id":123353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:08:15] local.INFO: IMEI packet received {"connection_id":123353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":123353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:08:16] local.INFO: TCP Data received {"connection_id":123353,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:08:16] local.INFO: Processing buffer {"connection_id":123353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:08:16] local.INFO: Packet analysis {"connection_id":123353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:08:16] local.INFO: Extracted packet for processing {"connection_id":123353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:08:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510428672001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:08:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783244161000,"timestamp_ms":1783244161000,"timestamp_seconds":1783244161,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a27fe8"} 
[2026-07-05 15:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510428672001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510428672001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:08:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:08:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:08:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510428672001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":123353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:08:16] local.INFO: GPS data processed {"connection_id":123353,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:08:16] local.INFO: Acknowledgment sent {"connection_id":123353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:08:20] local.INFO: TCP Data received {"connection_id":123353,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:08:20] local.INFO: Processing buffer {"connection_id":123353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:08:20] local.INFO: Packet analysis {"connection_id":123353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:08:20] local.INFO: Extracted packet for processing {"connection_id":123353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510428672001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783244161000,"timestamp_ms":1783244161000,"timestamp_seconds":1783244161,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a27fe8"} 
[2026-07-05 15:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510428672001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510428672001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:08:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510428672001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":123353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:08:20] local.INFO: GPS data processed {"connection_id":123353,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:08:20] local.INFO: Acknowledgment sent {"connection_id":123353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:08:25] local.INFO: TCP Data received {"connection_id":124570,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:08:25] local.INFO: Processing buffer {"connection_id":124570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:08:25] local.INFO: IMEI packet received {"connection_id":124570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":124570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:09:04] local.INFO: TCP Data received {"connection_id":123354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:09:04] local.INFO: Processing buffer {"connection_id":123354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:09:04] local.INFO: IMEI packet received {"connection_id":123354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":123354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:09:05] local.INFO: TCP Data received {"connection_id":122571,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:09:05] local.INFO: Processing buffer {"connection_id":122571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:09:05] local.INFO: IMEI packet received {"connection_id":122571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":122571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:09:10] local.INFO: TCP Data received {"connection_id":122571,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:09:10] local.INFO: Processing buffer {"connection_id":122571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:09:10] local.INFO: IMEI packet received {"connection_id":122571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":122571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:09:11] local.INFO: TCP Data received {"connection_id":122571,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:09:11] local.INFO: Processing buffer {"connection_id":122571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:09:11] local.INFO: Packet analysis {"connection_id":122571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:09:11] local.INFO: Extracted packet for processing {"connection_id":122571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510428672001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244161000,"timestamp_ms":1783244161000,"timestamp_seconds":1783244161,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a27fe8"} 
[2026-07-05 15:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510428672001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510428672001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:09:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510428672001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":122571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:09:11] local.INFO: GPS data processed {"connection_id":122571,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:09:11] local.INFO: Acknowledgment sent {"connection_id":122571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:09:42] local.INFO: TCP Data received {"connection_id":122571,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:09:42] local.INFO: Processing buffer {"connection_id":122571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:09:42] local.INFO: Packet analysis {"connection_id":122571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:09:42] local.INFO: Extracted packet for processing {"connection_id":122571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510428672001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783244161000,"timestamp_ms":1783244161000,"timestamp_seconds":1783244161,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a27fe8"} 
[2026-07-05 15:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:09: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-07-05 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:09: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-07-05 15: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-07-05 15:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510428672001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510428672001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:09:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510428672001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":122571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:09:42] local.INFO: GPS data processed {"connection_id":122571,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:09:42] local.INFO: Acknowledgment sent {"connection_id":122571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:10:05] local.INFO: TCP Data received {"connection_id":122628,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:10:05] local.INFO: Processing buffer {"connection_id":122628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:10:05] local.INFO: IMEI packet received {"connection_id":122628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":122628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:10:10] local.INFO: TCP Data received {"connection_id":122628,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:10:10] local.INFO: Processing buffer {"connection_id":122628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:10:10] local.INFO: IMEI packet received {"connection_id":122628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":122628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:10:11] local.INFO: TCP Data received {"connection_id":122628,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:10:11] local.INFO: Processing buffer {"connection_id":122628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:10:11] local.INFO: Packet analysis {"connection_id":122628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:10:11] local.INFO: Extracted packet for processing {"connection_id":122628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:10:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510428672001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:10:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244161000,"timestamp_ms":1783244161000,"timestamp_seconds":1783244161,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a27fe8"} 
[2026-07-05 15:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510428672001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510428672001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:10:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:10:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510428672001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":122628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:10:11] local.INFO: GPS data processed {"connection_id":122628,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:10:11] local.INFO: Acknowledgment sent {"connection_id":122628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:10:42] local.INFO: TCP Data received {"connection_id":122628,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:10:42] local.INFO: Processing buffer {"connection_id":122628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:10:42] local.INFO: Packet analysis {"connection_id":122628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:10:42] local.INFO: Extracted packet for processing {"connection_id":122628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:10:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510428672001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783244161000,"timestamp_ms":1783244161000,"timestamp_seconds":1783244161,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a27fe8"} 
[2026-07-05 15:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:10: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-07-05 15:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:10: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-07-05 15:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510428672001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510428672001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:10:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:10:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510428672001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":122628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:10:42] local.INFO: GPS data processed {"connection_id":122628,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:10:42] local.INFO: Acknowledgment sent {"connection_id":122628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:11:04] local.INFO: TCP Data received {"connection_id":122572,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:11:04] local.INFO: Processing buffer {"connection_id":122572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:11:04] local.INFO: IMEI packet received {"connection_id":122572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":122572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:11:10] local.INFO: TCP Data received {"connection_id":122572,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:11:10] local.INFO: Processing buffer {"connection_id":122572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:11:10] local.INFO: IMEI packet received {"connection_id":122572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":122572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:11:11] local.INFO: TCP Data received {"connection_id":122572,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:11:11] local.INFO: Processing buffer {"connection_id":122572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a27fe8012cb2a24007823a980042013b27..."} 
[2026-07-05 15:11:11] local.INFO: Packet analysis {"connection_id":122572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:11:11] local.INFO: Extracted packet for processing {"connection_id":122572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a2"} 
[2026-07-05 15:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510428672001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244161000,"timestamp_ms":1783244161000,"timestamp_seconds":1783244161,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a27fe8"} 
[2026-07-05 15:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510428672001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510428672001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:11:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510428672001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":122572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:11:11] local.INFO: GPS data processed {"connection_id":122572,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:11:11] local.INFO: Acknowledgment sent {"connection_id":122572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:11:42] local.INFO: TCP Data received {"connection_id":122572,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:11:42] local.INFO: Processing buffer {"connection_id":122572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:11:42] local.INFO: Packet analysis {"connection_id":122572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:11:42] local.INFO: Extracted packet for processing {"connection_id":122572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510505216001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783244452000,"timestamp_ms":1783244452000,"timestamp_seconds":1783244452,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a6f0a0"} 
[2026-07-05 15:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:11: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-07-05 15:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:11: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-07-05 15:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510505216001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510505216001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:11:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510505216001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":122572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:11:42] local.INFO: GPS data processed {"connection_id":122572,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:11:42] local.INFO: Acknowledgment sent {"connection_id":122572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:12:10] local.INFO: TCP Data received {"connection_id":123355,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:12:10] local.INFO: Processing buffer {"connection_id":123355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:12:10] local.INFO: IMEI packet received {"connection_id":123355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":123355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:12:15] local.INFO: TCP Data received {"connection_id":123355,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:12:15] local.INFO: Processing buffer {"connection_id":123355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:12:15] local.INFO: IMEI packet received {"connection_id":123355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":123355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:12:16] local.INFO: TCP Data received {"connection_id":123355,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:12:16] local.INFO: Processing buffer {"connection_id":123355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:12:16] local.INFO: Packet analysis {"connection_id":123355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:12:16] local.INFO: Extracted packet for processing {"connection_id":123355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:12:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510505216001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:12:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783244452000,"timestamp_ms":1783244452000,"timestamp_seconds":1783244452,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a6f0a0"} 
[2026-07-05 15:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510505216001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510505216001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:12:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:12:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510505216001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":123355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:12:16] local.INFO: GPS data processed {"connection_id":123355,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:12:16] local.INFO: Acknowledgment sent {"connection_id":123355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:12:20] local.INFO: TCP Data received {"connection_id":123355,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:12:20] local.INFO: Processing buffer {"connection_id":123355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:12:20] local.INFO: Packet analysis {"connection_id":123355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:12:20] local.INFO: Extracted packet for processing {"connection_id":123355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:12:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510505216001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783244452000,"timestamp_ms":1783244452000,"timestamp_seconds":1783244452,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a6f0a0"} 
[2026-07-05 15:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510505216001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510505216001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:12:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510505216001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":123355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:12:20] local.INFO: GPS data processed {"connection_id":123355,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:12:20] local.INFO: Acknowledgment sent {"connection_id":123355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:13:05] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:13:05] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:13:05] local.INFO: IMEI packet received {"connection_id":124571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":124571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:13:10] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:13:10] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:13:10] local.INFO: IMEI packet received {"connection_id":124571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":124571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:13:15] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:13:15] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:13:15] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:13:15] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:13:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510505216001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:13:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783244452000,"timestamp_ms":1783244452000,"timestamp_seconds":1783244452,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a6f0a0"} 
[2026-07-05 15:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510505216001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510505216001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:13:15] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:13:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:13:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510505216001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:13:15] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:13:15] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:13:46] local.INFO: TCP Data received {"connection_id":124571,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:13:46] local.INFO: Processing buffer {"connection_id":124571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:13:46] local.INFO: Packet analysis {"connection_id":124571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:13:46] local.INFO: Extracted packet for processing {"connection_id":124571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:13:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510505216001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:13:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783244452000,"timestamp_ms":1783244452000,"timestamp_seconds":1783244452,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a6f0a0"} 
[2026-07-05 15:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510505216001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510505216001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:13:46] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:13:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:13:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510505216001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":124571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:13:46] local.INFO: GPS data processed {"connection_id":124571,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:13:46] local.INFO: Acknowledgment sent {"connection_id":124571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:14:04] local.INFO: TCP Data received {"connection_id":123356,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:14:04] local.INFO: Processing buffer {"connection_id":123356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:14:04] local.INFO: IMEI packet received {"connection_id":123356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":123356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:14:10] local.INFO: TCP Data received {"connection_id":123356,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:14:10] local.INFO: Processing buffer {"connection_id":123356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:14:10] local.INFO: IMEI packet received {"connection_id":123356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":123356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:14:11] local.INFO: TCP Data received {"connection_id":123356,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:14:11] local.INFO: Processing buffer {"connection_id":123356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:14:11] local.INFO: Packet analysis {"connection_id":123356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:14:11] local.INFO: Extracted packet for processing {"connection_id":123356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:14:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510505216001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244452000,"timestamp_ms":1783244452000,"timestamp_seconds":1783244452,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a6f0a0"} 
[2026-07-05 15:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510505216001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510505216001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:14:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510505216001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":123356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:14:11] local.INFO: GPS data processed {"connection_id":123356,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:14:11] local.INFO: Acknowledgment sent {"connection_id":123356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:14:19] local.INFO: TCP Data received {"connection_id":124573,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:14:19] local.INFO: Processing buffer {"connection_id":124573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:14:19] local.INFO: IMEI packet received {"connection_id":124573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":124573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:14:42] local.INFO: TCP Data received {"connection_id":123356,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:14:42] local.INFO: Processing buffer {"connection_id":123356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:14:42] local.INFO: Packet analysis {"connection_id":123356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:14:42] local.INFO: Extracted packet for processing {"connection_id":123356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:14:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510505216001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783244452000,"timestamp_ms":1783244452000,"timestamp_seconds":1783244452,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a6f0a0"} 
[2026-07-05 15:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:14: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-07-05 15:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:14: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-07-05 15: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-07-05 15:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510505216001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510505216001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:14:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510505216001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":123356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:14:42] local.INFO: GPS data processed {"connection_id":123356,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:14:42] local.INFO: Acknowledgment sent {"connection_id":123356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:15:04] local.INFO: TCP Data received {"connection_id":122574,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:15:04] local.INFO: Processing buffer {"connection_id":122574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:15:04] local.INFO: IMEI packet received {"connection_id":122574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":122574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:15:04] local.INFO: TCP Data received {"connection_id":122573,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:15:04] local.INFO: Processing buffer {"connection_id":122573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:15:04] local.INFO: IMEI packet received {"connection_id":122573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":122573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:15:10] local.INFO: TCP Data received {"connection_id":122573,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:15:10] local.INFO: Processing buffer {"connection_id":122573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:15:10] local.INFO: IMEI packet received {"connection_id":122573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":122573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:15:11] local.INFO: TCP Data received {"connection_id":122573,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:15:11] local.INFO: Processing buffer {"connection_id":122573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:15:11] local.INFO: Packet analysis {"connection_id":122573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:15:11] local.INFO: Extracted packet for processing {"connection_id":122573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:15:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510505216001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244452000,"timestamp_ms":1783244452000,"timestamp_seconds":1783244452,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a6f0a0"} 
[2026-07-05 15:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510505216001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510505216001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:15:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510505216001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":122573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:15:11] local.INFO: GPS data processed {"connection_id":122573,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:15:11] local.INFO: Acknowledgment sent {"connection_id":122573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:15:42] local.INFO: TCP Data received {"connection_id":122573,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:15:42] local.INFO: Processing buffer {"connection_id":122573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:15:42] local.INFO: Packet analysis {"connection_id":122573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:15:42] local.INFO: Extracted packet for processing {"connection_id":122573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510505216001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783244452000,"timestamp_ms":1783244452000,"timestamp_seconds":1783244452,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a6f0a0"} 
[2026-07-05 15:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:15: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-07-05 15:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:15: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-07-05 15:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510505216001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510505216001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:15:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510505216001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":122573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:15:42] local.INFO: GPS data processed {"connection_id":122573,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:15:42] local.INFO: Acknowledgment sent {"connection_id":122573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:16:04] local.INFO: TCP Data received {"connection_id":122576,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:16:04] local.INFO: Processing buffer {"connection_id":122576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:16:04] local.INFO: IMEI packet received {"connection_id":122576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":122576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:16:10] local.INFO: TCP Data received {"connection_id":122576,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:16:10] local.INFO: Processing buffer {"connection_id":122576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:16:10] local.INFO: IMEI packet received {"connection_id":122576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":122576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:16:11] local.INFO: TCP Data received {"connection_id":122576,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:16:11] local.INFO: Processing buffer {"connection_id":122576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31a6f0a0012cb2a24007823a980042013b28..."} 
[2026-07-05 15:16:11] local.INFO: Packet analysis {"connection_id":122576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:16:11] local.INFO: Extracted packet for processing {"connection_id":122576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31a6"} 
[2026-07-05 15:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":66,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510505216001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244452000,"timestamp_ms":1783244452000,"timestamp_seconds":1783244452,"priority":1,"record_length":96,"hex_timestamp":"0000019f31a6f0a0"} 
[2026-07-05 15:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510505216001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510505216001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:16:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510505216001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":122576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:16:11] local.INFO: GPS data processed {"connection_id":122576,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:16:11] local.INFO: Acknowledgment sent {"connection_id":122576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:16:42] local.INFO: TCP Data received {"connection_id":122576,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:16:42] local.INFO: Processing buffer {"connection_id":122576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:16:42] local.INFO: Packet analysis {"connection_id":122576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:16:42] local.INFO: Extracted packet for processing {"connection_id":122576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510579712001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783244749000,"timestamp_ms":1783244749000,"timestamp_seconds":1783244749,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ab78c8"} 
[2026-07-05 15:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:16: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-07-05 15:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:16: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-07-05 15:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510579712001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510579712001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:16:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510579712001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":122576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:16:42] local.INFO: GPS data processed {"connection_id":122576,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:16:42] local.INFO: Acknowledgment sent {"connection_id":122576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:17:05] local.INFO: TCP Data received {"connection_id":122632,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:17:05] local.INFO: Processing buffer {"connection_id":122632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:17:05] local.INFO: IMEI packet received {"connection_id":122632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":122632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:17:10] local.INFO: TCP Data received {"connection_id":122632,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:17:10] local.INFO: Processing buffer {"connection_id":122632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:17:10] local.INFO: IMEI packet received {"connection_id":122632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":122632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:17:11] local.INFO: TCP Data received {"connection_id":122632,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:17:11] local.INFO: Processing buffer {"connection_id":122632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:17:11] local.INFO: Packet analysis {"connection_id":122632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:17:11] local.INFO: Extracted packet for processing {"connection_id":122632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510579712001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244749000,"timestamp_ms":1783244749000,"timestamp_seconds":1783244749,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ab78c8"} 
[2026-07-05 15:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510579712001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510579712001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:17:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510579712001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":122632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:17:11] local.INFO: GPS data processed {"connection_id":122632,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:17:11] local.INFO: Acknowledgment sent {"connection_id":122632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:17:42] local.INFO: TCP Data received {"connection_id":122632,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:17:42] local.INFO: Processing buffer {"connection_id":122632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:17:42] local.INFO: Packet analysis {"connection_id":122632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:17:42] local.INFO: Extracted packet for processing {"connection_id":122632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510579712001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783244749000,"timestamp_ms":1783244749000,"timestamp_seconds":1783244749,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ab78c8"} 
[2026-07-05 15:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:17: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-07-05 15:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510579712001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510579712001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:17:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510579712001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":122632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:17:42] local.INFO: GPS data processed {"connection_id":122632,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:17:42] local.INFO: Acknowledgment sent {"connection_id":122632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:18:05] local.INFO: TCP Data received {"connection_id":123357,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:18:05] local.INFO: Processing buffer {"connection_id":123357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:18:05] local.INFO: IMEI packet received {"connection_id":123357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":123357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:18:10] local.INFO: TCP Data received {"connection_id":123357,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:18:10] local.INFO: Processing buffer {"connection_id":123357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:18:10] local.INFO: IMEI packet received {"connection_id":123357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":123357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:18:11] local.INFO: TCP Data received {"connection_id":123357,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:18:11] local.INFO: Processing buffer {"connection_id":123357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:18:11] local.INFO: Packet analysis {"connection_id":123357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:18:11] local.INFO: Extracted packet for processing {"connection_id":123357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:18:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510579712001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244749000,"timestamp_ms":1783244749000,"timestamp_seconds":1783244749,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ab78c8"} 
[2026-07-05 15:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510579712001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510579712001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:18:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510579712001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":123357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:18:11] local.INFO: GPS data processed {"connection_id":123357,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:18:11] local.INFO: Acknowledgment sent {"connection_id":123357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:18:42] local.INFO: TCP Data received {"connection_id":123357,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:18:42] local.INFO: Processing buffer {"connection_id":123357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:18:42] local.INFO: Packet analysis {"connection_id":123357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:18:42] local.INFO: Extracted packet for processing {"connection_id":123357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:18:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510579712001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783244749000,"timestamp_ms":1783244749000,"timestamp_seconds":1783244749,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ab78c8"} 
[2026-07-05 15:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:18: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-07-05 15:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:18: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-07-05 15:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510579712001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510579712001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:18:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510579712001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":123357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:18:42] local.INFO: GPS data processed {"connection_id":123357,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:18:42] local.INFO: Acknowledgment sent {"connection_id":123357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:19:04] local.INFO: TCP Data received {"connection_id":122577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:19:04] local.INFO: Processing buffer {"connection_id":122577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:19:04] local.INFO: IMEI packet received {"connection_id":122577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":122577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:19:10] local.INFO: TCP Data received {"connection_id":122577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:19:10] local.INFO: Processing buffer {"connection_id":122577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:19:10] local.INFO: IMEI packet received {"connection_id":122577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":122577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:19:11] local.INFO: TCP Data received {"connection_id":122577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:19:11] local.INFO: Processing buffer {"connection_id":122577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:19:11] local.INFO: Packet analysis {"connection_id":122577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:19:11] local.INFO: Extracted packet for processing {"connection_id":122577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:19:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:19: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-07-05 15:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510579712001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244749000,"timestamp_ms":1783244749000,"timestamp_seconds":1783244749,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ab78c8"} 
[2026-07-05 15:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:19: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-07-05 15:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510579712001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510579712001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:19:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:19:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510579712001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":122577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:19:11] local.INFO: GPS data processed {"connection_id":122577,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:19:11] local.INFO: Acknowledgment sent {"connection_id":122577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:19:42] local.INFO: TCP Data received {"connection_id":122577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:19:42] local.INFO: Processing buffer {"connection_id":122577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:19:42] local.INFO: Packet analysis {"connection_id":122577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:19:42] local.INFO: Extracted packet for processing {"connection_id":122577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510579712001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783244749000,"timestamp_ms":1783244749000,"timestamp_seconds":1783244749,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ab78c8"} 
[2026-07-05 15:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:19: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-07-05 15:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:19: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-07-05 15:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510579712001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510579712001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:19:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510579712001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":122577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:19:42] local.INFO: GPS data processed {"connection_id":122577,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:19:42] local.INFO: Acknowledgment sent {"connection_id":122577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:20:04] local.INFO: TCP Data received {"connection_id":124576,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:20:04] local.INFO: Processing buffer {"connection_id":124576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:20:04] local.INFO: IMEI packet received {"connection_id":124576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":124576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:20:10] local.INFO: TCP Data received {"connection_id":124576,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:20:10] local.INFO: Processing buffer {"connection_id":124576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:20:10] local.INFO: IMEI packet received {"connection_id":124576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":124576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:20:11] local.INFO: TCP Data received {"connection_id":124576,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:20:11] local.INFO: Processing buffer {"connection_id":124576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:20:11] local.INFO: Packet analysis {"connection_id":124576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:20:11] local.INFO: Extracted packet for processing {"connection_id":124576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:20:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510579712001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244749000,"timestamp_ms":1783244749000,"timestamp_seconds":1783244749,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ab78c8"} 
[2026-07-05 15:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510579712001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510579712001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:20:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510579712001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":124576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:20:11] local.INFO: GPS data processed {"connection_id":124576,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:20:11] local.INFO: Acknowledgment sent {"connection_id":124576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:20:19] local.INFO: TCP Data received {"connection_id":122634,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:20:19] local.INFO: Processing buffer {"connection_id":122634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:20:19] local.INFO: IMEI packet received {"connection_id":122634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":122634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:20:42] local.INFO: TCP Data received {"connection_id":124576,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:20:42] local.INFO: Processing buffer {"connection_id":124576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:20:42] local.INFO: Packet analysis {"connection_id":124576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:20:42] local.INFO: Extracted packet for processing {"connection_id":124576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:20:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510579712001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783244749000,"timestamp_ms":1783244749000,"timestamp_seconds":1783244749,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ab78c8"} 
[2026-07-05 15:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:20: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-07-05 15:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:20: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-07-05 15: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-07-05 15:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510579712001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510579712001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:20:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510579712001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":124576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:20:42] local.INFO: GPS data processed {"connection_id":124576,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:20:42] local.INFO: Acknowledgment sent {"connection_id":124576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:21:04] local.INFO: TCP Data received {"connection_id":122578,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:21:04] local.INFO: Processing buffer {"connection_id":122578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:21:04] local.INFO: IMEI packet received {"connection_id":122578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":122578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:21:04] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:21:04] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:21:04] local.INFO: IMEI packet received {"connection_id":124577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":124577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:21:10] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:21:10] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:21:10] local.INFO: IMEI packet received {"connection_id":124577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":124577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:21:11] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:21:11] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ab78c8012cb2a24007823a980045013b29..."} 
[2026-07-05 15:21:11] local.INFO: Packet analysis {"connection_id":124577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:21:11] local.INFO: Extracted packet for processing {"connection_id":124577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ab"} 
[2026-07-05 15:21:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510579712001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783244749000,"timestamp_ms":1783244749000,"timestamp_seconds":1783244749,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ab78c8"} 
[2026-07-05 15:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510579712001,"66":25321,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510579712001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:21:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510579712001,"power":25321,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":124577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:21:11] local.INFO: GPS data processed {"connection_id":124577,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:21:11] local.INFO: Acknowledgment sent {"connection_id":124577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:21:42] local.INFO: TCP Data received {"connection_id":124577,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:21:42] local.INFO: Processing buffer {"connection_id":124577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:21:42] local.INFO: Packet analysis {"connection_id":124577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:21:42] local.INFO: Extracted packet for processing {"connection_id":124577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:21:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510655744001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:21:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245050000,"timestamp_ms":1783245050000,"timestamp_seconds":1783245050,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b01090"} 
[2026-07-05 15:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:21: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-07-05 15:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510655744001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510655744001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:21:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:21:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510655744001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":124577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:21:42] local.INFO: GPS data processed {"connection_id":124577,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:21:42] local.INFO: Acknowledgment sent {"connection_id":124577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:22:05] local.INFO: TCP Data received {"connection_id":122579,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:22:05] local.INFO: Processing buffer {"connection_id":122579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:22:05] local.INFO: IMEI packet received {"connection_id":122579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":122579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:22:10] local.INFO: TCP Data received {"connection_id":122579,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:22:10] local.INFO: Processing buffer {"connection_id":122579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:22:10] local.INFO: IMEI packet received {"connection_id":122579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":122579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:22:11] local.INFO: TCP Data received {"connection_id":122579,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:22:11] local.INFO: Processing buffer {"connection_id":122579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:22:11] local.INFO: Packet analysis {"connection_id":122579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:22:11] local.INFO: Extracted packet for processing {"connection_id":122579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510655744001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783245050000,"timestamp_ms":1783245050000,"timestamp_seconds":1783245050,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b01090"} 
[2026-07-05 15:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510655744001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510655744001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:22:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510655744001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":122579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:22:11] local.INFO: GPS data processed {"connection_id":122579,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:22:11] local.INFO: Acknowledgment sent {"connection_id":122579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:22:42] local.INFO: TCP Data received {"connection_id":122579,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:22:42] local.INFO: Processing buffer {"connection_id":122579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:22:42] local.INFO: Packet analysis {"connection_id":122579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:22:42] local.INFO: Extracted packet for processing {"connection_id":122579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510655744001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245050000,"timestamp_ms":1783245050000,"timestamp_seconds":1783245050,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b01090"} 
[2026-07-05 15:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:22: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-07-05 15:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510655744001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510655744001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:22:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510655744001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":122579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:22:42] local.INFO: GPS data processed {"connection_id":122579,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:22:42] local.INFO: Acknowledgment sent {"connection_id":122579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:23:04] local.INFO: TCP Data received {"connection_id":123360,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:23:04] local.INFO: Processing buffer {"connection_id":123360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:23:04] local.INFO: IMEI packet received {"connection_id":123360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":123360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:23:11] local.INFO: TCP Data received {"connection_id":123360,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:23:11] local.INFO: Processing buffer {"connection_id":123360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:23:11] local.INFO: IMEI packet received {"connection_id":123360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":123360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:23:12] local.INFO: TCP Data received {"connection_id":123360,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:23:12] local.INFO: Processing buffer {"connection_id":123360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:23:12] local.INFO: Packet analysis {"connection_id":123360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:23:12] local.INFO: Extracted packet for processing {"connection_id":123360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:23:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510655744001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783245050000,"timestamp_ms":1783245050000,"timestamp_seconds":1783245050,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b01090"} 
[2026-07-05 15:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510655744001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510655744001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:23:12] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510655744001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":123360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:23:12] local.INFO: GPS data processed {"connection_id":123360,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:23:12] local.INFO: Acknowledgment sent {"connection_id":123360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:23:43] local.INFO: TCP Data received {"connection_id":123360,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:23:43] local.INFO: Processing buffer {"connection_id":123360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:23:43] local.INFO: Packet analysis {"connection_id":123360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:23:43] local.INFO: Extracted packet for processing {"connection_id":123360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:23:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510655744001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:23:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783245050000,"timestamp_ms":1783245050000,"timestamp_seconds":1783245050,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b01090"} 
[2026-07-05 15:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:23: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-07-05 15:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510655744001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510655744001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:23:43] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:23:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510655744001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":123360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:23:43] local.INFO: GPS data processed {"connection_id":123360,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:23:43] local.INFO: Acknowledgment sent {"connection_id":123360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:24:04] local.INFO: TCP Data received {"connection_id":124579,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:24:04] local.INFO: Processing buffer {"connection_id":124579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:24:04] local.INFO: IMEI packet received {"connection_id":124579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":124579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:24:10] local.INFO: TCP Data received {"connection_id":124579,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:24:10] local.INFO: Processing buffer {"connection_id":124579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:24:10] local.INFO: IMEI packet received {"connection_id":124579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":124579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:24:11] local.INFO: TCP Data received {"connection_id":124579,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:24:11] local.INFO: Processing buffer {"connection_id":124579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:24:11] local.INFO: Packet analysis {"connection_id":124579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:24:11] local.INFO: Extracted packet for processing {"connection_id":124579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:24:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:24: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-07-05 15:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510655744001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:24:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783245050000,"timestamp_ms":1783245050000,"timestamp_seconds":1783245050,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b01090"} 
[2026-07-05 15:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:24: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-07-05 15:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510655744001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510655744001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:24:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:24:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:24:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510655744001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":124579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:24:11] local.INFO: GPS data processed {"connection_id":124579,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:24:11] local.INFO: Acknowledgment sent {"connection_id":124579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:24:42] local.INFO: TCP Data received {"connection_id":124579,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:24:42] local.INFO: Processing buffer {"connection_id":124579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:24:42] local.INFO: Packet analysis {"connection_id":124579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:24:42] local.INFO: Extracted packet for processing {"connection_id":124579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510655744001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245050000,"timestamp_ms":1783245050000,"timestamp_seconds":1783245050,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b01090"} 
[2026-07-05 15:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:24: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-07-05 15:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:24: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-07-05 15: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-07-05 15:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510655744001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510655744001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:24:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510655744001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":124579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:24:42] local.INFO: GPS data processed {"connection_id":124579,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:24:42] local.INFO: Acknowledgment sent {"connection_id":124579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:25:04] local.INFO: TCP Data received {"connection_id":122582,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:25:04] local.INFO: Processing buffer {"connection_id":122582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:25:04] local.INFO: IMEI packet received {"connection_id":122582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":122582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:25:10] local.INFO: TCP Data received {"connection_id":122582,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:25:10] local.INFO: Processing buffer {"connection_id":122582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:25:10] local.INFO: IMEI packet received {"connection_id":122582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":122582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:25:11] local.INFO: TCP Data received {"connection_id":122582,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:25:11] local.INFO: Processing buffer {"connection_id":122582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:25:11] local.INFO: Packet analysis {"connection_id":122582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:25:11] local.INFO: Extracted packet for processing {"connection_id":122582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510655744001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783245050000,"timestamp_ms":1783245050000,"timestamp_seconds":1783245050,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b01090"} 
[2026-07-05 15:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510655744001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510655744001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510655744001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":122582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:25:11] local.INFO: GPS data processed {"connection_id":122582,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:25:11] local.INFO: Acknowledgment sent {"connection_id":122582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:25:42] local.INFO: TCP Data received {"connection_id":122582,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:25:42] local.INFO: Processing buffer {"connection_id":122582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:25:42] local.INFO: Packet analysis {"connection_id":122582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:25:42] local.INFO: Extracted packet for processing {"connection_id":122582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:25:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510655744001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245050000,"timestamp_ms":1783245050000,"timestamp_seconds":1783245050,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b01090"} 
[2026-07-05 15:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:25: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-07-05 15:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:25: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-07-05 15:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510655744001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510655744001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510655744001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":122582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:25:42] local.INFO: GPS data processed {"connection_id":122582,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:25:42] local.INFO: Acknowledgment sent {"connection_id":122582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:26:10] local.INFO: TCP Data received {"connection_id":124580,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:26:10] local.INFO: Processing buffer {"connection_id":124580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:26:10] local.INFO: IMEI packet received {"connection_id":124580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":124580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:26:15] local.INFO: TCP Data received {"connection_id":124580,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:26:15] local.INFO: Processing buffer {"connection_id":124580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:26:15] local.INFO: IMEI packet received {"connection_id":124580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":124580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:26:16] local.INFO: TCP Data received {"connection_id":124580,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:26:16] local.INFO: Processing buffer {"connection_id":124580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:26:16] local.INFO: Packet analysis {"connection_id":124580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:26:16] local.INFO: Extracted packet for processing {"connection_id":124580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510655744001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:26:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783245050000,"timestamp_ms":1783245050000,"timestamp_seconds":1783245050,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b01090"} 
[2026-07-05 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-07-05 15:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 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-07-05 15:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510655744001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510655744001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:26:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510655744001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":124580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:26:16] local.INFO: GPS data processed {"connection_id":124580,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:26:16] local.INFO: Acknowledgment sent {"connection_id":124580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:26:19] local.INFO: TCP Data received {"connection_id":122583,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:26:19] local.INFO: Processing buffer {"connection_id":122583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:26:19] local.INFO: IMEI packet received {"connection_id":122583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":122583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:26:20] local.INFO: TCP Data received {"connection_id":124580,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:26:20] local.INFO: Processing buffer {"connection_id":124580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b01090012cb2a24007823a980045013b26..."} 
[2026-07-05 15:26:20] local.INFO: Packet analysis {"connection_id":124580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:26:20] local.INFO: Extracted packet for processing {"connection_id":124580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b0"} 
[2026-07-05 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510655744001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783245050000,"timestamp_ms":1783245050000,"timestamp_seconds":1783245050,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b01090"} 
[2026-07-05 15:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510655744001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510655744001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:26:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510655744001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":124580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:26:20] local.INFO: GPS data processed {"connection_id":124580,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:26:20] local.INFO: Acknowledgment sent {"connection_id":124580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:27:04] local.INFO: TCP Data received {"connection_id":122585,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:27:04] local.INFO: Processing buffer {"connection_id":122585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:27:04] local.INFO: IMEI packet received {"connection_id":122585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":122585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:27:04] local.INFO: TCP Data received {"connection_id":122584,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:27:04] local.INFO: Processing buffer {"connection_id":122584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:27:04] local.INFO: IMEI packet received {"connection_id":122584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":122584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:27:09] local.INFO: TCP Data received {"connection_id":122585,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:27:09] local.INFO: Processing buffer {"connection_id":122585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:27:09] local.INFO: IMEI packet received {"connection_id":122585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 15:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":122585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:27:10] local.INFO: TCP Data received {"connection_id":122584,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:27:10] local.INFO: Processing buffer {"connection_id":122584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:27:10] local.INFO: IMEI packet received {"connection_id":122584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":122584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:27:11] local.INFO: TCP Data received {"connection_id":122584,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:27:11] local.INFO: Processing buffer {"connection_id":122584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:27:11] local.INFO: Packet analysis {"connection_id":122584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:27:11] local.INFO: Extracted packet for processing {"connection_id":122584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:27:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510732800001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783245351000,"timestamp_ms":1783245351000,"timestamp_seconds":1783245351,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b4a858"} 
[2026-07-05 15:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510732800001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510732800001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:27:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:27:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510732800001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":122584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:27:11] local.INFO: GPS data processed {"connection_id":122584,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:27:11] local.INFO: Acknowledgment sent {"connection_id":122584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:27:14] local.INFO: TCP Data received {"connection_id":122585,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3190d478012cb2a10007823b380045000025..."} 
[2026-07-05 15:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3190d478012cb2a10007823b380045000025..."} 
[2026-07-05 15:27:14] local.INFO: Processing buffer {"connection_id":122585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3190d478012cb2a10007823b380045000025..."} 
[2026-07-05 15:27:14] local.INFO: Packet analysis {"connection_id":122585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 15:27:14] local.INFO: Extracted packet for processing {"connection_id":122585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3190"} 
[2026-07-05 15:27:14] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":69,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 15:27: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-07-05 15:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510134016001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 15:27:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 15:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783243003000,"timestamp_ms":1783243003000,"timestamp_seconds":1783243003,"priority":1,"record_length":96,"hex_timestamp":"0000019f3190d478"} 
[2026-07-05 15:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-05 15:27:14] 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-07-05 15:27: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-07-05 15:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 15:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 15:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 15:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 15:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510134016001,"66":25093,"221":206,"85":36864,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 15:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 15:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 15:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510134016001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:27:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 15:27:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:27:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 15:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510134016001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 15:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":122585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:27:14] local.INFO: GPS data processed {"connection_id":122585,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:27:14] local.INFO: Acknowledgment sent {"connection_id":122585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:27:42] local.INFO: TCP Data received {"connection_id":122584,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:27:42] local.INFO: Processing buffer {"connection_id":122584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:27:42] local.INFO: Packet analysis {"connection_id":122584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:27:42] local.INFO: Extracted packet for processing {"connection_id":122584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510732800001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245351000,"timestamp_ms":1783245351000,"timestamp_seconds":1783245351,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b4a858"} 
[2026-07-05 15:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:27: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-07-05 15:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510732800001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510732800001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:27:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510732800001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":122584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:27:42] local.INFO: GPS data processed {"connection_id":122584,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:27:42] local.INFO: Acknowledgment sent {"connection_id":122584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:27:59] local.INFO: TCP Data received {"connection_id":122636,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:27:59] local.INFO: Processing buffer {"connection_id":122636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:27:59] local.INFO: IMEI packet received {"connection_id":122636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":122636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:28:04] local.INFO: TCP Data received {"connection_id":123361,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:28:04] local.INFO: Processing buffer {"connection_id":123361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:28:04] local.INFO: IMEI packet received {"connection_id":123361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":123361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:28:10] local.INFO: TCP Data received {"connection_id":123361,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:28:10] local.INFO: Processing buffer {"connection_id":123361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:28:10] local.INFO: IMEI packet received {"connection_id":123361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":123361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:29:04] local.INFO: TCP Data received {"connection_id":122586,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:29:04] local.INFO: Processing buffer {"connection_id":122586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:29:04] local.INFO: IMEI packet received {"connection_id":122586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":122586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:29:09] local.INFO: TCP Data received {"connection_id":122586,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:29:09] local.INFO: Processing buffer {"connection_id":122586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:29:09] local.INFO: IMEI packet received {"connection_id":122586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":122586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:29:10] local.INFO: TCP Data received {"connection_id":122586,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:29:10] local.INFO: Processing buffer {"connection_id":122586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:29:10] local.INFO: Packet analysis {"connection_id":122586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:29:10] local.INFO: Extracted packet for processing {"connection_id":122586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510732800001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783245351000,"timestamp_ms":1783245351000,"timestamp_seconds":1783245351,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b4a858"} 
[2026-07-05 15:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:29: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-07-05 15:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:29: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-07-05 15: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-07-05 15:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510732800001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510732800001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:29:10] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510732800001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":122586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:29:10] local.INFO: GPS data processed {"connection_id":122586,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:29:10] local.INFO: Acknowledgment sent {"connection_id":122586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:29:42] local.INFO: TCP Data received {"connection_id":122586,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:29:42] local.INFO: Processing buffer {"connection_id":122586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:29:42] local.INFO: Packet analysis {"connection_id":122586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:29:42] local.INFO: Extracted packet for processing {"connection_id":122586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510732800001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245351000,"timestamp_ms":1783245351000,"timestamp_seconds":1783245351,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b4a858"} 
[2026-07-05 15:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:29: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-07-05 15:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510732800001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510732800001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:29:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510732800001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":122586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:29:42] local.INFO: GPS data processed {"connection_id":122586,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:29:42] local.INFO: Acknowledgment sent {"connection_id":122586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:29:59] local.INFO: TCP Data received {"connection_id":123361,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:29:59] local.INFO: Processing buffer {"connection_id":123361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:29:59] local.INFO: Packet analysis {"connection_id":123361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:29:59] local.INFO: Extracted packet for processing {"connection_id":123361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:29:59] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510732800001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:29:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783245351000,"timestamp_ms":1783245351000,"timestamp_seconds":1783245351,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b4a858"} 
[2026-07-05 15:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":123361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":123361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":123361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510732800001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510732800001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:29:59] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:29:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510732800001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":123361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:29:59] local.INFO: GPS data processed {"connection_id":123361,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:29:59] local.INFO: Acknowledgment sent {"connection_id":123361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:30:04] local.INFO: TCP Data received {"connection_id":123363,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:30:04] local.INFO: Processing buffer {"connection_id":123363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:30:04] local.INFO: IMEI packet received {"connection_id":123363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":123363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:30:10] local.INFO: TCP Data received {"connection_id":123363,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:30:10] local.INFO: Processing buffer {"connection_id":123363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:30:10] local.INFO: IMEI packet received {"connection_id":123363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":123363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:30:11] local.INFO: TCP Data received {"connection_id":123363,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:30:11] local.INFO: Processing buffer {"connection_id":123363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:30:11] local.INFO: Packet analysis {"connection_id":123363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:30:11] local.INFO: Extracted packet for processing {"connection_id":123363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:30:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510732800001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783245351000,"timestamp_ms":1783245351000,"timestamp_seconds":1783245351,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b4a858"} 
[2026-07-05 15:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510732800001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510732800001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:30:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:30:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510732800001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":123363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:30:11] local.INFO: GPS data processed {"connection_id":123363,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:30:11] local.INFO: Acknowledgment sent {"connection_id":123363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:30:42] local.INFO: TCP Data received {"connection_id":123363,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:30:42] local.INFO: Processing buffer {"connection_id":123363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:30:42] local.INFO: Packet analysis {"connection_id":123363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:30:42] local.INFO: Extracted packet for processing {"connection_id":123363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:30:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510732800001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245351000,"timestamp_ms":1783245351000,"timestamp_seconds":1783245351,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b4a858"} 
[2026-07-05 15:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15: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-07-05 15: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:30: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-07-05 15: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-07-05 15:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510732800001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510732800001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:30:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510732800001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":123363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:30:42] local.INFO: GPS data processed {"connection_id":123363,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:30:42] local.INFO: Acknowledgment sent {"connection_id":123363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:31:10] local.INFO: TCP Data received {"connection_id":123364,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:31:10] local.INFO: Processing buffer {"connection_id":123364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:31:10] local.INFO: IMEI packet received {"connection_id":123364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":123364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:31:15] local.INFO: TCP Data received {"connection_id":123364,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:31:15] local.INFO: Processing buffer {"connection_id":123364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:31:15] local.INFO: IMEI packet received {"connection_id":123364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":123364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:31:16] local.INFO: TCP Data received {"connection_id":123364,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:31:16] local.INFO: Processing buffer {"connection_id":123364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:31:16] local.INFO: Packet analysis {"connection_id":123364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:31:16] local.INFO: Extracted packet for processing {"connection_id":123364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 15:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510732800001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783245351000,"timestamp_ms":1783245351000,"timestamp_seconds":1783245351,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b4a858"} 
[2026-07-05 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-07-05 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 15:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510732800001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510732800001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:31:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:31:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510732800001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":123364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:31:16] local.INFO: GPS data processed {"connection_id":123364,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:31:16] local.INFO: Acknowledgment sent {"connection_id":123364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:31:20] local.INFO: TCP Data received {"connection_id":123364,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:31:20] local.INFO: Processing buffer {"connection_id":123364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b4a858012cb2a24007823a980045013b24..."} 
[2026-07-05 15:31:20] local.INFO: Packet analysis {"connection_id":123364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:31:20] local.INFO: Extracted packet for processing {"connection_id":123364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b4"} 
[2026-07-05 15:31:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510732800001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783245351000,"timestamp_ms":1783245351000,"timestamp_seconds":1783245351,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b4a858"} 
[2026-07-05 15:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510732800001,"66":25375,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510732800001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:31:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510732800001,"power":25375,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":123364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:31:20] local.INFO: GPS data processed {"connection_id":123364,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:31:20] local.INFO: Acknowledgment sent {"connection_id":123364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:32:04] local.INFO: TCP Data received {"connection_id":124581,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:32:04] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:32:04] local.INFO: IMEI packet received {"connection_id":124581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":124581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:32:10] local.INFO: TCP Data received {"connection_id":124581,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:32:10] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:32:10] local.INFO: IMEI packet received {"connection_id":124581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":124581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:32:11] local.INFO: TCP Data received {"connection_id":124581,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:32:11] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:32:11] local.INFO: Packet analysis {"connection_id":124581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:32:11] local.INFO: Extracted packet for processing {"connection_id":124581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510809856001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:32:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783245653000,"timestamp_ms":1783245653000,"timestamp_seconds":1783245653,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b94408"} 
[2026-07-05 15:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510809856001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510809856001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:32:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:32:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510809856001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":124581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:32:11] local.INFO: GPS data processed {"connection_id":124581,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:32:11] local.INFO: Acknowledgment sent {"connection_id":124581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:32:42] local.INFO: TCP Data received {"connection_id":124581,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:32:42] local.INFO: Processing buffer {"connection_id":124581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:32:42] local.INFO: Packet analysis {"connection_id":124581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:32:42] local.INFO: Extracted packet for processing {"connection_id":124581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:32:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510809856001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245653000,"timestamp_ms":1783245653000,"timestamp_seconds":1783245653,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b94408"} 
[2026-07-05 15:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:32: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-07-05 15:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:32: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-07-05 15: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-07-05 15:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510809856001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510809856001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:32:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510809856001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":124581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:32:42] local.INFO: GPS data processed {"connection_id":124581,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:32:42] local.INFO: Acknowledgment sent {"connection_id":124581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:33:04] local.INFO: TCP Data received {"connection_id":124584,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:33:04] local.INFO: Processing buffer {"connection_id":124584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:33:04] local.INFO: IMEI packet received {"connection_id":124584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":124584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:33:10] local.INFO: TCP Data received {"connection_id":124584,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:33:10] local.INFO: Processing buffer {"connection_id":124584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:33:10] local.INFO: IMEI packet received {"connection_id":124584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":124584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:33:11] local.INFO: TCP Data received {"connection_id":124584,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:33:11] local.INFO: Processing buffer {"connection_id":124584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:33:11] local.INFO: Packet analysis {"connection_id":124584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:33:11] local.INFO: Extracted packet for processing {"connection_id":124584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:33:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510809856001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:33:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783245653000,"timestamp_ms":1783245653000,"timestamp_seconds":1783245653,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b94408"} 
[2026-07-05 15:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510809856001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510809856001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:33:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:33:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510809856001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":124584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:33:11] local.INFO: GPS data processed {"connection_id":124584,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:33:11] local.INFO: Acknowledgment sent {"connection_id":124584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:33:29] local.INFO: TCP Data received {"connection_id":124583,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:33:29] local.INFO: Processing buffer {"connection_id":124583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:33:29] local.INFO: IMEI packet received {"connection_id":124583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":124583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:33:42] local.INFO: TCP Data received {"connection_id":124584,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:33:42] local.INFO: Processing buffer {"connection_id":124584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:33:42] local.INFO: Packet analysis {"connection_id":124584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:33:42] local.INFO: Extracted packet for processing {"connection_id":124584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510809856001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245653000,"timestamp_ms":1783245653000,"timestamp_seconds":1783245653,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b94408"} 
[2026-07-05 15:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:33: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-07-05 15:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:33: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-07-05 15:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510809856001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510809856001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:33:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510809856001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":124584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:33:42] local.INFO: GPS data processed {"connection_id":124584,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:33:42] local.INFO: Acknowledgment sent {"connection_id":124584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:34:04] local.INFO: TCP Data received {"connection_id":122638,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:34:04] local.INFO: Processing buffer {"connection_id":122638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:34:04] local.INFO: IMEI packet received {"connection_id":122638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":122638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:34:10] local.INFO: TCP Data received {"connection_id":122588,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:34:10] local.INFO: Processing buffer {"connection_id":122588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:34:10] local.INFO: IMEI packet received {"connection_id":122588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":122588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:34:15] local.INFO: TCP Data received {"connection_id":122588,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:34:15] local.INFO: Processing buffer {"connection_id":122588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:34:15] local.INFO: IMEI packet received {"connection_id":122588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":122588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:34:16] local.INFO: TCP Data received {"connection_id":122588,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:34:16] local.INFO: Processing buffer {"connection_id":122588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:34:16] local.INFO: Packet analysis {"connection_id":122588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:34:16] local.INFO: Extracted packet for processing {"connection_id":122588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 15:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510809856001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:34:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783245653000,"timestamp_ms":1783245653000,"timestamp_seconds":1783245653,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b94408"} 
[2026-07-05 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-07-05 15:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 15:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510809856001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510809856001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:34:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510809856001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":122588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:34:16] local.INFO: GPS data processed {"connection_id":122588,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:34:16] local.INFO: Acknowledgment sent {"connection_id":122588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:34:20] local.INFO: TCP Data received {"connection_id":122588,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:34:20] local.INFO: Processing buffer {"connection_id":122588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:34:20] local.INFO: Packet analysis {"connection_id":122588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:34:20] local.INFO: Extracted packet for processing {"connection_id":122588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:34:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510809856001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783245653000,"timestamp_ms":1783245653000,"timestamp_seconds":1783245653,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b94408"} 
[2026-07-05 15:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510809856001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510809856001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:34:20] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510809856001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":122588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:34:20] local.INFO: GPS data processed {"connection_id":122588,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:34:20] local.INFO: Acknowledgment sent {"connection_id":122588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:35:04] local.INFO: TCP Data received {"connection_id":123365,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:35:04] local.INFO: Processing buffer {"connection_id":123365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:35:04] local.INFO: IMEI packet received {"connection_id":123365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":123365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:35:09] local.INFO: TCP Data received {"connection_id":123365,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:35:09] local.INFO: Processing buffer {"connection_id":123365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:35:09] local.INFO: IMEI packet received {"connection_id":123365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":123365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:35:10] local.INFO: TCP Data received {"connection_id":123365,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:35:10] local.INFO: Processing buffer {"connection_id":123365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:35:10] local.INFO: Packet analysis {"connection_id":123365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:35:10] local.INFO: Extracted packet for processing {"connection_id":123365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510809856001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783245653000,"timestamp_ms":1783245653000,"timestamp_seconds":1783245653,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b94408"} 
[2026-07-05 15:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:35: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-07-05 15:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510809856001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510809856001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:35:10] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510809856001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":123365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:35:11] local.INFO: GPS data processed {"connection_id":123365,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:35:11] local.INFO: Acknowledgment sent {"connection_id":123365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:35:42] local.INFO: TCP Data received {"connection_id":123365,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:35:42] local.INFO: Processing buffer {"connection_id":123365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:35:42] local.INFO: Packet analysis {"connection_id":123365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:35:42] local.INFO: Extracted packet for processing {"connection_id":123365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:35:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510809856001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245653000,"timestamp_ms":1783245653000,"timestamp_seconds":1783245653,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b94408"} 
[2026-07-05 15:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:35: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-07-05 15:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:35: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-07-05 15:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510809856001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510809856001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:35:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510809856001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":123365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:35:42] local.INFO: GPS data processed {"connection_id":123365,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:35:42] local.INFO: Acknowledgment sent {"connection_id":123365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:36:05] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:36:05] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:36:05] local.INFO: IMEI packet received {"connection_id":124586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":124586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:36:10] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:36:10] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:36:10] local.INFO: IMEI packet received {"connection_id":124586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":124586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:36:11] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:36:11] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31b94408012cb2a24007823a980045013b23..."} 
[2026-07-05 15:36:11] local.INFO: Packet analysis {"connection_id":124586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:36:11] local.INFO: Extracted packet for processing {"connection_id":124586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31b9"} 
[2026-07-05 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510809856001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:36:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783245653000,"timestamp_ms":1783245653000,"timestamp_seconds":1783245653,"priority":1,"record_length":96,"hex_timestamp":"0000019f31b94408"} 
[2026-07-05 15:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-05 15:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510809856001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510809856001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:36:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:36:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:36:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510809856001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":124586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:36:11] local.INFO: GPS data processed {"connection_id":124586,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:36:11] local.INFO: Acknowledgment sent {"connection_id":124586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:36:42] local.INFO: TCP Data received {"connection_id":124586,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:36:42] local.INFO: Processing buffer {"connection_id":124586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:36:42] local.INFO: Packet analysis {"connection_id":124586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:36:42] local.INFO: Extracted packet for processing {"connection_id":124586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:36:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510887168001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245956000,"timestamp_ms":1783245956000,"timestamp_seconds":1783245956,"priority":1,"record_length":96,"hex_timestamp":"0000019f31bde3a0"} 
[2026-07-05 15:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:36: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-07-05 15:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510887168001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510887168001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:36:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510887168001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":124586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:36:42] local.INFO: GPS data processed {"connection_id":124586,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:36:42] local.INFO: Acknowledgment sent {"connection_id":124586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:37:04] local.INFO: TCP Data received {"connection_id":122639,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:37:04] local.INFO: Processing buffer {"connection_id":122639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:37:04] local.INFO: IMEI packet received {"connection_id":122639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":122639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:37:12] local.INFO: TCP Data received {"connection_id":122639,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:37:12] local.INFO: Processing buffer {"connection_id":122639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:37:12] local.INFO: IMEI packet received {"connection_id":122639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":122639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:37:22] local.INFO: TCP Data received {"connection_id":122639,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:37:22] local.INFO: Processing buffer {"connection_id":122639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:37:22] local.INFO: Packet analysis {"connection_id":122639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:37:22] local.INFO: Extracted packet for processing {"connection_id":122639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:37:22] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510887168001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:37:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783245956000,"timestamp_ms":1783245956000,"timestamp_seconds":1783245956,"priority":1,"record_length":96,"hex_timestamp":"0000019f31bde3a0"} 
[2026-07-05 15:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510887168001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510887168001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:37:22] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:37:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:37:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510887168001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":122639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:37:22] local.INFO: GPS data processed {"connection_id":122639,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:37:22] local.INFO: Acknowledgment sent {"connection_id":122639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:38:09] local.INFO: TCP Data received {"connection_id":123366,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:38:09] local.INFO: Processing buffer {"connection_id":123366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:38:09] local.INFO: IMEI packet received {"connection_id":123366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":123366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:38:15] local.INFO: TCP Data received {"connection_id":123366,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:38:15] local.INFO: Processing buffer {"connection_id":123366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:38:15] local.INFO: IMEI packet received {"connection_id":123366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":123366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:38:16] local.INFO: TCP Data received {"connection_id":123366,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:38:16] local.INFO: Processing buffer {"connection_id":123366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:38:16] local.INFO: Packet analysis {"connection_id":123366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:38:16] local.INFO: Extracted packet for processing {"connection_id":123366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:38:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 15:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510887168001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:38:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783245956000,"timestamp_ms":1783245956000,"timestamp_seconds":1783245956,"priority":1,"record_length":96,"hex_timestamp":"0000019f31bde3a0"} 
[2026-07-05 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-07-05 15:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 15:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510887168001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510887168001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:38:16] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:38:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:38:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510887168001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":123366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:38:16] local.INFO: GPS data processed {"connection_id":123366,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:38:16] local.INFO: Acknowledgment sent {"connection_id":123366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:38:47] local.INFO: TCP Data received {"connection_id":123366,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:38:47] local.INFO: Processing buffer {"connection_id":123366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:38:47] local.INFO: Packet analysis {"connection_id":123366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:38:47] local.INFO: Extracted packet for processing {"connection_id":123366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:38:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510887168001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:38:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783245956000,"timestamp_ms":1783245956000,"timestamp_seconds":1783245956,"priority":1,"record_length":96,"hex_timestamp":"0000019f31bde3a0"} 
[2026-07-05 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-07-05 15:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 15:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":123366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":123366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":123366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510887168001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510887168001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:38:47] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:38:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:38:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510887168001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":123366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:38:47] local.INFO: GPS data processed {"connection_id":123366,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:38:47] local.INFO: Acknowledgment sent {"connection_id":123366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:39:05] local.INFO: TCP Data received {"connection_id":122590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:39:05] local.INFO: Processing buffer {"connection_id":122590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:39:05] local.INFO: IMEI packet received {"connection_id":122590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":122590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:39:10] local.INFO: TCP Data received {"connection_id":122590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:39:10] local.INFO: Processing buffer {"connection_id":122590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:39:10] local.INFO: IMEI packet received {"connection_id":122590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":122590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:39:11] local.INFO: TCP Data received {"connection_id":122590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:39:11] local.INFO: Processing buffer {"connection_id":122590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:39:11] local.INFO: Packet analysis {"connection_id":122590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:39:11] local.INFO: Extracted packet for processing {"connection_id":122590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:39:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510887168001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783245956000,"timestamp_ms":1783245956000,"timestamp_seconds":1783245956,"priority":1,"record_length":96,"hex_timestamp":"0000019f31bde3a0"} 
[2026-07-05 15:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510887168001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510887168001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:39:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:39:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510887168001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":122590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:39:11] local.INFO: GPS data processed {"connection_id":122590,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:39:11] local.INFO: Acknowledgment sent {"connection_id":122590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:39:29] local.INFO: TCP Data received {"connection_id":122641,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:39:29] local.INFO: Processing buffer {"connection_id":122641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:39:29] local.INFO: IMEI packet received {"connection_id":122641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":122641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:39:42] local.INFO: TCP Data received {"connection_id":122590,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:39:42] local.INFO: Processing buffer {"connection_id":122590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:39:42] local.INFO: Packet analysis {"connection_id":122590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:39:42] local.INFO: Extracted packet for processing {"connection_id":122590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:39:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510887168001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245956000,"timestamp_ms":1783245956000,"timestamp_seconds":1783245956,"priority":1,"record_length":96,"hex_timestamp":"0000019f31bde3a0"} 
[2026-07-05 15:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:39: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-07-05 15: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:39: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-07-05 15: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-07-05 15:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510887168001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510887168001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:39:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510887168001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":122590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:39:42] local.INFO: GPS data processed {"connection_id":122590,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:39:42] local.INFO: Acknowledgment sent {"connection_id":122590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:40:04] local.INFO: TCP Data received {"connection_id":122642,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:40:04] local.INFO: Processing buffer {"connection_id":122642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:40:04] local.INFO: IMEI packet received {"connection_id":122642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":122642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:40:04] local.INFO: TCP Data received {"connection_id":122643,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:40:04] local.INFO: Processing buffer {"connection_id":122643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:40:04] local.INFO: IMEI packet received {"connection_id":122643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":122643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:40:10] local.INFO: TCP Data received {"connection_id":122643,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:40:10] local.INFO: Processing buffer {"connection_id":122643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:40:10] local.INFO: IMEI packet received {"connection_id":122643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":122643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:40:11] local.INFO: TCP Data received {"connection_id":122643,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:40:11] local.INFO: Processing buffer {"connection_id":122643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:40:11] local.INFO: Packet analysis {"connection_id":122643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:40:11] local.INFO: Extracted packet for processing {"connection_id":122643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:40:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510887168001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783245956000,"timestamp_ms":1783245956000,"timestamp_seconds":1783245956,"priority":1,"record_length":96,"hex_timestamp":"0000019f31bde3a0"} 
[2026-07-05 15:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510887168001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510887168001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:40:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:40:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510887168001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":122643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:40:11] local.INFO: GPS data processed {"connection_id":122643,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:40:11] local.INFO: Acknowledgment sent {"connection_id":122643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:40:42] local.INFO: TCP Data received {"connection_id":122643,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:40:42] local.INFO: Processing buffer {"connection_id":122643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:40:42] local.INFO: Packet analysis {"connection_id":122643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:40:42] local.INFO: Extracted packet for processing {"connection_id":122643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510887168001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783245956000,"timestamp_ms":1783245956000,"timestamp_seconds":1783245956,"priority":1,"record_length":96,"hex_timestamp":"0000019f31bde3a0"} 
[2026-07-05 15:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:40: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-07-05 15:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510887168001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510887168001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:40:42] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510887168001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":122643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:40:42] local.INFO: GPS data processed {"connection_id":122643,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:40:42] local.INFO: Acknowledgment sent {"connection_id":122643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:41:04] local.INFO: TCP Data received {"connection_id":122644,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:41:04] local.INFO: Processing buffer {"connection_id":122644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:41:04] local.INFO: IMEI packet received {"connection_id":122644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":122644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:41:10] local.INFO: TCP Data received {"connection_id":122644,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:41:10] local.INFO: Processing buffer {"connection_id":122644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:41:10] local.INFO: IMEI packet received {"connection_id":122644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":122644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:41:11] local.INFO: TCP Data received {"connection_id":122644,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:41:11] local.INFO: Processing buffer {"connection_id":122644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31bde3a0012cb2a24007823a980045013b26..."} 
[2026-07-05 15:41:11] local.INFO: Packet analysis {"connection_id":122644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:41:11] local.INFO: Extracted packet for processing {"connection_id":122644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31bd"} 
[2026-07-05 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510887168001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 15:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783245956000,"timestamp_ms":1783245956000,"timestamp_seconds":1783245956,"priority":1,"record_length":96,"hex_timestamp":"0000019f31bde3a0"} 
[2026-07-05 15:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510887168001,"66":25343,"239":206,"85":36864,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-05 15:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510887168001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:41:11] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-05 15:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 15:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510887168001,"power":25343,"unknown_239":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":122644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:41:11] local.INFO: GPS data processed {"connection_id":122644,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:41:11] local.INFO: Acknowledgment sent {"connection_id":122644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:41:45] local.INFO: TCP Data received {"connection_id":122644,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:41:45] local.INFO: Processing buffer {"connection_id":122644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:41:45] local.INFO: Packet analysis {"connection_id":122644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:41:45] local.INFO: Extracted packet for processing {"connection_id":122644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:41:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510964736001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:41:45] 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-07-05 15:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783246257000,"timestamp_ms":1783246257000,"timestamp_seconds":1783246257,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c27b68"} 
[2026-07-05 15:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510964736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510964736001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:41:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510964736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":122644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:41:45] local.INFO: GPS data processed {"connection_id":122644,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:41:45] local.INFO: Acknowledgment sent {"connection_id":122644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:42:05] local.INFO: TCP Data received {"connection_id":124589,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:42:05] local.INFO: Processing buffer {"connection_id":124589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:42:05] local.INFO: IMEI packet received {"connection_id":124589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":124589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:42:10] local.INFO: TCP Data received {"connection_id":124589,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:42:10] local.INFO: Processing buffer {"connection_id":124589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:42:10] local.INFO: IMEI packet received {"connection_id":124589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":124589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:42:11] local.INFO: TCP Data received {"connection_id":124589,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:42:11] local.INFO: Processing buffer {"connection_id":124589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:42:11] local.INFO: Packet analysis {"connection_id":124589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:42:11] local.INFO: Extracted packet for processing {"connection_id":124589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:42:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510964736001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:42:11] 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-07-05 15:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783246257000,"timestamp_ms":1783246257000,"timestamp_seconds":1783246257,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c27b68"} 
[2026-07-05 15:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510964736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510964736001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:42:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510964736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":124589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:42:11] local.INFO: GPS data processed {"connection_id":124589,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:42:11] local.INFO: Acknowledgment sent {"connection_id":124589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:42:42] local.INFO: TCP Data received {"connection_id":124589,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:42:42] local.INFO: Processing buffer {"connection_id":124589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:42:42] local.INFO: Packet analysis {"connection_id":124589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:42:42] local.INFO: Extracted packet for processing {"connection_id":124589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:42:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510964736001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:42:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:42:42] 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-07-05 15:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783246257000,"timestamp_ms":1783246257000,"timestamp_seconds":1783246257,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c27b68"} 
[2026-07-05 15:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:42: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-07-05 15:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510964736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510964736001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:42:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:42:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510964736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":124589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:42:42] local.INFO: GPS data processed {"connection_id":124589,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:42:42] local.INFO: Acknowledgment sent {"connection_id":124589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:43:05] local.INFO: TCP Data received {"connection_id":122591,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:43:05] local.INFO: Processing buffer {"connection_id":122591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:43:05] local.INFO: IMEI packet received {"connection_id":122591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":122591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:43:10] local.INFO: TCP Data received {"connection_id":122591,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:43:10] local.INFO: Processing buffer {"connection_id":122591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:43:10] local.INFO: IMEI packet received {"connection_id":122591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":122591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:43:11] local.INFO: TCP Data received {"connection_id":122591,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:43:11] local.INFO: Processing buffer {"connection_id":122591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:43:11] local.INFO: Packet analysis {"connection_id":122591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:43:11] local.INFO: Extracted packet for processing {"connection_id":122591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:43:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510964736001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:43:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:43:11] 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-07-05 15:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783246257000,"timestamp_ms":1783246257000,"timestamp_seconds":1783246257,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c27b68"} 
[2026-07-05 15:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510964736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510964736001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:43:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:43:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510964736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":122591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:43:11] local.INFO: GPS data processed {"connection_id":122591,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:43:11] local.INFO: Acknowledgment sent {"connection_id":122591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:43:42] local.INFO: TCP Data received {"connection_id":122591,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:43:42] local.INFO: Processing buffer {"connection_id":122591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:43:42] local.INFO: Packet analysis {"connection_id":122591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:43:42] local.INFO: Extracted packet for processing {"connection_id":122591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:43:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510964736001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:43:42] 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-07-05 15:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783246257000,"timestamp_ms":1783246257000,"timestamp_seconds":1783246257,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c27b68"} 
[2026-07-05 15:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510964736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510964736001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:43:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510964736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":122591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:43:42] local.INFO: GPS data processed {"connection_id":122591,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:43:42] local.INFO: Acknowledgment sent {"connection_id":122591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:44:04] local.INFO: TCP Data received {"connection_id":122646,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:44:04] local.INFO: Processing buffer {"connection_id":122646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:44:04] local.INFO: IMEI packet received {"connection_id":122646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":122646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:44:10] local.INFO: TCP Data received {"connection_id":122646,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:44:10] local.INFO: Processing buffer {"connection_id":122646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:44:10] local.INFO: IMEI packet received {"connection_id":122646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":122646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:44:11] local.INFO: TCP Data received {"connection_id":122646,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:44:11] local.INFO: Processing buffer {"connection_id":122646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:44:11] local.INFO: Packet analysis {"connection_id":122646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:44:11] local.INFO: Extracted packet for processing {"connection_id":122646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:44:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510964736001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:44:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:44:11] 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-07-05 15:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783246257000,"timestamp_ms":1783246257000,"timestamp_seconds":1783246257,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c27b68"} 
[2026-07-05 15:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510964736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510964736001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:44:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:44:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510964736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":122646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:44:11] local.INFO: GPS data processed {"connection_id":122646,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:44:11] local.INFO: Acknowledgment sent {"connection_id":122646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:44:42] local.INFO: TCP Data received {"connection_id":122646,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:44:42] local.INFO: Processing buffer {"connection_id":122646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:44:42] local.INFO: Packet analysis {"connection_id":122646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:44:42] local.INFO: Extracted packet for processing {"connection_id":122646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:44:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510964736001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:44:42] 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-07-05 15:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783246257000,"timestamp_ms":1783246257000,"timestamp_seconds":1783246257,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c27b68"} 
[2026-07-05 15:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:44: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-07-05 15:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510964736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510964736001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:44:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510964736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":122646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:44:42] local.INFO: GPS data processed {"connection_id":122646,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:44:42] local.INFO: Acknowledgment sent {"connection_id":122646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:45:04] local.INFO: TCP Data received {"connection_id":123368,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:45:04] local.INFO: Processing buffer {"connection_id":123368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:45:04] local.INFO: IMEI packet received {"connection_id":123368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":123368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:45:10] local.INFO: TCP Data received {"connection_id":123368,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:45:10] local.INFO: Processing buffer {"connection_id":123368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:45:10] local.INFO: IMEI packet received {"connection_id":123368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":123368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:45:11] local.INFO: TCP Data received {"connection_id":123368,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:45:11] local.INFO: Processing buffer {"connection_id":123368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:45:11] local.INFO: Packet analysis {"connection_id":123368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:45:11] local.INFO: Extracted packet for processing {"connection_id":123368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510964736001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:45:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:45:11] 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-07-05 15:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783246257000,"timestamp_ms":1783246257000,"timestamp_seconds":1783246257,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c27b68"} 
[2026-07-05 15:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510964736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510964736001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:45:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:45:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510964736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":123368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:45:11] local.INFO: GPS data processed {"connection_id":123368,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:45:11] local.INFO: Acknowledgment sent {"connection_id":123368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:45:29] local.INFO: TCP Data received {"connection_id":124591,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:45:29] local.INFO: Processing buffer {"connection_id":124591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:45:29] local.INFO: IMEI packet received {"connection_id":124591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":124591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:45:42] local.INFO: TCP Data received {"connection_id":123368,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:45:42] local.INFO: Processing buffer {"connection_id":123368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:45:42] local.INFO: Packet analysis {"connection_id":123368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:45:42] local.INFO: Extracted packet for processing {"connection_id":123368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510964736001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:45:42] 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-07-05 15:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783246257000,"timestamp_ms":1783246257000,"timestamp_seconds":1783246257,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c27b68"} 
[2026-07-05 15:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:45: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-07-05 15:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510964736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510964736001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:45:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510964736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":123368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:45:42] local.INFO: GPS data processed {"connection_id":123368,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:45:42] local.INFO: Acknowledgment sent {"connection_id":123368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:46:04] local.INFO: TCP Data received {"connection_id":124592,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:46:04] local.INFO: Processing buffer {"connection_id":124592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:46:04] local.INFO: IMEI packet received {"connection_id":124592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":124592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:46:04] local.INFO: TCP Data received {"connection_id":122592,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:46:04] local.INFO: Processing buffer {"connection_id":122592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:46:04] local.INFO: IMEI packet received {"connection_id":122592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":122592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:46:12] local.INFO: TCP Data received {"connection_id":122592,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:46:12] local.INFO: Processing buffer {"connection_id":122592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:46:12] local.INFO: IMEI packet received {"connection_id":122592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":122592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:46:13] local.INFO: TCP Data received {"connection_id":122592,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:46:13] local.INFO: Processing buffer {"connection_id":122592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c27b68012cb2a24007823a980045013b2a..."} 
[2026-07-05 15:46:13] local.INFO: Packet analysis {"connection_id":122592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:46:13] local.INFO: Extracted packet for processing {"connection_id":122592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c2"} 
[2026-07-05 15:46:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":69,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456510964736001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:46:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:46:13] 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-07-05 15:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783246257000,"timestamp_ms":1783246257000,"timestamp_seconds":1783246257,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c27b68"} 
[2026-07-05 15:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 15:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456510964736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456510964736001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:46:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:46:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456510964736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":122592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:46:13] local.INFO: GPS data processed {"connection_id":122592,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:46:13] local.INFO: Acknowledgment sent {"connection_id":122592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:46:44] local.INFO: TCP Data received {"connection_id":122592,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:46:44] local.INFO: Processing buffer {"connection_id":122592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:46:44] local.INFO: Packet analysis {"connection_id":122592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:46:44] local.INFO: Extracted packet for processing {"connection_id":122592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:46:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511041792001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:46:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:46:44] 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-07-05 15:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783246557000,"timestamp_ms":1783246557000,"timestamp_seconds":1783246557,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c70f48"} 
[2026-07-05 15:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:46: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-07-05 15:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:46: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-07-05 15:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511041792001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511041792001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:46:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:46:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:46:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511041792001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":122592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:46:44] local.INFO: GPS data processed {"connection_id":122592,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:46:44] local.INFO: Acknowledgment sent {"connection_id":122592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:47:04] local.INFO: TCP Data received {"connection_id":124593,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:47:04] local.INFO: Processing buffer {"connection_id":124593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:47:04] local.INFO: IMEI packet received {"connection_id":124593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":124593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:47:10] local.INFO: TCP Data received {"connection_id":124593,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:47:10] local.INFO: Processing buffer {"connection_id":124593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:47:10] local.INFO: IMEI packet received {"connection_id":124593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":124593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:47:10] local.INFO: TCP Data received {"connection_id":124593,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:47:10] local.INFO: Processing buffer {"connection_id":124593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:47:10] local.INFO: Packet analysis {"connection_id":124593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:47:10] local.INFO: Extracted packet for processing {"connection_id":124593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511041792001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:47:10] 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-07-05 15:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783246557000,"timestamp_ms":1783246557000,"timestamp_seconds":1783246557,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c70f48"} 
[2026-07-05 15:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:47: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-07-05 15:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511041792001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511041792001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:47:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:47:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511041792001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":124593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:47:11] local.INFO: GPS data processed {"connection_id":124593,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:47:11] local.INFO: Acknowledgment sent {"connection_id":124593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:47:42] local.INFO: TCP Data received {"connection_id":124593,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:47:42] local.INFO: Processing buffer {"connection_id":124593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:47:42] local.INFO: Packet analysis {"connection_id":124593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:47:42] local.INFO: Extracted packet for processing {"connection_id":124593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511041792001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:47:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:47:42] 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-07-05 15:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783246557000,"timestamp_ms":1783246557000,"timestamp_seconds":1783246557,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c70f48"} 
[2026-07-05 15:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15: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-07-05 15: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-07-05 15:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511041792001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511041792001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:47:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:47:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511041792001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":124593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:47:42] local.INFO: GPS data processed {"connection_id":124593,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:47:42] local.INFO: Acknowledgment sent {"connection_id":124593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:48:04] local.INFO: TCP Data received {"connection_id":124596,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:48:04] local.INFO: Processing buffer {"connection_id":124596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:48:04] local.INFO: IMEI packet received {"connection_id":124596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":124596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:48:10] local.INFO: TCP Data received {"connection_id":124596,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:48:10] local.INFO: Processing buffer {"connection_id":124596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:48:10] local.INFO: IMEI packet received {"connection_id":124596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":124596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:48:10] local.INFO: TCP Data received {"connection_id":124596,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:48:10] local.INFO: Processing buffer {"connection_id":124596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:48:10] local.INFO: Packet analysis {"connection_id":124596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:48:10] local.INFO: Extracted packet for processing {"connection_id":124596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511041792001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:48:10] 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-07-05 15:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783246557000,"timestamp_ms":1783246557000,"timestamp_seconds":1783246557,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c70f48"} 
[2026-07-05 15:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511041792001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511041792001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:48:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511041792001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":124596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:48:11] local.INFO: GPS data processed {"connection_id":124596,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:48:11] local.INFO: Acknowledgment sent {"connection_id":124596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:48:42] local.INFO: TCP Data received {"connection_id":124596,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:48:42] local.INFO: Processing buffer {"connection_id":124596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:48:42] local.INFO: Packet analysis {"connection_id":124596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:48:42] local.INFO: Extracted packet for processing {"connection_id":124596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:48:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511041792001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:48:42] 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-07-05 15:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783246557000,"timestamp_ms":1783246557000,"timestamp_seconds":1783246557,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c70f48"} 
[2026-07-05 15:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15: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-07-05 15: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-07-05 15:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511041792001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511041792001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:48:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511041792001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":124596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:48:42] local.INFO: GPS data processed {"connection_id":124596,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:48:42] local.INFO: Acknowledgment sent {"connection_id":124596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:49:04] local.INFO: TCP Data received {"connection_id":122647,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:49:04] local.INFO: Processing buffer {"connection_id":122647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:49:04] local.INFO: IMEI packet received {"connection_id":122647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":122647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:49:10] local.INFO: TCP Data received {"connection_id":122647,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:49:10] local.INFO: Processing buffer {"connection_id":122647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:49:10] local.INFO: IMEI packet received {"connection_id":122647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":122647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:49:11] local.INFO: TCP Data received {"connection_id":122647,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:49:11] local.INFO: Processing buffer {"connection_id":122647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:49:11] local.INFO: Packet analysis {"connection_id":122647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:49:11] local.INFO: Extracted packet for processing {"connection_id":122647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511041792001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:49:11] 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-07-05 15:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783246557000,"timestamp_ms":1783246557000,"timestamp_seconds":1783246557,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c70f48"} 
[2026-07-05 15:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511041792001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511041792001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:49:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511041792001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":122647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:49:11] local.INFO: GPS data processed {"connection_id":122647,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:49:11] local.INFO: Acknowledgment sent {"connection_id":122647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:49:44] local.INFO: TCP Data received {"connection_id":122647,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:49:44] local.INFO: Processing buffer {"connection_id":122647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:49:44] local.INFO: Packet analysis {"connection_id":122647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:49:44] local.INFO: Extracted packet for processing {"connection_id":122647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:49:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511041792001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:49:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:49:44] 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-07-05 15:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783246557000,"timestamp_ms":1783246557000,"timestamp_seconds":1783246557,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c70f48"} 
[2026-07-05 15:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:49: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-07-05 15:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:49: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-07-05 15:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511041792001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511041792001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:49:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:49:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511041792001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":122647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:49:44] local.INFO: GPS data processed {"connection_id":122647,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:49:44] local.INFO: Acknowledgment sent {"connection_id":122647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:50:10] local.INFO: TCP Data received {"connection_id":124598,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:50:10] local.INFO: Processing buffer {"connection_id":124598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:50:10] local.INFO: IMEI packet received {"connection_id":124598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":124598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:50:15] local.INFO: TCP Data received {"connection_id":124598,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:50:15] local.INFO: Processing buffer {"connection_id":124598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:50:15] local.INFO: IMEI packet received {"connection_id":124598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":124598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:50:16] local.INFO: TCP Data received {"connection_id":124598,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:50:16] local.INFO: Processing buffer {"connection_id":124598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:50:16] local.INFO: Packet analysis {"connection_id":124598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:50:16] local.INFO: Extracted packet for processing {"connection_id":124598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:50:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511041792001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:50:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:50:16] 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-07-05 15:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783246557000,"timestamp_ms":1783246557000,"timestamp_seconds":1783246557,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c70f48"} 
[2026-07-05 15:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:50:16] 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-07-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511041792001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511041792001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:50:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:50:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:50:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511041792001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":124598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:50:16] local.INFO: GPS data processed {"connection_id":124598,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:50:16] local.INFO: Acknowledgment sent {"connection_id":124598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:50:20] local.INFO: TCP Data received {"connection_id":124598,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:50:20] local.INFO: Processing buffer {"connection_id":124598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:50:20] local.INFO: Packet analysis {"connection_id":124598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:50:20] local.INFO: Extracted packet for processing {"connection_id":124598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:50:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511041792001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:50:20] 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-07-05 15:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783246557000,"timestamp_ms":1783246557000,"timestamp_seconds":1783246557,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c70f48"} 
[2026-07-05 15:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:50:20] 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-07-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511041792001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511041792001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:50:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:50:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511041792001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":124598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:50:20] local.INFO: GPS data processed {"connection_id":124598,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:50:20] local.INFO: Acknowledgment sent {"connection_id":124598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:51:04] local.INFO: TCP Data received {"connection_id":122648,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:51:04] local.INFO: Processing buffer {"connection_id":122648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:51:04] local.INFO: IMEI packet received {"connection_id":122648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":122648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:51:10] local.INFO: TCP Data received {"connection_id":122648,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:51:10] local.INFO: Processing buffer {"connection_id":122648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:51:10] local.INFO: IMEI packet received {"connection_id":122648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":122648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:51:11] local.INFO: TCP Data received {"connection_id":122648,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:51:11] local.INFO: Processing buffer {"connection_id":122648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31c70f48012cb2a24007823a980044013b28..."} 
[2026-07-05 15:51:11] local.INFO: Packet analysis {"connection_id":122648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:51:11] local.INFO: Extracted packet for processing {"connection_id":122648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31c7"} 
[2026-07-05 15:51:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511041792001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:51:11] 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-07-05 15:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783246557000,"timestamp_ms":1783246557000,"timestamp_seconds":1783246557,"priority":1,"record_length":96,"hex_timestamp":"0000019f31c70f48"} 
[2026-07-05 15:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511041792001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511041792001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:51:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511041792001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":122648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:51:11] local.INFO: GPS data processed {"connection_id":122648,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:51:11] local.INFO: Acknowledgment sent {"connection_id":122648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:51:29] local.INFO: TCP Data received {"connection_id":122593,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:51:29] local.INFO: Processing buffer {"connection_id":122593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:51:29] local.INFO: IMEI packet received {"connection_id":122593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":122593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:51:42] local.INFO: TCP Data received {"connection_id":122648,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:51:42] local.INFO: Processing buffer {"connection_id":122648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:51:42] local.INFO: Packet analysis {"connection_id":122648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:51:42] local.INFO: Extracted packet for processing {"connection_id":122648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:51:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511118592001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:51:42] 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-07-05 15:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783246867000,"timestamp_ms":1783246867000,"timestamp_seconds":1783246867,"priority":1,"record_length":96,"hex_timestamp":"0000019f31cbca38"} 
[2026-07-05 15:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:51: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-07-05 15:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511118592001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511118592001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:51:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511118592001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":122648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:51:42] local.INFO: GPS data processed {"connection_id":122648,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:51:42] local.INFO: Acknowledgment sent {"connection_id":122648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:52:04] local.INFO: TCP Data received {"connection_id":123370,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:52:04] local.INFO: Processing buffer {"connection_id":123370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:52:04] local.INFO: IMEI packet received {"connection_id":123370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":123370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:52:09] local.INFO: TCP Data received {"connection_id":122594,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:52:09] local.INFO: Processing buffer {"connection_id":122594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:52:09] local.INFO: IMEI packet received {"connection_id":122594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":122594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:52:10] local.INFO: TCP Data received {"connection_id":123370,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:52:10] local.INFO: Processing buffer {"connection_id":123370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:52:10] local.INFO: IMEI packet received {"connection_id":123370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":123370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:52:11] local.INFO: TCP Data received {"connection_id":123370,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:52:11] local.INFO: Processing buffer {"connection_id":123370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:52:11] local.INFO: Packet analysis {"connection_id":123370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:52:11] local.INFO: Extracted packet for processing {"connection_id":123370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:52:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511118592001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:52:11] 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-07-05 15:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783246867000,"timestamp_ms":1783246867000,"timestamp_seconds":1783246867,"priority":1,"record_length":96,"hex_timestamp":"0000019f31cbca38"} 
[2026-07-05 15:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511118592001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511118592001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:52:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511118592001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":123370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:52:11] local.INFO: GPS data processed {"connection_id":123370,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:52:11] local.INFO: Acknowledgment sent {"connection_id":123370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:52:44] local.INFO: TCP Data received {"connection_id":123370,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:52:44] local.INFO: Processing buffer {"connection_id":123370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:52:44] local.INFO: Packet analysis {"connection_id":123370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:52:44] local.INFO: Extracted packet for processing {"connection_id":123370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:52:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511118592001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:52:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:52:44] 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-07-05 15:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783246867000,"timestamp_ms":1783246867000,"timestamp_seconds":1783246867,"priority":1,"record_length":96,"hex_timestamp":"0000019f31cbca38"} 
[2026-07-05 15:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:52: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-07-05 15:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":123370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":123370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":123370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511118592001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511118592001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:52:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:52:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:52:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511118592001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":123370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:52:44] local.INFO: GPS data processed {"connection_id":123370,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:52:44] local.INFO: Acknowledgment sent {"connection_id":123370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:53:04] local.INFO: TCP Data received {"connection_id":122595,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:53:04] local.INFO: Processing buffer {"connection_id":122595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:53:04] local.INFO: IMEI packet received {"connection_id":122595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":122595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:53:10] local.INFO: TCP Data received {"connection_id":122595,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:53:10] local.INFO: Processing buffer {"connection_id":122595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:53:10] local.INFO: IMEI packet received {"connection_id":122595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":122595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:53:11] local.INFO: TCP Data received {"connection_id":122595,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:53:11] local.INFO: Processing buffer {"connection_id":122595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:53:11] local.INFO: Packet analysis {"connection_id":122595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:53:11] local.INFO: Extracted packet for processing {"connection_id":122595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511118592001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:53:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:53:11] 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-07-05 15:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783246867000,"timestamp_ms":1783246867000,"timestamp_seconds":1783246867,"priority":1,"record_length":96,"hex_timestamp":"0000019f31cbca38"} 
[2026-07-05 15:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511118592001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511118592001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:53:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:53:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511118592001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":122595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:53:11] local.INFO: GPS data processed {"connection_id":122595,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:53:11] local.INFO: Acknowledgment sent {"connection_id":122595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:53:42] local.INFO: TCP Data received {"connection_id":122595,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:53:42] local.INFO: Processing buffer {"connection_id":122595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:53:42] local.INFO: Packet analysis {"connection_id":122595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:53:42] local.INFO: Extracted packet for processing {"connection_id":122595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511118592001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:53:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:53:42] 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-07-05 15:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783246867000,"timestamp_ms":1783246867000,"timestamp_seconds":1783246867,"priority":1,"record_length":96,"hex_timestamp":"0000019f31cbca38"} 
[2026-07-05 15:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:53: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-07-05 15:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511118592001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511118592001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:53:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511118592001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":122595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:53:42] local.INFO: GPS data processed {"connection_id":122595,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:53:42] local.INFO: Acknowledgment sent {"connection_id":122595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:54:10] local.INFO: TCP Data received {"connection_id":123372,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:54:10] local.INFO: Processing buffer {"connection_id":123372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:54:10] local.INFO: IMEI packet received {"connection_id":123372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":123372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:54:15] local.INFO: TCP Data received {"connection_id":123372,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:54:15] local.INFO: Processing buffer {"connection_id":123372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:54:15] local.INFO: IMEI packet received {"connection_id":123372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":123372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:54:16] local.INFO: TCP Data received {"connection_id":123372,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:54:16] local.INFO: Processing buffer {"connection_id":123372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:54:16] local.INFO: Packet analysis {"connection_id":123372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:54:16] local.INFO: Extracted packet for processing {"connection_id":123372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511118592001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:54:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:54:16] 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-07-05 15:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783246867000,"timestamp_ms":1783246867000,"timestamp_seconds":1783246867,"priority":1,"record_length":96,"hex_timestamp":"0000019f31cbca38"} 
[2026-07-05 15:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:54:16] 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-07-05 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511118592001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511118592001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:54:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:54:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511118592001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":123372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:54:16] local.INFO: GPS data processed {"connection_id":123372,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:54:16] local.INFO: Acknowledgment sent {"connection_id":123372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:54:20] local.INFO: TCP Data received {"connection_id":123372,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:54:20] local.INFO: Processing buffer {"connection_id":123372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:54:20] local.INFO: Packet analysis {"connection_id":123372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:54:20] local.INFO: Extracted packet for processing {"connection_id":123372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:54:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511118592001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:54:20] 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-07-05 15:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783246867000,"timestamp_ms":1783246867000,"timestamp_seconds":1783246867,"priority":1,"record_length":96,"hex_timestamp":"0000019f31cbca38"} 
[2026-07-05 15:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:54:20] 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-07-05 15:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511118592001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511118592001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:54:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511118592001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":123372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:54:20] local.INFO: GPS data processed {"connection_id":123372,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:54:20] local.INFO: Acknowledgment sent {"connection_id":123372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:55:04] local.INFO: TCP Data received {"connection_id":122649,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:55:04] local.INFO: Processing buffer {"connection_id":122649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:55:04] local.INFO: IMEI packet received {"connection_id":122649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":122649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:55:10] local.INFO: TCP Data received {"connection_id":122649,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:55:10] local.INFO: Processing buffer {"connection_id":122649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:55:10] local.INFO: IMEI packet received {"connection_id":122649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":122649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:55:11] local.INFO: TCP Data received {"connection_id":122649,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:55:11] local.INFO: Processing buffer {"connection_id":122649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:55:11] local.INFO: Packet analysis {"connection_id":122649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:55:11] local.INFO: Extracted packet for processing {"connection_id":122649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511118592001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:55:11] 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-07-05 15:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783246867000,"timestamp_ms":1783246867000,"timestamp_seconds":1783246867,"priority":1,"record_length":96,"hex_timestamp":"0000019f31cbca38"} 
[2026-07-05 15:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511118592001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511118592001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:55:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511118592001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":122649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:55:11] local.INFO: GPS data processed {"connection_id":122649,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:55:11] local.INFO: Acknowledgment sent {"connection_id":122649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:55:42] local.INFO: TCP Data received {"connection_id":122649,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:55:42] local.INFO: Processing buffer {"connection_id":122649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:55:42] local.INFO: Packet analysis {"connection_id":122649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:55:42] local.INFO: Extracted packet for processing {"connection_id":122649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511118592001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:55:42] 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-07-05 15:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783246867000,"timestamp_ms":1783246867000,"timestamp_seconds":1783246867,"priority":1,"record_length":96,"hex_timestamp":"0000019f31cbca38"} 
[2026-07-05 15:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511118592001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511118592001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511118592001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":122649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:55:42] local.INFO: GPS data processed {"connection_id":122649,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:55:42] local.INFO: Acknowledgment sent {"connection_id":122649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:56:04] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:56:04] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:56:04] local.INFO: IMEI packet received {"connection_id":124600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":124600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:56:10] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:56:10] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:56:10] local.INFO: IMEI packet received {"connection_id":124600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":124600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:56:11] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:56:11] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31cbca38012cb2a24007823a980044013b29..."} 
[2026-07-05 15:56:11] local.INFO: Packet analysis {"connection_id":124600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:56:11] local.INFO: Extracted packet for processing {"connection_id":124600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31cb"} 
[2026-07-05 15:56:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511118592001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:56:11] 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-07-05 15:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783246867000,"timestamp_ms":1783246867000,"timestamp_seconds":1783246867,"priority":1,"record_length":96,"hex_timestamp":"0000019f31cbca38"} 
[2026-07-05 15:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511118592001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511118592001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:56:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511118592001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":124600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:56:11] local.INFO: GPS data processed {"connection_id":124600,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:56:11] local.INFO: Acknowledgment sent {"connection_id":124600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:56:42] local.INFO: TCP Data received {"connection_id":124600,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:56:42] local.INFO: Processing buffer {"connection_id":124600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:56:42] local.INFO: Packet analysis {"connection_id":124600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:56:42] local.INFO: Extracted packet for processing {"connection_id":124600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:56:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511197952001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:56:42] 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-07-05 15:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783247173000,"timestamp_ms":1783247173000,"timestamp_seconds":1783247173,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d07588"} 
[2026-07-05 15:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511197952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511197952001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:56:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511197952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":124600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:56:42] local.INFO: GPS data processed {"connection_id":124600,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:56:42] local.INFO: Acknowledgment sent {"connection_id":124600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:57:04] local.INFO: TCP Data received {"connection_id":124601,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:57:04] local.INFO: Processing buffer {"connection_id":124601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:57:04] local.INFO: IMEI packet received {"connection_id":124601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":124601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:57:10] local.INFO: TCP Data received {"connection_id":124601,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:57:10] local.INFO: Processing buffer {"connection_id":124601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:57:10] local.INFO: IMEI packet received {"connection_id":124601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":124601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:57:10] local.INFO: TCP Data received {"connection_id":124601,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:57:10] local.INFO: Processing buffer {"connection_id":124601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:57:10] local.INFO: Packet analysis {"connection_id":124601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:57:10] local.INFO: Extracted packet for processing {"connection_id":124601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:57:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511197952001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:57:10] 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-07-05 15:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783247173000,"timestamp_ms":1783247173000,"timestamp_seconds":1783247173,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d07588"} 
[2026-07-05 15:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:57: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-07-05 15:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511197952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511197952001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:57:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511197952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":124601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:57:10] local.INFO: GPS data processed {"connection_id":124601,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:57:10] local.INFO: Acknowledgment sent {"connection_id":124601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:57:39] local.INFO: TCP Data received {"connection_id":123374,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:57:39] local.INFO: Processing buffer {"connection_id":123374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:57:39] local.INFO: IMEI packet received {"connection_id":123374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":123374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:57:42] local.INFO: TCP Data received {"connection_id":124601,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:57:42] local.INFO: Processing buffer {"connection_id":124601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:57:42] local.INFO: Packet analysis {"connection_id":124601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:57:42] local.INFO: Extracted packet for processing {"connection_id":124601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511197952001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:57:42] 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-07-05 15:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783247173000,"timestamp_ms":1783247173000,"timestamp_seconds":1783247173,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d07588"} 
[2026-07-05 15:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15: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-07-05 15: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-07-05 15:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511197952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511197952001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:57:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511197952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":124601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:57:42] local.INFO: GPS data processed {"connection_id":124601,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:57:42] local.INFO: Acknowledgment sent {"connection_id":124601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:58:04] local.INFO: TCP Data received {"connection_id":123375,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:58:04] local.INFO: Processing buffer {"connection_id":123375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 15:58:04] local.INFO: IMEI packet received {"connection_id":123375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 15:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":123375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:58:10] local.INFO: TCP Data received {"connection_id":122597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:58:10] local.INFO: Processing buffer {"connection_id":122597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:58:10] local.INFO: IMEI packet received {"connection_id":122597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":122597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:58:15] local.INFO: TCP Data received {"connection_id":122597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:58:15] local.INFO: Processing buffer {"connection_id":122597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:58:15] local.INFO: IMEI packet received {"connection_id":122597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":122597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:58:16] local.INFO: TCP Data received {"connection_id":122597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:58:16] local.INFO: Processing buffer {"connection_id":122597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:58:16] local.INFO: Packet analysis {"connection_id":122597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:58:16] local.INFO: Extracted packet for processing {"connection_id":122597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:58:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511197952001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:58:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:58:16] 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-07-05 15:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783247173000,"timestamp_ms":1783247173000,"timestamp_seconds":1783247173,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d07588"} 
[2026-07-05 15:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:58:16] 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-07-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511197952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511197952001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:58:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:58:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:58:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511197952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":122597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:58:16] local.INFO: GPS data processed {"connection_id":122597,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:58:16] local.INFO: Acknowledgment sent {"connection_id":122597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:58:20] local.INFO: TCP Data received {"connection_id":122597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:58:20] local.INFO: Processing buffer {"connection_id":122597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:58:20] local.INFO: Packet analysis {"connection_id":122597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:58:20] local.INFO: Extracted packet for processing {"connection_id":122597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:58:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511197952001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:58:20] 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-07-05 15:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783247173000,"timestamp_ms":1783247173000,"timestamp_seconds":1783247173,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d07588"} 
[2026-07-05 15:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:58:20] 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-07-05 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15: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-07-05 15:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511197952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511197952001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:58:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511197952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":122597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:58:20] local.INFO: GPS data processed {"connection_id":122597,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:58:20] local.INFO: Acknowledgment sent {"connection_id":122597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:59:05] local.INFO: TCP Data received {"connection_id":124602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:59:05] local.INFO: Processing buffer {"connection_id":124602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:59:05] local.INFO: IMEI packet received {"connection_id":124602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 15:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":124602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:59:10] local.INFO: TCP Data received {"connection_id":124602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:59:10] local.INFO: Processing buffer {"connection_id":124602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 15:59:10] local.INFO: IMEI packet received {"connection_id":124602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 15:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":124602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:59:10] local.INFO: TCP Data received {"connection_id":124602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:59:10] local.INFO: Processing buffer {"connection_id":124602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:59:10] local.INFO: Packet analysis {"connection_id":124602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:59:10] local.INFO: Extracted packet for processing {"connection_id":124602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511197952001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:59:10] 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-07-05 15:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783247173000,"timestamp_ms":1783247173000,"timestamp_seconds":1783247173,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d07588"} 
[2026-07-05 15:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:59: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-07-05 15:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 15:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 15:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 15:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511197952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511197952001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:59:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511197952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":124602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:59:11] local.INFO: GPS data processed {"connection_id":124602,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:59:11] local.INFO: Acknowledgment sent {"connection_id":124602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:59:16] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 15:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 15:59:16] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 15:59:16] local.INFO: IMEI packet received {"connection_id":123376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 15:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":123376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 15:59:22] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 15:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 15:59:22] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 15:59:22] local.INFO: IMEI packet received {"connection_id":123376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 15:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":123376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 15:59:23] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-07-05 15:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-07-05 15:59:23] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-07-05 15:59:23] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 15:59:23] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 15:59: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-07-05 15:59:23] 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-07-05 15:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 15:59:23] 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-07-05 15:59:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 15:59:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 15:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 15:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 15:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 15:59:23] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 15:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 15:59:23] local.ERROR: GPS data processing failed {"connection_id":123376,"error":"No valid data to process"} 
[2026-07-05 15:59:23] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 15:59:27] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-07-05 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-07-05 15:59:27] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-07-05 15:59:27] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 15:59:27] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 15:59:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 15:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 15:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 15:59:27] 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-07-05 15:59:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 15:59:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 15:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 15:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 15:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 15:59:27] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 15:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 15:59:27] local.ERROR: GPS data processing failed {"connection_id":123376,"error":"No valid data to process"} 
[2026-07-05 15:59:27] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 15:59:42] local.INFO: TCP Data received {"connection_id":124602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:59:42] local.INFO: Processing buffer {"connection_id":124602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 15:59:42] local.INFO: Packet analysis {"connection_id":124602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:59:42] local.INFO: Extracted packet for processing {"connection_id":124602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 15:59:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511197952001,"note":"Value kept but may cause issues"} 
[2026-07-05 15:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 15:59:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 15:59:42] 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-07-05 15:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783247173000,"timestamp_ms":1783247173000,"timestamp_seconds":1783247173,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d07588"} 
[2026-07-05 15:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 15:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15: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-07-05 15: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-07-05 15:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 15:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 15:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 15:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 15:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 15:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511197952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 15:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 15:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 15:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511197952001,"description":"Unknown IO ID 0"} 
[2026-07-05 15:59:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 15:59:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 15:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 15:59:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 15:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511197952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 15:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":124602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 15:59:42] local.INFO: GPS data processed {"connection_id":124602,"processed":1,"errors":0,"total":1} 
[2026-07-05 15:59:42] local.INFO: Acknowledgment sent {"connection_id":124602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 15:59:58] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-05 15:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-05 15:59:58] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-05 15:59:58] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 15:59:58] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 15:59:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 15: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-07-05 15:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 15:59:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 15:59:58] 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-07-05 15:59:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 15:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 15:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 15:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 15:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 15:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 15:59:58] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 15:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 15:59:58] local.ERROR: GPS data processing failed {"connection_id":123376,"error":"No valid data to process"} 
[2026-07-05 15:59:58] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 16:00:04] local.INFO: TCP Data received {"connection_id":122651,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:00:04] local.INFO: Processing buffer {"connection_id":122651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:00:04] local.INFO: IMEI packet received {"connection_id":122651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":122651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:00:10] local.INFO: TCP Data received {"connection_id":122651,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:00:10] local.INFO: Processing buffer {"connection_id":122651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:00:10] local.INFO: IMEI packet received {"connection_id":122651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":122651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:00:10] local.INFO: TCP Data received {"connection_id":122651,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 16:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 16:00:10] local.INFO: Processing buffer {"connection_id":122651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 16:00:10] local.INFO: Packet analysis {"connection_id":122651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 16:00:10] local.INFO: Extracted packet for processing {"connection_id":122651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 16:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511197952001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:00:10] 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-07-05 16:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783247173000,"timestamp_ms":1783247173000,"timestamp_seconds":1783247173,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d07588"} 
[2026-07-05 16:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:00: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-07-05 16:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511197952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511197952001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:00:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511197952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":122651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:00:10] local.INFO: GPS data processed {"connection_id":122651,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:00:10] local.INFO: Acknowledgment sent {"connection_id":122651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:00:29] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d43e48012d7e3e4005d35a88002b011e05..."} 
[2026-07-05 16:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d43e48012d7e3e4005d35a88002b011e05..."} 
[2026-07-05 16:00:29] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d43e48012d7e3e4005d35a88002b011e05..."} 
[2026-07-05 16:00:29] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:00:29] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763248192,"raw_latitude":97737352,"longitude_deg":76.3248192,"latitude_deg":9.7737352,"altitude":43,"angle":286,"satellites":5,"speed":0,"hex_longitude":"2d7e3e40","hex_latitude":"05d35a88","is_valid_coordinates":true} 
[2026-07-05 16:00:29] 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-07-05 16:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511339520001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096778691099914240,"note":"Value kept but may cause issues"} 
[2026-07-05 16:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 16:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783247421000,"timestamp_ms":1783247421000,"timestamp_seconds":1783247421,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d43e48"} 
[2026-07-05 16:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-05 16:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511339520001,"66":11428,"109":206,"85":15104,"24":0,"16":102636927961792512,"45":9096778691099914240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511339520001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:00:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096778691099914240,"description":"Unknown IO ID 45"} 
[2026-07-05 16:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511339520001,"power":11428,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096778691099914240}} 
[2026-07-05 16:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:00:29] local.INFO: GPS data processed {"connection_id":123376,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:00:29] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:00:42] local.INFO: TCP Data received {"connection_id":122651,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 16:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 16:00:42] local.INFO: Processing buffer {"connection_id":122651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 16:00:42] local.INFO: Packet analysis {"connection_id":122651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 16:00:42] local.INFO: Extracted packet for processing {"connection_id":122651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 16:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511197952001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:00:42] 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-07-05 16:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783247173000,"timestamp_ms":1783247173000,"timestamp_seconds":1783247173,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d07588"} 
[2026-07-05 16:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:00: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-07-05 16: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-07-05 16:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511197952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511197952001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:00:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511197952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":122651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:00:42] local.INFO: GPS data processed {"connection_id":122651,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:00:42] local.INFO: Acknowledgment sent {"connection_id":122651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:01:00] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d44230012d7e3ec005d35a88002a003405..."} 
[2026-07-05 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d44230012d7e3ec005d35a88002a003405..."} 
[2026-07-05 16:01:00] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d44230012d7e3ec005d35a88002a003405..."} 
[2026-07-05 16:01:00] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:01:00] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97737352,"longitude_deg":76.324832,"latitude_deg":9.7737352,"altitude":42,"angle":52,"satellites":5,"speed":1,"hex_longitude":"2d7e3ec0","hex_latitude":"05d35a88","is_valid_coordinates":true} 
[2026-07-05 16:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511339776001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096778691099920384,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 16:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783247422000,"timestamp_ms":1783247422000,"timestamp_seconds":1783247422,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d44230"} 
[2026-07-05 16:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-05 16:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511339776001,"66":11428,"109":206,"85":15104,"24":1,"16":102636927961792512,"45":9096778691099920384},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511339776001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:01:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096778691099920384,"description":"Unknown IO ID 45"} 
[2026-07-05 16:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511339776001,"power":11428,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9096778691099920384}} 
[2026-07-05 16:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:01:00] local.INFO: GPS data processed {"connection_id":123376,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:01:00] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:01:04] local.INFO: TCP Data received {"connection_id":122652,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:01:04] local.INFO: Processing buffer {"connection_id":122652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:01:04] local.INFO: IMEI packet received {"connection_id":122652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":122652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:01:10] local.INFO: TCP Data received {"connection_id":122652,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:01:10] local.INFO: Processing buffer {"connection_id":122652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:01:10] local.INFO: IMEI packet received {"connection_id":122652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":122652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:01:10] local.INFO: TCP Data received {"connection_id":122652,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 16:01:10] local.INFO: Processing buffer {"connection_id":122652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d07588012cb2a24007823a980044013b28..."} 
[2026-07-05 16:01:10] local.INFO: Packet analysis {"connection_id":122652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 16:01:10] local.INFO: Extracted packet for processing {"connection_id":122652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d0"} 
[2026-07-05 16:01:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511197952001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01:10] 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-07-05 16:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783247173000,"timestamp_ms":1783247173000,"timestamp_seconds":1783247173,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d07588"} 
[2026-07-05 16:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:01: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-07-05 16:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511197952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511197952001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:01:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511197952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":122652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:01:10] local.INFO: GPS data processed {"connection_id":122652,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:01:10] local.INFO: Acknowledgment sent {"connection_id":122652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:01:31] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:01:31] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:01:31] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:01:31] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97737392,"longitude_deg":76.324832,"latitude_deg":9.7737392,"altitude":41,"angle":34,"satellites":5,"speed":1,"hex_longitude":"2d7e3ec0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340032001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588275712,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01: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-07-05 16:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783247423000,"timestamp_ms":1783247423000,"timestamp_seconds":1783247423,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d44618"} 
[2026-07-05 16:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-05 16:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340032001,"66":11787,"109":206,"85":15104,"24":1,"16":102636927961792512,"45":9096919428588275712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340032001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:01:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:01:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588275712,"description":"Unknown IO ID 45"} 
[2026-07-05 16:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340032001,"power":11787,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9096919428588275712}} 
[2026-07-05 16:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:01:31] local.INFO: GPS data processed {"connection_id":123376,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:01:31] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:01:42] local.INFO: TCP Data received {"connection_id":122652,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:01:42] local.INFO: Processing buffer {"connection_id":122652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:01:42] local.INFO: Packet analysis {"connection_id":122652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:01:42] local.INFO: Extracted packet for processing {"connection_id":122652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511276288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:01:42] 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-07-05 16:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783247463000,"timestamp_ms":1783247463000,"timestamp_seconds":1783247463,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d4e258"} 
[2026-07-05 16:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511276288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511276288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:01:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511276288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":122652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:01:42] local.INFO: GPS data processed {"connection_id":122652,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:01:42] local.INFO: Acknowledgment sent {"connection_id":122652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:02:03] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:02:03] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:02:03] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:02:03] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:02:03] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97737392,"longitude_deg":76.324832,"latitude_deg":9.7737392,"altitude":41,"angle":34,"satellites":5,"speed":1,"hex_longitude":"2d7e3ec0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340032001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588275712,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 16:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783247423000,"timestamp_ms":1783247423000,"timestamp_seconds":1783247423,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d44618"} 
[2026-07-05 16:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-05 16:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340032001,"66":11787,"109":206,"85":15104,"24":1,"16":102636927961792512,"45":9096919428588275712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340032001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:02:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:02:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588275712,"description":"Unknown IO ID 45"} 
[2026-07-05 16:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340032001,"power":11787,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9096919428588275712}} 
[2026-07-05 16:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:02:03] local.INFO: GPS data processed {"connection_id":123376,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:02:03] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:02:10] local.INFO: TCP Data received {"connection_id":124604,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:02:10] local.INFO: Processing buffer {"connection_id":124604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:02:10] local.INFO: IMEI packet received {"connection_id":124604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":124604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:02:15] local.INFO: TCP Data received {"connection_id":124604,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:02:15] local.INFO: Processing buffer {"connection_id":124604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:02:15] local.INFO: IMEI packet received {"connection_id":124604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":124604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:02:15] local.INFO: TCP Data received {"connection_id":124604,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:02:15] local.INFO: Processing buffer {"connection_id":124604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:02:15] local.INFO: Packet analysis {"connection_id":124604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:02:15] local.INFO: Extracted packet for processing {"connection_id":124604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511276288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:15] 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-07-05 16:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783247463000,"timestamp_ms":1783247463000,"timestamp_seconds":1783247463,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d4e258"} 
[2026-07-05 16:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511276288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511276288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:02:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:02:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511276288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":124604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:02:16] local.INFO: GPS data processed {"connection_id":124604,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:02:16] local.INFO: Acknowledgment sent {"connection_id":124604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:02:20] local.INFO: TCP Data received {"connection_id":124604,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:02:20] local.INFO: Processing buffer {"connection_id":124604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:02:20] local.INFO: Packet analysis {"connection_id":124604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:02:20] local.INFO: Extracted packet for processing {"connection_id":124604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511276288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:20] 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-07-05 16:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783247463000,"timestamp_ms":1783247463000,"timestamp_seconds":1783247463,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d4e258"} 
[2026-07-05 16:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511276288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511276288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511276288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":124604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:02:20] local.INFO: GPS data processed {"connection_id":124604,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:02:20] local.INFO: Acknowledgment sent {"connection_id":124604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:02:40] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:02:40] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:02:40] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:02:40] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:02:40] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97737392,"longitude_deg":76.324832,"latitude_deg":9.7737392,"altitude":41,"angle":34,"satellites":5,"speed":1,"hex_longitude":"2d7e3ec0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340032001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588275712,"note":"Value kept but may cause issues"} 
[2026-07-05 16:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 16:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783247423000,"timestamp_ms":1783247423000,"timestamp_seconds":1783247423,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d44618"} 
[2026-07-05 16:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-05 16:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340032001,"66":11787,"109":206,"85":15104,"24":1,"16":102636927961792512,"45":9096919428588275712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340032001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:02:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588275712,"description":"Unknown IO ID 45"} 
[2026-07-05 16:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340032001,"power":11787,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9096919428588275712}} 
[2026-07-05 16:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:02:40] local.INFO: GPS data processed {"connection_id":123376,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:02:40] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:03:05] local.INFO: TCP Data received {"connection_id":122599,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:03:05] local.INFO: Processing buffer {"connection_id":122599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:03:05] local.INFO: IMEI packet received {"connection_id":122599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":122599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:03:10] local.INFO: TCP Data received {"connection_id":122599,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:03:10] local.INFO: Processing buffer {"connection_id":122599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:03:10] local.INFO: IMEI packet received {"connection_id":122599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":122599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:03:10] local.INFO: TCP Data received {"connection_id":122599,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:03:10] local.INFO: Processing buffer {"connection_id":122599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:03:10] local.INFO: Packet analysis {"connection_id":122599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:03:10] local.INFO: Extracted packet for processing {"connection_id":122599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511276288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03:10] 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-07-05 16:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783247463000,"timestamp_ms":1783247463000,"timestamp_seconds":1783247463,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d4e258"} 
[2026-07-05 16:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:03: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-07-05 16:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511276288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511276288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:03:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511276288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":122599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:03:10] local.INFO: GPS data processed {"connection_id":122599,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:03:10] local.INFO: Acknowledgment sent {"connection_id":122599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:03:14] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:03:14] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:03:14] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:03:14] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97737392,"longitude_deg":76.324832,"latitude_deg":9.7737392,"altitude":41,"angle":34,"satellites":5,"speed":1,"hex_longitude":"2d7e3ec0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340032001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588275712,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 16:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783247423000,"timestamp_ms":1783247423000,"timestamp_seconds":1783247423,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d44618"} 
[2026-07-05 16:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-05 16:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340032001,"66":11787,"109":206,"85":15104,"24":1,"16":102636927961792512,"45":9096919428588275712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340032001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:03:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:03:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588275712,"description":"Unknown IO ID 45"} 
[2026-07-05 16:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340032001,"power":11787,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9096919428588275712}} 
[2026-07-05 16:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:03:14] local.INFO: GPS data processed {"connection_id":123376,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:03:14] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:03:34] local.INFO: TCP Data received {"connection_id":122654,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:03:34] local.INFO: Processing buffer {"connection_id":122654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:03:34] local.INFO: IMEI packet received {"connection_id":122654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":122654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:03:42] local.INFO: TCP Data received {"connection_id":122599,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:03:42] local.INFO: Processing buffer {"connection_id":122599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:03:42] local.INFO: Packet analysis {"connection_id":122599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:03:42] local.INFO: Extracted packet for processing {"connection_id":122599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511276288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03:42] 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-07-05 16:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783247463000,"timestamp_ms":1783247463000,"timestamp_seconds":1783247463,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d4e258"} 
[2026-07-05 16:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:03: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-07-05 16:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511276288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511276288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:03:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511276288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":122599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:03:42] local.INFO: GPS data processed {"connection_id":122599,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:03:42] local.INFO: Acknowledgment sent {"connection_id":122599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:03:46] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:03:46] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:03:46] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:03:46] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:03:46] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97737392,"longitude_deg":76.324832,"latitude_deg":9.7737392,"altitude":41,"angle":34,"satellites":5,"speed":1,"hex_longitude":"2d7e3ec0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340032001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588275712,"note":"Value kept but may cause issues"} 
[2026-07-05 16:03: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-07-05 16:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783247423000,"timestamp_ms":1783247423000,"timestamp_seconds":1783247423,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d44618"} 
[2026-07-05 16:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-05 16:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340032001,"66":11787,"109":206,"85":15104,"24":1,"16":102636927961792512,"45":9096919428588275712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340032001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:03:46] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:03:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588275712,"description":"Unknown IO ID 45"} 
[2026-07-05 16:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340032001,"power":11787,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9096919428588275712}} 
[2026-07-05 16:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:03:46] local.INFO: GPS data processed {"connection_id":123376,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:03:46] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:04:04] local.INFO: TCP Data received {"connection_id":124605,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:04:04] local.INFO: Processing buffer {"connection_id":124605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:04:04] local.INFO: IMEI packet received {"connection_id":124605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":124605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:04:04] local.INFO: TCP Data received {"connection_id":123377,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:04:04] local.INFO: Processing buffer {"connection_id":123377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:04:04] local.INFO: IMEI packet received {"connection_id":123377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":123377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:04:10] local.INFO: TCP Data received {"connection_id":123377,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:04:10] local.INFO: Processing buffer {"connection_id":123377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:04:10] local.INFO: IMEI packet received {"connection_id":123377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":123377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:04:11] local.INFO: TCP Data received {"connection_id":123377,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:04:11] local.INFO: Processing buffer {"connection_id":123377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:04:11] local.INFO: Packet analysis {"connection_id":123377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:04:11] local.INFO: Extracted packet for processing {"connection_id":123377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:04:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511276288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:04:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:04:11] 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-07-05 16:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783247463000,"timestamp_ms":1783247463000,"timestamp_seconds":1783247463,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d4e258"} 
[2026-07-05 16:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511276288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511276288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:04:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:04:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511276288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":123377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:04:11] local.INFO: GPS data processed {"connection_id":123377,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:04:11] local.INFO: Acknowledgment sent {"connection_id":123377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:04:17] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:04:17] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:04:17] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:04:17] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97737392,"longitude_deg":76.324832,"latitude_deg":9.7737392,"altitude":41,"angle":34,"satellites":5,"speed":1,"hex_longitude":"2d7e3ec0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340032001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588275712,"note":"Value kept but may cause issues"} 
[2026-07-05 16: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-07-05 16:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783247423000,"timestamp_ms":1783247423000,"timestamp_seconds":1783247423,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d44618"} 
[2026-07-05 16:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-05 16:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340032001,"66":11787,"109":206,"85":15104,"24":1,"16":102636927961792512,"45":9096919428588275712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340032001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:04:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:04:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588275712,"description":"Unknown IO ID 45"} 
[2026-07-05 16:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340032001,"power":11787,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9096919428588275712}} 
[2026-07-05 16:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:04:17] local.INFO: GPS data processed {"connection_id":123376,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:04:17] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:04:42] local.INFO: TCP Data received {"connection_id":123377,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:04:42] local.INFO: Processing buffer {"connection_id":123377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:04:42] local.INFO: Packet analysis {"connection_id":123377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:04:42] local.INFO: Extracted packet for processing {"connection_id":123377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:04:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511276288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:04:42] 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-07-05 16:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783247463000,"timestamp_ms":1783247463000,"timestamp_seconds":1783247463,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d4e258"} 
[2026-07-05 16:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:04: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-07-05 16:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511276288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511276288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:04:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511276288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":123377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:04:42] local.INFO: GPS data processed {"connection_id":123377,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:04:42] local.INFO: Acknowledgment sent {"connection_id":123377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:04:49] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:04:49] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:04:49] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:04:49] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:04:49] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97737392,"longitude_deg":76.324832,"latitude_deg":9.7737392,"altitude":41,"angle":34,"satellites":5,"speed":1,"hex_longitude":"2d7e3ec0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340032001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588275712,"note":"Value kept but may cause issues"} 
[2026-07-05 16:04: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-07-05 16:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783247423000,"timestamp_ms":1783247423000,"timestamp_seconds":1783247423,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d44618"} 
[2026-07-05 16:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-05 16:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340032001,"66":11787,"109":206,"85":15104,"24":1,"16":102636927961792512,"45":9096919428588275712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340032001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:04:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:04:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588275712,"description":"Unknown IO ID 45"} 
[2026-07-05 16:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340032001,"power":11787,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9096919428588275712}} 
[2026-07-05 16:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:04:49] local.INFO: GPS data processed {"connection_id":123376,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:04:49] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:05:04] local.INFO: TCP Data received {"connection_id":122655,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:05:04] local.INFO: Processing buffer {"connection_id":122655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:05:04] local.INFO: IMEI packet received {"connection_id":122655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":122655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:05:10] local.INFO: TCP Data received {"connection_id":122655,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:05:10] local.INFO: Processing buffer {"connection_id":122655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:05:10] local.INFO: IMEI packet received {"connection_id":122655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":122655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:05:10] local.INFO: TCP Data received {"connection_id":122655,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:05:10] local.INFO: Processing buffer {"connection_id":122655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:05:10] local.INFO: Packet analysis {"connection_id":122655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:05:10] local.INFO: Extracted packet for processing {"connection_id":122655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:05:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511276288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:10] 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-07-05 16:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783247463000,"timestamp_ms":1783247463000,"timestamp_seconds":1783247463,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d4e258"} 
[2026-07-05 16:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:05: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-07-05 16:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511276288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511276288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:05:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511276288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":122655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:05:11] local.INFO: GPS data processed {"connection_id":122655,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:05:11] local.INFO: Acknowledgment sent {"connection_id":122655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:05:20] local.INFO: TCP Data received {"connection_id":123376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:05:20] local.INFO: Processing buffer {"connection_id":123376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d44618012d7e3ec005d35ab00029002205..."} 
[2026-07-05 16:05:20] local.INFO: Packet analysis {"connection_id":123376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:05:20] local.INFO: Extracted packet for processing {"connection_id":123376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:05:20] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97737392,"longitude_deg":76.324832,"latitude_deg":9.7737392,"altitude":41,"angle":34,"satellites":5,"speed":1,"hex_longitude":"2d7e3ec0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340032001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588275712,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05: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-07-05 16:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783247423000,"timestamp_ms":1783247423000,"timestamp_seconds":1783247423,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d44618"} 
[2026-07-05 16:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-05 16:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340032001,"66":11787,"109":206,"85":15104,"24":1,"16":102636927961792512,"45":9096919428588275712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340032001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:05:20] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588275712,"description":"Unknown IO ID 45"} 
[2026-07-05 16:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340032001,"power":11787,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9096919428588275712}} 
[2026-07-05 16:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":123376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:05:20] local.INFO: GPS data processed {"connection_id":123376,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:05:20] local.INFO: Acknowledgment sent {"connection_id":123376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:05:42] local.INFO: TCP Data received {"connection_id":122655,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:05:42] local.INFO: Processing buffer {"connection_id":122655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:05:42] local.INFO: Packet analysis {"connection_id":122655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:05:42] local.INFO: Extracted packet for processing {"connection_id":122655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:05:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511276288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:42] 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-07-05 16:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783247463000,"timestamp_ms":1783247463000,"timestamp_seconds":1783247463,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d4e258"} 
[2026-07-05 16:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:05: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-07-05 16:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511276288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511276288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:05:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511276288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":122655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:05:42] local.INFO: GPS data processed {"connection_id":122655,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:05:42] local.INFO: Acknowledgment sent {"connection_id":122655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:05:46] local.INFO: TCP Data received {"connection_id":124606,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:05:46] local.INFO: Processing buffer {"connection_id":124606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:05:46] local.INFO: IMEI packet received {"connection_id":124606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 16:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":124606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:05:51] local.INFO: TCP Data received {"connection_id":124606,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:05:51] local.INFO: Processing buffer {"connection_id":124606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:05:51] local.INFO: IMEI packet received {"connection_id":124606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 16:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":124606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:05:52] local.INFO: TCP Data received {"connection_id":124606,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:05:52] local.INFO: Processing buffer {"connection_id":124606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:05:52] local.INFO: Packet analysis {"connection_id":124606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:05:52] local.INFO: Extracted packet for processing {"connection_id":124606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:05:52] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97737392,"longitude_deg":76.3247552,"latitude_deg":9.7737392,"altitude":2,"angle":26,"satellites":29,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588285952,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05: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-07-05 16:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783247725000,"timestamp_ms":1783247725000,"timestamp_seconds":1783247725,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d8e1c8"} 
[2026-07-05 16:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2560,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1639765094970625,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147865435,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":58,"raw_value":360291268724525568,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3558547457,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6975561252294546050,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-6650690749719379968,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":6,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929149442,"note":"Value kept but may cause issues"} 
[2026-07-05 16:05:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,163,159,66,45,192,90,42,5,10,62,64,43,58,240,164,227,49,211,1,4,113,205,2,23,168,239,108,6,206],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-05 16:05:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954398760425291776,"timestamp_seconds":2954398760425292.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 16:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":124606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":124606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":124606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340288001,"66":12515,"109":206,"85":15104,"24":0,"16":102636927961792512,"45":9096919428588285952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:05:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588285952,"description":"Unknown IO ID 45"} 
[2026-07-05 16:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340288001,"power":12515,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096919428588285952}} 
[2026-07-05 16:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":124606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:05:52] local.INFO: GPS data processed {"connection_id":124606,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:05:52] local.INFO: Acknowledgment sent {"connection_id":124606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:06:04] local.INFO: TCP Data received {"connection_id":122657,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:06:04] local.INFO: Processing buffer {"connection_id":122657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:06:04] local.INFO: IMEI packet received {"connection_id":122657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":122657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:06:10] local.INFO: TCP Data received {"connection_id":122657,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:06:10] local.INFO: Processing buffer {"connection_id":122657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:06:10] local.INFO: IMEI packet received {"connection_id":122657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":122657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:06:10] local.INFO: TCP Data received {"connection_id":122657,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:06:10] local.INFO: Processing buffer {"connection_id":122657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d4e258012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:06:10] local.INFO: Packet analysis {"connection_id":122657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:06:10] local.INFO: Extracted packet for processing {"connection_id":122657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d4"} 
[2026-07-05 16:06:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511276288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:10] 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-07-05 16:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783247463000,"timestamp_ms":1783247463000,"timestamp_seconds":1783247463,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d4e258"} 
[2026-07-05 16:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:06: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-07-05 16:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511276288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511276288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:06:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511276288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":122657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:06:11] local.INFO: GPS data processed {"connection_id":122657,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:06:11] local.INFO: Acknowledgment sent {"connection_id":122657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:06:23] local.INFO: TCP Data received {"connection_id":124606,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:06:23] local.INFO: Processing buffer {"connection_id":124606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:06:23] local.INFO: Packet analysis {"connection_id":124606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:06:23] local.INFO: Extracted packet for processing {"connection_id":124606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97737392,"longitude_deg":76.3247552,"latitude_deg":9.7737392,"altitude":2,"angle":26,"satellites":29,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588285952,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 16:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783247725000,"timestamp_ms":1783247725000,"timestamp_seconds":1783247725,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d8e1c8"} 
[2026-07-05 16:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2560,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1639765094970625,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147865435,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":58,"raw_value":360291268724525568,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3558547457,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6975561252294546050,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-6650690749719379968,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":6,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929149442,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,163,159,66,45,192,90,42,5,10,62,64,43,58,240,164,227,49,211,1,4,113,205,2,23,168,239,108,6,206],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-05 16:06:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954398760425291776,"timestamp_seconds":2954398760425292.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 16:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":124606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":124606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":124606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340288001,"66":12515,"109":206,"85":15104,"24":0,"16":102636927961792512,"45":9096919428588285952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:06:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:06:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588285952,"description":"Unknown IO ID 45"} 
[2026-07-05 16:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340288001,"power":12515,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096919428588285952}} 
[2026-07-05 16:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":124606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:06:23] local.INFO: GPS data processed {"connection_id":124606,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:06:23] local.INFO: Acknowledgment sent {"connection_id":124606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:06:42] local.INFO: TCP Data received {"connection_id":122657,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:06:42] local.INFO: Processing buffer {"connection_id":122657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:06:42] local.INFO: Packet analysis {"connection_id":122657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:06:42] local.INFO: Extracted packet for processing {"connection_id":122657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:06:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511350528001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:42] 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-07-05 16:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783247765000,"timestamp_ms":1783247765000,"timestamp_seconds":1783247765,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d97e08"} 
[2026-07-05 16:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511350528001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511350528001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:06:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:06:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511350528001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":122657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:06:42] local.INFO: GPS data processed {"connection_id":122657,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:06:42] local.INFO: Acknowledgment sent {"connection_id":122657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:06:56] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:06:56] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:06:56] local.INFO: IMEI packet received {"connection_id":124607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 16:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":124607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:06:57] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:06:57] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:06:57] local.INFO: IMEI packet received {"connection_id":124607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 16:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":124607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:06:58] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:06:58] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:06:58] local.INFO: Packet analysis {"connection_id":124607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:06:58] local.INFO: Extracted packet for processing {"connection_id":124607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97737392,"longitude_deg":76.3247552,"latitude_deg":9.7737392,"altitude":2,"angle":26,"satellites":29,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588285952,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 16:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783247725000,"timestamp_ms":1783247725000,"timestamp_seconds":1783247725,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d8e1c8"} 
[2026-07-05 16:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2560,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1639765094970625,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147865435,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":58,"raw_value":360291268724525568,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3558547457,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6975561252294546050,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-6650690749719379968,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":6,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929149442,"note":"Value kept but may cause issues"} 
[2026-07-05 16:06:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,163,159,66,45,192,90,42,5,10,62,64,43,58,240,164,227,49,211,1,4,113,205,2,23,168,239,108,6,206],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-05 16:06:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954398760425291776,"timestamp_seconds":2954398760425292.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 16:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":124607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":124607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":124607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340288001,"66":12515,"109":206,"85":15104,"24":0,"16":102636927961792512,"45":9096919428588285952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:06:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:06:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588285952,"description":"Unknown IO ID 45"} 
[2026-07-05 16:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340288001,"power":12515,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096919428588285952}} 
[2026-07-05 16:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":124607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:06:58] local.INFO: GPS data processed {"connection_id":124607,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:06:58] local.INFO: Acknowledgment sent {"connection_id":124607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:07:02] local.INFO: TCP Data received {"connection_id":124607,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:07:02] local.INFO: Processing buffer {"connection_id":124607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:07:02] local.INFO: Packet analysis {"connection_id":124607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:07:02] local.INFO: Extracted packet for processing {"connection_id":124607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97737392,"longitude_deg":76.3247552,"latitude_deg":9.7737392,"altitude":2,"angle":26,"satellites":29,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 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-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588285952,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 16:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783247725000,"timestamp_ms":1783247725000,"timestamp_seconds":1783247725,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d8e1c8"} 
[2026-07-05 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-07-05 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2560,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1639765094970625,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147865435,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":58,"raw_value":360291268724525568,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3558547457,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6975561252294546050,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-6650690749719379968,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":6,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929149442,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,163,159,66,45,192,90,42,5,10,62,64,43,58,240,164,227,49,211,1,4,113,205,2,23,168,239,108,6,206],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-05 16:07:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954398760425291776,"timestamp_seconds":2954398760425292.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 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-07-05 16:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340288001,"66":12515,"109":206,"85":15104,"24":0,"16":102636927961792512,"45":9096919428588285952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:07:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588285952,"description":"Unknown IO ID 45"} 
[2026-07-05 16:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340288001,"power":12515,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096919428588285952}} 
[2026-07-05 16:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":124607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:07:02] local.INFO: GPS data processed {"connection_id":124607,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:07:02] local.INFO: Acknowledgment sent {"connection_id":124607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:07:10] local.INFO: TCP Data received {"connection_id":123379,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:07:10] local.INFO: Processing buffer {"connection_id":123379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:07:10] local.INFO: IMEI packet received {"connection_id":123379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":123379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:07:15] local.INFO: TCP Data received {"connection_id":123379,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:07:15] local.INFO: Processing buffer {"connection_id":123379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:07:15] local.INFO: IMEI packet received {"connection_id":123379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":123379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:07:16] local.INFO: TCP Data received {"connection_id":123379,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:07:16] local.INFO: Processing buffer {"connection_id":123379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:07:16] local.INFO: Packet analysis {"connection_id":123379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:07:16] local.INFO: Extracted packet for processing {"connection_id":123379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:07:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511350528001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:16] 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-07-05 16:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783247765000,"timestamp_ms":1783247765000,"timestamp_seconds":1783247765,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d97e08"} 
[2026-07-05 16:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:07:16] 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-07-05 16:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511350528001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511350528001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:07:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:07:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:07:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511350528001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":123379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:07:16] local.INFO: GPS data processed {"connection_id":123379,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:07:16] local.INFO: Acknowledgment sent {"connection_id":123379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:07:46] local.INFO: TCP Data received {"connection_id":122658,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:07:46] local.INFO: Processing buffer {"connection_id":122658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:07:46] local.INFO: IMEI packet received {"connection_id":122658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 16:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":122658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:07:47] local.INFO: TCP Data received {"connection_id":123379,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:07:47] local.INFO: Processing buffer {"connection_id":123379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:07:47] local.INFO: Packet analysis {"connection_id":123379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:07:47] local.INFO: Extracted packet for processing {"connection_id":123379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:07:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511350528001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:47] 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-07-05 16:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783247765000,"timestamp_ms":1783247765000,"timestamp_seconds":1783247765,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d97e08"} 
[2026-07-05 16:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":123379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":123379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":123379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511350528001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511350528001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:07:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:07:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:07:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511350528001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":123379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:07:47] local.INFO: GPS data processed {"connection_id":123379,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:07:47] local.INFO: Acknowledgment sent {"connection_id":123379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:07:51] local.INFO: TCP Data received {"connection_id":122658,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:07:51] local.INFO: Processing buffer {"connection_id":122658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:07:51] local.INFO: IMEI packet received {"connection_id":122658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 16:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":122658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:07:52] local.INFO: TCP Data received {"connection_id":122658,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:07:52] local.INFO: Processing buffer {"connection_id":122658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:07:52] local.INFO: Packet analysis {"connection_id":122658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:07:52] local.INFO: Extracted packet for processing {"connection_id":122658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:07:52] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97737392,"longitude_deg":76.3247552,"latitude_deg":9.7737392,"altitude":2,"angle":26,"satellites":29,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588285952,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07: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-07-05 16:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783247725000,"timestamp_ms":1783247725000,"timestamp_seconds":1783247725,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d8e1c8"} 
[2026-07-05 16:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2560,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1639765094970625,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147865435,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":58,"raw_value":360291268724525568,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3558547457,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6975561252294546050,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-6650690749719379968,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":6,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929149442,"note":"Value kept but may cause issues"} 
[2026-07-05 16:07:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,163,159,66,45,192,90,42,5,10,62,64,43,58,240,164,227,49,211,1,4,113,205,2,23,168,239,108,6,206],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-05 16:07:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954398760425291776,"timestamp_seconds":2954398760425292.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 16:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":122658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":122658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":122658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340288001,"66":12515,"109":206,"85":15104,"24":0,"16":102636927961792512,"45":9096919428588285952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:07:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588285952,"description":"Unknown IO ID 45"} 
[2026-07-05 16:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340288001,"power":12515,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096919428588285952}} 
[2026-07-05 16:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":122658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:07:52] local.INFO: GPS data processed {"connection_id":122658,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:07:52] local.INFO: Acknowledgment sent {"connection_id":122658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:08:04] local.INFO: TCP Data received {"connection_id":122601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:08:04] local.INFO: Processing buffer {"connection_id":122601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:08:04] local.INFO: IMEI packet received {"connection_id":122601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":122601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:08:10] local.INFO: TCP Data received {"connection_id":122601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:08:10] local.INFO: Processing buffer {"connection_id":122601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:08:10] local.INFO: IMEI packet received {"connection_id":122601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":122601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:08:11] local.INFO: TCP Data received {"connection_id":122601,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:08:11] local.INFO: Processing buffer {"connection_id":122601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:08:11] local.INFO: Packet analysis {"connection_id":122601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:08:11] local.INFO: Extracted packet for processing {"connection_id":122601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:08:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:08: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-07-05 16:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511350528001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:11] 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-07-05 16:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783247765000,"timestamp_ms":1783247765000,"timestamp_seconds":1783247765,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d97e08"} 
[2026-07-05 16:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:08: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-07-05 16:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511350528001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511350528001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:08:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511350528001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":122601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:08:11] local.INFO: GPS data processed {"connection_id":122601,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:08:11] local.INFO: Acknowledgment sent {"connection_id":122601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:08:26] local.INFO: TCP Data received {"connection_id":122658,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:08:26] local.INFO: Processing buffer {"connection_id":122658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:08:26] local.INFO: Packet analysis {"connection_id":122658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:08:26] local.INFO: Extracted packet for processing {"connection_id":122658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97737392,"longitude_deg":76.3247552,"latitude_deg":9.7737392,"altitude":2,"angle":26,"satellites":29,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588285952,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 16:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783247725000,"timestamp_ms":1783247725000,"timestamp_seconds":1783247725,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d8e1c8"} 
[2026-07-05 16:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2560,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1639765094970625,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147865435,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":58,"raw_value":360291268724525568,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3558547457,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6975561252294546050,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-6650690749719379968,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":6,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929149442,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:26] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,163,159,66,45,192,90,42,5,10,62,64,43,58,240,164,227,49,211,1,4,113,205,2,23,168,239,108,6,206],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-05 16:08:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954398760425291776,"timestamp_seconds":2954398760425292.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 16:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":122658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":122658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":122658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340288001,"66":12515,"109":206,"85":15104,"24":0,"16":102636927961792512,"45":9096919428588285952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:08:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:08:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588285952,"description":"Unknown IO ID 45"} 
[2026-07-05 16:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340288001,"power":12515,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096919428588285952}} 
[2026-07-05 16:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":122658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:08:26] local.INFO: GPS data processed {"connection_id":122658,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:08:26] local.INFO: Acknowledgment sent {"connection_id":122658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:08:42] local.INFO: TCP Data received {"connection_id":122601,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:08:42] local.INFO: Processing buffer {"connection_id":122601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:08:42] local.INFO: Packet analysis {"connection_id":122601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:08:42] local.INFO: Extracted packet for processing {"connection_id":122601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:08:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511350528001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:42] 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-07-05 16:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783247765000,"timestamp_ms":1783247765000,"timestamp_seconds":1783247765,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d97e08"} 
[2026-07-05 16:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511350528001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511350528001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:08:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511350528001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":122601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:08:42] local.INFO: GPS data processed {"connection_id":122601,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:08:42] local.INFO: Acknowledgment sent {"connection_id":122601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:08:51] local.INFO: TCP Data received {"connection_id":122659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:08:51] local.INFO: Processing buffer {"connection_id":122659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:08:51] local.INFO: IMEI packet received {"connection_id":122659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 16:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":122659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:08:56] local.INFO: TCP Data received {"connection_id":122659,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:08:56] local.INFO: Processing buffer {"connection_id":122659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:08:56] local.INFO: IMEI packet received {"connection_id":122659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 16:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":122659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:08:57] local.INFO: TCP Data received {"connection_id":122659,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:08:57] local.INFO: Processing buffer {"connection_id":122659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:08:57] local.INFO: Packet analysis {"connection_id":122659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:08:57] local.INFO: Extracted packet for processing {"connection_id":122659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:08:57] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97737392,"longitude_deg":76.3247552,"latitude_deg":9.7737392,"altitude":2,"angle":26,"satellites":29,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588285952,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 16:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783247725000,"timestamp_ms":1783247725000,"timestamp_seconds":1783247725,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d8e1c8"} 
[2026-07-05 16:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2560,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1639765094970625,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147865435,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":58,"raw_value":360291268724525568,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3558547457,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6975561252294546050,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-6650690749719379968,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":6,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929149442,"note":"Value kept but may cause issues"} 
[2026-07-05 16:08:57] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,163,159,66,45,192,90,42,5,10,62,64,43,58,240,164,227,49,211,1,4,113,205,2,23,168,239,108,6,206],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-05 16:08:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954398760425291776,"timestamp_seconds":2954398760425292.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 16:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":122659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":122659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":122659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340288001,"66":12515,"109":206,"85":15104,"24":0,"16":102636927961792512,"45":9096919428588285952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:08:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:08:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588285952,"description":"Unknown IO ID 45"} 
[2026-07-05 16:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340288001,"power":12515,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096919428588285952}} 
[2026-07-05 16:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":122659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:08:57] local.INFO: GPS data processed {"connection_id":122659,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:08:57] local.INFO: Acknowledgment sent {"connection_id":122659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:09:04] local.INFO: TCP Data received {"connection_id":124608,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:09:04] local.INFO: Processing buffer {"connection_id":124608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:09:04] local.INFO: IMEI packet received {"connection_id":124608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":124608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:09:10] local.INFO: TCP Data received {"connection_id":124608,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:09:10] local.INFO: Processing buffer {"connection_id":124608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:09:10] local.INFO: IMEI packet received {"connection_id":124608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":124608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:09:11] local.INFO: TCP Data received {"connection_id":124608,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:09:11] local.INFO: Processing buffer {"connection_id":124608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:09:11] local.INFO: Packet analysis {"connection_id":124608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:09:11] local.INFO: Extracted packet for processing {"connection_id":124608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:09:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511350528001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:11] 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-07-05 16:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783247765000,"timestamp_ms":1783247765000,"timestamp_seconds":1783247765,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d97e08"} 
[2026-07-05 16:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511350528001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511350528001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:09:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:09:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511350528001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":124608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:09:11] local.INFO: GPS data processed {"connection_id":124608,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:09:11] local.INFO: Acknowledgment sent {"connection_id":124608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:09:19] local.INFO: TCP Data received {"connection_id":124609,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:09:19] local.INFO: Processing buffer {"connection_id":124609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:09:19] local.INFO: IMEI packet received {"connection_id":124609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":124609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:09:30] local.INFO: TCP Data received {"connection_id":122659,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:09:30] local.INFO: Processing buffer {"connection_id":122659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:09:30] local.INFO: Packet analysis {"connection_id":122659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:09:30] local.INFO: Extracted packet for processing {"connection_id":122659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:09:30] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97737392,"longitude_deg":76.3247552,"latitude_deg":9.7737392,"altitude":2,"angle":26,"satellites":29,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 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-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588285952,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 16:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783247725000,"timestamp_ms":1783247725000,"timestamp_seconds":1783247725,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d8e1c8"} 
[2026-07-05 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-07-05 16:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2560,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1639765094970625,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147865435,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":58,"raw_value":360291268724525568,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3558547457,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6975561252294546050,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-6650690749719379968,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":6,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929149442,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:30] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,163,159,66,45,192,90,42,5,10,62,64,43,58,240,164,227,49,211,1,4,113,205,2,23,168,239,108,6,206],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-05 16:09:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954398760425291776,"timestamp_seconds":2954398760425292.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 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-07-05 16:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":122659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":122659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":122659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340288001,"66":12515,"109":206,"85":15104,"24":0,"16":102636927961792512,"45":9096919428588285952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:09:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:09:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588285952,"description":"Unknown IO ID 45"} 
[2026-07-05 16:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340288001,"power":12515,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096919428588285952}} 
[2026-07-05 16:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":122659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:09:30] local.INFO: GPS data processed {"connection_id":122659,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:09:30] local.INFO: Acknowledgment sent {"connection_id":122659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:09:42] local.INFO: TCP Data received {"connection_id":124608,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:09:42] local.INFO: Processing buffer {"connection_id":124608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:09:42] local.INFO: Packet analysis {"connection_id":124608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:09:42] local.INFO: Extracted packet for processing {"connection_id":124608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:09:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511350528001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:42] 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-07-05 16:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783247765000,"timestamp_ms":1783247765000,"timestamp_seconds":1783247765,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d97e08"} 
[2026-07-05 16:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16: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-07-05 16: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-07-05 16:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511350528001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511350528001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:09:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:09:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511350528001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":124608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:09:42] local.INFO: GPS data processed {"connection_id":124608,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:09:42] local.INFO: Acknowledgment sent {"connection_id":124608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:09:46] local.INFO: TCP Data received {"connection_id":122660,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:09:46] local.INFO: Processing buffer {"connection_id":122660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:09:46] local.INFO: IMEI packet received {"connection_id":122660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 16:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":122660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:09:51] local.INFO: TCP Data received {"connection_id":122660,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:09:51] local.INFO: Processing buffer {"connection_id":122660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 16:09:51] local.INFO: IMEI packet received {"connection_id":122660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 16:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":122660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:09:52] local.INFO: TCP Data received {"connection_id":122660,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:09:52] local.INFO: Processing buffer {"connection_id":122660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d8e1c8012d7e3bc005d35ab00002001a1d..."} 
[2026-07-05 16:09:52] local.INFO: Packet analysis {"connection_id":122660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:09:52] local.INFO: Extracted packet for processing {"connection_id":122660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d8"} 
[2026-07-05 16:09:52] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97737392,"longitude_deg":76.3247552,"latitude_deg":9.7737392,"altitude":2,"angle":26,"satellites":29,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d35ab0","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511340288001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636927961792512,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588285952,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09: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-07-05 16:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783247725000,"timestamp_ms":1783247725000,"timestamp_seconds":1783247725,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d8e1c8"} 
[2026-07-05 16:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2560,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1639765094970625,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147865435,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":58,"raw_value":360291268724525568,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3558547457,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6975561252294546050,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-6650690749719379968,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":6,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929149442,"note":"Value kept but may cause issues"} 
[2026-07-05 16:09:52] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,85,24,241,157,16,163,159,66,45,192,90,42,5,10,62,64,43,58,240,164,227,49,211,1,4,113,205,2,23,168,239,108,6,206],"length":533,"final_offset":663,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-05 16:09:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954398760425291776,"timestamp_seconds":2954398760425292.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 16:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":122660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":122660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":122660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 16:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 16:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 16:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511340288001,"66":12515,"109":206,"85":15104,"24":0,"16":102636927961792512,"45":9096919428588285952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 16:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 16:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 16:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511340288001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:09:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 16:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 16:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636927961792512,"km_value":102636927961792.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588285952,"description":"Unknown IO ID 45"} 
[2026-07-05 16:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511340288001,"power":12515,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096919428588285952}} 
[2026-07-05 16:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":122660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:09:53] local.INFO: GPS data processed {"connection_id":122660,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:09:53] local.INFO: Acknowledgment sent {"connection_id":122660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:10:04] local.INFO: TCP Data received {"connection_id":122603,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:10:04] local.INFO: Processing buffer {"connection_id":122603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:10:04] local.INFO: IMEI packet received {"connection_id":122603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":122603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:10:04] local.INFO: TCP Data received {"connection_id":122604,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:10:04] local.INFO: Processing buffer {"connection_id":122604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:10:04] local.INFO: IMEI packet received {"connection_id":122604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":122604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:10:09] local.INFO: TCP Data received {"connection_id":122604,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:10:09] local.INFO: Processing buffer {"connection_id":122604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:10:09] local.INFO: IMEI packet received {"connection_id":122604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":122604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:10:10] local.INFO: TCP Data received {"connection_id":122604,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:10:10] local.INFO: Processing buffer {"connection_id":122604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:10:10] local.INFO: Packet analysis {"connection_id":122604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:10:10] local.INFO: Extracted packet for processing {"connection_id":122604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:10:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511350528001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:10:10] 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-07-05 16:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783247765000,"timestamp_ms":1783247765000,"timestamp_seconds":1783247765,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d97e08"} 
[2026-07-05 16:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:10: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-07-05 16:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511350528001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511350528001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:10:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511350528001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":122604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:10:10] local.INFO: GPS data processed {"connection_id":122604,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:10:10] local.INFO: Acknowledgment sent {"connection_id":122604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:10:41] local.INFO: TCP Data received {"connection_id":122604,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:10:41] local.INFO: Processing buffer {"connection_id":122604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:10:41] local.INFO: Packet analysis {"connection_id":122604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:10:41] local.INFO: Extracted packet for processing {"connection_id":122604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:10:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511350528001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:10:41] 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-07-05 16:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783247765000,"timestamp_ms":1783247765000,"timestamp_seconds":1783247765,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d97e08"} 
[2026-07-05 16:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511350528001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511350528001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:10:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511350528001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":122604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:10:41] local.INFO: GPS data processed {"connection_id":122604,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:10:41] local.INFO: Acknowledgment sent {"connection_id":122604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:11:04] local.INFO: TCP Data received {"connection_id":122605,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:11:04] local.INFO: Processing buffer {"connection_id":122605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:11:04] local.INFO: IMEI packet received {"connection_id":122605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":122605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:11:10] local.INFO: TCP Data received {"connection_id":122605,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:11:10] local.INFO: Processing buffer {"connection_id":122605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:11:10] local.INFO: IMEI packet received {"connection_id":122605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":122605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:11:11] local.INFO: TCP Data received {"connection_id":122605,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:11:11] local.INFO: Processing buffer {"connection_id":122605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31d97e08012cb2a24007823a980044013b27..."} 
[2026-07-05 16:11:11] local.INFO: Packet analysis {"connection_id":122605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:11:11] local.INFO: Extracted packet for processing {"connection_id":122605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31d9"} 
[2026-07-05 16:11:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511350528001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:11:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:11:11] 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-07-05 16:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783247765000,"timestamp_ms":1783247765000,"timestamp_seconds":1783247765,"priority":1,"record_length":96,"hex_timestamp":"0000019f31d97e08"} 
[2026-07-05 16:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511350528001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511350528001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:11:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:11:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511350528001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":122605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:11:11] local.INFO: GPS data processed {"connection_id":122605,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:11:11] local.INFO: Acknowledgment sent {"connection_id":122605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:11:42] local.INFO: TCP Data received {"connection_id":122605,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:11:42] local.INFO: Processing buffer {"connection_id":122605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:11:42] local.INFO: Packet analysis {"connection_id":122605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:11:42] local.INFO: Extracted packet for processing {"connection_id":122605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511427840001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:11:42] 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-07-05 16:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248073000,"timestamp_ms":1783248073000,"timestamp_seconds":1783248073,"priority":1,"record_length":96,"hex_timestamp":"0000019f31de3128"} 
[2026-07-05 16:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511427840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511427840001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:11:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511427840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":122605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:11:42] local.INFO: GPS data processed {"connection_id":122605,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:11:42] local.INFO: Acknowledgment sent {"connection_id":122605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:12:10] local.INFO: TCP Data received {"connection_id":122661,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:12:10] local.INFO: Processing buffer {"connection_id":122661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:12:10] local.INFO: IMEI packet received {"connection_id":122661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":122661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:12:15] local.INFO: TCP Data received {"connection_id":122661,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:12:15] local.INFO: Processing buffer {"connection_id":122661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:12:15] local.INFO: IMEI packet received {"connection_id":122661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":122661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:12:16] local.INFO: TCP Data received {"connection_id":122661,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:12:16] local.INFO: Processing buffer {"connection_id":122661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:12:16] local.INFO: Packet analysis {"connection_id":122661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:12:16] local.INFO: Extracted packet for processing {"connection_id":122661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:12:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511427840001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:12:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:12:16] 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-07-05 16:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783248073000,"timestamp_ms":1783248073000,"timestamp_seconds":1783248073,"priority":1,"record_length":96,"hex_timestamp":"0000019f31de3128"} 
[2026-07-05 16:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:12:16] 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-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511427840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511427840001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:12:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:12:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511427840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":122661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:12:16] local.INFO: GPS data processed {"connection_id":122661,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:12:16] local.INFO: Acknowledgment sent {"connection_id":122661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:12:47] local.INFO: TCP Data received {"connection_id":122661,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:12:47] local.INFO: Processing buffer {"connection_id":122661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:12:47] local.INFO: Packet analysis {"connection_id":122661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:12:47] local.INFO: Extracted packet for processing {"connection_id":122661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:12:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511427840001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:12:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:12:47] 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-07-05 16:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783248073000,"timestamp_ms":1783248073000,"timestamp_seconds":1783248073,"priority":1,"record_length":96,"hex_timestamp":"0000019f31de3128"} 
[2026-07-05 16:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511427840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511427840001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:12:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:12:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511427840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":122661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:12:47] local.INFO: GPS data processed {"connection_id":122661,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:12:47] local.INFO: Acknowledgment sent {"connection_id":122661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:13:05] local.INFO: TCP Data received {"connection_id":122606,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:13:05] local.INFO: Processing buffer {"connection_id":122606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:13:05] local.INFO: IMEI packet received {"connection_id":122606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":122606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:13:10] local.INFO: TCP Data received {"connection_id":122606,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:13:10] local.INFO: Processing buffer {"connection_id":122606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:13:10] local.INFO: IMEI packet received {"connection_id":122606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":122606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:13:10] local.INFO: TCP Data received {"connection_id":122606,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:13:10] local.INFO: Processing buffer {"connection_id":122606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:13:10] local.INFO: Packet analysis {"connection_id":122606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:13:10] local.INFO: Extracted packet for processing {"connection_id":122606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:13:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511427840001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:13:10] 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-07-05 16:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248073000,"timestamp_ms":1783248073000,"timestamp_seconds":1783248073,"priority":1,"record_length":96,"hex_timestamp":"0000019f31de3128"} 
[2026-07-05 16:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511427840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511427840001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:13:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511427840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":122606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:13:11] local.INFO: GPS data processed {"connection_id":122606,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:13:11] local.INFO: Acknowledgment sent {"connection_id":122606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:13:42] local.INFO: TCP Data received {"connection_id":122606,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:13:42] local.INFO: Processing buffer {"connection_id":122606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:13:42] local.INFO: Packet analysis {"connection_id":122606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:13:42] local.INFO: Extracted packet for processing {"connection_id":122606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:13:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511427840001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:13:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:13:42] 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-07-05 16:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248073000,"timestamp_ms":1783248073000,"timestamp_seconds":1783248073,"priority":1,"record_length":96,"hex_timestamp":"0000019f31de3128"} 
[2026-07-05 16:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511427840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511427840001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:13:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:13:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:13:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511427840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":122606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:13:42] local.INFO: GPS data processed {"connection_id":122606,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:13:42] local.INFO: Acknowledgment sent {"connection_id":122606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:14:04] local.INFO: TCP Data received {"connection_id":123381,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:14:04] local.INFO: Processing buffer {"connection_id":123381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:14:04] local.INFO: IMEI packet received {"connection_id":123381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":123381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:14:10] local.INFO: TCP Data received {"connection_id":123381,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:14:10] local.INFO: Processing buffer {"connection_id":123381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:14:10] local.INFO: IMEI packet received {"connection_id":123381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":123381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:14:11] local.INFO: TCP Data received {"connection_id":123381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:14:11] local.INFO: Processing buffer {"connection_id":123381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:14:11] local.INFO: Packet analysis {"connection_id":123381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:14:11] local.INFO: Extracted packet for processing {"connection_id":123381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:14:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511427840001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:14:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:14:11] 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-07-05 16:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783248073000,"timestamp_ms":1783248073000,"timestamp_seconds":1783248073,"priority":1,"record_length":96,"hex_timestamp":"0000019f31de3128"} 
[2026-07-05 16:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511427840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511427840001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:14:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:14:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:14:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511427840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":123381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:14:11] local.INFO: GPS data processed {"connection_id":123381,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:14:11] local.INFO: Acknowledgment sent {"connection_id":123381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:14:42] local.INFO: TCP Data received {"connection_id":123381,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:14:42] local.INFO: Processing buffer {"connection_id":123381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:14:42] local.INFO: Packet analysis {"connection_id":123381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:14:42] local.INFO: Extracted packet for processing {"connection_id":123381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:14:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511427840001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:14:42] 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-07-05 16:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248073000,"timestamp_ms":1783248073000,"timestamp_seconds":1783248073,"priority":1,"record_length":96,"hex_timestamp":"0000019f31de3128"} 
[2026-07-05 16:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511427840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511427840001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:14:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:14:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511427840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":123381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:14:42] local.INFO: GPS data processed {"connection_id":123381,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:14:42] local.INFO: Acknowledgment sent {"connection_id":123381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:15:04] local.INFO: TCP Data received {"connection_id":123383,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:15:04] local.INFO: Processing buffer {"connection_id":123383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:15:04] local.INFO: IMEI packet received {"connection_id":123383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":123383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:15:10] local.INFO: TCP Data received {"connection_id":123383,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:15:10] local.INFO: Processing buffer {"connection_id":123383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:15:10] local.INFO: IMEI packet received {"connection_id":123383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":123383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:15:11] local.INFO: TCP Data received {"connection_id":123383,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:15:11] local.INFO: Processing buffer {"connection_id":123383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:15:11] local.INFO: Packet analysis {"connection_id":123383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:15:11] local.INFO: Extracted packet for processing {"connection_id":123383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511427840001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:15:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:15:11] 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-07-05 16:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783248073000,"timestamp_ms":1783248073000,"timestamp_seconds":1783248073,"priority":1,"record_length":96,"hex_timestamp":"0000019f31de3128"} 
[2026-07-05 16:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511427840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511427840001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:15:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:15:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:15:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511427840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":123383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:15:11] local.INFO: GPS data processed {"connection_id":123383,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:15:11] local.INFO: Acknowledgment sent {"connection_id":123383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:15:19] local.INFO: TCP Data received {"connection_id":122662,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:15:19] local.INFO: Processing buffer {"connection_id":122662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:15:19] local.INFO: IMEI packet received {"connection_id":122662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":122662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:15:42] local.INFO: TCP Data received {"connection_id":123383,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:15:42] local.INFO: Processing buffer {"connection_id":123383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:15:42] local.INFO: Packet analysis {"connection_id":123383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:15:42] local.INFO: Extracted packet for processing {"connection_id":123383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:15:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511427840001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:15:42] 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-07-05 16:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248073000,"timestamp_ms":1783248073000,"timestamp_seconds":1783248073,"priority":1,"record_length":96,"hex_timestamp":"0000019f31de3128"} 
[2026-07-05 16:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511427840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511427840001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:15:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511427840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":123383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:15:42] local.INFO: GPS data processed {"connection_id":123383,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:15:42] local.INFO: Acknowledgment sent {"connection_id":123383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:16:04] local.INFO: TCP Data received {"connection_id":122663,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:16:04] local.INFO: Processing buffer {"connection_id":122663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:16:04] local.INFO: IMEI packet received {"connection_id":122663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":122663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:16:09] local.INFO: TCP Data received {"connection_id":122607,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:16:09] local.INFO: Processing buffer {"connection_id":122607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:16:09] local.INFO: IMEI packet received {"connection_id":122607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":122607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:16:10] local.INFO: TCP Data received {"connection_id":122663,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:16:10] local.INFO: Processing buffer {"connection_id":122663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:16:10] local.INFO: IMEI packet received {"connection_id":122663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":122663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:16:10] local.INFO: TCP Data received {"connection_id":122663,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:16:10] local.INFO: Processing buffer {"connection_id":122663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31de3128012cb2a24007823a980044013b27..."} 
[2026-07-05 16:16:10] local.INFO: Packet analysis {"connection_id":122663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:16:10] local.INFO: Extracted packet for processing {"connection_id":122663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31de"} 
[2026-07-05 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511427840001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:16:10] 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-07-05 16:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248073000,"timestamp_ms":1783248073000,"timestamp_seconds":1783248073,"priority":1,"record_length":96,"hex_timestamp":"0000019f31de3128"} 
[2026-07-05 16:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511427840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511427840001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:16:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511427840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":122663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:16:10] local.INFO: GPS data processed {"connection_id":122663,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:16:10] local.INFO: Acknowledgment sent {"connection_id":122663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:16:42] local.INFO: TCP Data received {"connection_id":122663,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:16:42] local.INFO: Processing buffer {"connection_id":122663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:16:42] local.INFO: Packet analysis {"connection_id":122663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:16:42] local.INFO: Extracted packet for processing {"connection_id":122663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511506688001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:16:42] 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-07-05 16:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248384000,"timestamp_ms":1783248384000,"timestamp_seconds":1783248384,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e2f000"} 
[2026-07-05 16:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:16: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-07-05 16:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511506688001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511506688001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:16:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511506688001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":122663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:16:42] local.INFO: GPS data processed {"connection_id":122663,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:16:42] local.INFO: Acknowledgment sent {"connection_id":122663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:17:11] local.INFO: TCP Data received {"connection_id":122609,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:17:11] local.INFO: Processing buffer {"connection_id":122609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:17:11] local.INFO: IMEI packet received {"connection_id":122609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":122609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:17:15] local.INFO: TCP Data received {"connection_id":122609,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:17:15] local.INFO: Processing buffer {"connection_id":122609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:17:15] local.INFO: IMEI packet received {"connection_id":122609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":122609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:17:16] local.INFO: TCP Data received {"connection_id":122609,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:17:16] local.INFO: Processing buffer {"connection_id":122609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:17:16] local.INFO: Packet analysis {"connection_id":122609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:17:16] local.INFO: Extracted packet for processing {"connection_id":122609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:17:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511506688001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:17:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:17:16] 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-07-05 16:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783248384000,"timestamp_ms":1783248384000,"timestamp_seconds":1783248384,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e2f000"} 
[2026-07-05 16:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:17:16] 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-07-05 16:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511506688001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511506688001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:17:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:17:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:17:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511506688001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":122609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:17:16] local.INFO: GPS data processed {"connection_id":122609,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:17:16] local.INFO: Acknowledgment sent {"connection_id":122609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:17:20] local.INFO: TCP Data received {"connection_id":122609,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:17:20] local.INFO: Processing buffer {"connection_id":122609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:17:20] local.INFO: Packet analysis {"connection_id":122609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:17:20] local.INFO: Extracted packet for processing {"connection_id":122609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:17:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511506688001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:17:20] 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-07-05 16:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783248384000,"timestamp_ms":1783248384000,"timestamp_seconds":1783248384,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e2f000"} 
[2026-07-05 16:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:17:20] 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-07-05 16:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511506688001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511506688001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:17:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511506688001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":122609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:17:20] local.INFO: GPS data processed {"connection_id":122609,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:17:20] local.INFO: Acknowledgment sent {"connection_id":122609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:18:04] local.INFO: TCP Data received {"connection_id":123385,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:18:04] local.INFO: Processing buffer {"connection_id":123385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:18:04] local.INFO: IMEI packet received {"connection_id":123385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":123385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:18:10] local.INFO: TCP Data received {"connection_id":123385,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:18:10] local.INFO: Processing buffer {"connection_id":123385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:18:10] local.INFO: IMEI packet received {"connection_id":123385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":123385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:18:10] local.INFO: TCP Data received {"connection_id":123385,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:18:10] local.INFO: Processing buffer {"connection_id":123385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:18:10] local.INFO: Packet analysis {"connection_id":123385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:18:10] local.INFO: Extracted packet for processing {"connection_id":123385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511506688001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:18:10] 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-07-05 16:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248384000,"timestamp_ms":1783248384000,"timestamp_seconds":1783248384,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e2f000"} 
[2026-07-05 16:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:18: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-07-05 16:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511506688001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511506688001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:18:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511506688001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":123385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:18:10] local.INFO: GPS data processed {"connection_id":123385,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:18:10] local.INFO: Acknowledgment sent {"connection_id":123385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:18:42] local.INFO: TCP Data received {"connection_id":123385,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:18:42] local.INFO: Processing buffer {"connection_id":123385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:18:42] local.INFO: Packet analysis {"connection_id":123385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:18:42] local.INFO: Extracted packet for processing {"connection_id":123385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:18:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511506688001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:18:42] 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-07-05 16:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248384000,"timestamp_ms":1783248384000,"timestamp_seconds":1783248384,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e2f000"} 
[2026-07-05 16:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16: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-07-05 16: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-07-05 16:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511506688001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511506688001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:18:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:18:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511506688001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":123385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:18:42] local.INFO: GPS data processed {"connection_id":123385,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:18:42] local.INFO: Acknowledgment sent {"connection_id":123385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:19:04] local.INFO: TCP Data received {"connection_id":122610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:19:04] local.INFO: Processing buffer {"connection_id":122610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:19:04] local.INFO: IMEI packet received {"connection_id":122610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":122610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:19:10] local.INFO: TCP Data received {"connection_id":122610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:19:10] local.INFO: Processing buffer {"connection_id":122610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:19:10] local.INFO: IMEI packet received {"connection_id":122610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":122610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:19:10] local.INFO: TCP Data received {"connection_id":122610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:19:10] local.INFO: Processing buffer {"connection_id":122610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:19:10] local.INFO: Packet analysis {"connection_id":122610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:19:10] local.INFO: Extracted packet for processing {"connection_id":122610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:19:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511506688001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:19:10] 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-07-05 16:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248384000,"timestamp_ms":1783248384000,"timestamp_seconds":1783248384,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e2f000"} 
[2026-07-05 16:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:19: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-07-05 16:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511506688001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511506688001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:19:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511506688001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":122610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:19:10] local.INFO: GPS data processed {"connection_id":122610,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:19:10] local.INFO: Acknowledgment sent {"connection_id":122610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:19:41] local.INFO: TCP Data received {"connection_id":122610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:19:41] local.INFO: Processing buffer {"connection_id":122610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:19:41] local.INFO: Packet analysis {"connection_id":122610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:19:41] local.INFO: Extracted packet for processing {"connection_id":122610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:19:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511506688001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:19:41] 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-07-05 16:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783248384000,"timestamp_ms":1783248384000,"timestamp_seconds":1783248384,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e2f000"} 
[2026-07-05 16:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16: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-07-05 16:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511506688001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511506688001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:19:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511506688001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":122610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:19:42] local.INFO: GPS data processed {"connection_id":122610,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:19:42] local.INFO: Acknowledgment sent {"connection_id":122610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:20:04] local.INFO: TCP Data received {"connection_id":122665,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:20:04] local.INFO: Processing buffer {"connection_id":122665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:20:04] local.INFO: IMEI packet received {"connection_id":122665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":122665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:20:10] local.INFO: TCP Data received {"connection_id":122665,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:20:10] local.INFO: Processing buffer {"connection_id":122665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:20:10] local.INFO: IMEI packet received {"connection_id":122665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":122665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:20:10] local.INFO: TCP Data received {"connection_id":122665,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:20:10] local.INFO: Processing buffer {"connection_id":122665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:20:10] local.INFO: Packet analysis {"connection_id":122665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:20:10] local.INFO: Extracted packet for processing {"connection_id":122665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:20:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511506688001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:20:10] 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-07-05 16:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248384000,"timestamp_ms":1783248384000,"timestamp_seconds":1783248384,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e2f000"} 
[2026-07-05 16:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:20: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-07-05 16:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511506688001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511506688001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:20:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511506688001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":122665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:20:10] local.INFO: GPS data processed {"connection_id":122665,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:20:10] local.INFO: Acknowledgment sent {"connection_id":122665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:20:42] local.INFO: TCP Data received {"connection_id":122665,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:20:42] local.INFO: Processing buffer {"connection_id":122665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:20:42] local.INFO: Packet analysis {"connection_id":122665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:20:42] local.INFO: Extracted packet for processing {"connection_id":122665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:20:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511506688001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:20:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:20:42] 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-07-05 16:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248384000,"timestamp_ms":1783248384000,"timestamp_seconds":1783248384,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e2f000"} 
[2026-07-05 16:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:20: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-07-05 16: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-07-05 16:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511506688001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511506688001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:20:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:20:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511506688001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":122665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:20:42] local.INFO: GPS data processed {"connection_id":122665,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:20:42] local.INFO: Acknowledgment sent {"connection_id":122665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:21:10] local.INFO: TCP Data received {"connection_id":123388,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:21:10] local.INFO: Processing buffer {"connection_id":123388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:21:10] local.INFO: IMEI packet received {"connection_id":123388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":123388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:21:15] local.INFO: TCP Data received {"connection_id":123388,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:21:15] local.INFO: Processing buffer {"connection_id":123388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:21:15] local.INFO: IMEI packet received {"connection_id":123388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":123388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:21:16] local.INFO: TCP Data received {"connection_id":123388,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:21:16] local.INFO: Processing buffer {"connection_id":123388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:21:16] local.INFO: Packet analysis {"connection_id":123388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:21:16] local.INFO: Extracted packet for processing {"connection_id":123388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:21:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511506688001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:21:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:21:16] 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-07-05 16:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783248384000,"timestamp_ms":1783248384000,"timestamp_seconds":1783248384,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e2f000"} 
[2026-07-05 16:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:21:16] 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-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511506688001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511506688001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:21:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:21:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:21:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511506688001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":123388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:21:16] local.INFO: GPS data processed {"connection_id":123388,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:21:16] local.INFO: Acknowledgment sent {"connection_id":123388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:21:20] local.INFO: TCP Data received {"connection_id":123388,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:21:20] local.INFO: Processing buffer {"connection_id":123388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e2f000012cb2a24007823a980044013b26..."} 
[2026-07-05 16:21:20] local.INFO: Packet analysis {"connection_id":123388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:21:20] local.INFO: Extracted packet for processing {"connection_id":123388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e2"} 
[2026-07-05 16:21:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511506688001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:21:20] 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-07-05 16:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783248384000,"timestamp_ms":1783248384000,"timestamp_seconds":1783248384,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e2f000"} 
[2026-07-05 16:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:21:20] 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-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511506688001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511506688001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:21:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:21:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511506688001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":123388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:21:20] local.INFO: GPS data processed {"connection_id":123388,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:21:20] local.INFO: Acknowledgment sent {"connection_id":123388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:21:34] local.INFO: TCP Data received {"connection_id":123387,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:21:34] local.INFO: Processing buffer {"connection_id":123387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:21:34] local.INFO: IMEI packet received {"connection_id":123387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":123387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:22:04] local.INFO: TCP Data received {"connection_id":122612,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:22:04] local.INFO: Processing buffer {"connection_id":122612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:22:04] local.INFO: IMEI packet received {"connection_id":122612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":122612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:22:04] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:22:04] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:22:04] local.INFO: IMEI packet received {"connection_id":124613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":124613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:22:10] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:22:10] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:22:10] local.INFO: IMEI packet received {"connection_id":124613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":124613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:22:11] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:22:11] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:22:11] local.INFO: Packet analysis {"connection_id":124613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:22:11] local.INFO: Extracted packet for processing {"connection_id":124613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511586304001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:22:11] 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-07-05 16:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783248689000,"timestamp_ms":1783248689000,"timestamp_seconds":1783248689,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e79768"} 
[2026-07-05 16:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511586304001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511586304001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:22:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511586304001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":124613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:22:11] local.INFO: GPS data processed {"connection_id":124613,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:22:11] local.INFO: Acknowledgment sent {"connection_id":124613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:22:42] local.INFO: TCP Data received {"connection_id":124613,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:22:42] local.INFO: Processing buffer {"connection_id":124613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:22:42] local.INFO: Packet analysis {"connection_id":124613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:22:42] local.INFO: Extracted packet for processing {"connection_id":124613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511586304001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:22:42] 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-07-05 16:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248689000,"timestamp_ms":1783248689000,"timestamp_seconds":1783248689,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e79768"} 
[2026-07-05 16:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:22: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-07-05 16:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511586304001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511586304001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:22:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511586304001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":124613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:22:42] local.INFO: GPS data processed {"connection_id":124613,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:22:42] local.INFO: Acknowledgment sent {"connection_id":124613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:23:04] local.INFO: TCP Data received {"connection_id":124614,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:23:04] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:23:04] local.INFO: IMEI packet received {"connection_id":124614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":124614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:23:10] local.INFO: TCP Data received {"connection_id":124614,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:23:10] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:23:10] local.INFO: IMEI packet received {"connection_id":124614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":124614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:23:10] local.INFO: TCP Data received {"connection_id":124614,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:23:10] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:23:10] local.INFO: Packet analysis {"connection_id":124614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:23:10] local.INFO: Extracted packet for processing {"connection_id":124614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511586304001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:23:10] 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-07-05 16:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248689000,"timestamp_ms":1783248689000,"timestamp_seconds":1783248689,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e79768"} 
[2026-07-05 16:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:23: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-07-05 16:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511586304001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511586304001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:23:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511586304001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":124614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:23:10] local.INFO: GPS data processed {"connection_id":124614,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:23:10] local.INFO: Acknowledgment sent {"connection_id":124614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:23:41] local.INFO: TCP Data received {"connection_id":124614,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:23:42] local.INFO: Processing buffer {"connection_id":124614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:23:42] local.INFO: Packet analysis {"connection_id":124614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:23:42] local.INFO: Extracted packet for processing {"connection_id":124614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511586304001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:23:42] 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-07-05 16:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248689000,"timestamp_ms":1783248689000,"timestamp_seconds":1783248689,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e79768"} 
[2026-07-05 16:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:23: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-07-05 16:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511586304001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511586304001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:23:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511586304001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":124614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:23:42] local.INFO: GPS data processed {"connection_id":124614,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:23:42] local.INFO: Acknowledgment sent {"connection_id":124614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:24:04] local.INFO: TCP Data received {"connection_id":122614,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:24:04] local.INFO: Processing buffer {"connection_id":122614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:24:04] local.INFO: IMEI packet received {"connection_id":122614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":122614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:24:10] local.INFO: TCP Data received {"connection_id":122614,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:24:10] local.INFO: Processing buffer {"connection_id":122614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:24:10] local.INFO: IMEI packet received {"connection_id":122614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":122614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:24:10] local.INFO: TCP Data received {"connection_id":122614,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:24:10] local.INFO: Processing buffer {"connection_id":122614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:24:10] local.INFO: Packet analysis {"connection_id":122614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:24:10] local.INFO: Extracted packet for processing {"connection_id":122614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511586304001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:24:10] 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-07-05 16:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248689000,"timestamp_ms":1783248689000,"timestamp_seconds":1783248689,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e79768"} 
[2026-07-05 16:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:24: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-07-05 16:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511586304001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511586304001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:24:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511586304001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":122614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:24:10] local.INFO: GPS data processed {"connection_id":122614,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:24:10] local.INFO: Acknowledgment sent {"connection_id":122614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:24:42] local.INFO: TCP Data received {"connection_id":122614,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:24:42] local.INFO: Processing buffer {"connection_id":122614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:24:42] local.INFO: Packet analysis {"connection_id":122614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:24:42] local.INFO: Extracted packet for processing {"connection_id":122614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511586304001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:24:42] 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-07-05 16:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248689000,"timestamp_ms":1783248689000,"timestamp_seconds":1783248689,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e79768"} 
[2026-07-05 16:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:24: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-07-05 16:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:24: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-07-05 16: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-07-05 16:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511586304001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511586304001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:24:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511586304001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":122614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:24:42] local.INFO: GPS data processed {"connection_id":122614,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:24:42] local.INFO: Acknowledgment sent {"connection_id":122614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:25:10] local.INFO: TCP Data received {"connection_id":122667,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:25:10] local.INFO: Processing buffer {"connection_id":122667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:25:10] local.INFO: IMEI packet received {"connection_id":122667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":122667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:25:15] local.INFO: TCP Data received {"connection_id":122667,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:25:15] local.INFO: Processing buffer {"connection_id":122667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:25:15] local.INFO: IMEI packet received {"connection_id":122667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":122667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:25:15] local.INFO: TCP Data received {"connection_id":122667,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:25:15] local.INFO: Processing buffer {"connection_id":122667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:25:15] local.INFO: Packet analysis {"connection_id":122667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:25:15] local.INFO: Extracted packet for processing {"connection_id":122667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511586304001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:25:15] 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-07-05 16:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783248689000,"timestamp_ms":1783248689000,"timestamp_seconds":1783248689,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e79768"} 
[2026-07-05 16:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511586304001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511586304001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:25:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511586304001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":122667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:25:15] local.INFO: GPS data processed {"connection_id":122667,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:25:15] local.INFO: Acknowledgment sent {"connection_id":122667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:25:20] local.INFO: TCP Data received {"connection_id":122667,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:25:20] local.INFO: Processing buffer {"connection_id":122667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:25:20] local.INFO: Packet analysis {"connection_id":122667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:25:20] local.INFO: Extracted packet for processing {"connection_id":122667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511586304001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:25:20] 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-07-05 16:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783248689000,"timestamp_ms":1783248689000,"timestamp_seconds":1783248689,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e79768"} 
[2026-07-05 16:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511586304001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511586304001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:25:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511586304001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":122667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:25:20] local.INFO: GPS data processed {"connection_id":122667,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:25:20] local.INFO: Acknowledgment sent {"connection_id":122667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:26:05] local.INFO: TCP Data received {"connection_id":122615,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:26:05] local.INFO: Processing buffer {"connection_id":122615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:26:05] local.INFO: IMEI packet received {"connection_id":122615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":122615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:26:10] local.INFO: TCP Data received {"connection_id":122615,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:26:10] local.INFO: Processing buffer {"connection_id":122615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:26:10] local.INFO: IMEI packet received {"connection_id":122615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":122615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:26:10] local.INFO: TCP Data received {"connection_id":122615,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:26:10] local.INFO: Processing buffer {"connection_id":122615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:26:10] local.INFO: Packet analysis {"connection_id":122615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:26:10] local.INFO: Extracted packet for processing {"connection_id":122615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511586304001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:26:10] 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-07-05 16:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248689000,"timestamp_ms":1783248689000,"timestamp_seconds":1783248689,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e79768"} 
[2026-07-05 16:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:26: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-07-05 16:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511586304001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511586304001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:26:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511586304001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":122615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:26:10] local.INFO: GPS data processed {"connection_id":122615,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:26:10] local.INFO: Acknowledgment sent {"connection_id":122615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:26:15] local.INFO: TCP Data received {"connection_id":122615,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:26:15] local.INFO: Processing buffer {"connection_id":122615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e79768012cb2a24007823a980044013b28..."} 
[2026-07-05 16:26:15] local.INFO: Packet analysis {"connection_id":122615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:26:15] local.INFO: Extracted packet for processing {"connection_id":122615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e7"} 
[2026-07-05 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511586304001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:26:15] 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-07-05 16:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783248689000,"timestamp_ms":1783248689000,"timestamp_seconds":1783248689,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e79768"} 
[2026-07-05 16:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511586304001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511586304001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:26:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:26:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511586304001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":122615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:26:15] local.INFO: GPS data processed {"connection_id":122615,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:26:15] local.INFO: Acknowledgment sent {"connection_id":122615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:26:46] local.INFO: TCP Data received {"connection_id":122615,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:26:46] local.INFO: Processing buffer {"connection_id":122615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:26:46] local.INFO: Packet analysis {"connection_id":122615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:26:46] local.INFO: Extracted packet for processing {"connection_id":122615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511664384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:26:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:26:46] 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-07-05 16:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783248979000,"timestamp_ms":1783248979000,"timestamp_seconds":1783248979,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ec0438"} 
[2026-07-05 16:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:26: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-07-05 16:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511664384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511664384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:26:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:26:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511664384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":122615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:26:46] local.INFO: GPS data processed {"connection_id":122615,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:26:46] local.INFO: Acknowledgment sent {"connection_id":122615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:27:04] local.INFO: TCP Data received {"connection_id":122616,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:27:04] local.INFO: Processing buffer {"connection_id":122616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:27:04] local.INFO: IMEI packet received {"connection_id":122616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":122616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:27:10] local.INFO: TCP Data received {"connection_id":122616,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:27:10] local.INFO: Processing buffer {"connection_id":122616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:27:10] local.INFO: IMEI packet received {"connection_id":122616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":122616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:27:10] local.INFO: TCP Data received {"connection_id":122616,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:27:10] local.INFO: Processing buffer {"connection_id":122616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:27:10] local.INFO: Packet analysis {"connection_id":122616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:27:10] local.INFO: Extracted packet for processing {"connection_id":122616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:27:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511664384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:27:10] 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-07-05 16:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248979000,"timestamp_ms":1783248979000,"timestamp_seconds":1783248979,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ec0438"} 
[2026-07-05 16:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:27: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-07-05 16:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511664384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511664384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:27:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511664384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":122616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:27:10] local.INFO: GPS data processed {"connection_id":122616,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:27:10] local.INFO: Acknowledgment sent {"connection_id":122616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:27:19] local.INFO: TCP Data received {"connection_id":123391,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:27:19] local.INFO: Processing buffer {"connection_id":123391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:27:19] local.INFO: IMEI packet received {"connection_id":123391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":123391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:27:42] local.INFO: TCP Data received {"connection_id":122616,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:27:42] local.INFO: Processing buffer {"connection_id":122616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:27:42] local.INFO: Packet analysis {"connection_id":122616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:27:42] local.INFO: Extracted packet for processing {"connection_id":122616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:27:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511664384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:27:42] 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-07-05 16:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248979000,"timestamp_ms":1783248979000,"timestamp_seconds":1783248979,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ec0438"} 
[2026-07-05 16:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:27: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-07-05 16: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-07-05 16:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511664384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511664384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:27:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:27:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511664384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":122616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:27:42] local.INFO: GPS data processed {"connection_id":122616,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:27:42] local.INFO: Acknowledgment sent {"connection_id":122616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:28:04] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:28:04] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:28:04] local.INFO: IMEI packet received {"connection_id":124616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":124616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:28:10] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:28:10] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:28:10] local.INFO: IMEI packet received {"connection_id":124616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":124616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:28:10] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:28:10] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:28:10] local.INFO: Packet analysis {"connection_id":124616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:28:10] local.INFO: Extracted packet for processing {"connection_id":124616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511664384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:28:10] 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-07-05 16:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248979000,"timestamp_ms":1783248979000,"timestamp_seconds":1783248979,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ec0438"} 
[2026-07-05 16:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:28: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-07-05 16:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511664384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511664384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:28:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511664384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":124616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:28:10] local.INFO: GPS data processed {"connection_id":124616,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:28:10] local.INFO: Acknowledgment sent {"connection_id":124616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:28:19] local.INFO: TCP Data received {"connection_id":124617,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:28:19] local.INFO: Processing buffer {"connection_id":124617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:28:19] local.INFO: IMEI packet received {"connection_id":124617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":124617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:28:42] local.INFO: TCP Data received {"connection_id":124616,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:28:42] local.INFO: Processing buffer {"connection_id":124616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:28:42] local.INFO: Packet analysis {"connection_id":124616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:28:42] local.INFO: Extracted packet for processing {"connection_id":124616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511664384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:28:42] 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-07-05 16:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248979000,"timestamp_ms":1783248979000,"timestamp_seconds":1783248979,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ec0438"} 
[2026-07-05 16:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:28: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-07-05 16:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511664384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511664384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:28:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511664384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":124616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:28:42] local.INFO: GPS data processed {"connection_id":124616,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:28:42] local.INFO: Acknowledgment sent {"connection_id":124616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:29:04] local.INFO: TCP Data received {"connection_id":123393,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:29:04] local.INFO: Processing buffer {"connection_id":123393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:29:04] local.INFO: IMEI packet received {"connection_id":123393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":123393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:29:10] local.INFO: TCP Data received {"connection_id":123393,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:29:10] local.INFO: Processing buffer {"connection_id":123393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:29:10] local.INFO: IMEI packet received {"connection_id":123393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":123393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:29:10] local.INFO: TCP Data received {"connection_id":123393,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:29:10] local.INFO: Processing buffer {"connection_id":123393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:29:10] local.INFO: Packet analysis {"connection_id":123393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:29:10] local.INFO: Extracted packet for processing {"connection_id":123393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511664384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:29:10] 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-07-05 16:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248979000,"timestamp_ms":1783248979000,"timestamp_seconds":1783248979,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ec0438"} 
[2026-07-05 16:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:29: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-07-05 16:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511664384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511664384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:29:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511664384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":123393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:29:10] local.INFO: GPS data processed {"connection_id":123393,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:29:10] local.INFO: Acknowledgment sent {"connection_id":123393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:29:41] local.INFO: TCP Data received {"connection_id":123393,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:29:41] local.INFO: Processing buffer {"connection_id":123393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:29:41] local.INFO: Packet analysis {"connection_id":123393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:29:41] local.INFO: Extracted packet for processing {"connection_id":123393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511664384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:29:41] 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-07-05 16:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783248979000,"timestamp_ms":1783248979000,"timestamp_seconds":1783248979,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ec0438"} 
[2026-07-05 16:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511664384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511664384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:29:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511664384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":123393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:29:42] local.INFO: GPS data processed {"connection_id":123393,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:29:42] local.INFO: Acknowledgment sent {"connection_id":123393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:30:11] local.INFO: TCP Data received {"connection_id":122669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:30:11] local.INFO: Processing buffer {"connection_id":122669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:30:11] local.INFO: IMEI packet received {"connection_id":122669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":122669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:30:15] local.INFO: TCP Data received {"connection_id":122669,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:30:15] local.INFO: Processing buffer {"connection_id":122669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:30:15] local.INFO: IMEI packet received {"connection_id":122669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":122669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:30:16] local.INFO: TCP Data received {"connection_id":122669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:30:16] local.INFO: Processing buffer {"connection_id":122669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:30:16] local.INFO: Packet analysis {"connection_id":122669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:30:16] local.INFO: Extracted packet for processing {"connection_id":122669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:30:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 16:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511664384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:30:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:30:16] 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-07-05 16:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783248979000,"timestamp_ms":1783248979000,"timestamp_seconds":1783248979,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ec0438"} 
[2026-07-05 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-07-05 16:30:16] 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-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 16:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511664384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511664384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:30:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:30:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:30:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511664384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":122669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:30:16] local.INFO: GPS data processed {"connection_id":122669,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:30:16] local.INFO: Acknowledgment sent {"connection_id":122669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:30:20] local.INFO: TCP Data received {"connection_id":122669,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:30:20] local.INFO: Processing buffer {"connection_id":122669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:30:20] local.INFO: Packet analysis {"connection_id":122669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:30:20] local.INFO: Extracted packet for processing {"connection_id":122669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:30:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511664384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:30:20] 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-07-05 16:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783248979000,"timestamp_ms":1783248979000,"timestamp_seconds":1783248979,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ec0438"} 
[2026-07-05 16:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:30:20] 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-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511664384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511664384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:30:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511664384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":122669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:30:20] local.INFO: GPS data processed {"connection_id":122669,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:30:20] local.INFO: Acknowledgment sent {"connection_id":122669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:31:05] local.INFO: TCP Data received {"connection_id":122670,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:31:05] local.INFO: Processing buffer {"connection_id":122670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:31:05] local.INFO: IMEI packet received {"connection_id":122670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":122670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:31:10] local.INFO: TCP Data received {"connection_id":122670,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:31:10] local.INFO: Processing buffer {"connection_id":122670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:31:10] local.INFO: IMEI packet received {"connection_id":122670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":122670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:31:10] local.INFO: TCP Data received {"connection_id":122670,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:31:10] local.INFO: Processing buffer {"connection_id":122670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:31:10] local.INFO: Packet analysis {"connection_id":122670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:31:10] local.INFO: Extracted packet for processing {"connection_id":122670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511664384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:31:10] 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-07-05 16:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248979000,"timestamp_ms":1783248979000,"timestamp_seconds":1783248979,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ec0438"} 
[2026-07-05 16:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511664384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511664384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:31:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511664384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":122670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:31:10] local.INFO: GPS data processed {"connection_id":122670,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:31:10] local.INFO: Acknowledgment sent {"connection_id":122670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:31:42] local.INFO: TCP Data received {"connection_id":122670,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:31:42] local.INFO: Processing buffer {"connection_id":122670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31ec0438012cb2a24007823a980044013b2b..."} 
[2026-07-05 16:31:42] local.INFO: Packet analysis {"connection_id":122670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:31:42] local.INFO: Extracted packet for processing {"connection_id":122670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31ec"} 
[2026-07-05 16:31:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511664384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:31:42] 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-07-05 16:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783248979000,"timestamp_ms":1783248979000,"timestamp_seconds":1783248979,"priority":1,"record_length":96,"hex_timestamp":"0000019f31ec0438"} 
[2026-07-05 16:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:31: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-07-05 16:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511664384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511664384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:31:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511664384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":122670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:31:42] local.INFO: GPS data processed {"connection_id":122670,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:31:42] local.INFO: Acknowledgment sent {"connection_id":122670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:32:07] local.INFO: TCP Data received {"connection_id":122618,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:32:07] local.INFO: Processing buffer {"connection_id":122618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:32:07] local.INFO: IMEI packet received {"connection_id":122618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":122618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:32:10] local.INFO: TCP Data received {"connection_id":122618,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:32:10] local.INFO: Processing buffer {"connection_id":122618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:32:10] local.INFO: IMEI packet received {"connection_id":122618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":122618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:32:10] local.INFO: TCP Data received {"connection_id":122618,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:32:10] local.INFO: Processing buffer {"connection_id":122618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:32:10] local.INFO: Packet analysis {"connection_id":122618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:32:10] local.INFO: Extracted packet for processing {"connection_id":122618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511738624001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:32:10] 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-07-05 16:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249264000,"timestamp_ms":1783249264000,"timestamp_seconds":1783249264,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f05d80"} 
[2026-07-05 16:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:32: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-07-05 16:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511738624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511738624001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:32:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511738624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":122618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:32:10] local.INFO: GPS data processed {"connection_id":122618,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:32:10] local.INFO: Acknowledgment sent {"connection_id":122618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:32:42] local.INFO: TCP Data received {"connection_id":122618,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:32:42] local.INFO: Processing buffer {"connection_id":122618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:32:42] local.INFO: Packet analysis {"connection_id":122618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:32:42] local.INFO: Extracted packet for processing {"connection_id":122618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:32:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511738624001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:32:42] 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-07-05 16:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783249264000,"timestamp_ms":1783249264000,"timestamp_seconds":1783249264,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f05d80"} 
[2026-07-05 16:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:32: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-07-05 16: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-07-05 16:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511738624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511738624001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:32:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511738624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":122618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:32:42] local.INFO: GPS data processed {"connection_id":122618,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:32:42] local.INFO: Acknowledgment sent {"connection_id":122618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:33:04] local.INFO: TCP Data received {"connection_id":122671,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:33:04] local.INFO: Processing buffer {"connection_id":122671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:33:04] local.INFO: IMEI packet received {"connection_id":122671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":122671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:33:10] local.INFO: TCP Data received {"connection_id":122671,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:33:10] local.INFO: Processing buffer {"connection_id":122671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:33:10] local.INFO: IMEI packet received {"connection_id":122671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":122671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:33:10] local.INFO: TCP Data received {"connection_id":122671,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:33:10] local.INFO: Processing buffer {"connection_id":122671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:33:10] local.INFO: Packet analysis {"connection_id":122671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:33:10] local.INFO: Extracted packet for processing {"connection_id":122671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511738624001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:33:10] 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-07-05 16:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249264000,"timestamp_ms":1783249264000,"timestamp_seconds":1783249264,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f05d80"} 
[2026-07-05 16:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:33: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-07-05 16:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511738624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511738624001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:33:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511738624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":122671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:33:10] local.INFO: GPS data processed {"connection_id":122671,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:33:10] local.INFO: Acknowledgment sent {"connection_id":122671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:33:42] local.INFO: TCP Data received {"connection_id":122671,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:33:42] local.INFO: Processing buffer {"connection_id":122671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:33:42] local.INFO: Packet analysis {"connection_id":122671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:33:42] local.INFO: Extracted packet for processing {"connection_id":122671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:33:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511738624001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:33:42] 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-07-05 16:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783249264000,"timestamp_ms":1783249264000,"timestamp_seconds":1783249264,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f05d80"} 
[2026-07-05 16:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:33: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-07-05 16:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511738624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511738624001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:33:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511738624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":122671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:33:42] local.INFO: GPS data processed {"connection_id":122671,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:33:42] local.INFO: Acknowledgment sent {"connection_id":122671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:33:44] local.INFO: TCP Data received {"connection_id":122619,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:33:44] local.INFO: Processing buffer {"connection_id":122619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:33:44] local.INFO: IMEI packet received {"connection_id":122619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":122619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:34:04] local.INFO: TCP Data received {"connection_id":124618,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:34:04] local.INFO: Processing buffer {"connection_id":124618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:34:04] local.INFO: IMEI packet received {"connection_id":124618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":124618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:34:04] local.INFO: TCP Data received {"connection_id":123395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:34:04] local.INFO: Processing buffer {"connection_id":123395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:34:04] local.INFO: IMEI packet received {"connection_id":123395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":123395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:34:09] local.INFO: TCP Data received {"connection_id":123395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:34:09] local.INFO: Processing buffer {"connection_id":123395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:34:09] local.INFO: IMEI packet received {"connection_id":123395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":123395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:34:10] local.INFO: TCP Data received {"connection_id":123395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:34:10] local.INFO: Processing buffer {"connection_id":123395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:34:10] local.INFO: Packet analysis {"connection_id":123395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:34:10] local.INFO: Extracted packet for processing {"connection_id":123395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511738624001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:34:10] 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-07-05 16:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249264000,"timestamp_ms":1783249264000,"timestamp_seconds":1783249264,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f05d80"} 
[2026-07-05 16:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:34: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-07-05 16:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511738624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511738624001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:34:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511738624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":123395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:34:10] local.INFO: GPS data processed {"connection_id":123395,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:34:10] local.INFO: Acknowledgment sent {"connection_id":123395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:34:41] local.INFO: TCP Data received {"connection_id":123395,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:34:41] local.INFO: Processing buffer {"connection_id":123395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:34:41] local.INFO: Packet analysis {"connection_id":123395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:34:41] local.INFO: Extracted packet for processing {"connection_id":123395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511738624001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:34:41] 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-07-05 16:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783249264000,"timestamp_ms":1783249264000,"timestamp_seconds":1783249264,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f05d80"} 
[2026-07-05 16:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:34: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-07-05 16:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511738624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511738624001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:34:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511738624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":123395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:34:41] local.INFO: GPS data processed {"connection_id":123395,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:34:41] local.INFO: Acknowledgment sent {"connection_id":123395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:35:09] local.INFO: TCP Data received {"connection_id":124620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:35:09] local.INFO: Processing buffer {"connection_id":124620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:35:09] local.INFO: IMEI packet received {"connection_id":124620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":124620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:35:14] local.INFO: TCP Data received {"connection_id":124620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:35:14] local.INFO: Processing buffer {"connection_id":124620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:35:14] local.INFO: IMEI packet received {"connection_id":124620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":124620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:35:15] local.INFO: TCP Data received {"connection_id":124620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:35:15] local.INFO: Processing buffer {"connection_id":124620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:35:15] local.INFO: Packet analysis {"connection_id":124620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:35:15] local.INFO: Extracted packet for processing {"connection_id":124620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:35:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:35: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-07-05 16:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511738624001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:35:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:35:15] 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-07-05 16:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783249264000,"timestamp_ms":1783249264000,"timestamp_seconds":1783249264,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f05d80"} 
[2026-07-05 16:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:35: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-07-05 16:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511738624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511738624001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:35:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:35:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:35:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511738624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":124620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:35:15] local.INFO: GPS data processed {"connection_id":124620,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:35:15] local.INFO: Acknowledgment sent {"connection_id":124620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:35:20] local.INFO: TCP Data received {"connection_id":124620,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:35:20] local.INFO: Processing buffer {"connection_id":124620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:35:20] local.INFO: Packet analysis {"connection_id":124620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:35:20] local.INFO: Extracted packet for processing {"connection_id":124620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511738624001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:35:20] 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-07-05 16:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783249264000,"timestamp_ms":1783249264000,"timestamp_seconds":1783249264,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f05d80"} 
[2026-07-05 16:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511738624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511738624001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511738624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":124620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:35:20] local.INFO: GPS data processed {"connection_id":124620,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:35:20] local.INFO: Acknowledgment sent {"connection_id":124620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:36:05] local.INFO: TCP Data received {"connection_id":122672,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:36:05] local.INFO: Processing buffer {"connection_id":122672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:36:05] local.INFO: IMEI packet received {"connection_id":122672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":122672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:36:09] local.INFO: TCP Data received {"connection_id":122672,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:36:09] local.INFO: Processing buffer {"connection_id":122672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:36:09] local.INFO: IMEI packet received {"connection_id":122672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":122672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:36:10] local.INFO: TCP Data received {"connection_id":122672,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:36:10] local.INFO: Processing buffer {"connection_id":122672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:36:10] local.INFO: Packet analysis {"connection_id":122672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:36:10] local.INFO: Extracted packet for processing {"connection_id":122672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511738624001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:36:10] 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-07-05 16:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249264000,"timestamp_ms":1783249264000,"timestamp_seconds":1783249264,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f05d80"} 
[2026-07-05 16:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:36: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-07-05 16:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511738624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511738624001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:36:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511738624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":122672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:36:10] local.INFO: GPS data processed {"connection_id":122672,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:36:10] local.INFO: Acknowledgment sent {"connection_id":122672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:36:15] local.INFO: TCP Data received {"connection_id":122672,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:36:15] local.INFO: Processing buffer {"connection_id":122672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f05d80012cb2a24007823a980044013b2d..."} 
[2026-07-05 16:36:15] local.INFO: Packet analysis {"connection_id":122672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:36:15] local.INFO: Extracted packet for processing {"connection_id":122672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f0"} 
[2026-07-05 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511738624001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:36:15] 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-07-05 16:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783249264000,"timestamp_ms":1783249264000,"timestamp_seconds":1783249264,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f05d80"} 
[2026-07-05 16:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511738624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511738624001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:36:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511738624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":122672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:36:15] local.INFO: GPS data processed {"connection_id":122672,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:36:15] local.INFO: Acknowledgment sent {"connection_id":122672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:36:49] local.INFO: TCP Data received {"connection_id":122672,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:36:49] local.INFO: Processing buffer {"connection_id":122672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:36:49] local.INFO: Packet analysis {"connection_id":122672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:36:49] local.INFO: Extracted packet for processing {"connection_id":122672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:36:49] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511811584001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:36:49] 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-07-05 16:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783249564000,"timestamp_ms":1783249564000,"timestamp_seconds":1783249564,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f4f160"} 
[2026-07-05 16:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511811584001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511811584001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:36:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:36:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511811584001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":122672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:36:49] local.INFO: GPS data processed {"connection_id":122672,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:36:49] local.INFO: Acknowledgment sent {"connection_id":122672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:37:04] local.INFO: TCP Data received {"connection_id":122620,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:37:04] local.INFO: Processing buffer {"connection_id":122620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:37:04] local.INFO: IMEI packet received {"connection_id":122620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":122620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:37:10] local.INFO: TCP Data received {"connection_id":122620,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:37:10] local.INFO: Processing buffer {"connection_id":122620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:37:10] local.INFO: IMEI packet received {"connection_id":122620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":122620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:37:10] local.INFO: TCP Data received {"connection_id":122620,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:37:10] local.INFO: Processing buffer {"connection_id":122620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:37:10] local.INFO: Packet analysis {"connection_id":122620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:37:10] local.INFO: Extracted packet for processing {"connection_id":122620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511811584001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:37:10] 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-07-05 16:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249564000,"timestamp_ms":1783249564000,"timestamp_seconds":1783249564,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f4f160"} 
[2026-07-05 16:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:37: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-07-05 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511811584001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511811584001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:37:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511811584001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":122620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:37:10] local.INFO: GPS data processed {"connection_id":122620,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:37:10] local.INFO: Acknowledgment sent {"connection_id":122620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:37:42] local.INFO: TCP Data received {"connection_id":122620,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:37:42] local.INFO: Processing buffer {"connection_id":122620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:37:42] local.INFO: Packet analysis {"connection_id":122620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:37:42] local.INFO: Extracted packet for processing {"connection_id":122620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511811584001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:37:42] 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-07-05 16:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783249564000,"timestamp_ms":1783249564000,"timestamp_seconds":1783249564,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f4f160"} 
[2026-07-05 16:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:37: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-07-05 16:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511811584001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511811584001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:37:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511811584001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":122620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:37:42] local.INFO: GPS data processed {"connection_id":122620,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:37:42] local.INFO: Acknowledgment sent {"connection_id":122620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:38:04] local.INFO: TCP Data received {"connection_id":124621,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:38:04] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:38:04] local.INFO: IMEI packet received {"connection_id":124621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":124621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:38:10] local.INFO: TCP Data received {"connection_id":124621,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:38:10] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:38:10] local.INFO: IMEI packet received {"connection_id":124621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":124621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:38:10] local.INFO: TCP Data received {"connection_id":124621,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:38:10] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:38:10] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:38:10] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511811584001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:38:10] 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-07-05 16:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249564000,"timestamp_ms":1783249564000,"timestamp_seconds":1783249564,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f4f160"} 
[2026-07-05 16:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:38: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-07-05 16:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511811584001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511811584001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:38:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511811584001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:38:10] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:38:10] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:38:42] local.INFO: TCP Data received {"connection_id":124621,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:38:42] local.INFO: Processing buffer {"connection_id":124621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:38:42] local.INFO: Packet analysis {"connection_id":124621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:38:42] local.INFO: Extracted packet for processing {"connection_id":124621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511811584001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:38:42] 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-07-05 16:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783249564000,"timestamp_ms":1783249564000,"timestamp_seconds":1783249564,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f4f160"} 
[2026-07-05 16:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:38: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-07-05 16: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-07-05 16:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511811584001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511811584001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:38:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511811584001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":124621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:38:42] local.INFO: GPS data processed {"connection_id":124621,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:38:42] local.INFO: Acknowledgment sent {"connection_id":124621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:39:04] local.INFO: TCP Data received {"connection_id":123397,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:39:04] local.INFO: Processing buffer {"connection_id":123397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:39:04] local.INFO: IMEI packet received {"connection_id":123397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":123397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:39:10] local.INFO: TCP Data received {"connection_id":123397,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:39:10] local.INFO: Processing buffer {"connection_id":123397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:39:10] local.INFO: IMEI packet received {"connection_id":123397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":123397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:39:10] local.INFO: TCP Data received {"connection_id":123397,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:39:10] local.INFO: Processing buffer {"connection_id":123397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:39:10] local.INFO: Packet analysis {"connection_id":123397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:39:10] local.INFO: Extracted packet for processing {"connection_id":123397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:39:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511811584001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:39:10] 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-07-05 16:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249564000,"timestamp_ms":1783249564000,"timestamp_seconds":1783249564,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f4f160"} 
[2026-07-05 16:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:39: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-07-05 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511811584001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511811584001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:39:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511811584001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":123397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:39:10] local.INFO: GPS data processed {"connection_id":123397,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:39:10] local.INFO: Acknowledgment sent {"connection_id":123397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:39:29] local.INFO: TCP Data received {"connection_id":122674,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:39:29] local.INFO: Processing buffer {"connection_id":122674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:39:29] local.INFO: IMEI packet received {"connection_id":122674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":122674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:39:42] local.INFO: TCP Data received {"connection_id":123397,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:39:42] local.INFO: Processing buffer {"connection_id":123397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:39:42] local.INFO: Packet analysis {"connection_id":123397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:39:42] local.INFO: Extracted packet for processing {"connection_id":123397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:39:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511811584001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:39:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:39:42] 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-07-05 16:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783249564000,"timestamp_ms":1783249564000,"timestamp_seconds":1783249564,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f4f160"} 
[2026-07-05 16:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:39: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-07-05 16: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-07-05 16:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511811584001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511811584001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:39:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:39:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511811584001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":123397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:39:42] local.INFO: GPS data processed {"connection_id":123397,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:39:42] local.INFO: Acknowledgment sent {"connection_id":123397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:40:04] local.INFO: TCP Data received {"connection_id":123398,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:40:04] local.INFO: Processing buffer {"connection_id":123398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:40:04] local.INFO: IMEI packet received {"connection_id":123398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":123398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:40:10] local.INFO: TCP Data received {"connection_id":122675,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:40:10] local.INFO: Processing buffer {"connection_id":122675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:40:10] local.INFO: IMEI packet received {"connection_id":122675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":122675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:40:15] local.INFO: TCP Data received {"connection_id":122675,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:40:15] local.INFO: Processing buffer {"connection_id":122675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:40:15] local.INFO: IMEI packet received {"connection_id":122675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":122675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:40:15] local.INFO: TCP Data received {"connection_id":122675,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:40:15] local.INFO: Processing buffer {"connection_id":122675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:40:15] local.INFO: Packet analysis {"connection_id":122675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:40:15] local.INFO: Extracted packet for processing {"connection_id":122675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:40:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511811584001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:40:15] 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-07-05 16:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783249564000,"timestamp_ms":1783249564000,"timestamp_seconds":1783249564,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f4f160"} 
[2026-07-05 16:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511811584001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511811584001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:40:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:40:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511811584001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":122675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:40:16] local.INFO: GPS data processed {"connection_id":122675,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:40:16] local.INFO: Acknowledgment sent {"connection_id":122675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:40:20] local.INFO: TCP Data received {"connection_id":122675,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:40:20] local.INFO: Processing buffer {"connection_id":122675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:40:20] local.INFO: Packet analysis {"connection_id":122675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:40:20] local.INFO: Extracted packet for processing {"connection_id":122675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511811584001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:40:20] 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-07-05 16:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783249564000,"timestamp_ms":1783249564000,"timestamp_seconds":1783249564,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f4f160"} 
[2026-07-05 16:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511811584001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511811584001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:40:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511811584001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":122675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:40:20] local.INFO: GPS data processed {"connection_id":122675,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:40:20] local.INFO: Acknowledgment sent {"connection_id":122675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:41:05] local.INFO: TCP Data received {"connection_id":123399,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:41:05] local.INFO: Processing buffer {"connection_id":123399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:41:05] local.INFO: IMEI packet received {"connection_id":123399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":123399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:41:10] local.INFO: TCP Data received {"connection_id":123399,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:41:10] local.INFO: Processing buffer {"connection_id":123399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:41:10] local.INFO: IMEI packet received {"connection_id":123399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":123399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:41:10] local.INFO: TCP Data received {"connection_id":123399,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:41:10] local.INFO: Processing buffer {"connection_id":123399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:41:10] local.INFO: Packet analysis {"connection_id":123399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:41:10] local.INFO: Extracted packet for processing {"connection_id":123399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511811584001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:41:10] 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-07-05 16:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249564000,"timestamp_ms":1783249564000,"timestamp_seconds":1783249564,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f4f160"} 
[2026-07-05 16:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16: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-07-05 16:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511811584001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511811584001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:41:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511811584001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":123399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:41:10] local.INFO: GPS data processed {"connection_id":123399,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:41:10] local.INFO: Acknowledgment sent {"connection_id":123399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:41:42] local.INFO: TCP Data received {"connection_id":123399,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:41:42] local.INFO: Processing buffer {"connection_id":123399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f4f160012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:41:42] local.INFO: Packet analysis {"connection_id":123399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:41:42] local.INFO: Extracted packet for processing {"connection_id":123399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f4"} 
[2026-07-05 16:41:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511811584001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:41:42] 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-07-05 16:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783249564000,"timestamp_ms":1783249564000,"timestamp_seconds":1783249564,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f4f160"} 
[2026-07-05 16:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:41: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-07-05 16:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511811584001,"66":25343,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511811584001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:41:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511811584001,"power":25343,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":123399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:41:42] local.INFO: GPS data processed {"connection_id":123399,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:41:42] local.INFO: Acknowledgment sent {"connection_id":123399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:42:04] local.INFO: TCP Data received {"connection_id":122676,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:42:04] local.INFO: Processing buffer {"connection_id":122676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:42:04] local.INFO: IMEI packet received {"connection_id":122676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":122676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:42:10] local.INFO: TCP Data received {"connection_id":122676,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:42:10] local.INFO: Processing buffer {"connection_id":122676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:42:10] local.INFO: IMEI packet received {"connection_id":122676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":122676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:42:10] local.INFO: TCP Data received {"connection_id":122676,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:42:10] local.INFO: Processing buffer {"connection_id":122676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:42:10] local.INFO: Packet analysis {"connection_id":122676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:42:10] local.INFO: Extracted packet for processing {"connection_id":122676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511888384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:42:10] 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-07-05 16:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249865000,"timestamp_ms":1783249865000,"timestamp_seconds":1783249865,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f98928"} 
[2026-07-05 16:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:42: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-07-05 16:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 16:42: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-07-05 16: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-07-05 16:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511888384001,"66":24527,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511888384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:42:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511888384001,"power":24527,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":122676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:42:10] local.INFO: GPS data processed {"connection_id":122676,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:42:10] local.INFO: Acknowledgment sent {"connection_id":122676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:42:41] local.INFO: TCP Data received {"connection_id":122676,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:42:41] local.INFO: Processing buffer {"connection_id":122676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:42:41] local.INFO: Packet analysis {"connection_id":122676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:42:41] local.INFO: Extracted packet for processing {"connection_id":122676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:42:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511888384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:42:41] 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-07-05 16:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783249865000,"timestamp_ms":1783249865000,"timestamp_seconds":1783249865,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f98928"} 
[2026-07-05 16:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16: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-07-05 16: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-07-05 16:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511888384001,"66":24527,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511888384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:42:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511888384001,"power":24527,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":122676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:42:42] local.INFO: GPS data processed {"connection_id":122676,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:42:42] local.INFO: Acknowledgment sent {"connection_id":122676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:43:04] local.INFO: TCP Data received {"connection_id":123400,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:43:04] local.INFO: Processing buffer {"connection_id":123400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:43:04] local.INFO: IMEI packet received {"connection_id":123400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":123400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:43:10] local.INFO: TCP Data received {"connection_id":123400,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:43:10] local.INFO: Processing buffer {"connection_id":123400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:43:10] local.INFO: IMEI packet received {"connection_id":123400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":123400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:43:10] local.INFO: TCP Data received {"connection_id":123400,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:43:10] local.INFO: Processing buffer {"connection_id":123400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:43:10] local.INFO: Packet analysis {"connection_id":123400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:43:10] local.INFO: Extracted packet for processing {"connection_id":123400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511888384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:43:10] 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-07-05 16:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249865000,"timestamp_ms":1783249865000,"timestamp_seconds":1783249865,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f98928"} 
[2026-07-05 16:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:43: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-07-05 16:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 16:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511888384001,"66":24527,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511888384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:43:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511888384001,"power":24527,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":123400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:43:10] local.INFO: GPS data processed {"connection_id":123400,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:43:10] local.INFO: Acknowledgment sent {"connection_id":123400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:43:41] local.INFO: TCP Data received {"connection_id":123400,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:43:41] local.INFO: Processing buffer {"connection_id":123400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:43:41] local.INFO: Packet analysis {"connection_id":123400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:43:41] local.INFO: Extracted packet for processing {"connection_id":123400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511888384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:43:41] 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-07-05 16:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783249865000,"timestamp_ms":1783249865000,"timestamp_seconds":1783249865,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f98928"} 
[2026-07-05 16:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 16:43: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-07-05 16: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-07-05 16:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511888384001,"66":24527,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511888384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:43:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511888384001,"power":24527,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":123400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:43:41] local.INFO: GPS data processed {"connection_id":123400,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:43:41] local.INFO: Acknowledgment sent {"connection_id":123400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:44:10] local.INFO: TCP Data received {"connection_id":122625,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:44:10] local.INFO: Processing buffer {"connection_id":122625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:44:10] local.INFO: IMEI packet received {"connection_id":122625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":122625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:44:15] local.INFO: TCP Data received {"connection_id":122625,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:44:15] local.INFO: Processing buffer {"connection_id":122625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:44:15] local.INFO: IMEI packet received {"connection_id":122625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":122625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:44:15] local.INFO: TCP Data received {"connection_id":122625,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:44:15] local.INFO: Processing buffer {"connection_id":122625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:44:15] local.INFO: Packet analysis {"connection_id":122625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:44:15] local.INFO: Extracted packet for processing {"connection_id":122625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:44:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:44: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-07-05 16:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511888384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:44:15] 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-07-05 16:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783249865000,"timestamp_ms":1783249865000,"timestamp_seconds":1783249865,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f98928"} 
[2026-07-05 16:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 16:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:44: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-07-05 16:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511888384001,"66":24527,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511888384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:44:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:44:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511888384001,"power":24527,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":122625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:44:15] local.INFO: GPS data processed {"connection_id":122625,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:44:15] local.INFO: Acknowledgment sent {"connection_id":122625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:44:20] local.INFO: TCP Data received {"connection_id":122625,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:44:20] local.INFO: Processing buffer {"connection_id":122625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:44:20] local.INFO: Packet analysis {"connection_id":122625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:44:20] local.INFO: Extracted packet for processing {"connection_id":122625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511888384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:44:20] 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-07-05 16:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783249865000,"timestamp_ms":1783249865000,"timestamp_seconds":1783249865,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f98928"} 
[2026-07-05 16:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 16:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511888384001,"66":24527,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511888384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:44:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511888384001,"power":24527,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":122625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:44:20] local.INFO: GPS data processed {"connection_id":122625,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:44:20] local.INFO: Acknowledgment sent {"connection_id":122625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:45:05] local.INFO: TCP Data received {"connection_id":124622,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:45:05] local.INFO: Processing buffer {"connection_id":124622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:45:05] local.INFO: IMEI packet received {"connection_id":124622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":124622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:45:10] local.INFO: TCP Data received {"connection_id":124622,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:45:10] local.INFO: Processing buffer {"connection_id":124622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:45:10] local.INFO: IMEI packet received {"connection_id":124622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":124622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:45:10] local.INFO: TCP Data received {"connection_id":124622,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:45:10] local.INFO: Processing buffer {"connection_id":124622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:45:10] local.INFO: Packet analysis {"connection_id":124622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:45:10] local.INFO: Extracted packet for processing {"connection_id":124622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511888384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:45:10] 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-07-05 16:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249865000,"timestamp_ms":1783249865000,"timestamp_seconds":1783249865,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f98928"} 
[2026-07-05 16:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:45: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-07-05 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 16:45: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-07-05 16:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511888384001,"66":24527,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511888384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:45:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511888384001,"power":24527,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":124622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:45:10] local.INFO: GPS data processed {"connection_id":124622,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:45:10] local.INFO: Acknowledgment sent {"connection_id":124622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:45:29] local.INFO: TCP Data received {"connection_id":123401,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:45:29] local.INFO: Processing buffer {"connection_id":123401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:45:29] local.INFO: IMEI packet received {"connection_id":123401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":123401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:45:41] local.INFO: TCP Data received {"connection_id":124622,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:45:41] local.INFO: Processing buffer {"connection_id":124622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:45:41] local.INFO: Packet analysis {"connection_id":124622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:45:41] local.INFO: Extracted packet for processing {"connection_id":124622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511888384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:45:41] 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-07-05 16:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783249865000,"timestamp_ms":1783249865000,"timestamp_seconds":1783249865,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f98928"} 
[2026-07-05 16:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 16:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511888384001,"66":24527,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511888384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:45:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511888384001,"power":24527,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":124622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:45:41] local.INFO: GPS data processed {"connection_id":124622,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:45:41] local.INFO: Acknowledgment sent {"connection_id":124622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:46:04] local.INFO: TCP Data received {"connection_id":122678,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:46:04] local.INFO: Processing buffer {"connection_id":122678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:46:04] local.INFO: IMEI packet received {"connection_id":122678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":122678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:46:05] local.INFO: TCP Data received {"connection_id":122626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:46:05] local.INFO: Processing buffer {"connection_id":122626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:46:05] local.INFO: IMEI packet received {"connection_id":122626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":122626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:46:10] local.INFO: TCP Data received {"connection_id":122626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:46:10] local.INFO: Processing buffer {"connection_id":122626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:46:10] local.INFO: IMEI packet received {"connection_id":122626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":122626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:46:10] local.INFO: TCP Data received {"connection_id":122626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:46:10] local.INFO: Processing buffer {"connection_id":122626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:46:10] local.INFO: Packet analysis {"connection_id":122626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:46:10] local.INFO: Extracted packet for processing {"connection_id":122626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511888384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:46:10] 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-07-05 16:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783249865000,"timestamp_ms":1783249865000,"timestamp_seconds":1783249865,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f98928"} 
[2026-07-05 16:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:46: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-07-05 16:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 16:46: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-07-05 16: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-07-05 16:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511888384001,"66":24527,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511888384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:46:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511888384001,"power":24527,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":122626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:46:10] local.INFO: GPS data processed {"connection_id":122626,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:46:10] local.INFO: Acknowledgment sent {"connection_id":122626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:46:42] local.INFO: TCP Data received {"connection_id":122626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:46:42] local.INFO: Processing buffer {"connection_id":122626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31f98928012cb2a24007823a980044013b2c..."} 
[2026-07-05 16:46:42] local.INFO: Packet analysis {"connection_id":122626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:46:42] local.INFO: Extracted packet for processing {"connection_id":122626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31f9"} 
[2026-07-05 16:46:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511888384001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:46:42] 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-07-05 16:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783249865000,"timestamp_ms":1783249865000,"timestamp_seconds":1783249865,"priority":1,"record_length":96,"hex_timestamp":"0000019f31f98928"} 
[2026-07-05 16:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 16:46: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-07-05 16:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511888384001,"66":24527,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511888384001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511888384001,"power":24527,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":122626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:46:42] local.INFO: GPS data processed {"connection_id":122626,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:46:42] local.INFO: Acknowledgment sent {"connection_id":122626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:47:04] local.INFO: TCP Data received {"connection_id":123402,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:47:04] local.INFO: Processing buffer {"connection_id":123402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:47:04] local.INFO: IMEI packet received {"connection_id":123402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":123402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:47:10] local.INFO: TCP Data received {"connection_id":123402,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:47:10] local.INFO: Processing buffer {"connection_id":123402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:47:10] local.INFO: IMEI packet received {"connection_id":123402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":123402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:47:14] local.INFO: TCP Data received {"connection_id":123402,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:47:14] local.INFO: Processing buffer {"connection_id":123402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:47:14] local.INFO: Packet analysis {"connection_id":123402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:47:14] local.INFO: Extracted packet for processing {"connection_id":123402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:47:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511965440001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:47:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:47:14] 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-07-05 16:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783250166000,"timestamp_ms":1783250166000,"timestamp_seconds":1783250166,"priority":1,"record_length":96,"hex_timestamp":"0000019f31fe20f0"} 
[2026-07-05 16:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-05 16:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":123402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":123402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":123402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511965440001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511965440001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:47:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:47:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511965440001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":123402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:47:14] local.INFO: GPS data processed {"connection_id":123402,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:47:14] local.INFO: Acknowledgment sent {"connection_id":123402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:47:45] local.INFO: TCP Data received {"connection_id":123402,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:47:45] local.INFO: Processing buffer {"connection_id":123402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:47:45] local.INFO: Packet analysis {"connection_id":123402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:47:45] local.INFO: Extracted packet for processing {"connection_id":123402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:47:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511965440001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:47:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:47:45] 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-07-05 16:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783250166000,"timestamp_ms":1783250166000,"timestamp_seconds":1783250166,"priority":1,"record_length":96,"hex_timestamp":"0000019f31fe20f0"} 
[2026-07-05 16:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-05 16:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":123402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":123402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":123402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511965440001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511965440001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:47:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:47:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:47:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511965440001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":123402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:47:45] local.INFO: GPS data processed {"connection_id":123402,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:47:45] local.INFO: Acknowledgment sent {"connection_id":123402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:48:04] local.INFO: TCP Data received {"connection_id":122680,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:48:04] local.INFO: Processing buffer {"connection_id":122680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:48:04] local.INFO: IMEI packet received {"connection_id":122680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":122680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:48:10] local.INFO: TCP Data received {"connection_id":122680,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:48:10] local.INFO: Processing buffer {"connection_id":122680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:48:10] local.INFO: IMEI packet received {"connection_id":122680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":122680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:48:11] local.INFO: TCP Data received {"connection_id":122680,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:48:11] local.INFO: Processing buffer {"connection_id":122680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:48:11] local.INFO: Packet analysis {"connection_id":122680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:48:11] local.INFO: Extracted packet for processing {"connection_id":122680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:48:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511965440001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:48:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:48:11] 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-07-05 16:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783250166000,"timestamp_ms":1783250166000,"timestamp_seconds":1783250166,"priority":1,"record_length":96,"hex_timestamp":"0000019f31fe20f0"} 
[2026-07-05 16:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-05 16:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511965440001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511965440001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:48:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:48:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:48:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511965440001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":122680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:48:11] local.INFO: GPS data processed {"connection_id":122680,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:48:11] local.INFO: Acknowledgment sent {"connection_id":122680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:48:42] local.INFO: TCP Data received {"connection_id":122680,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:48:42] local.INFO: Processing buffer {"connection_id":122680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:48:42] local.INFO: Packet analysis {"connection_id":122680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:48:42] local.INFO: Extracted packet for processing {"connection_id":122680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511965440001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:48:42] 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-07-05 16:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783250166000,"timestamp_ms":1783250166000,"timestamp_seconds":1783250166,"priority":1,"record_length":96,"hex_timestamp":"0000019f31fe20f0"} 
[2026-07-05 16:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-05 16:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511965440001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511965440001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:48:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:48:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511965440001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":122680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:48:42] local.INFO: GPS data processed {"connection_id":122680,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:48:42] local.INFO: Acknowledgment sent {"connection_id":122680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:49:10] local.INFO: TCP Data received {"connection_id":123404,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:49:10] local.INFO: Processing buffer {"connection_id":123404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:49:10] local.INFO: IMEI packet received {"connection_id":123404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":123404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:49:15] local.INFO: TCP Data received {"connection_id":123404,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:49:15] local.INFO: Processing buffer {"connection_id":123404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:49:15] local.INFO: IMEI packet received {"connection_id":123404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":123404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:49:16] local.INFO: TCP Data received {"connection_id":123404,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:49:16] local.INFO: Processing buffer {"connection_id":123404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:49:16] local.INFO: Packet analysis {"connection_id":123404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:49:16] local.INFO: Extracted packet for processing {"connection_id":123404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:49:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 16:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511965440001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:49:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:49:16] 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-07-05 16:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783250166000,"timestamp_ms":1783250166000,"timestamp_seconds":1783250166,"priority":1,"record_length":96,"hex_timestamp":"0000019f31fe20f0"} 
[2026-07-05 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-07-05 16:49:16] 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-07-05 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":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-05 16:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 16:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":123404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":123404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":123404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511965440001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511965440001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:49:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511965440001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":123404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:49:16] local.INFO: GPS data processed {"connection_id":123404,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:49:16] local.INFO: Acknowledgment sent {"connection_id":123404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:49:20] local.INFO: TCP Data received {"connection_id":123404,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:49:20] local.INFO: Processing buffer {"connection_id":123404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:49:20] local.INFO: Packet analysis {"connection_id":123404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:49:20] local.INFO: Extracted packet for processing {"connection_id":123404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511965440001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:49:20] 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-07-05 16:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783250166000,"timestamp_ms":1783250166000,"timestamp_seconds":1783250166,"priority":1,"record_length":96,"hex_timestamp":"0000019f31fe20f0"} 
[2026-07-05 16:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:49:20] 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-07-05 16: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":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-05 16:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511965440001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511965440001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:49:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511965440001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":123404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:49:20] local.INFO: GPS data processed {"connection_id":123404,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:49:20] local.INFO: Acknowledgment sent {"connection_id":123404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:50:04] local.INFO: TCP Data received {"connection_id":124625,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:50:04] local.INFO: Processing buffer {"connection_id":124625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:50:04] local.INFO: IMEI packet received {"connection_id":124625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":124625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:50:10] local.INFO: TCP Data received {"connection_id":124625,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:50:10] local.INFO: Processing buffer {"connection_id":124625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:50:10] local.INFO: IMEI packet received {"connection_id":124625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":124625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:50:10] local.INFO: TCP Data received {"connection_id":124625,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:50:10] local.INFO: Processing buffer {"connection_id":124625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:50:10] local.INFO: Packet analysis {"connection_id":124625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:50:10] local.INFO: Extracted packet for processing {"connection_id":124625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511965440001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:50:10] 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-07-05 16:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783250166000,"timestamp_ms":1783250166000,"timestamp_seconds":1783250166,"priority":1,"record_length":96,"hex_timestamp":"0000019f31fe20f0"} 
[2026-07-05 16:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:50: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-07-05 16: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":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-05 16:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511965440001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511965440001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:50:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511965440001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":124625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:50:11] local.INFO: GPS data processed {"connection_id":124625,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:50:11] local.INFO: Acknowledgment sent {"connection_id":124625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:50:42] local.INFO: TCP Data received {"connection_id":124625,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:50:42] local.INFO: Processing buffer {"connection_id":124625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:50:42] local.INFO: Packet analysis {"connection_id":124625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:50:42] local.INFO: Extracted packet for processing {"connection_id":124625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511965440001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:50:42] 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-07-05 16:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783250166000,"timestamp_ms":1783250166000,"timestamp_seconds":1783250166,"priority":1,"record_length":96,"hex_timestamp":"0000019f31fe20f0"} 
[2026-07-05 16:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-05 16:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511965440001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511965440001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:50:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511965440001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":124625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:50:42] local.INFO: GPS data processed {"connection_id":124625,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:50:42] local.INFO: Acknowledgment sent {"connection_id":124625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:51:04] local.INFO: TCP Data received {"connection_id":124626,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:51:04] local.INFO: Processing buffer {"connection_id":124626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:51:04] local.INFO: IMEI packet received {"connection_id":124626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":124626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:51:10] local.INFO: TCP Data received {"connection_id":124626,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:51:10] local.INFO: Processing buffer {"connection_id":124626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:51:10] local.INFO: IMEI packet received {"connection_id":124626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":124626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:51:10] local.INFO: TCP Data received {"connection_id":124626,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:51:10] local.INFO: Processing buffer {"connection_id":124626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:51:10] local.INFO: Packet analysis {"connection_id":124626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:51:10] local.INFO: Extracted packet for processing {"connection_id":124626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:51:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511965440001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:51:10] 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-07-05 16:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783250166000,"timestamp_ms":1783250166000,"timestamp_seconds":1783250166,"priority":1,"record_length":96,"hex_timestamp":"0000019f31fe20f0"} 
[2026-07-05 16:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:51: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-07-05 16: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":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-05 16:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511965440001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511965440001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:51:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511965440001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":124626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:51:10] local.INFO: GPS data processed {"connection_id":124626,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:51:10] local.INFO: Acknowledgment sent {"connection_id":124626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:51:41] local.INFO: TCP Data received {"connection_id":124626,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:51:41] local.INFO: Processing buffer {"connection_id":124626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31fe20f0012cb2a24007823a980044013b2a..."} 
[2026-07-05 16:51:41] local.INFO: Packet analysis {"connection_id":124626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:51:41] local.INFO: Extracted packet for processing {"connection_id":124626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31fe"} 
[2026-07-05 16:51:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511965440001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:51:41] 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-07-05 16:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783250166000,"timestamp_ms":1783250166000,"timestamp_seconds":1783250166,"priority":1,"record_length":96,"hex_timestamp":"0000019f31fe20f0"} 
[2026-07-05 16:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":95,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-05 16:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2536,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511965440001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511965440001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:51:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511965440001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":124626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:51:41] local.INFO: GPS data processed {"connection_id":124626,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:51:41] local.INFO: Acknowledgment sent {"connection_id":124626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:51:44] local.INFO: TCP Data received {"connection_id":122627,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:51:44] local.INFO: Processing buffer {"connection_id":122627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:51:44] local.INFO: IMEI packet received {"connection_id":122627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":122627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:52:04] local.INFO: TCP Data received {"connection_id":122682,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:52:04] local.INFO: Processing buffer {"connection_id":122682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:52:04] local.INFO: IMEI packet received {"connection_id":122682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":122682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:52:09] local.INFO: TCP Data received {"connection_id":122683,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:52:09] local.INFO: Processing buffer {"connection_id":122683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:52:09] local.INFO: IMEI packet received {"connection_id":122683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":122683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:52:10] local.INFO: TCP Data received {"connection_id":122682,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:52:10] local.INFO: Processing buffer {"connection_id":122682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:52:10] local.INFO: IMEI packet received {"connection_id":122682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":122682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:52:10] local.INFO: TCP Data received {"connection_id":122682,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:52:10] local.INFO: Processing buffer {"connection_id":122682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:52:10] local.INFO: Packet analysis {"connection_id":122682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:52:10] local.INFO: Extracted packet for processing {"connection_id":122682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512042496001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:52:10] 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-07-05 16:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783250467000,"timestamp_ms":1783250467000,"timestamp_seconds":1783250467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3202b8b8"} 
[2026-07-05 16:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:52: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-07-05 16:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512042496001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512042496001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:52:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512042496001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":122682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:52:10] local.INFO: GPS data processed {"connection_id":122682,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:52:10] local.INFO: Acknowledgment sent {"connection_id":122682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:52:42] local.INFO: TCP Data received {"connection_id":122682,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:52:42] local.INFO: Processing buffer {"connection_id":122682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:52:42] local.INFO: Packet analysis {"connection_id":122682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:52:42] local.INFO: Extracted packet for processing {"connection_id":122682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:52:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512042496001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:52:42] 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-07-05 16:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783250467000,"timestamp_ms":1783250467000,"timestamp_seconds":1783250467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3202b8b8"} 
[2026-07-05 16:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:52: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-07-05 16:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512042496001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512042496001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:52:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512042496001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":122682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:52:42] local.INFO: GPS data processed {"connection_id":122682,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:52:42] local.INFO: Acknowledgment sent {"connection_id":122682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:53:10] local.INFO: TCP Data received {"connection_id":122628,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:53:10] local.INFO: Processing buffer {"connection_id":122628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:53:10] local.INFO: IMEI packet received {"connection_id":122628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":122628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:53:15] local.INFO: TCP Data received {"connection_id":122628,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:53:15] local.INFO: Processing buffer {"connection_id":122628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:53:15] local.INFO: IMEI packet received {"connection_id":122628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":122628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:53:15] local.INFO: TCP Data received {"connection_id":122628,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:53:15] local.INFO: Processing buffer {"connection_id":122628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:53:15] local.INFO: Packet analysis {"connection_id":122628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:53:15] local.INFO: Extracted packet for processing {"connection_id":122628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:53:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512042496001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:53:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:53:15] 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-07-05 16:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783250467000,"timestamp_ms":1783250467000,"timestamp_seconds":1783250467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3202b8b8"} 
[2026-07-05 16:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512042496001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512042496001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:53:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:53:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512042496001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":122628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:53:15] local.INFO: GPS data processed {"connection_id":122628,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:53:15] local.INFO: Acknowledgment sent {"connection_id":122628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:53:20] local.INFO: TCP Data received {"connection_id":122628,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:53:20] local.INFO: Processing buffer {"connection_id":122628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:53:20] local.INFO: Packet analysis {"connection_id":122628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:53:20] local.INFO: Extracted packet for processing {"connection_id":122628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:53:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512042496001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:53:20] 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-07-05 16:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783250467000,"timestamp_ms":1783250467000,"timestamp_seconds":1783250467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3202b8b8"} 
[2026-07-05 16:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512042496001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512042496001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:53:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512042496001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":122628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:53:20] local.INFO: GPS data processed {"connection_id":122628,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:53:20] local.INFO: Acknowledgment sent {"connection_id":122628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:54:05] local.INFO: TCP Data received {"connection_id":123405,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:54:05] local.INFO: Processing buffer {"connection_id":123405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:54:05] local.INFO: IMEI packet received {"connection_id":123405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":123405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:54:10] local.INFO: TCP Data received {"connection_id":123405,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:54:10] local.INFO: Processing buffer {"connection_id":123405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:54:10] local.INFO: IMEI packet received {"connection_id":123405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":123405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:54:10] local.INFO: TCP Data received {"connection_id":123405,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:54:10] local.INFO: Processing buffer {"connection_id":123405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:54:10] local.INFO: Packet analysis {"connection_id":123405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:54:10] local.INFO: Extracted packet for processing {"connection_id":123405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512042496001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:54:10] 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-07-05 16:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783250467000,"timestamp_ms":1783250467000,"timestamp_seconds":1783250467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3202b8b8"} 
[2026-07-05 16:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:54: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-07-05 16: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512042496001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512042496001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:54:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512042496001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":123405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:54:10] local.INFO: GPS data processed {"connection_id":123405,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:54:10] local.INFO: Acknowledgment sent {"connection_id":123405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:54:41] local.INFO: TCP Data received {"connection_id":123405,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:54:41] local.INFO: Processing buffer {"connection_id":123405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:54:41] local.INFO: Packet analysis {"connection_id":123405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:54:41] local.INFO: Extracted packet for processing {"connection_id":123405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512042496001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:54:41] 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-07-05 16:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783250467000,"timestamp_ms":1783250467000,"timestamp_seconds":1783250467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3202b8b8"} 
[2026-07-05 16:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:54: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-07-05 16: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-07-05 16:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512042496001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512042496001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:54:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512042496001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":123405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:54:41] local.INFO: GPS data processed {"connection_id":123405,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:54:41] local.INFO: Acknowledgment sent {"connection_id":123405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:55:04] local.INFO: TCP Data received {"connection_id":124629,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:55:04] local.INFO: Processing buffer {"connection_id":124629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:55:04] local.INFO: IMEI packet received {"connection_id":124629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":124629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:55:10] local.INFO: TCP Data received {"connection_id":124629,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:55:10] local.INFO: Processing buffer {"connection_id":124629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:55:10] local.INFO: IMEI packet received {"connection_id":124629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":124629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:55:10] local.INFO: TCP Data received {"connection_id":124629,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:55:10] local.INFO: Processing buffer {"connection_id":124629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:55:10] local.INFO: Packet analysis {"connection_id":124629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:55:10] local.INFO: Extracted packet for processing {"connection_id":124629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:55:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512042496001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:55:10] 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-07-05 16:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783250467000,"timestamp_ms":1783250467000,"timestamp_seconds":1783250467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3202b8b8"} 
[2026-07-05 16:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:55: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-07-05 16:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512042496001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512042496001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512042496001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":124629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:55:10] local.INFO: GPS data processed {"connection_id":124629,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:55:10] local.INFO: Acknowledgment sent {"connection_id":124629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:55:41] local.INFO: TCP Data received {"connection_id":124629,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:55:41] local.INFO: Processing buffer {"connection_id":124629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:55:41] local.INFO: Packet analysis {"connection_id":124629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:55:41] local.INFO: Extracted packet for processing {"connection_id":124629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:55:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512042496001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:55:41] 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-07-05 16:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783250467000,"timestamp_ms":1783250467000,"timestamp_seconds":1783250467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3202b8b8"} 
[2026-07-05 16:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:55: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-07-05 16: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-07-05 16:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512042496001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512042496001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512042496001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":124629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:55:42] local.INFO: GPS data processed {"connection_id":124629,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:55:42] local.INFO: Acknowledgment sent {"connection_id":124629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:56:04] local.INFO: TCP Data received {"connection_id":123406,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:56:04] local.INFO: Processing buffer {"connection_id":123406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:56:04] local.INFO: IMEI packet received {"connection_id":123406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":123406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:56:10] local.INFO: TCP Data received {"connection_id":123406,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:56:10] local.INFO: Processing buffer {"connection_id":123406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:56:10] local.INFO: IMEI packet received {"connection_id":123406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":123406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:56:10] local.INFO: TCP Data received {"connection_id":123406,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:56:10] local.INFO: Processing buffer {"connection_id":123406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:56:10] local.INFO: Packet analysis {"connection_id":123406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:56:10] local.INFO: Extracted packet for processing {"connection_id":123406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512042496001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:56:10] 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-07-05 16:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783250467000,"timestamp_ms":1783250467000,"timestamp_seconds":1783250467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3202b8b8"} 
[2026-07-05 16:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:56: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-07-05 16:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512042496001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512042496001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:56:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512042496001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":123406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:56:10] local.INFO: GPS data processed {"connection_id":123406,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:56:10] local.INFO: Acknowledgment sent {"connection_id":123406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:56:41] local.INFO: TCP Data received {"connection_id":123406,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:56:41] local.INFO: Processing buffer {"connection_id":123406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3202b8b8012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:56:41] local.INFO: Packet analysis {"connection_id":123406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:56:41] local.INFO: Extracted packet for processing {"connection_id":123406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3202"} 
[2026-07-05 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512042496001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:56:41] 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-07-05 16:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783250467000,"timestamp_ms":1783250467000,"timestamp_seconds":1783250467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3202b8b8"} 
[2026-07-05 16:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 16:56: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-07-05 16: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-07-05 16:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512042496001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512042496001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:56:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512042496001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":123406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:56:41] local.INFO: GPS data processed {"connection_id":123406,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:56:41] local.INFO: Acknowledgment sent {"connection_id":123406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:57:04] local.INFO: TCP Data received {"connection_id":122630,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:57:04] local.INFO: Processing buffer {"connection_id":122630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:57:04] local.INFO: IMEI packet received {"connection_id":122630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":122630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:57:10] local.INFO: TCP Data received {"connection_id":122630,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:57:10] local.INFO: Processing buffer {"connection_id":122630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:57:10] local.INFO: IMEI packet received {"connection_id":122630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":122630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:57:11] local.INFO: TCP Data received {"connection_id":122630,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:57:11] local.INFO: Processing buffer {"connection_id":122630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:57:11] local.INFO: Packet analysis {"connection_id":122630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:57:11] local.INFO: Extracted packet for processing {"connection_id":122630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512119552001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:57:11] 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-07-05 16:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783250768000,"timestamp_ms":1783250768000,"timestamp_seconds":1783250768,"priority":1,"record_length":96,"hex_timestamp":"0000019f32075080"} 
[2026-07-05 16:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512119552001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512119552001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:57:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512119552001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":122630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:57:11] local.INFO: GPS data processed {"connection_id":122630,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:57:11] local.INFO: Acknowledgment sent {"connection_id":122630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:57:39] local.INFO: TCP Data received {"connection_id":123407,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:57:39] local.INFO: Processing buffer {"connection_id":123407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:57:39] local.INFO: IMEI packet received {"connection_id":123407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":123407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:57:42] local.INFO: TCP Data received {"connection_id":122630,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:57:42] local.INFO: Processing buffer {"connection_id":122630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:57:42] local.INFO: Packet analysis {"connection_id":122630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:57:42] local.INFO: Extracted packet for processing {"connection_id":122630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512119552001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:57:42] 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-07-05 16:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783250768000,"timestamp_ms":1783250768000,"timestamp_seconds":1783250768,"priority":1,"record_length":96,"hex_timestamp":"0000019f32075080"} 
[2026-07-05 16:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16: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-07-05 16: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-07-05 16:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512119552001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512119552001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:57:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512119552001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":122630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:57:42] local.INFO: GPS data processed {"connection_id":122630,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:57:42] local.INFO: Acknowledgment sent {"connection_id":122630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:58:04] local.INFO: TCP Data received {"connection_id":124631,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:58:04] local.INFO: Processing buffer {"connection_id":124631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 16:58:04] local.INFO: IMEI packet received {"connection_id":124631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 16:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":124631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:58:10] local.INFO: TCP Data received {"connection_id":123408,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:58:10] local.INFO: Processing buffer {"connection_id":123408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:58:10] local.INFO: IMEI packet received {"connection_id":123408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":123408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:58:15] local.INFO: TCP Data received {"connection_id":123408,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:58:15] local.INFO: Processing buffer {"connection_id":123408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:58:15] local.INFO: IMEI packet received {"connection_id":123408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":123408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:58:15] local.INFO: TCP Data received {"connection_id":123408,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:58:15] local.INFO: Processing buffer {"connection_id":123408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:58:15] local.INFO: Packet analysis {"connection_id":123408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:58:15] local.INFO: Extracted packet for processing {"connection_id":123408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:58:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512119552001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:58:15] 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-07-05 16:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783250768000,"timestamp_ms":1783250768000,"timestamp_seconds":1783250768,"priority":1,"record_length":96,"hex_timestamp":"0000019f32075080"} 
[2026-07-05 16:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:58:15] 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-07-05 16:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512119552001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512119552001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:58:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:58:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:58:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512119552001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":123408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":435999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:58:15] local.INFO: GPS data processed {"connection_id":123408,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:58:15] local.INFO: Acknowledgment sent {"connection_id":123408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:58:20] local.INFO: TCP Data received {"connection_id":123408,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:58:20] local.INFO: Processing buffer {"connection_id":123408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:58:20] local.INFO: Packet analysis {"connection_id":123408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:58:20] local.INFO: Extracted packet for processing {"connection_id":123408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:58:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16: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-07-05 16:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512119552001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:58:20] 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-07-05 16:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783250768000,"timestamp_ms":1783250768000,"timestamp_seconds":1783250768,"priority":1,"record_length":96,"hex_timestamp":"0000019f32075080"} 
[2026-07-05 16:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:58:20] 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-07-05 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16: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-07-05 16:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512119552001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512119552001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:58:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512119552001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":123408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:58:20] local.INFO: GPS data processed {"connection_id":123408,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:58:20] local.INFO: Acknowledgment sent {"connection_id":123408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:59:05] local.INFO: TCP Data received {"connection_id":124632,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:59:05] local.INFO: Processing buffer {"connection_id":124632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:59:05] local.INFO: IMEI packet received {"connection_id":124632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 16:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":124632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 16:59:10] local.INFO: TCP Data received {"connection_id":124632,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:59:10] local.INFO: Processing buffer {"connection_id":124632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 16:59:10] local.INFO: IMEI packet received {"connection_id":124632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 16:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":124632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 16:59:10] local.INFO: TCP Data received {"connection_id":124632,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:59:10] local.INFO: Processing buffer {"connection_id":124632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:59:10] local.INFO: Packet analysis {"connection_id":124632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:59:10] local.INFO: Extracted packet for processing {"connection_id":124632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512119552001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:59:10] 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-07-05 16:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783250768000,"timestamp_ms":1783250768000,"timestamp_seconds":1783250768,"priority":1,"record_length":96,"hex_timestamp":"0000019f32075080"} 
[2026-07-05 16:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:59: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-07-05 16:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512119552001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512119552001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:59:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512119552001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":124632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:59:10] local.INFO: GPS data processed {"connection_id":124632,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:59:10] local.INFO: Acknowledgment sent {"connection_id":124632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 16:59:41] local.INFO: TCP Data received {"connection_id":124632,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:59:41] local.INFO: Processing buffer {"connection_id":124632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 16:59:41] local.INFO: Packet analysis {"connection_id":124632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:59:41] local.INFO: Extracted packet for processing {"connection_id":124632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 16:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 16:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 16:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512119552001,"note":"Value kept but may cause issues"} 
[2026-07-05 16:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 16:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 16:59:41] 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-07-05 16:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783250768000,"timestamp_ms":1783250768000,"timestamp_seconds":1783250768,"priority":1,"record_length":96,"hex_timestamp":"0000019f32075080"} 
[2026-07-05 16:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 16:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 16:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 16:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 16:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 16:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 16:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 16:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 16:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 16:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 16:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 16:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 16:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512119552001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 16:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 16:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 16:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512119552001,"description":"Unknown IO ID 0"} 
[2026-07-05 16:59:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 16:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 16:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 16:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 16:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512119552001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 16:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":124632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 16:59:41] local.INFO: GPS data processed {"connection_id":124632,"processed":1,"errors":0,"total":1} 
[2026-07-05 16:59:41] local.INFO: Acknowledgment sent {"connection_id":124632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:00:04] local.INFO: TCP Data received {"connection_id":122631,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:00:04] local.INFO: Processing buffer {"connection_id":122631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:00:04] local.INFO: IMEI packet received {"connection_id":122631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":122631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:00:10] local.INFO: TCP Data received {"connection_id":122631,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:00:10] local.INFO: Processing buffer {"connection_id":122631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:00:10] local.INFO: IMEI packet received {"connection_id":122631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":122631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:00:10] local.INFO: TCP Data received {"connection_id":122631,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:00:10] local.INFO: Processing buffer {"connection_id":122631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:00:10] local.INFO: Packet analysis {"connection_id":122631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 17:00:10] local.INFO: Extracted packet for processing {"connection_id":122631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 17:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512119552001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:00:10] 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-07-05 17:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783250768000,"timestamp_ms":1783250768000,"timestamp_seconds":1783250768,"priority":1,"record_length":96,"hex_timestamp":"0000019f32075080"} 
[2026-07-05 17:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:00: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-07-05 17:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512119552001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512119552001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:00:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512119552001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":122631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:00:10] local.INFO: GPS data processed {"connection_id":122631,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:00:10] local.INFO: Acknowledgment sent {"connection_id":122631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:00:41] local.INFO: TCP Data received {"connection_id":122631,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:00:41] local.INFO: Processing buffer {"connection_id":122631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:00:41] local.INFO: Packet analysis {"connection_id":122631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 17:00:41] local.INFO: Extracted packet for processing {"connection_id":122631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512119552001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:00:41] 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-07-05 17:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783250768000,"timestamp_ms":1783250768000,"timestamp_seconds":1783250768,"priority":1,"record_length":96,"hex_timestamp":"0000019f32075080"} 
[2026-07-05 17:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17: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-07-05 17:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512119552001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512119552001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:00:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512119552001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":122631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:00:41] local.INFO: GPS data processed {"connection_id":122631,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:00:41] local.INFO: Acknowledgment sent {"connection_id":122631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:01:04] local.INFO: TCP Data received {"connection_id":124633,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:01:04] local.INFO: Processing buffer {"connection_id":124633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:01:04] local.INFO: IMEI packet received {"connection_id":124633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":124633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:01:10] local.INFO: TCP Data received {"connection_id":124633,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:01:10] local.INFO: Processing buffer {"connection_id":124633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:01:10] local.INFO: IMEI packet received {"connection_id":124633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":124633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:01:10] local.INFO: TCP Data received {"connection_id":124633,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:01:10] local.INFO: Processing buffer {"connection_id":124633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:01:10] local.INFO: Packet analysis {"connection_id":124633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 17:01:10] local.INFO: Extracted packet for processing {"connection_id":124633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 17:01:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512119552001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:01:10] 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-07-05 17:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783250768000,"timestamp_ms":1783250768000,"timestamp_seconds":1783250768,"priority":1,"record_length":96,"hex_timestamp":"0000019f32075080"} 
[2026-07-05 17:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:01: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-07-05 17:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512119552001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512119552001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:01:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512119552001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":124633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:01:10] local.INFO: GPS data processed {"connection_id":124633,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:01:10] local.INFO: Acknowledgment sent {"connection_id":124633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:01:42] local.INFO: TCP Data received {"connection_id":124633,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:01:42] local.INFO: Processing buffer {"connection_id":124633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32075080012cb2a24007823a980044013b2e..."} 
[2026-07-05 17:01:42] local.INFO: Packet analysis {"connection_id":124633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 17:01:42] local.INFO: Extracted packet for processing {"connection_id":124633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3207"} 
[2026-07-05 17:01:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512119552001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:01:42] 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-07-05 17:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783250768000,"timestamp_ms":1783250768000,"timestamp_seconds":1783250768,"priority":1,"record_length":96,"hex_timestamp":"0000019f32075080"} 
[2026-07-05 17:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512119552001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512119552001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512119552001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":124633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:01:42] local.INFO: GPS data processed {"connection_id":124633,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:01:42] local.INFO: Acknowledgment sent {"connection_id":124633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:02:10] local.INFO: TCP Data received {"connection_id":123411,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:02:10] local.INFO: Processing buffer {"connection_id":123411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:02:10] local.INFO: IMEI packet received {"connection_id":123411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":123411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:02:15] local.INFO: TCP Data received {"connection_id":123411,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:02:15] local.INFO: Processing buffer {"connection_id":123411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:02:15] local.INFO: IMEI packet received {"connection_id":123411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":123411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:02:15] local.INFO: TCP Data received {"connection_id":123411,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:02:15] local.INFO: Processing buffer {"connection_id":123411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:02:15] local.INFO: Packet analysis {"connection_id":123411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:02:15] local.INFO: Extracted packet for processing {"connection_id":123411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:02:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512196608001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:02:15] 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-07-05 17:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783251069000,"timestamp_ms":1783251069000,"timestamp_seconds":1783251069,"priority":1,"record_length":96,"hex_timestamp":"0000019f320be848"} 
[2026-07-05 17:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:02:15] 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-07-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512196608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512196608001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:02:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:02:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512196608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":123411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:02:15] local.INFO: GPS data processed {"connection_id":123411,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:02:15] local.INFO: Acknowledgment sent {"connection_id":123411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:02:46] local.INFO: TCP Data received {"connection_id":123411,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:02:46] local.INFO: Processing buffer {"connection_id":123411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:02:46] local.INFO: Packet analysis {"connection_id":123411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:02:46] local.INFO: Extracted packet for processing {"connection_id":123411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:02:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512196608001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:02:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:02:46] 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-07-05 17:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783251069000,"timestamp_ms":1783251069000,"timestamp_seconds":1783251069,"priority":1,"record_length":96,"hex_timestamp":"0000019f320be848"} 
[2026-07-05 17:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:02: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-07-05 17: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-07-05 17:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":123411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":123411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":123411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512196608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512196608001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:02:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:02:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:02:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512196608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":123411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:02:46] local.INFO: GPS data processed {"connection_id":123411,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:02:46] local.INFO: Acknowledgment sent {"connection_id":123411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:03:05] local.INFO: TCP Data received {"connection_id":122632,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:03:05] local.INFO: Processing buffer {"connection_id":122632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:03:05] local.INFO: IMEI packet received {"connection_id":122632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":122632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:03:10] local.INFO: TCP Data received {"connection_id":122632,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:03:10] local.INFO: Processing buffer {"connection_id":122632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:03:10] local.INFO: IMEI packet received {"connection_id":122632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":122632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:03:10] local.INFO: TCP Data received {"connection_id":122632,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:03:10] local.INFO: Processing buffer {"connection_id":122632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:03:10] local.INFO: Packet analysis {"connection_id":122632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:03:10] local.INFO: Extracted packet for processing {"connection_id":122632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512196608001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:03:10] 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-07-05 17:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251069000,"timestamp_ms":1783251069000,"timestamp_seconds":1783251069,"priority":1,"record_length":96,"hex_timestamp":"0000019f320be848"} 
[2026-07-05 17:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:03: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-07-05 17:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512196608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512196608001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:03:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512196608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":122632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:03:10] local.INFO: GPS data processed {"connection_id":122632,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:03:10] local.INFO: Acknowledgment sent {"connection_id":122632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:03:34] local.INFO: TCP Data received {"connection_id":124634,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:03:34] local.INFO: Processing buffer {"connection_id":124634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:03:34] local.INFO: IMEI packet received {"connection_id":124634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":124634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:03:41] local.INFO: TCP Data received {"connection_id":122632,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:03:41] local.INFO: Processing buffer {"connection_id":122632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:03:41] local.INFO: Packet analysis {"connection_id":122632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:03:41] local.INFO: Extracted packet for processing {"connection_id":122632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512196608001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:03:41] 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-07-05 17:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783251069000,"timestamp_ms":1783251069000,"timestamp_seconds":1783251069,"priority":1,"record_length":96,"hex_timestamp":"0000019f320be848"} 
[2026-07-05 17:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:03: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-07-05 17: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-07-05 17:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512196608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512196608001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:03:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512196608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":122632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:03:41] local.INFO: GPS data processed {"connection_id":122632,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:03:41] local.INFO: Acknowledgment sent {"connection_id":122632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:04:04] local.INFO: TCP Data received {"connection_id":123412,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:04:04] local.INFO: Processing buffer {"connection_id":123412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:04:04] local.INFO: IMEI packet received {"connection_id":123412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":123412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:04:04] local.INFO: TCP Data received {"connection_id":122633,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:04:04] local.INFO: Processing buffer {"connection_id":122633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:04:04] local.INFO: IMEI packet received {"connection_id":122633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":122633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:04:09] local.INFO: TCP Data received {"connection_id":123412,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:04:09] local.INFO: Processing buffer {"connection_id":123412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:04:09] local.INFO: IMEI packet received {"connection_id":123412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 17:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":123412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:04:10] local.INFO: TCP Data received {"connection_id":122633,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:04:10] local.INFO: Processing buffer {"connection_id":122633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:04:10] local.INFO: IMEI packet received {"connection_id":122633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":122633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:04:10] local.INFO: TCP Data received {"connection_id":123412,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f31e378b8012cb2a10007823b380045000025..."} 
[2026-07-05 17:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f31e378b8012cb2a10007823b380045000025..."} 
[2026-07-05 17:04:10] local.INFO: Processing buffer {"connection_id":123412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f31e378b8012cb2a10007823b380045000025..."} 
[2026-07-05 17:04:10] local.INFO: Packet analysis {"connection_id":123412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f31e3"} 
[2026-07-05 17:04:10] local.INFO: Extracted packet for processing {"connection_id":123412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f31e3"} 
[2026-07-05 17:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":69,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 17:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456511518208001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 17:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 17:04:10] 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-07-05 17:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783248419000,"timestamp_ms":1783248419000,"timestamp_seconds":1783248419,"priority":1,"record_length":96,"hex_timestamp":"0000019f31e378b8"} 
[2026-07-05 17:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-05 17:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 17:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 17:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 17:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 17:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456511518208001,"66":25147,"184":206,"85":36096,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 17:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 17:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456511518208001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:04:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 17:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456511518208001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 17:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":123412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:04:10] local.INFO: GPS data processed {"connection_id":123412,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:04:10] local.INFO: Acknowledgment sent {"connection_id":123412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:04:10] local.INFO: TCP Data received {"connection_id":122633,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:04:10] local.INFO: Processing buffer {"connection_id":122633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:04:10] local.INFO: Packet analysis {"connection_id":122633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:04:10] local.INFO: Extracted packet for processing {"connection_id":122633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512196608001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:04:10] 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-07-05 17:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251069000,"timestamp_ms":1783251069000,"timestamp_seconds":1783251069,"priority":1,"record_length":96,"hex_timestamp":"0000019f320be848"} 
[2026-07-05 17:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:04: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-07-05 17:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512196608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512196608001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:04:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512196608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":122633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:04:10] local.INFO: GPS data processed {"connection_id":122633,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:04:10] local.INFO: Acknowledgment sent {"connection_id":122633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:04:41] local.INFO: TCP Data received {"connection_id":122633,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:04:41] local.INFO: Processing buffer {"connection_id":122633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:04:41] local.INFO: Packet analysis {"connection_id":122633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:04:41] local.INFO: Extracted packet for processing {"connection_id":122633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512196608001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:04:41] 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-07-05 17:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783251069000,"timestamp_ms":1783251069000,"timestamp_seconds":1783251069,"priority":1,"record_length":96,"hex_timestamp":"0000019f320be848"} 
[2026-07-05 17:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17: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-07-05 17: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-07-05 17:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512196608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512196608001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:04:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512196608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":122633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:04:41] local.INFO: GPS data processed {"connection_id":122633,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:04:41] local.INFO: Acknowledgment sent {"connection_id":122633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:04:54] local.INFO: TCP Data received {"connection_id":122634,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:04:54] local.INFO: Processing buffer {"connection_id":122634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:04:54] local.INFO: IMEI packet received {"connection_id":122634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":122634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:05:04] local.INFO: TCP Data received {"connection_id":123413,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:05:04] local.INFO: Processing buffer {"connection_id":123413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:05:04] local.INFO: IMEI packet received {"connection_id":123413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":123413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:05:10] local.INFO: TCP Data received {"connection_id":123413,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:05:10] local.INFO: Processing buffer {"connection_id":123413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:05:10] local.INFO: IMEI packet received {"connection_id":123413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":123413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:05:10] local.INFO: TCP Data received {"connection_id":123413,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:05:10] local.INFO: Processing buffer {"connection_id":123413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:05:10] local.INFO: Packet analysis {"connection_id":123413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:05:10] local.INFO: Extracted packet for processing {"connection_id":123413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:05:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512196608001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:05:10] 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-07-05 17:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251069000,"timestamp_ms":1783251069000,"timestamp_seconds":1783251069,"priority":1,"record_length":96,"hex_timestamp":"0000019f320be848"} 
[2026-07-05 17:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:05: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-07-05 17:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512196608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512196608001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:05:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512196608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":123413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:05:10] local.INFO: GPS data processed {"connection_id":123413,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:05:10] local.INFO: Acknowledgment sent {"connection_id":123413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:05:41] local.INFO: TCP Data received {"connection_id":123413,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:05:41] local.INFO: Processing buffer {"connection_id":123413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:05:41] local.INFO: Packet analysis {"connection_id":123413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:05:41] local.INFO: Extracted packet for processing {"connection_id":123413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:05:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512196608001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:05:41] 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-07-05 17:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783251069000,"timestamp_ms":1783251069000,"timestamp_seconds":1783251069,"priority":1,"record_length":96,"hex_timestamp":"0000019f320be848"} 
[2026-07-05 17:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17: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-07-05 17: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-07-05 17:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512196608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512196608001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:05:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512196608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":123413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:05:42] local.INFO: GPS data processed {"connection_id":123413,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:05:42] local.INFO: Acknowledgment sent {"connection_id":123413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:06:04] local.INFO: TCP Data received {"connection_id":124635,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:06:04] local.INFO: Processing buffer {"connection_id":124635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:06:04] local.INFO: IMEI packet received {"connection_id":124635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":124635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:06:10] local.INFO: TCP Data received {"connection_id":123414,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:06:10] local.INFO: Processing buffer {"connection_id":123414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:06:10] local.INFO: IMEI packet received {"connection_id":123414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":123414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:06:15] local.INFO: TCP Data received {"connection_id":123414,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:06:15] local.INFO: Processing buffer {"connection_id":123414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:06:15] local.INFO: IMEI packet received {"connection_id":123414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":123414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:06:15] local.INFO: TCP Data received {"connection_id":123414,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:06:15] local.INFO: Processing buffer {"connection_id":123414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:06:15] local.INFO: Packet analysis {"connection_id":123414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:06:15] local.INFO: Extracted packet for processing {"connection_id":123414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:06:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:06: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-07-05 17:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512196608001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:06:15] 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-07-05 17:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783251069000,"timestamp_ms":1783251069000,"timestamp_seconds":1783251069,"priority":1,"record_length":96,"hex_timestamp":"0000019f320be848"} 
[2026-07-05 17:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:06:15] 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-07-05 17:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:06: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-07-05 17:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512196608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512196608001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:06:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:06:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512196608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":123414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:06:15] local.INFO: GPS data processed {"connection_id":123414,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:06:15] local.INFO: Acknowledgment sent {"connection_id":123414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:06:20] local.INFO: TCP Data received {"connection_id":123414,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:06:20] local.INFO: Processing buffer {"connection_id":123414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f320be848012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:06:20] local.INFO: Packet analysis {"connection_id":123414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:06:20] local.INFO: Extracted packet for processing {"connection_id":123414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f320b"} 
[2026-07-05 17:06:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512196608001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:06:20] 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-07-05 17:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783251069000,"timestamp_ms":1783251069000,"timestamp_seconds":1783251069,"priority":1,"record_length":96,"hex_timestamp":"0000019f320be848"} 
[2026-07-05 17:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:06:20] 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-07-05 17:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512196608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512196608001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:06:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512196608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":123414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:06:20] local.INFO: GPS data processed {"connection_id":123414,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:06:20] local.INFO: Acknowledgment sent {"connection_id":123414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:07:04] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:07:04] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:07:04] local.INFO: IMEI packet received {"connection_id":124637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":124637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:07:10] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:07:10] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:07:10] local.INFO: IMEI packet received {"connection_id":124637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":124637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:07:10] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:07:10] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:07:10] local.INFO: Packet analysis {"connection_id":124637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:07:10] local.INFO: Extracted packet for processing {"connection_id":124637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512273664001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:07:10] 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-07-05 17:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251370000,"timestamp_ms":1783251370000,"timestamp_seconds":1783251370,"priority":1,"record_length":96,"hex_timestamp":"0000019f32108010"} 
[2026-07-05 17:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:07: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-07-05 17:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512273664001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512273664001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:07:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512273664001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":124637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:07:10] local.INFO: GPS data processed {"connection_id":124637,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:07:10] local.INFO: Acknowledgment sent {"connection_id":124637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:07:42] local.INFO: TCP Data received {"connection_id":124637,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:07:42] local.INFO: Processing buffer {"connection_id":124637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:07:42] local.INFO: Packet analysis {"connection_id":124637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:07:42] local.INFO: Extracted packet for processing {"connection_id":124637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:07:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512273664001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:07:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:07:42] 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-07-05 17:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783251370000,"timestamp_ms":1783251370000,"timestamp_seconds":1783251370,"priority":1,"record_length":96,"hex_timestamp":"0000019f32108010"} 
[2026-07-05 17:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512273664001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512273664001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:07:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:07:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512273664001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":124637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:07:42] local.INFO: GPS data processed {"connection_id":124637,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:07:42] local.INFO: Acknowledgment sent {"connection_id":124637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:08:04] local.INFO: TCP Data received {"connection_id":122635,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:08:04] local.INFO: Processing buffer {"connection_id":122635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:08:04] local.INFO: IMEI packet received {"connection_id":122635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":122635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:08:10] local.INFO: TCP Data received {"connection_id":122635,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:08:10] local.INFO: Processing buffer {"connection_id":122635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:08:10] local.INFO: IMEI packet received {"connection_id":122635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":122635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:08:10] local.INFO: TCP Data received {"connection_id":122635,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:08:10] local.INFO: Processing buffer {"connection_id":122635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:08:10] local.INFO: Packet analysis {"connection_id":122635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:08:10] local.INFO: Extracted packet for processing {"connection_id":122635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512273664001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:08:10] 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-07-05 17:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251370000,"timestamp_ms":1783251370000,"timestamp_seconds":1783251370,"priority":1,"record_length":96,"hex_timestamp":"0000019f32108010"} 
[2026-07-05 17:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:08: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-07-05 17:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512273664001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512273664001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:08:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512273664001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":122635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:08:10] local.INFO: GPS data processed {"connection_id":122635,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:08:10] local.INFO: Acknowledgment sent {"connection_id":122635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:08:41] local.INFO: TCP Data received {"connection_id":122635,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:08:41] local.INFO: Processing buffer {"connection_id":122635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:08:41] local.INFO: Packet analysis {"connection_id":122635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:08:41] local.INFO: Extracted packet for processing {"connection_id":122635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512273664001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:08:41] 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-07-05 17:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783251370000,"timestamp_ms":1783251370000,"timestamp_seconds":1783251370,"priority":1,"record_length":96,"hex_timestamp":"0000019f32108010"} 
[2026-07-05 17:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17: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-07-05 17: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-07-05 17:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512273664001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512273664001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:08:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512273664001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":122635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:08:41] local.INFO: GPS data processed {"connection_id":122635,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:08:41] local.INFO: Acknowledgment sent {"connection_id":122635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:09:04] local.INFO: TCP Data received {"connection_id":122687,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:09:04] local.INFO: Processing buffer {"connection_id":122687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:09:04] local.INFO: IMEI packet received {"connection_id":122687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":122687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:09:10] local.INFO: TCP Data received {"connection_id":122687,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:09:10] local.INFO: Processing buffer {"connection_id":122687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:09:10] local.INFO: IMEI packet received {"connection_id":122687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":122687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:09:10] local.INFO: TCP Data received {"connection_id":122687,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:09:10] local.INFO: Processing buffer {"connection_id":122687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:09:10] local.INFO: Packet analysis {"connection_id":122687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:09:10] local.INFO: Extracted packet for processing {"connection_id":122687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512273664001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:09:10] 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-07-05 17:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251370000,"timestamp_ms":1783251370000,"timestamp_seconds":1783251370,"priority":1,"record_length":96,"hex_timestamp":"0000019f32108010"} 
[2026-07-05 17:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:09: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-07-05 17:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512273664001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512273664001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:09:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512273664001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":122687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:09:11] local.INFO: GPS data processed {"connection_id":122687,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:09:11] local.INFO: Acknowledgment sent {"connection_id":122687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:09:56] local.INFO: TCP Data received {"connection_id":122687,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:09:56] local.INFO: Processing buffer {"connection_id":122687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:09:56] local.INFO: Packet analysis {"connection_id":122687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:09:56] local.INFO: Extracted packet for processing {"connection_id":122687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:09:56] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512273664001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:09:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:09:56] 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-07-05 17:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783251370000,"timestamp_ms":1783251370000,"timestamp_seconds":1783251370,"priority":1,"record_length":96,"hex_timestamp":"0000019f32108010"} 
[2026-07-05 17:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:09:56] 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-07-05 17:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512273664001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512273664001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:09:56] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:09:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512273664001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":122687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:09:56] local.INFO: GPS data processed {"connection_id":122687,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:09:56] local.INFO: Acknowledgment sent {"connection_id":122687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:10:09] local.INFO: TCP Data received {"connection_id":122689,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:10:09] local.INFO: Processing buffer {"connection_id":122689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:10:09] local.INFO: IMEI packet received {"connection_id":122689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":122689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:10:15] local.INFO: TCP Data received {"connection_id":122689,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:10:15] local.INFO: Processing buffer {"connection_id":122689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:10:15] local.INFO: IMEI packet received {"connection_id":122689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":122689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:10:16] local.INFO: TCP Data received {"connection_id":122689,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:10:16] local.INFO: Processing buffer {"connection_id":122689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:10:16] local.INFO: Packet analysis {"connection_id":122689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:10:16] local.INFO: Extracted packet for processing {"connection_id":122689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:10:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512273664001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:10:16] 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-07-05 17:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783251370000,"timestamp_ms":1783251370000,"timestamp_seconds":1783251370,"priority":1,"record_length":96,"hex_timestamp":"0000019f32108010"} 
[2026-07-05 17:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:10:16] 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-07-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512273664001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512273664001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:10:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512273664001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":122689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:10:16] local.INFO: GPS data processed {"connection_id":122689,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:10:16] local.INFO: Acknowledgment sent {"connection_id":122689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:10:47] local.INFO: TCP Data received {"connection_id":122689,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:10:47] local.INFO: Processing buffer {"connection_id":122689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:10:47] local.INFO: Packet analysis {"connection_id":122689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:10:47] local.INFO: Extracted packet for processing {"connection_id":122689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:10:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512273664001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:10:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:10:47] 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-07-05 17:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783251370000,"timestamp_ms":1783251370000,"timestamp_seconds":1783251370,"priority":1,"record_length":96,"hex_timestamp":"0000019f32108010"} 
[2026-07-05 17:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512273664001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512273664001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:10:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:10:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512273664001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":122689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:10:47] local.INFO: GPS data processed {"connection_id":122689,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:10:47] local.INFO: Acknowledgment sent {"connection_id":122689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:11:05] local.INFO: TCP Data received {"connection_id":124639,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:11:05] local.INFO: Processing buffer {"connection_id":124639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:11:05] local.INFO: IMEI packet received {"connection_id":124639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":124639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:11:09] local.INFO: TCP Data received {"connection_id":122690,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:11:09] local.INFO: Processing buffer {"connection_id":122690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:11:09] local.INFO: IMEI packet received {"connection_id":122690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":122690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:11:10] local.INFO: TCP Data received {"connection_id":124639,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:11:10] local.INFO: Processing buffer {"connection_id":124639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:11:10] local.INFO: IMEI packet received {"connection_id":124639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":124639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:11:10] local.INFO: TCP Data received {"connection_id":124639,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:11:10] local.INFO: Processing buffer {"connection_id":124639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:11:10] local.INFO: Packet analysis {"connection_id":124639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:11:10] local.INFO: Extracted packet for processing {"connection_id":124639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:11:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512273664001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:11:10] 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-07-05 17:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251370000,"timestamp_ms":1783251370000,"timestamp_seconds":1783251370,"priority":1,"record_length":96,"hex_timestamp":"0000019f32108010"} 
[2026-07-05 17:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:11: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-07-05 17:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512273664001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512273664001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:11:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512273664001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":124639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:11:10] local.INFO: GPS data processed {"connection_id":124639,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:11:10] local.INFO: Acknowledgment sent {"connection_id":124639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:11:42] local.INFO: TCP Data received {"connection_id":124639,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:11:42] local.INFO: Processing buffer {"connection_id":124639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32108010012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:11:42] local.INFO: Packet analysis {"connection_id":124639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:11:42] local.INFO: Extracted packet for processing {"connection_id":124639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3210"} 
[2026-07-05 17:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512273664001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:11:42] 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-07-05 17:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783251370000,"timestamp_ms":1783251370000,"timestamp_seconds":1783251370,"priority":1,"record_length":96,"hex_timestamp":"0000019f32108010"} 
[2026-07-05 17:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512273664001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512273664001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:11:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512273664001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":124639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:11:42] local.INFO: GPS data processed {"connection_id":124639,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:11:42] local.INFO: Acknowledgment sent {"connection_id":124639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:12:04] local.INFO: TCP Data received {"connection_id":123416,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:12:04] local.INFO: Processing buffer {"connection_id":123416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:12:04] local.INFO: IMEI packet received {"connection_id":123416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":123416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:12:10] local.INFO: TCP Data received {"connection_id":123416,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:12:10] local.INFO: Processing buffer {"connection_id":123416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:12:10] local.INFO: IMEI packet received {"connection_id":123416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":123416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:12:11] local.INFO: TCP Data received {"connection_id":123416,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:12:11] local.INFO: Processing buffer {"connection_id":123416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:12:11] local.INFO: Packet analysis {"connection_id":123416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:12:11] local.INFO: Extracted packet for processing {"connection_id":123416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:12:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512350720001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:12:11] 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-07-05 17:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783251671000,"timestamp_ms":1783251671000,"timestamp_seconds":1783251671,"priority":1,"record_length":96,"hex_timestamp":"0000019f321517d8"} 
[2026-07-05 17:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512350720001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512350720001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:12:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512350720001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":123416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:12:11] local.INFO: GPS data processed {"connection_id":123416,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:12:11] local.INFO: Acknowledgment sent {"connection_id":123416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:12:42] local.INFO: TCP Data received {"connection_id":123416,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:12:42] local.INFO: Processing buffer {"connection_id":123416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:12:42] local.INFO: Packet analysis {"connection_id":123416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:12:42] local.INFO: Extracted packet for processing {"connection_id":123416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:12:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512350720001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:12:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:12:42] 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-07-05 17:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783251671000,"timestamp_ms":1783251671000,"timestamp_seconds":1783251671,"priority":1,"record_length":96,"hex_timestamp":"0000019f321517d8"} 
[2026-07-05 17:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:12: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-07-05 17:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512350720001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512350720001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:12:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:12:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:12:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512350720001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":123416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:12:42] local.INFO: GPS data processed {"connection_id":123416,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:12:42] local.INFO: Acknowledgment sent {"connection_id":123416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:13:04] local.INFO: TCP Data received {"connection_id":122691,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:13:04] local.INFO: Processing buffer {"connection_id":122691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:13:04] local.INFO: IMEI packet received {"connection_id":122691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":122691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:13:10] local.INFO: TCP Data received {"connection_id":122691,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:13:10] local.INFO: Processing buffer {"connection_id":122691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:13:10] local.INFO: IMEI packet received {"connection_id":122691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":122691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:13:10] local.INFO: TCP Data received {"connection_id":122691,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:13:10] local.INFO: Processing buffer {"connection_id":122691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:13:10] local.INFO: Packet analysis {"connection_id":122691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:13:10] local.INFO: Extracted packet for processing {"connection_id":122691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:13:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512350720001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:13:10] 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-07-05 17:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251671000,"timestamp_ms":1783251671000,"timestamp_seconds":1783251671,"priority":1,"record_length":96,"hex_timestamp":"0000019f321517d8"} 
[2026-07-05 17:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:13: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-07-05 17:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512350720001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512350720001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:13:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512350720001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":122691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:13:10] local.INFO: GPS data processed {"connection_id":122691,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:13:10] local.INFO: Acknowledgment sent {"connection_id":122691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:13:50] local.INFO: TCP Data received {"connection_id":122691,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:13:50] local.INFO: Processing buffer {"connection_id":122691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:13:50] local.INFO: Packet analysis {"connection_id":122691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:13:50] local.INFO: Extracted packet for processing {"connection_id":122691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:13:50] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512350720001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:13:50] 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-07-05 17:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783251671000,"timestamp_ms":1783251671000,"timestamp_seconds":1783251671,"priority":1,"record_length":96,"hex_timestamp":"0000019f321517d8"} 
[2026-07-05 17:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":122691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":122691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":122691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512350720001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512350720001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:13:50] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512350720001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":122691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:13:50] local.INFO: GPS data processed {"connection_id":122691,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:13:50] local.INFO: Acknowledgment sent {"connection_id":122691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:14:04] local.INFO: TCP Data received {"connection_id":123417,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:14:04] local.INFO: Processing buffer {"connection_id":123417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:14:04] local.INFO: IMEI packet received {"connection_id":123417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":123417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:14:11] local.INFO: TCP Data received {"connection_id":123417,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:14:11] local.INFO: Processing buffer {"connection_id":123417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:14:11] local.INFO: IMEI packet received {"connection_id":123417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":123417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:14:12] local.INFO: TCP Data received {"connection_id":123417,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:14:12] local.INFO: Processing buffer {"connection_id":123417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:14:12] local.INFO: Packet analysis {"connection_id":123417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:14:12] local.INFO: Extracted packet for processing {"connection_id":123417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:14:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512350720001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:14: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-07-05 17:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783251671000,"timestamp_ms":1783251671000,"timestamp_seconds":1783251671,"priority":1,"record_length":96,"hex_timestamp":"0000019f321517d8"} 
[2026-07-05 17:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512350720001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512350720001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:14:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512350720001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":123417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:14:12] local.INFO: GPS data processed {"connection_id":123417,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:14:12] local.INFO: Acknowledgment sent {"connection_id":123417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:14:44] local.INFO: TCP Data received {"connection_id":123417,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:14:44] local.INFO: Processing buffer {"connection_id":123417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:14:44] local.INFO: Packet analysis {"connection_id":123417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:14:44] local.INFO: Extracted packet for processing {"connection_id":123417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:14:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512350720001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:14:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:14:44] 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-07-05 17:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783251671000,"timestamp_ms":1783251671000,"timestamp_seconds":1783251671,"priority":1,"record_length":96,"hex_timestamp":"0000019f321517d8"} 
[2026-07-05 17:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:14: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-07-05 17: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-07-05 17:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":123417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":123417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":123417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512350720001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512350720001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:14:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:14:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:14:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512350720001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":123417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:14:44] local.INFO: GPS data processed {"connection_id":123417,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:14:44] local.INFO: Acknowledgment sent {"connection_id":123417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:15:04] local.INFO: TCP Data received {"connection_id":123419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:15:04] local.INFO: Processing buffer {"connection_id":123419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:15:04] local.INFO: IMEI packet received {"connection_id":123419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":123419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:15:10] local.INFO: TCP Data received {"connection_id":123419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:15:10] local.INFO: Processing buffer {"connection_id":123419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:15:10] local.INFO: IMEI packet received {"connection_id":123419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":123419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:15:10] local.INFO: TCP Data received {"connection_id":123419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:15:10] local.INFO: Processing buffer {"connection_id":123419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:15:10] local.INFO: Packet analysis {"connection_id":123419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:15:10] local.INFO: Extracted packet for processing {"connection_id":123419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:15:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512350720001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:15:10] 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-07-05 17:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251671000,"timestamp_ms":1783251671000,"timestamp_seconds":1783251671,"priority":1,"record_length":96,"hex_timestamp":"0000019f321517d8"} 
[2026-07-05 17:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:15: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-07-05 17:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512350720001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512350720001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:15:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512350720001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":123419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:15:10] local.INFO: GPS data processed {"connection_id":123419,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:15:10] local.INFO: Acknowledgment sent {"connection_id":123419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:15:42] local.INFO: TCP Data received {"connection_id":123419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:15:42] local.INFO: Processing buffer {"connection_id":123419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:15:42] local.INFO: Packet analysis {"connection_id":123419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:15:42] local.INFO: Extracted packet for processing {"connection_id":123419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:15:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512350720001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:15:42] 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-07-05 17:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783251671000,"timestamp_ms":1783251671000,"timestamp_seconds":1783251671,"priority":1,"record_length":96,"hex_timestamp":"0000019f321517d8"} 
[2026-07-05 17:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512350720001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512350720001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:15:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:15:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512350720001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":123419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:15:42] local.INFO: GPS data processed {"connection_id":123419,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:15:42] local.INFO: Acknowledgment sent {"connection_id":123419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:16:09] local.INFO: TCP Data received {"connection_id":122694,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:16:09] local.INFO: Processing buffer {"connection_id":122694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:16:09] local.INFO: IMEI packet received {"connection_id":122694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":122694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:16:15] local.INFO: TCP Data received {"connection_id":122694,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:16:15] local.INFO: Processing buffer {"connection_id":122694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:16:15] local.INFO: IMEI packet received {"connection_id":122694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":122694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:16:15] local.INFO: TCP Data received {"connection_id":122694,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:16:15] local.INFO: Processing buffer {"connection_id":122694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:16:15] local.INFO: Packet analysis {"connection_id":122694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:16:15] local.INFO: Extracted packet for processing {"connection_id":122694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:16:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512350720001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:16:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:16:15] 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-07-05 17:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783251671000,"timestamp_ms":1783251671000,"timestamp_seconds":1783251671,"priority":1,"record_length":96,"hex_timestamp":"0000019f321517d8"} 
[2026-07-05 17:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512350720001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512350720001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:16:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:16:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:16:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512350720001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":122694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:16:15] local.INFO: GPS data processed {"connection_id":122694,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:16:15] local.INFO: Acknowledgment sent {"connection_id":122694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:16:20] local.INFO: TCP Data received {"connection_id":122694,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:16:20] local.INFO: Processing buffer {"connection_id":122694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321517d8012cb2a24007823a980044013b2b..."} 
[2026-07-05 17:16:20] local.INFO: Packet analysis {"connection_id":122694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:16:20] local.INFO: Extracted packet for processing {"connection_id":122694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3215"} 
[2026-07-05 17:16:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512350720001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:16:20] 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-07-05 17:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783251671000,"timestamp_ms":1783251671000,"timestamp_seconds":1783251671,"priority":1,"record_length":96,"hex_timestamp":"0000019f321517d8"} 
[2026-07-05 17:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512350720001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512350720001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:16:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512350720001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":122694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:16:20] local.INFO: GPS data processed {"connection_id":122694,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:16:20] local.INFO: Acknowledgment sent {"connection_id":122694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:16:44] local.INFO: TCP Data received {"connection_id":122636,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:16:44] local.INFO: Processing buffer {"connection_id":122636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:16:44] local.INFO: IMEI packet received {"connection_id":122636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":122636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:17:04] local.INFO: TCP Data received {"connection_id":123420,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:17:04] local.INFO: Processing buffer {"connection_id":123420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:17:04] local.INFO: IMEI packet received {"connection_id":123420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":123420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:17:05] local.INFO: TCP Data received {"connection_id":124640,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:17:05] local.INFO: Processing buffer {"connection_id":124640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:17:05] local.INFO: IMEI packet received {"connection_id":124640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":124640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:17:10] local.INFO: TCP Data received {"connection_id":124640,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:17:10] local.INFO: Processing buffer {"connection_id":124640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:17:10] local.INFO: IMEI packet received {"connection_id":124640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":124640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:17:11] local.INFO: TCP Data received {"connection_id":124640,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:17:11] local.INFO: Processing buffer {"connection_id":124640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:17:11] local.INFO: Packet analysis {"connection_id":124640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:17:11] local.INFO: Extracted packet for processing {"connection_id":124640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:17:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512427776001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:17:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:17:11] 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-07-05 17:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783251972000,"timestamp_ms":1783251972000,"timestamp_seconds":1783251972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3219afa0"} 
[2026-07-05 17:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512427776001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512427776001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:17:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512427776001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":124640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:17:11] local.INFO: GPS data processed {"connection_id":124640,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:17:11] local.INFO: Acknowledgment sent {"connection_id":124640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:17:42] local.INFO: TCP Data received {"connection_id":124640,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:17:42] local.INFO: Processing buffer {"connection_id":124640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:17:42] local.INFO: Packet analysis {"connection_id":124640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:17:42] local.INFO: Extracted packet for processing {"connection_id":124640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512427776001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:17:42] 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-07-05 17:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783251972000,"timestamp_ms":1783251972000,"timestamp_seconds":1783251972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3219afa0"} 
[2026-07-05 17:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:17: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-07-05 17:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512427776001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512427776001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:17:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512427776001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":124640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:17:42] local.INFO: GPS data processed {"connection_id":124640,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:17:42] local.INFO: Acknowledgment sent {"connection_id":124640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:18:04] local.INFO: TCP Data received {"connection_id":122695,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:18:04] local.INFO: Processing buffer {"connection_id":122695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:18:04] local.INFO: IMEI packet received {"connection_id":122695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":122695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:18:10] local.INFO: TCP Data received {"connection_id":122695,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:18:10] local.INFO: Processing buffer {"connection_id":122695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:18:10] local.INFO: IMEI packet received {"connection_id":122695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":122695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:18:10] local.INFO: TCP Data received {"connection_id":122695,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:18:10] local.INFO: Processing buffer {"connection_id":122695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:18:10] local.INFO: Packet analysis {"connection_id":122695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:18:10] local.INFO: Extracted packet for processing {"connection_id":122695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512427776001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:18:10] 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-07-05 17:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251972000,"timestamp_ms":1783251972000,"timestamp_seconds":1783251972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3219afa0"} 
[2026-07-05 17:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:18: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-07-05 17:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512427776001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512427776001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:18:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512427776001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":122695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:18:10] local.INFO: GPS data processed {"connection_id":122695,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:18:10] local.INFO: Acknowledgment sent {"connection_id":122695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:18:41] local.INFO: TCP Data received {"connection_id":122695,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:18:41] local.INFO: Processing buffer {"connection_id":122695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:18:41] local.INFO: Packet analysis {"connection_id":122695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:18:41] local.INFO: Extracted packet for processing {"connection_id":122695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512427776001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:18:41] 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-07-05 17:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783251972000,"timestamp_ms":1783251972000,"timestamp_seconds":1783251972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3219afa0"} 
[2026-07-05 17:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:18: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-07-05 17: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-07-05 17:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512427776001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512427776001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:18:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512427776001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":122695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:18:41] local.INFO: GPS data processed {"connection_id":122695,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:18:41] local.INFO: Acknowledgment sent {"connection_id":122695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:19:04] local.INFO: TCP Data received {"connection_id":122637,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:19:04] local.INFO: Processing buffer {"connection_id":122637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:19:04] local.INFO: IMEI packet received {"connection_id":122637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":122637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:19:10] local.INFO: TCP Data received {"connection_id":122637,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:19:10] local.INFO: Processing buffer {"connection_id":122637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:19:10] local.INFO: IMEI packet received {"connection_id":122637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":122637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:19:10] local.INFO: TCP Data received {"connection_id":122637,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:19:10] local.INFO: Processing buffer {"connection_id":122637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:19:10] local.INFO: Packet analysis {"connection_id":122637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:19:10] local.INFO: Extracted packet for processing {"connection_id":122637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:19:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512427776001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:19:10] 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-07-05 17:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251972000,"timestamp_ms":1783251972000,"timestamp_seconds":1783251972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3219afa0"} 
[2026-07-05 17:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:19: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-07-05 17:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512427776001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512427776001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:19:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512427776001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":122637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:19:10] local.INFO: GPS data processed {"connection_id":122637,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:19:10] local.INFO: Acknowledgment sent {"connection_id":122637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:19:42] local.INFO: TCP Data received {"connection_id":122637,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:19:42] local.INFO: Processing buffer {"connection_id":122637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:19:42] local.INFO: Packet analysis {"connection_id":122637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:19:42] local.INFO: Extracted packet for processing {"connection_id":122637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512427776001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:19:42] 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-07-05 17:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783251972000,"timestamp_ms":1783251972000,"timestamp_seconds":1783251972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3219afa0"} 
[2026-07-05 17:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:19: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-07-05 17:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512427776001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512427776001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:19:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512427776001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":122637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:19:42] local.INFO: GPS data processed {"connection_id":122637,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:19:42] local.INFO: Acknowledgment sent {"connection_id":122637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:20:10] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:20:10] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:20:10] local.INFO: IMEI packet received {"connection_id":124642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":124642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:20:15] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:20:15] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:20:15] local.INFO: IMEI packet received {"connection_id":124642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":124642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:20:15] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:20:15] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:20:15] local.INFO: Packet analysis {"connection_id":124642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:20:15] local.INFO: Extracted packet for processing {"connection_id":124642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:20:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 17:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512427776001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:20:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:20:15] 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-07-05 17:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783251972000,"timestamp_ms":1783251972000,"timestamp_seconds":1783251972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3219afa0"} 
[2026-07-05 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-07-05 17:20:15] 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-07-05 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 17:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512427776001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512427776001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:20:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:20:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:20:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512427776001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":124642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:20:15] local.INFO: GPS data processed {"connection_id":124642,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:20:15] local.INFO: Acknowledgment sent {"connection_id":124642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:20:20] local.INFO: TCP Data received {"connection_id":124642,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:20:20] local.INFO: Processing buffer {"connection_id":124642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:20:20] local.INFO: Packet analysis {"connection_id":124642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:20:20] local.INFO: Extracted packet for processing {"connection_id":124642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:20:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512427776001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:20:20] 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-07-05 17:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783251972000,"timestamp_ms":1783251972000,"timestamp_seconds":1783251972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3219afa0"} 
[2026-07-05 17:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:20:20] 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-07-05 17:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512427776001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512427776001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:20:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512427776001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":124642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:20:20] local.INFO: GPS data processed {"connection_id":124642,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:20:20] local.INFO: Acknowledgment sent {"connection_id":124642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:21:05] local.INFO: TCP Data received {"connection_id":122697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:21:05] local.INFO: Processing buffer {"connection_id":122697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:21:05] local.INFO: IMEI packet received {"connection_id":122697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":122697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:21:10] local.INFO: TCP Data received {"connection_id":122697,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:21:10] local.INFO: Processing buffer {"connection_id":122697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:21:10] local.INFO: IMEI packet received {"connection_id":122697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":122697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:21:10] local.INFO: TCP Data received {"connection_id":122697,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:21:10] local.INFO: Processing buffer {"connection_id":122697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:21:10] local.INFO: Packet analysis {"connection_id":122697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:21:10] local.INFO: Extracted packet for processing {"connection_id":122697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:21:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512427776001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:21:10] 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-07-05 17:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783251972000,"timestamp_ms":1783251972000,"timestamp_seconds":1783251972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3219afa0"} 
[2026-07-05 17:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:21: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-07-05 17:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512427776001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512427776001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:21:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512427776001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":122697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:21:10] local.INFO: GPS data processed {"connection_id":122697,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:21:10] local.INFO: Acknowledgment sent {"connection_id":122697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:21:41] local.INFO: TCP Data received {"connection_id":122697,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:21:41] local.INFO: Processing buffer {"connection_id":122697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3219afa0012cb2a24007823a980044013b2a..."} 
[2026-07-05 17:21:41] local.INFO: Packet analysis {"connection_id":122697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:21:41] local.INFO: Extracted packet for processing {"connection_id":122697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3219"} 
[2026-07-05 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":68,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512427776001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:21:41] 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-07-05 17:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783251972000,"timestamp_ms":1783251972000,"timestamp_seconds":1783251972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3219afa0"} 
[2026-07-05 17:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:21: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-07-05 17: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-07-05 17:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512427776001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512427776001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512427776001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":122697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:21:41] local.INFO: GPS data processed {"connection_id":122697,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:21:41] local.INFO: Acknowledgment sent {"connection_id":122697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:22:04] local.INFO: TCP Data received {"connection_id":122639,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:22:04] local.INFO: Processing buffer {"connection_id":122639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:22:04] local.INFO: IMEI packet received {"connection_id":122639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":122639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:22:09] local.INFO: TCP Data received {"connection_id":122639,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:22:09] local.INFO: Processing buffer {"connection_id":122639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:22:09] local.INFO: IMEI packet received {"connection_id":122639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":122639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:22:11] local.INFO: TCP Data received {"connection_id":122639,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:22:11] local.INFO: Processing buffer {"connection_id":122639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:22:11] local.INFO: Packet analysis {"connection_id":122639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:22:11] local.INFO: Extracted packet for processing {"connection_id":122639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512504832001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:22:11] 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-07-05 17:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783252274000,"timestamp_ms":1783252274000,"timestamp_seconds":1783252274,"priority":1,"record_length":96,"hex_timestamp":"0000019f321e4b50"} 
[2026-07-05 17:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512504832001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512504832001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:22:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512504832001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":122639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:22:11] local.INFO: GPS data processed {"connection_id":122639,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:22:11] local.INFO: Acknowledgment sent {"connection_id":122639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:22:24] local.INFO: TCP Data received {"connection_id":124643,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:22:24] local.INFO: Processing buffer {"connection_id":124643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:22:24] local.INFO: IMEI packet received {"connection_id":124643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":124643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:22:42] local.INFO: TCP Data received {"connection_id":122639,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:22:42] local.INFO: Processing buffer {"connection_id":122639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:22:42] local.INFO: Packet analysis {"connection_id":122639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:22:42] local.INFO: Extracted packet for processing {"connection_id":122639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512504832001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:22:42] 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-07-05 17:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783252274000,"timestamp_ms":1783252274000,"timestamp_seconds":1783252274,"priority":1,"record_length":96,"hex_timestamp":"0000019f321e4b50"} 
[2026-07-05 17:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512504832001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512504832001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:22:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512504832001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":122639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:22:42] local.INFO: GPS data processed {"connection_id":122639,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:22:42] local.INFO: Acknowledgment sent {"connection_id":122639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:23:04] local.INFO: TCP Data received {"connection_id":124644,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:23:04] local.INFO: Processing buffer {"connection_id":124644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:23:04] local.INFO: IMEI packet received {"connection_id":124644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":124644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:23:04] local.INFO: TCP Data received {"connection_id":123421,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:23:04] local.INFO: Processing buffer {"connection_id":123421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:23:04] local.INFO: IMEI packet received {"connection_id":123421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":123421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:23:09] local.INFO: TCP Data received {"connection_id":124644,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:23:09] local.INFO: Processing buffer {"connection_id":124644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:23:09] local.INFO: IMEI packet received {"connection_id":124644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 17:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":124644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:23:10] local.INFO: TCP Data received {"connection_id":123421,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:23:10] local.INFO: Processing buffer {"connection_id":123421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:23:10] local.INFO: IMEI packet received {"connection_id":123421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":123421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:23:10] local.INFO: TCP Data received {"connection_id":124644,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f32039f30012cb2a10007823b380045000025..."} 
[2026-07-05 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32039f30012cb2a10007823b380045000025..."} 
[2026-07-05 17:23:10] local.INFO: Processing buffer {"connection_id":124644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32039f30012cb2a10007823b380045000025..."} 
[2026-07-05 17:23:10] local.INFO: Packet analysis {"connection_id":124644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3203"} 
[2026-07-05 17:23:10] local.INFO: Extracted packet for processing {"connection_id":124644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3203"} 
[2026-07-05 17:23:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":69,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 17:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512057600001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 17:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 17:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 17:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783250526000,"timestamp_ms":1783250526000,"timestamp_seconds":1783250526,"priority":1,"record_length":96,"hex_timestamp":"0000019f32039f30"} 
[2026-07-05 17:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 17:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 17:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 17:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 17:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 17:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512057600001,"66":25343,"221":206,"85":36864,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 17:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 17:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 17:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512057600001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:23:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 17:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 17:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 17:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512057600001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 17:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":124644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436050,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:23:10] local.INFO: GPS data processed {"connection_id":124644,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:23:10] local.INFO: Acknowledgment sent {"connection_id":124644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:23:10] local.INFO: TCP Data received {"connection_id":123421,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:23:10] local.INFO: Processing buffer {"connection_id":123421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:23:10] local.INFO: Packet analysis {"connection_id":123421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:23:10] local.INFO: Extracted packet for processing {"connection_id":123421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:23:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512504832001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:23:10] 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-07-05 17:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252274000,"timestamp_ms":1783252274000,"timestamp_seconds":1783252274,"priority":1,"record_length":96,"hex_timestamp":"0000019f321e4b50"} 
[2026-07-05 17:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:23: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-07-05 17:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512504832001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512504832001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:23:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512504832001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":123421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:23:10] local.INFO: GPS data processed {"connection_id":123421,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:23:10] local.INFO: Acknowledgment sent {"connection_id":123421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:23:42] local.INFO: TCP Data received {"connection_id":123421,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:23:42] local.INFO: Processing buffer {"connection_id":123421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:23:42] local.INFO: Packet analysis {"connection_id":123421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:23:42] local.INFO: Extracted packet for processing {"connection_id":123421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512504832001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:23:42] 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-07-05 17:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783252274000,"timestamp_ms":1783252274000,"timestamp_seconds":1783252274,"priority":1,"record_length":96,"hex_timestamp":"0000019f321e4b50"} 
[2026-07-05 17:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512504832001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512504832001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:23:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512504832001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":123421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:23:42] local.INFO: GPS data processed {"connection_id":123421,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:23:42] local.INFO: Acknowledgment sent {"connection_id":123421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:24:04] local.INFO: TCP Data received {"connection_id":122640,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:24:04] local.INFO: Processing buffer {"connection_id":122640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:24:04] local.INFO: IMEI packet received {"connection_id":122640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":122640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:24:04] local.INFO: TCP Data received {"connection_id":122699,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:24:04] local.INFO: Processing buffer {"connection_id":122699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:24:04] local.INFO: IMEI packet received {"connection_id":122699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":122699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:24:10] local.INFO: TCP Data received {"connection_id":122699,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:24:10] local.INFO: Processing buffer {"connection_id":122699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:24:10] local.INFO: IMEI packet received {"connection_id":122699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":122699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:24:10] local.INFO: TCP Data received {"connection_id":122699,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:24:10] local.INFO: Processing buffer {"connection_id":122699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:24:10] local.INFO: Packet analysis {"connection_id":122699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:24:10] local.INFO: Extracted packet for processing {"connection_id":122699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512504832001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:24:10] 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-07-05 17:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252274000,"timestamp_ms":1783252274000,"timestamp_seconds":1783252274,"priority":1,"record_length":96,"hex_timestamp":"0000019f321e4b50"} 
[2026-07-05 17:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:24: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-07-05 17:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512504832001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512504832001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512504832001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":122699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:24:10] local.INFO: GPS data processed {"connection_id":122699,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:24:10] local.INFO: Acknowledgment sent {"connection_id":122699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:24:41] local.INFO: TCP Data received {"connection_id":122699,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:24:41] local.INFO: Processing buffer {"connection_id":122699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:24:41] local.INFO: Packet analysis {"connection_id":122699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:24:41] local.INFO: Extracted packet for processing {"connection_id":122699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512504832001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:24:41] 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-07-05 17:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783252274000,"timestamp_ms":1783252274000,"timestamp_seconds":1783252274,"priority":1,"record_length":96,"hex_timestamp":"0000019f321e4b50"} 
[2026-07-05 17:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:24: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-07-05 17:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512504832001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512504832001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512504832001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":122699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:24:42] local.INFO: GPS data processed {"connection_id":122699,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:24:42] local.INFO: Acknowledgment sent {"connection_id":122699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:25:04] local.INFO: TCP Data received {"connection_id":122700,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:25:04] local.INFO: Processing buffer {"connection_id":122700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:25:04] local.INFO: IMEI packet received {"connection_id":122700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":122700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:25:10] local.INFO: TCP Data received {"connection_id":122701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:25:10] local.INFO: Processing buffer {"connection_id":122701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:25:10] local.INFO: IMEI packet received {"connection_id":122701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":122701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:25:15] local.INFO: TCP Data received {"connection_id":122701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:25:15] local.INFO: Processing buffer {"connection_id":122701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:25:15] local.INFO: IMEI packet received {"connection_id":122701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":122701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:25:15] local.INFO: TCP Data received {"connection_id":122701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:25:15] local.INFO: Processing buffer {"connection_id":122701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:25:15] local.INFO: Packet analysis {"connection_id":122701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:25:15] local.INFO: Extracted packet for processing {"connection_id":122701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:25:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 17:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512504832001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:25:15] 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-07-05 17:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783252274000,"timestamp_ms":1783252274000,"timestamp_seconds":1783252274,"priority":1,"record_length":96,"hex_timestamp":"0000019f321e4b50"} 
[2026-07-05 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-07-05 17:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 17:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512504832001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512504832001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:25:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512504832001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":122701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:25:15] local.INFO: GPS data processed {"connection_id":122701,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:25:15] local.INFO: Acknowledgment sent {"connection_id":122701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:25:20] local.INFO: TCP Data received {"connection_id":122701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:25:20] local.INFO: Processing buffer {"connection_id":122701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:25:20] local.INFO: Packet analysis {"connection_id":122701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:25:20] local.INFO: Extracted packet for processing {"connection_id":122701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512504832001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:25:20] 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-07-05 17:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783252274000,"timestamp_ms":1783252274000,"timestamp_seconds":1783252274,"priority":1,"record_length":96,"hex_timestamp":"0000019f321e4b50"} 
[2026-07-05 17:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512504832001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512504832001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:25:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512504832001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":122701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:25:20] local.INFO: GPS data processed {"connection_id":122701,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:25:20] local.INFO: Acknowledgment sent {"connection_id":122701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:26:05] local.INFO: TCP Data received {"connection_id":123422,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:26:05] local.INFO: Processing buffer {"connection_id":123422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:26:05] local.INFO: IMEI packet received {"connection_id":123422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":123422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:26:10] local.INFO: TCP Data received {"connection_id":123422,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:26:10] local.INFO: Processing buffer {"connection_id":123422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:26:10] local.INFO: IMEI packet received {"connection_id":123422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":123422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:26:10] local.INFO: TCP Data received {"connection_id":123422,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:26:10] local.INFO: Processing buffer {"connection_id":123422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:26:10] local.INFO: Packet analysis {"connection_id":123422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:26:10] local.INFO: Extracted packet for processing {"connection_id":123422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512504832001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:26:10] 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-07-05 17:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252274000,"timestamp_ms":1783252274000,"timestamp_seconds":1783252274,"priority":1,"record_length":96,"hex_timestamp":"0000019f321e4b50"} 
[2026-07-05 17:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:26: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-07-05 17:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512504832001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512504832001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512504832001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":123422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:26:10] local.INFO: GPS data processed {"connection_id":123422,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:26:10] local.INFO: Acknowledgment sent {"connection_id":123422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:26:44] local.INFO: TCP Data received {"connection_id":123422,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:26:44] local.INFO: Processing buffer {"connection_id":123422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f321e4b50012cb2a24007823a98004a013b28..."} 
[2026-07-05 17:26:44] local.INFO: Packet analysis {"connection_id":123422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:26:44] local.INFO: Extracted packet for processing {"connection_id":123422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f321e"} 
[2026-07-05 17:26:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512504832001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:26:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:26:44] 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-07-05 17:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783252274000,"timestamp_ms":1783252274000,"timestamp_seconds":1783252274,"priority":1,"record_length":96,"hex_timestamp":"0000019f321e4b50"} 
[2026-07-05 17:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:26: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-07-05 17:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":123422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":123422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":123422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512504832001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512504832001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:26:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:26:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512504832001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":123422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:26:44] local.INFO: GPS data processed {"connection_id":123422,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:26:44] local.INFO: Acknowledgment sent {"connection_id":123422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:27:04] local.INFO: TCP Data received {"connection_id":124646,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:27:04] local.INFO: Processing buffer {"connection_id":124646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:27:04] local.INFO: IMEI packet received {"connection_id":124646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":124646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:27:09] local.INFO: TCP Data received {"connection_id":124646,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:27:09] local.INFO: Processing buffer {"connection_id":124646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:27:09] local.INFO: IMEI packet received {"connection_id":124646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":124646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:27:10] local.INFO: TCP Data received {"connection_id":124646,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:27:10] local.INFO: Processing buffer {"connection_id":124646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:27:10] local.INFO: Packet analysis {"connection_id":124646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:27:10] local.INFO: Extracted packet for processing {"connection_id":124646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:27:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512582144001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:27:10] 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-07-05 17:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252574000,"timestamp_ms":1783252574000,"timestamp_seconds":1783252574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3222df30"} 
[2026-07-05 17:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:27: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-07-05 17:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512582144001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512582144001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:27:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512582144001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":124646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:27:10] local.INFO: GPS data processed {"connection_id":124646,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:27:10] local.INFO: Acknowledgment sent {"connection_id":124646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:27:41] local.INFO: TCP Data received {"connection_id":124646,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:27:41] local.INFO: Processing buffer {"connection_id":124646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:27:41] local.INFO: Packet analysis {"connection_id":124646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:27:41] local.INFO: Extracted packet for processing {"connection_id":124646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:27:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512582144001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:27:41] 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-07-05 17:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783252574000,"timestamp_ms":1783252574000,"timestamp_seconds":1783252574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3222df30"} 
[2026-07-05 17:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:27: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-07-05 17: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-07-05 17:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512582144001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512582144001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:27:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512582144001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":124646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:27:41] local.INFO: GPS data processed {"connection_id":124646,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:27:41] local.INFO: Acknowledgment sent {"connection_id":124646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:28:10] local.INFO: TCP Data received {"connection_id":123424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:28:10] local.INFO: Processing buffer {"connection_id":123424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:28:10] local.INFO: IMEI packet received {"connection_id":123424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":123424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:28:15] local.INFO: TCP Data received {"connection_id":123424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:28:15] local.INFO: Processing buffer {"connection_id":123424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:28:15] local.INFO: IMEI packet received {"connection_id":123424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":123424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:28:15] local.INFO: TCP Data received {"connection_id":123424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:28:15] local.INFO: Processing buffer {"connection_id":123424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:28:15] local.INFO: Packet analysis {"connection_id":123424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:28:15] local.INFO: Extracted packet for processing {"connection_id":123424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:28:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512582144001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:28:15] 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-07-05 17:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783252574000,"timestamp_ms":1783252574000,"timestamp_seconds":1783252574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3222df30"} 
[2026-07-05 17:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:28:15] 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-07-05 17:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512582144001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512582144001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:28:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512582144001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":123424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:28:15] local.INFO: GPS data processed {"connection_id":123424,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:28:15] local.INFO: Acknowledgment sent {"connection_id":123424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:28:20] local.INFO: TCP Data received {"connection_id":123424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:28:20] local.INFO: Processing buffer {"connection_id":123424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:28:20] local.INFO: Packet analysis {"connection_id":123424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:28:20] local.INFO: Extracted packet for processing {"connection_id":123424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 17:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512582144001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:28:20] 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-07-05 17:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783252574000,"timestamp_ms":1783252574000,"timestamp_seconds":1783252574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3222df30"} 
[2026-07-05 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-07-05 17:28:20] 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-07-05 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 17:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512582144001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512582144001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:28:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512582144001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":123424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:28:20] local.INFO: GPS data processed {"connection_id":123424,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:28:20] local.INFO: Acknowledgment sent {"connection_id":123424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:29:05] local.INFO: TCP Data received {"connection_id":122641,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:29:05] local.INFO: Processing buffer {"connection_id":122641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:29:05] local.INFO: IMEI packet received {"connection_id":122641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":122641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:29:10] local.INFO: TCP Data received {"connection_id":122641,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:29:10] local.INFO: Processing buffer {"connection_id":122641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:29:10] local.INFO: IMEI packet received {"connection_id":122641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":122641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:29:10] local.INFO: TCP Data received {"connection_id":122641,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:29:10] local.INFO: Processing buffer {"connection_id":122641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:29:10] local.INFO: Packet analysis {"connection_id":122641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:29:10] local.INFO: Extracted packet for processing {"connection_id":122641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512582144001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:29:10] 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-07-05 17:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252574000,"timestamp_ms":1783252574000,"timestamp_seconds":1783252574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3222df30"} 
[2026-07-05 17:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:29: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-07-05 17:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512582144001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512582144001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:29:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512582144001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":122641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:29:10] local.INFO: GPS data processed {"connection_id":122641,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:29:10] local.INFO: Acknowledgment sent {"connection_id":122641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:29:42] local.INFO: TCP Data received {"connection_id":122641,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:29:42] local.INFO: Processing buffer {"connection_id":122641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:29:42] local.INFO: Packet analysis {"connection_id":122641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:29:42] local.INFO: Extracted packet for processing {"connection_id":122641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512582144001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:29:42] 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-07-05 17:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783252574000,"timestamp_ms":1783252574000,"timestamp_seconds":1783252574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3222df30"} 
[2026-07-05 17:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512582144001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512582144001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:29:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:29:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512582144001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":122641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:29:42] local.INFO: GPS data processed {"connection_id":122641,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:29:42] local.INFO: Acknowledgment sent {"connection_id":122641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:30:05] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:30:05] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:30:05] local.INFO: IMEI packet received {"connection_id":124647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":124647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:30:09] local.INFO: TCP Data received {"connection_id":123426,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:30:09] local.INFO: Processing buffer {"connection_id":123426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:30:09] local.INFO: IMEI packet received {"connection_id":123426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":123426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:30:10] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:30:10] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:30:10] local.INFO: IMEI packet received {"connection_id":124647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":124647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:30:10] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:30:10] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:30:10] local.INFO: Packet analysis {"connection_id":124647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:30:10] local.INFO: Extracted packet for processing {"connection_id":124647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:30:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512582144001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:30:10] 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-07-05 17:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252574000,"timestamp_ms":1783252574000,"timestamp_seconds":1783252574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3222df30"} 
[2026-07-05 17:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512582144001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512582144001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:30:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512582144001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":124647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:30:10] local.INFO: GPS data processed {"connection_id":124647,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:30:10] local.INFO: Acknowledgment sent {"connection_id":124647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:30:41] local.INFO: TCP Data received {"connection_id":124647,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:30:41] local.INFO: Processing buffer {"connection_id":124647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:30:41] local.INFO: Packet analysis {"connection_id":124647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:30:41] local.INFO: Extracted packet for processing {"connection_id":124647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:30:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512582144001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:30:41] 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-07-05 17:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783252574000,"timestamp_ms":1783252574000,"timestamp_seconds":1783252574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3222df30"} 
[2026-07-05 17:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512582144001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512582144001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:30:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512582144001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":124647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:30:41] local.INFO: GPS data processed {"connection_id":124647,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:30:41] local.INFO: Acknowledgment sent {"connection_id":124647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:31:04] local.INFO: TCP Data received {"connection_id":124648,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:31:04] local.INFO: Processing buffer {"connection_id":124648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:31:04] local.INFO: IMEI packet received {"connection_id":124648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":124648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:31:10] local.INFO: TCP Data received {"connection_id":124648,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:31:10] local.INFO: Processing buffer {"connection_id":124648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:31:10] local.INFO: IMEI packet received {"connection_id":124648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":124648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:31:10] local.INFO: TCP Data received {"connection_id":124648,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:31:10] local.INFO: Processing buffer {"connection_id":124648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:31:10] local.INFO: Packet analysis {"connection_id":124648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:31:10] local.INFO: Extracted packet for processing {"connection_id":124648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512582144001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:31:10] 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-07-05 17:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252574000,"timestamp_ms":1783252574000,"timestamp_seconds":1783252574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3222df30"} 
[2026-07-05 17:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512582144001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512582144001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:31:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512582144001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":124648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:31:10] local.INFO: GPS data processed {"connection_id":124648,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:31:10] local.INFO: Acknowledgment sent {"connection_id":124648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:31:42] local.INFO: TCP Data received {"connection_id":124648,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:31:42] local.INFO: Processing buffer {"connection_id":124648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3222df30012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:31:42] local.INFO: Packet analysis {"connection_id":124648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:31:42] local.INFO: Extracted packet for processing {"connection_id":124648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3222"} 
[2026-07-05 17:31:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512582144001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:31:42] 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-07-05 17:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783252574000,"timestamp_ms":1783252574000,"timestamp_seconds":1783252574,"priority":1,"record_length":96,"hex_timestamp":"0000019f3222df30"} 
[2026-07-05 17:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 17:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512582144001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512582144001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:31:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512582144001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":124648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:31:42] local.INFO: GPS data processed {"connection_id":124648,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:31:42] local.INFO: Acknowledgment sent {"connection_id":124648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:32:04] local.INFO: TCP Data received {"connection_id":122643,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:32:04] local.INFO: Processing buffer {"connection_id":122643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:32:04] local.INFO: IMEI packet received {"connection_id":122643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":122643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:32:09] local.INFO: TCP Data received {"connection_id":122643,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:32:09] local.INFO: Processing buffer {"connection_id":122643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:32:09] local.INFO: IMEI packet received {"connection_id":122643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":122643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:32:10] local.INFO: TCP Data received {"connection_id":122643,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:32:10] local.INFO: Processing buffer {"connection_id":122643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:32:10] local.INFO: Packet analysis {"connection_id":122643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:32:10] local.INFO: Extracted packet for processing {"connection_id":122643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512658944001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:32:10] 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-07-05 17:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252875000,"timestamp_ms":1783252875000,"timestamp_seconds":1783252875,"priority":1,"record_length":96,"hex_timestamp":"0000019f322776f8"} 
[2026-07-05 17:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:32: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-07-05 17:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512658944001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512658944001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512658944001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":122643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:32:10] local.INFO: GPS data processed {"connection_id":122643,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:32:10] local.INFO: Acknowledgment sent {"connection_id":122643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:32:41] local.INFO: TCP Data received {"connection_id":122643,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:32:41] local.INFO: Processing buffer {"connection_id":122643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:32:41] local.INFO: Packet analysis {"connection_id":122643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:32:41] local.INFO: Extracted packet for processing {"connection_id":122643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512658944001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:32:41] 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-07-05 17:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783252875000,"timestamp_ms":1783252875000,"timestamp_seconds":1783252875,"priority":1,"record_length":96,"hex_timestamp":"0000019f322776f8"} 
[2026-07-05 17:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:32: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-07-05 17:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512658944001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512658944001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:32:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512658944001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":122643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:32:41] local.INFO: GPS data processed {"connection_id":122643,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:32:41] local.INFO: Acknowledgment sent {"connection_id":122643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:33:04] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:33:04] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:33:04] local.INFO: IMEI packet received {"connection_id":124649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":124649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:33:10] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:33:10] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:33:10] local.INFO: IMEI packet received {"connection_id":124649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":124649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:33:10] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:33:10] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:33:10] local.INFO: Packet analysis {"connection_id":124649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:33:10] local.INFO: Extracted packet for processing {"connection_id":124649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512658944001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:33:10] 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-07-05 17:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252875000,"timestamp_ms":1783252875000,"timestamp_seconds":1783252875,"priority":1,"record_length":96,"hex_timestamp":"0000019f322776f8"} 
[2026-07-05 17:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:33: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-07-05 17:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512658944001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512658944001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:33:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512658944001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":124649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:33:10] local.INFO: GPS data processed {"connection_id":124649,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:33:10] local.INFO: Acknowledgment sent {"connection_id":124649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:33:41] local.INFO: TCP Data received {"connection_id":124649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:33:41] local.INFO: Processing buffer {"connection_id":124649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:33:41] local.INFO: Packet analysis {"connection_id":124649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:33:41] local.INFO: Extracted packet for processing {"connection_id":124649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:33:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512658944001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:33:41] 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-07-05 17:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783252875000,"timestamp_ms":1783252875000,"timestamp_seconds":1783252875,"priority":1,"record_length":96,"hex_timestamp":"0000019f322776f8"} 
[2026-07-05 17:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:33: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-07-05 17: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-07-05 17:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512658944001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512658944001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:33:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512658944001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":124649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:33:41] local.INFO: GPS data processed {"connection_id":124649,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:33:41] local.INFO: Acknowledgment sent {"connection_id":124649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:34:04] local.INFO: TCP Data received {"connection_id":122704,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:34:04] local.INFO: Processing buffer {"connection_id":122704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:34:04] local.INFO: IMEI packet received {"connection_id":122704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":122704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:34:10] local.INFO: TCP Data received {"connection_id":122704,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:34:10] local.INFO: Processing buffer {"connection_id":122704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:34:10] local.INFO: IMEI packet received {"connection_id":122704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":122704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:34:10] local.INFO: TCP Data received {"connection_id":122704,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:34:10] local.INFO: Processing buffer {"connection_id":122704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:34:10] local.INFO: Packet analysis {"connection_id":122704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:34:10] local.INFO: Extracted packet for processing {"connection_id":122704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512658944001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:34:10] 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-07-05 17:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252875000,"timestamp_ms":1783252875000,"timestamp_seconds":1783252875,"priority":1,"record_length":96,"hex_timestamp":"0000019f322776f8"} 
[2026-07-05 17:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:34: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-07-05 17:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512658944001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512658944001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:34:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512658944001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":122704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:34:10] local.INFO: GPS data processed {"connection_id":122704,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:34:10] local.INFO: Acknowledgment sent {"connection_id":122704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:34:42] local.INFO: TCP Data received {"connection_id":122704,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:34:42] local.INFO: Processing buffer {"connection_id":122704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:34:42] local.INFO: Packet analysis {"connection_id":122704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:34:42] local.INFO: Extracted packet for processing {"connection_id":122704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512658944001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:34:42] 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-07-05 17:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783252875000,"timestamp_ms":1783252875000,"timestamp_seconds":1783252875,"priority":1,"record_length":96,"hex_timestamp":"0000019f322776f8"} 
[2026-07-05 17:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:34: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-07-05 17:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512658944001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512658944001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:34:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512658944001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":122704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:34:42] local.INFO: GPS data processed {"connection_id":122704,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:34:42] local.INFO: Acknowledgment sent {"connection_id":122704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:35:04] local.INFO: TCP Data received {"connection_id":124650,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:35:04] local.INFO: Processing buffer {"connection_id":124650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:35:04] local.INFO: IMEI packet received {"connection_id":124650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":124650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:35:10] local.INFO: TCP Data received {"connection_id":124650,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:35:10] local.INFO: Processing buffer {"connection_id":124650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:35:10] local.INFO: IMEI packet received {"connection_id":124650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":124650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:35:10] local.INFO: TCP Data received {"connection_id":124650,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:35:10] local.INFO: Processing buffer {"connection_id":124650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:35:10] local.INFO: Packet analysis {"connection_id":124650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:35:10] local.INFO: Extracted packet for processing {"connection_id":124650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512658944001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:35:10] 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-07-05 17:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252875000,"timestamp_ms":1783252875000,"timestamp_seconds":1783252875,"priority":1,"record_length":96,"hex_timestamp":"0000019f322776f8"} 
[2026-07-05 17:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:35: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-07-05 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512658944001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512658944001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512658944001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":124650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:35:10] local.INFO: GPS data processed {"connection_id":124650,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:35:10] local.INFO: Acknowledgment sent {"connection_id":124650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:35:42] local.INFO: TCP Data received {"connection_id":124650,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:35:42] local.INFO: Processing buffer {"connection_id":124650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:35:42] local.INFO: Packet analysis {"connection_id":124650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:35:42] local.INFO: Extracted packet for processing {"connection_id":124650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:35:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512658944001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:35:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:35:42] 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-07-05 17:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783252875000,"timestamp_ms":1783252875000,"timestamp_seconds":1783252875,"priority":1,"record_length":96,"hex_timestamp":"0000019f322776f8"} 
[2026-07-05 17:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17: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-07-05 17: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-07-05 17:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512658944001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512658944001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:35:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:35:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512658944001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":124650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:35:42] local.INFO: GPS data processed {"connection_id":124650,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:35:42] local.INFO: Acknowledgment sent {"connection_id":124650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:35:44] local.INFO: TCP Data received {"connection_id":122705,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:35:44] local.INFO: Processing buffer {"connection_id":122705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:35:44] local.INFO: IMEI packet received {"connection_id":122705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":122705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:36:04] local.INFO: TCP Data received {"connection_id":122706,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:36:04] local.INFO: Processing buffer {"connection_id":122706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:36:04] local.INFO: IMEI packet received {"connection_id":122706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":122706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:36:04] local.INFO: TCP Data received {"connection_id":122707,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:36:04] local.INFO: Processing buffer {"connection_id":122707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:36:04] local.INFO: IMEI packet received {"connection_id":122707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":122707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:36:09] local.INFO: TCP Data received {"connection_id":122707,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:36:09] local.INFO: Processing buffer {"connection_id":122707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:36:09] local.INFO: IMEI packet received {"connection_id":122707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":122707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:36:10] local.INFO: TCP Data received {"connection_id":122707,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:36:10] local.INFO: Processing buffer {"connection_id":122707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:36:10] local.INFO: Packet analysis {"connection_id":122707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:36:10] local.INFO: Extracted packet for processing {"connection_id":122707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512658944001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:36:10] 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-07-05 17:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252875000,"timestamp_ms":1783252875000,"timestamp_seconds":1783252875,"priority":1,"record_length":96,"hex_timestamp":"0000019f322776f8"} 
[2026-07-05 17:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:36: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-07-05 17:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512658944001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512658944001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:36:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512658944001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":122707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:36:10] local.INFO: GPS data processed {"connection_id":122707,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:36:10] local.INFO: Acknowledgment sent {"connection_id":122707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:36:42] local.INFO: TCP Data received {"connection_id":122707,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:36:42] local.INFO: Processing buffer {"connection_id":122707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322776f8012cb2a24007823a98004a013b26..."} 
[2026-07-05 17:36:42] local.INFO: Packet analysis {"connection_id":122707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:36:42] local.INFO: Extracted packet for processing {"connection_id":122707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3227"} 
[2026-07-05 17:36:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512658944001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:36:42] 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-07-05 17:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783252875000,"timestamp_ms":1783252875000,"timestamp_seconds":1783252875,"priority":1,"record_length":96,"hex_timestamp":"0000019f322776f8"} 
[2026-07-05 17:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512658944001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512658944001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:36:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512658944001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":122707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:36:42] local.INFO: GPS data processed {"connection_id":122707,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:36:42] local.INFO: Acknowledgment sent {"connection_id":122707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:37:04] local.INFO: TCP Data received {"connection_id":122708,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:37:04] local.INFO: Processing buffer {"connection_id":122708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:37:04] local.INFO: IMEI packet received {"connection_id":122708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":122708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:37:12] local.INFO: TCP Data received {"connection_id":122708,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:37:12] local.INFO: Processing buffer {"connection_id":122708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:37:12] local.INFO: IMEI packet received {"connection_id":122708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":122708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:37:13] local.INFO: TCP Data received {"connection_id":122708,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:37:13] local.INFO: Processing buffer {"connection_id":122708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:37:13] local.INFO: Packet analysis {"connection_id":122708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:37:13] local.INFO: Extracted packet for processing {"connection_id":122708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:37:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512736000001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:37:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:37:13] 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-07-05 17:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783253176000,"timestamp_ms":1783253176000,"timestamp_seconds":1783253176,"priority":1,"record_length":96,"hex_timestamp":"0000019f322c0ec0"} 
[2026-07-05 17:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512736000001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512736000001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:37:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:37:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512736000001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":122708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:37:13] local.INFO: GPS data processed {"connection_id":122708,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:37:13] local.INFO: Acknowledgment sent {"connection_id":122708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:37:47] local.INFO: TCP Data received {"connection_id":122708,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:37:47] local.INFO: Processing buffer {"connection_id":122708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:37:47] local.INFO: Packet analysis {"connection_id":122708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:37:47] local.INFO: Extracted packet for processing {"connection_id":122708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 17:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512736000001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:37:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:37:47] 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-07-05 17:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783253176000,"timestamp_ms":1783253176000,"timestamp_seconds":1783253176,"priority":1,"record_length":96,"hex_timestamp":"0000019f322c0ec0"} 
[2026-07-05 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-07-05 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 17:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512736000001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512736000001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:37:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:37:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:37:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512736000001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":122708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:37:48] local.INFO: GPS data processed {"connection_id":122708,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:37:48] local.INFO: Acknowledgment sent {"connection_id":122708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:38:04] local.INFO: TCP Data received {"connection_id":122709,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:04] local.INFO: Processing buffer {"connection_id":122709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:04] local.INFO: IMEI packet received {"connection_id":122709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":122709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:38:10] local.INFO: TCP Data received {"connection_id":122709,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:10] local.INFO: Processing buffer {"connection_id":122709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:10] local.INFO: IMEI packet received {"connection_id":122709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":122709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:38:10] local.INFO: TCP Data received {"connection_id":122709,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:38:10] local.INFO: Processing buffer {"connection_id":122709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:38:10] local.INFO: Packet analysis {"connection_id":122709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:38:10] local.INFO: Extracted packet for processing {"connection_id":122709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512736000001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:38:10] 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-07-05 17:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783253176000,"timestamp_ms":1783253176000,"timestamp_seconds":1783253176,"priority":1,"record_length":96,"hex_timestamp":"0000019f322c0ec0"} 
[2026-07-05 17:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:38: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-07-05 17:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512736000001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512736000001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:38:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512736000001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":122709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:38:10] local.INFO: GPS data processed {"connection_id":122709,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:38:10] local.INFO: Acknowledgment sent {"connection_id":122709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:38:39] local.INFO: TCP Data received {"connection_id":122646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:39] local.INFO: Processing buffer {"connection_id":122646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:39] local.INFO: IMEI packet received {"connection_id":122646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":122646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:38:45] local.INFO: TCP Data received {"connection_id":122646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:45] local.INFO: Processing buffer {"connection_id":122646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:38:45] local.INFO: IMEI packet received {"connection_id":122646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":122646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:38:49] local.INFO: TCP Data received {"connection_id":122646,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:38:49] local.INFO: Processing buffer {"connection_id":122646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:38:49] local.INFO: Packet analysis {"connection_id":122646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:38:49] local.INFO: Extracted packet for processing {"connection_id":122646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:38:49] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512736000001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:38:49] 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-07-05 17:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783253176000,"timestamp_ms":1783253176000,"timestamp_seconds":1783253176,"priority":1,"record_length":96,"hex_timestamp":"0000019f322c0ec0"} 
[2026-07-05 17:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512736000001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512736000001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:38:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:38:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512736000001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":122646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:38:49] local.INFO: GPS data processed {"connection_id":122646,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:38:49] local.INFO: Acknowledgment sent {"connection_id":122646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:39:09] local.INFO: TCP Data received {"connection_id":124652,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:39:09] local.INFO: Processing buffer {"connection_id":124652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:39:09] local.INFO: IMEI packet received {"connection_id":124652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":124652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:39:15] local.INFO: TCP Data received {"connection_id":124652,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:39:15] local.INFO: Processing buffer {"connection_id":124652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:39:15] local.INFO: IMEI packet received {"connection_id":124652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":124652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:39:15] local.INFO: TCP Data received {"connection_id":124652,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:39:15] local.INFO: Processing buffer {"connection_id":124652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:39:15] local.INFO: Packet analysis {"connection_id":124652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:39:15] local.INFO: Extracted packet for processing {"connection_id":124652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512736000001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:39:15] 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-07-05 17:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783253176000,"timestamp_ms":1783253176000,"timestamp_seconds":1783253176,"priority":1,"record_length":96,"hex_timestamp":"0000019f322c0ec0"} 
[2026-07-05 17:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512736000001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512736000001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:39:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:39:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512736000001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":124652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:39:15] local.INFO: GPS data processed {"connection_id":124652,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:39:15] local.INFO: Acknowledgment sent {"connection_id":124652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:39:46] local.INFO: TCP Data received {"connection_id":124652,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:39:46] local.INFO: Processing buffer {"connection_id":124652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:39:46] local.INFO: Packet analysis {"connection_id":124652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:39:46] local.INFO: Extracted packet for processing {"connection_id":124652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512736000001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:39:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:39:46] 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-07-05 17:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783253176000,"timestamp_ms":1783253176000,"timestamp_seconds":1783253176,"priority":1,"record_length":96,"hex_timestamp":"0000019f322c0ec0"} 
[2026-07-05 17:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:39: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-07-05 17:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512736000001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512736000001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:39:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:39:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:39:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512736000001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":124652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:39:46] local.INFO: GPS data processed {"connection_id":124652,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:39:46] local.INFO: Acknowledgment sent {"connection_id":124652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:40:04] local.INFO: TCP Data received {"connection_id":122712,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:40:04] local.INFO: Processing buffer {"connection_id":122712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:40:04] local.INFO: IMEI packet received {"connection_id":122712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":122712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:40:09] local.INFO: TCP Data received {"connection_id":122712,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:40:09] local.INFO: Processing buffer {"connection_id":122712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:40:09] local.INFO: IMEI packet received {"connection_id":122712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":122712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:40:10] local.INFO: TCP Data received {"connection_id":122712,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:40:10] local.INFO: Processing buffer {"connection_id":122712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:40:10] local.INFO: Packet analysis {"connection_id":122712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:40:10] local.INFO: Extracted packet for processing {"connection_id":122712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512736000001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:40:10] 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-07-05 17:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783253176000,"timestamp_ms":1783253176000,"timestamp_seconds":1783253176,"priority":1,"record_length":96,"hex_timestamp":"0000019f322c0ec0"} 
[2026-07-05 17:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:40: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-07-05 17:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512736000001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512736000001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:40:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512736000001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":122712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:40:10] local.INFO: GPS data processed {"connection_id":122712,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:40:10] local.INFO: Acknowledgment sent {"connection_id":122712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:40:41] local.INFO: TCP Data received {"connection_id":122712,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:40:41] local.INFO: Processing buffer {"connection_id":122712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:40:41] local.INFO: Packet analysis {"connection_id":122712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:40:41] local.INFO: Extracted packet for processing {"connection_id":122712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:40:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512736000001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:40:41] 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-07-05 17:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783253176000,"timestamp_ms":1783253176000,"timestamp_seconds":1783253176,"priority":1,"record_length":96,"hex_timestamp":"0000019f322c0ec0"} 
[2026-07-05 17:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17: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-07-05 17: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-07-05 17:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512736000001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512736000001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:40:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512736000001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":122712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:40:41] local.INFO: GPS data processed {"connection_id":122712,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:40:41] local.INFO: Acknowledgment sent {"connection_id":122712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:41:11] local.INFO: TCP Data received {"connection_id":123429,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:41:11] local.INFO: Processing buffer {"connection_id":123429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:41:11] local.INFO: IMEI packet received {"connection_id":123429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":123429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:41:15] local.INFO: TCP Data received {"connection_id":123429,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:41:15] local.INFO: Processing buffer {"connection_id":123429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:41:15] local.INFO: IMEI packet received {"connection_id":123429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":123429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:41:15] local.INFO: TCP Data received {"connection_id":123429,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:41:15] local.INFO: Processing buffer {"connection_id":123429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:41:15] local.INFO: Packet analysis {"connection_id":123429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:41:15] local.INFO: Extracted packet for processing {"connection_id":123429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512736000001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:41:15] 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-07-05 17:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783253176000,"timestamp_ms":1783253176000,"timestamp_seconds":1783253176,"priority":1,"record_length":96,"hex_timestamp":"0000019f322c0ec0"} 
[2026-07-05 17:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512736000001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512736000001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:41:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512736000001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":123429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:41:15] local.INFO: GPS data processed {"connection_id":123429,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:41:15] local.INFO: Acknowledgment sent {"connection_id":123429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:41:20] local.INFO: TCP Data received {"connection_id":123429,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:41:20] local.INFO: Processing buffer {"connection_id":123429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f322c0ec0012cb2a24007823a98004a013b2b..."} 
[2026-07-05 17:41:20] local.INFO: Packet analysis {"connection_id":123429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:41:20] local.INFO: Extracted packet for processing {"connection_id":123429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f322c"} 
[2026-07-05 17:41:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512736000001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:41:20] 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-07-05 17:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783253176000,"timestamp_ms":1783253176000,"timestamp_seconds":1783253176,"priority":1,"record_length":96,"hex_timestamp":"0000019f322c0ec0"} 
[2026-07-05 17:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512736000001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512736000001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:41:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512736000001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":123429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:41:20] local.INFO: GPS data processed {"connection_id":123429,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:41:20] local.INFO: Acknowledgment sent {"connection_id":123429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:41:34] local.INFO: TCP Data received {"connection_id":123428,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:41:34] local.INFO: Processing buffer {"connection_id":123428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:41:34] local.INFO: IMEI packet received {"connection_id":123428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":123428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:42:04] local.INFO: TCP Data received {"connection_id":122713,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:42:04] local.INFO: Processing buffer {"connection_id":122713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:42:04] local.INFO: IMEI packet received {"connection_id":122713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":122713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:42:05] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:42:05] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:42:05] local.INFO: IMEI packet received {"connection_id":124653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":124653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:42:10] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:42:10] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:42:10] local.INFO: IMEI packet received {"connection_id":124653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":124653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:42:10] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:42:10] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:42:10] local.INFO: Packet analysis {"connection_id":124653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:42:10] local.INFO: Extracted packet for processing {"connection_id":124653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512813056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:42:10] 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-07-05 17:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783253477000,"timestamp_ms":1783253477000,"timestamp_seconds":1783253477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3230a688"} 
[2026-07-05 17:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:42: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-07-05 17:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512813056001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512813056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:42:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512813056001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":124653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:42:10] local.INFO: GPS data processed {"connection_id":124653,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:42:10] local.INFO: Acknowledgment sent {"connection_id":124653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:42:15] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:42:15] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:42:15] local.INFO: Packet analysis {"connection_id":124653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:42:15] local.INFO: Extracted packet for processing {"connection_id":124653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:42:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512813056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:42:15] 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-07-05 17:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783253477000,"timestamp_ms":1783253477000,"timestamp_seconds":1783253477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3230a688"} 
[2026-07-05 17:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512813056001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512813056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:42:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512813056001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":124653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:42:15] local.INFO: GPS data processed {"connection_id":124653,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:42:15] local.INFO: Acknowledgment sent {"connection_id":124653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:42:46] local.INFO: TCP Data received {"connection_id":124653,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:42:46] local.INFO: Processing buffer {"connection_id":124653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:42:46] local.INFO: Packet analysis {"connection_id":124653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:42:46] local.INFO: Extracted packet for processing {"connection_id":124653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:42:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512813056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:42:46] 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-07-05 17:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783253477000,"timestamp_ms":1783253477000,"timestamp_seconds":1783253477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3230a688"} 
[2026-07-05 17:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:42: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-07-05 17:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512813056001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512813056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:42:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:42:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512813056001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":124653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:42:46] local.INFO: GPS data processed {"connection_id":124653,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:42:46] local.INFO: Acknowledgment sent {"connection_id":124653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:43:06] local.INFO: TCP Data received {"connection_id":122648,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:43:06] local.INFO: Processing buffer {"connection_id":122648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:43:06] local.INFO: IMEI packet received {"connection_id":122648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":122648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:43:09] local.INFO: TCP Data received {"connection_id":122648,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:43:09] local.INFO: Processing buffer {"connection_id":122648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:43:09] local.INFO: IMEI packet received {"connection_id":122648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":122648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:43:10] local.INFO: TCP Data received {"connection_id":122648,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:43:10] local.INFO: Processing buffer {"connection_id":122648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:43:10] local.INFO: Packet analysis {"connection_id":122648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:43:10] local.INFO: Extracted packet for processing {"connection_id":122648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512813056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:43:10] 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-07-05 17:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783253477000,"timestamp_ms":1783253477000,"timestamp_seconds":1783253477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3230a688"} 
[2026-07-05 17:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:43: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-07-05 17:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512813056001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512813056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:43:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512813056001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":122648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:43:10] local.INFO: GPS data processed {"connection_id":122648,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:43:10] local.INFO: Acknowledgment sent {"connection_id":122648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:43:44] local.INFO: TCP Data received {"connection_id":122648,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:43:44] local.INFO: Processing buffer {"connection_id":122648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:43:44] local.INFO: Packet analysis {"connection_id":122648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:43:44] local.INFO: Extracted packet for processing {"connection_id":122648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:43:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512813056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:43:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:43:44] 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-07-05 17:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783253477000,"timestamp_ms":1783253477000,"timestamp_seconds":1783253477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3230a688"} 
[2026-07-05 17:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:43: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-07-05 17: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-07-05 17:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512813056001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512813056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:43:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:43:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512813056001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":122648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:43:44] local.INFO: GPS data processed {"connection_id":122648,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:43:44] local.INFO: Acknowledgment sent {"connection_id":122648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:44:04] local.INFO: TCP Data received {"connection_id":122650,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:44:04] local.INFO: Processing buffer {"connection_id":122650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:44:04] local.INFO: IMEI packet received {"connection_id":122650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":122650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:44:10] local.INFO: TCP Data received {"connection_id":122650,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:44:10] local.INFO: Processing buffer {"connection_id":122650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:44:10] local.INFO: IMEI packet received {"connection_id":122650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":122650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:44:10] local.INFO: TCP Data received {"connection_id":122650,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:44:10] local.INFO: Processing buffer {"connection_id":122650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:44:10] local.INFO: Packet analysis {"connection_id":122650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:44:10] local.INFO: Extracted packet for processing {"connection_id":122650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512813056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:44:10] 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-07-05 17:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783253477000,"timestamp_ms":1783253477000,"timestamp_seconds":1783253477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3230a688"} 
[2026-07-05 17:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:44: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-07-05 17:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512813056001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512813056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:44:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512813056001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":122650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:44:10] local.INFO: GPS data processed {"connection_id":122650,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:44:10] local.INFO: Acknowledgment sent {"connection_id":122650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:44:42] local.INFO: TCP Data received {"connection_id":122650,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:44:42] local.INFO: Processing buffer {"connection_id":122650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:44:42] local.INFO: Packet analysis {"connection_id":122650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:44:42] local.INFO: Extracted packet for processing {"connection_id":122650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:44:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512813056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:44:42] 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-07-05 17:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783253477000,"timestamp_ms":1783253477000,"timestamp_seconds":1783253477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3230a688"} 
[2026-07-05 17:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512813056001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512813056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:44:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512813056001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":122650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:44:42] local.INFO: GPS data processed {"connection_id":122650,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:44:42] local.INFO: Acknowledgment sent {"connection_id":122650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:45:04] local.INFO: TCP Data received {"connection_id":122651,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:45:04] local.INFO: Processing buffer {"connection_id":122651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:45:04] local.INFO: IMEI packet received {"connection_id":122651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":122651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:45:09] local.INFO: TCP Data received {"connection_id":122651,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:45:09] local.INFO: Processing buffer {"connection_id":122651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:45:09] local.INFO: IMEI packet received {"connection_id":122651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":122651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:45:10] local.INFO: TCP Data received {"connection_id":122651,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:45:10] local.INFO: Processing buffer {"connection_id":122651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:45:10] local.INFO: Packet analysis {"connection_id":122651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:45:10] local.INFO: Extracted packet for processing {"connection_id":122651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512813056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:45:10] 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-07-05 17:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783253477000,"timestamp_ms":1783253477000,"timestamp_seconds":1783253477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3230a688"} 
[2026-07-05 17:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:45: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-07-05 17:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512813056001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512813056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:45:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512813056001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":122651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:45:10] local.INFO: GPS data processed {"connection_id":122651,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:45:10] local.INFO: Acknowledgment sent {"connection_id":122651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:45:41] local.INFO: TCP Data received {"connection_id":122651,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:45:41] local.INFO: Processing buffer {"connection_id":122651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:45:41] local.INFO: Packet analysis {"connection_id":122651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:45:41] local.INFO: Extracted packet for processing {"connection_id":122651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512813056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:45:41] 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-07-05 17:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783253477000,"timestamp_ms":1783253477000,"timestamp_seconds":1783253477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3230a688"} 
[2026-07-05 17:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:45: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-07-05 17: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-07-05 17:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512813056001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512813056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:45:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512813056001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":122651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:45:41] local.INFO: GPS data processed {"connection_id":122651,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:45:41] local.INFO: Acknowledgment sent {"connection_id":122651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:46:09] local.INFO: TCP Data received {"connection_id":122652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:46:09] local.INFO: Processing buffer {"connection_id":122652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:46:09] local.INFO: IMEI packet received {"connection_id":122652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":122652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:46:14] local.INFO: TCP Data received {"connection_id":122652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:46:14] local.INFO: Processing buffer {"connection_id":122652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:46:14] local.INFO: IMEI packet received {"connection_id":122652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":122652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:46:15] local.INFO: TCP Data received {"connection_id":122652,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:46:15] local.INFO: Processing buffer {"connection_id":122652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:46:15] local.INFO: Packet analysis {"connection_id":122652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:46:15] local.INFO: Extracted packet for processing {"connection_id":122652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:46:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512813056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:46:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:46:15] 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-07-05 17:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783253477000,"timestamp_ms":1783253477000,"timestamp_seconds":1783253477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3230a688"} 
[2026-07-05 17:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512813056001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512813056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:46:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:46:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512813056001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":122652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:46:15] local.INFO: GPS data processed {"connection_id":122652,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:46:15] local.INFO: Acknowledgment sent {"connection_id":122652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:46:20] local.INFO: TCP Data received {"connection_id":122652,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:46:20] local.INFO: Processing buffer {"connection_id":122652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3230a688012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:46:20] local.INFO: Packet analysis {"connection_id":122652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:46:20] local.INFO: Extracted packet for processing {"connection_id":122652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3230"} 
[2026-07-05 17:46:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512813056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:46:20] 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-07-05 17:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783253477000,"timestamp_ms":1783253477000,"timestamp_seconds":1783253477,"priority":1,"record_length":96,"hex_timestamp":"0000019f3230a688"} 
[2026-07-05 17:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512813056001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512813056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:46:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512813056001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":122652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:46:20] local.INFO: GPS data processed {"connection_id":122652,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:46:20] local.INFO: Acknowledgment sent {"connection_id":122652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:47:04] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:47:04] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:47:04] local.INFO: IMEI packet received {"connection_id":124656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":124656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:47:09] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:47:09] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:47:09] local.INFO: IMEI packet received {"connection_id":124656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":124656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:47:10] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:47:10] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:47:10] local.INFO: Packet analysis {"connection_id":124656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:47:10] local.INFO: Extracted packet for processing {"connection_id":124656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512890112001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:47:10] 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-07-05 17:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783253778000,"timestamp_ms":1783253778000,"timestamp_seconds":1783253778,"priority":1,"record_length":96,"hex_timestamp":"0000019f32353e50"} 
[2026-07-05 17:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:47: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-07-05 17:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512890112001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512890112001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:47:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512890112001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":124656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:47:10] local.INFO: GPS data processed {"connection_id":124656,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:47:10] local.INFO: Acknowledgment sent {"connection_id":124656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:47:41] local.INFO: TCP Data received {"connection_id":124656,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:47:41] local.INFO: Processing buffer {"connection_id":124656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:47:41] local.INFO: Packet analysis {"connection_id":124656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:47:41] local.INFO: Extracted packet for processing {"connection_id":124656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512890112001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:47:41] 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-07-05 17:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783253778000,"timestamp_ms":1783253778000,"timestamp_seconds":1783253778,"priority":1,"record_length":96,"hex_timestamp":"0000019f32353e50"} 
[2026-07-05 17:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512890112001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512890112001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:47:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512890112001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":124656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:47:41] local.INFO: GPS data processed {"connection_id":124656,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:47:41] local.INFO: Acknowledgment sent {"connection_id":124656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:47:44] local.INFO: TCP Data received {"connection_id":123430,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:47:44] local.INFO: Processing buffer {"connection_id":123430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:47:44] local.INFO: IMEI packet received {"connection_id":123430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":123430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:48:04] local.INFO: TCP Data received {"connection_id":122715,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:48:04] local.INFO: Processing buffer {"connection_id":122715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:48:04] local.INFO: IMEI packet received {"connection_id":122715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":122715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:48:04] local.INFO: TCP Data received {"connection_id":122716,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:48:04] local.INFO: Processing buffer {"connection_id":122716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:48:04] local.INFO: IMEI packet received {"connection_id":122716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":122716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:48:09] local.INFO: TCP Data received {"connection_id":122716,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:48:09] local.INFO: Processing buffer {"connection_id":122716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:48:09] local.INFO: IMEI packet received {"connection_id":122716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":122716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:48:10] local.INFO: TCP Data received {"connection_id":122716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:48:10] local.INFO: Processing buffer {"connection_id":122716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:48:10] local.INFO: Packet analysis {"connection_id":122716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:48:10] local.INFO: Extracted packet for processing {"connection_id":122716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512890112001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:48:10] 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-07-05 17:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783253778000,"timestamp_ms":1783253778000,"timestamp_seconds":1783253778,"priority":1,"record_length":96,"hex_timestamp":"0000019f32353e50"} 
[2026-07-05 17:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:48: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-07-05 17:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512890112001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512890112001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:48:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512890112001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":122716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:48:10] local.INFO: GPS data processed {"connection_id":122716,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:48:10] local.INFO: Acknowledgment sent {"connection_id":122716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:48:41] local.INFO: TCP Data received {"connection_id":122716,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:48:41] local.INFO: Processing buffer {"connection_id":122716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:48:41] local.INFO: Packet analysis {"connection_id":122716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:48:41] local.INFO: Extracted packet for processing {"connection_id":122716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:48:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512890112001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:48:41] 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-07-05 17:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783253778000,"timestamp_ms":1783253778000,"timestamp_seconds":1783253778,"priority":1,"record_length":96,"hex_timestamp":"0000019f32353e50"} 
[2026-07-05 17:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512890112001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512890112001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:48:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512890112001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":122716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:48:41] local.INFO: GPS data processed {"connection_id":122716,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:48:41] local.INFO: Acknowledgment sent {"connection_id":122716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:49:04] local.INFO: TCP Data received {"connection_id":123432,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:49:04] local.INFO: Processing buffer {"connection_id":123432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:49:04] local.INFO: IMEI packet received {"connection_id":123432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":123432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:49:10] local.INFO: TCP Data received {"connection_id":123432,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:49:10] local.INFO: Processing buffer {"connection_id":123432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:49:10] local.INFO: IMEI packet received {"connection_id":123432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":123432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:49:11] local.INFO: TCP Data received {"connection_id":123432,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:49:11] local.INFO: Processing buffer {"connection_id":123432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:49:11] local.INFO: Packet analysis {"connection_id":123432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:49:11] local.INFO: Extracted packet for processing {"connection_id":123432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512890112001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:49:11] 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-07-05 17:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783253778000,"timestamp_ms":1783253778000,"timestamp_seconds":1783253778,"priority":1,"record_length":96,"hex_timestamp":"0000019f32353e50"} 
[2026-07-05 17:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512890112001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512890112001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:49:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512890112001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":123432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:49:11] local.INFO: GPS data processed {"connection_id":123432,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:49:11] local.INFO: Acknowledgment sent {"connection_id":123432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:49:42] local.INFO: TCP Data received {"connection_id":123432,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:49:42] local.INFO: Processing buffer {"connection_id":123432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:49:42] local.INFO: Packet analysis {"connection_id":123432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:49:42] local.INFO: Extracted packet for processing {"connection_id":123432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512890112001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:49:42] 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-07-05 17:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783253778000,"timestamp_ms":1783253778000,"timestamp_seconds":1783253778,"priority":1,"record_length":96,"hex_timestamp":"0000019f32353e50"} 
[2026-07-05 17:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512890112001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512890112001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:49:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512890112001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":123432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:49:42] local.INFO: GPS data processed {"connection_id":123432,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:49:42] local.INFO: Acknowledgment sent {"connection_id":123432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:50:04] local.INFO: TCP Data received {"connection_id":122654,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:50:04] local.INFO: Processing buffer {"connection_id":122654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:50:04] local.INFO: IMEI packet received {"connection_id":122654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":122654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:50:09] local.INFO: TCP Data received {"connection_id":122654,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:50:09] local.INFO: Processing buffer {"connection_id":122654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:50:09] local.INFO: IMEI packet received {"connection_id":122654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":122654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:50:10] local.INFO: TCP Data received {"connection_id":122654,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:50:10] local.INFO: Processing buffer {"connection_id":122654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:50:10] local.INFO: Packet analysis {"connection_id":122654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:50:10] local.INFO: Extracted packet for processing {"connection_id":122654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512890112001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:50:10] 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-07-05 17:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783253778000,"timestamp_ms":1783253778000,"timestamp_seconds":1783253778,"priority":1,"record_length":96,"hex_timestamp":"0000019f32353e50"} 
[2026-07-05 17:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:50: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-07-05 17:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512890112001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512890112001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:50:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512890112001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":122654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:50:10] local.INFO: GPS data processed {"connection_id":122654,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:50:10] local.INFO: Acknowledgment sent {"connection_id":122654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:50:42] local.INFO: TCP Data received {"connection_id":122654,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:50:42] local.INFO: Processing buffer {"connection_id":122654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:50:42] local.INFO: Packet analysis {"connection_id":122654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:50:42] local.INFO: Extracted packet for processing {"connection_id":122654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512890112001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:50:42] 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-07-05 17:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783253778000,"timestamp_ms":1783253778000,"timestamp_seconds":1783253778,"priority":1,"record_length":96,"hex_timestamp":"0000019f32353e50"} 
[2026-07-05 17:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512890112001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512890112001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:50:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512890112001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":122654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:50:42] local.INFO: GPS data processed {"connection_id":122654,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:50:42] local.INFO: Acknowledgment sent {"connection_id":122654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:51:09] local.INFO: TCP Data received {"connection_id":124657,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:51:09] local.INFO: Processing buffer {"connection_id":124657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:51:09] local.INFO: IMEI packet received {"connection_id":124657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":124657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:51:14] local.INFO: TCP Data received {"connection_id":124657,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:51:14] local.INFO: Processing buffer {"connection_id":124657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:51:14] local.INFO: IMEI packet received {"connection_id":124657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":124657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:51:15] local.INFO: TCP Data received {"connection_id":124657,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:51:15] local.INFO: Processing buffer {"connection_id":124657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:51:15] local.INFO: Packet analysis {"connection_id":124657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:51:15] local.INFO: Extracted packet for processing {"connection_id":124657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:51:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:51: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-07-05 17:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512890112001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:51:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:51:15] 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-07-05 17:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783253778000,"timestamp_ms":1783253778000,"timestamp_seconds":1783253778,"priority":1,"record_length":96,"hex_timestamp":"0000019f32353e50"} 
[2026-07-05 17:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:51: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-07-05 17:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512890112001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512890112001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:51:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512890112001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":124657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:51:15] local.INFO: GPS data processed {"connection_id":124657,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:51:15] local.INFO: Acknowledgment sent {"connection_id":124657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:51:20] local.INFO: TCP Data received {"connection_id":124657,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:51:20] local.INFO: Processing buffer {"connection_id":124657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32353e50012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:51:20] local.INFO: Packet analysis {"connection_id":124657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:51:20] local.INFO: Extracted packet for processing {"connection_id":124657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3235"} 
[2026-07-05 17:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512890112001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:51:20] 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-07-05 17:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783253778000,"timestamp_ms":1783253778000,"timestamp_seconds":1783253778,"priority":1,"record_length":96,"hex_timestamp":"0000019f32353e50"} 
[2026-07-05 17:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512890112001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512890112001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:51:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512890112001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":124657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:51:20] local.INFO: GPS data processed {"connection_id":124657,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:51:20] local.INFO: Acknowledgment sent {"connection_id":124657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:52:04] local.INFO: TCP Data received {"connection_id":122718,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:52:04] local.INFO: Processing buffer {"connection_id":122718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:52:04] local.INFO: IMEI packet received {"connection_id":122718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":122718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:52:09] local.INFO: TCP Data received {"connection_id":122718,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:52:09] local.INFO: Processing buffer {"connection_id":122718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:52:09] local.INFO: IMEI packet received {"connection_id":122718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":122718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:52:10] local.INFO: TCP Data received {"connection_id":122718,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:52:10] local.INFO: Processing buffer {"connection_id":122718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:52:10] local.INFO: Packet analysis {"connection_id":122718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:52:10] local.INFO: Extracted packet for processing {"connection_id":122718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512967168001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:52:10] 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-07-05 17:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254079000,"timestamp_ms":1783254079000,"timestamp_seconds":1783254079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3239d618"} 
[2026-07-05 17:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:52: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-07-05 17:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512967168001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512967168001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:52:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512967168001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":122718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:52:10] local.INFO: GPS data processed {"connection_id":122718,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:52:10] local.INFO: Acknowledgment sent {"connection_id":122718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:52:15] local.INFO: TCP Data received {"connection_id":122718,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:52:15] local.INFO: Processing buffer {"connection_id":122718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:52:15] local.INFO: Packet analysis {"connection_id":122718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:52:15] local.INFO: Extracted packet for processing {"connection_id":122718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:52:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512967168001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:52:15] 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-07-05 17:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783254079000,"timestamp_ms":1783254079000,"timestamp_seconds":1783254079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3239d618"} 
[2026-07-05 17:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:52:15] 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-07-05 17:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512967168001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512967168001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:52:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:52:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512967168001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":122718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:52:15] local.INFO: GPS data processed {"connection_id":122718,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:52:15] local.INFO: Acknowledgment sent {"connection_id":122718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:52:46] local.INFO: TCP Data received {"connection_id":122718,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:52:46] local.INFO: Processing buffer {"connection_id":122718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:52:46] local.INFO: Packet analysis {"connection_id":122718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:52:46] local.INFO: Extracted packet for processing {"connection_id":122718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:52:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512967168001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:52:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:52:46] 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-07-05 17:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783254079000,"timestamp_ms":1783254079000,"timestamp_seconds":1783254079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3239d618"} 
[2026-07-05 17:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512967168001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512967168001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:52:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:52:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:52:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512967168001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":122718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:52:46] local.INFO: GPS data processed {"connection_id":122718,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:52:46] local.INFO: Acknowledgment sent {"connection_id":122718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:53:04] local.INFO: TCP Data received {"connection_id":123434,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:53:04] local.INFO: Processing buffer {"connection_id":123434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:53:04] local.INFO: IMEI packet received {"connection_id":123434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":123434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:53:09] local.INFO: TCP Data received {"connection_id":123434,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:53:09] local.INFO: Processing buffer {"connection_id":123434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:53:09] local.INFO: IMEI packet received {"connection_id":123434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":123434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:53:10] local.INFO: TCP Data received {"connection_id":123434,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:53:10] local.INFO: Processing buffer {"connection_id":123434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:53:10] local.INFO: Packet analysis {"connection_id":123434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:53:10] local.INFO: Extracted packet for processing {"connection_id":123434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:53:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512967168001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:53:10] 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-07-05 17:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254079000,"timestamp_ms":1783254079000,"timestamp_seconds":1783254079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3239d618"} 
[2026-07-05 17:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:53: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-07-05 17:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512967168001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512967168001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:53:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512967168001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":123434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:53:10] local.INFO: GPS data processed {"connection_id":123434,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:53:10] local.INFO: Acknowledgment sent {"connection_id":123434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:53:29] local.INFO: TCP Data received {"connection_id":123433,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:53:29] local.INFO: Processing buffer {"connection_id":123433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:53:29] local.INFO: IMEI packet received {"connection_id":123433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":123433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:53:33] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 17:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 17:53:33] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 17:53:33] local.INFO: IMEI packet received {"connection_id":122720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 17:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":122720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:53:34] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 17:53:34] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 17:53:34] local.INFO: IMEI packet received {"connection_id":122720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 17:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":122720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:53:38] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 17:53:38] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 17:53:38] local.INFO: IMEI packet received {"connection_id":122720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 17:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":122720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:53:41] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-05 17:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-05 17:53:41] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-05 17:53:41] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 17:53:41] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 17:53: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-07-05 17: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-07-05 17:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 17:53:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,116,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 17:53:41] 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-07-05 17:53:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 17:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 17:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 17:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 17:53:41] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 17:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 17:53:41] local.ERROR: GPS data processing failed {"connection_id":122720,"error":"No valid data to process"} 
[2026-07-05 17:53:41] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 17:53:41] local.INFO: TCP Data received {"connection_id":123434,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:53:41] local.INFO: Processing buffer {"connection_id":123434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:53:41] local.INFO: Packet analysis {"connection_id":123434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:53:41] local.INFO: Extracted packet for processing {"connection_id":123434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:53:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512967168001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:53:41] 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-07-05 17:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783254079000,"timestamp_ms":1783254079000,"timestamp_seconds":1783254079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3239d618"} 
[2026-07-05 17:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17: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-07-05 17: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-07-05 17:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512967168001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512967168001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:53:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512967168001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":123434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:53:41] local.INFO: GPS data processed {"connection_id":123434,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:53:41] local.INFO: Acknowledgment sent {"connection_id":123434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:54:04] local.INFO: TCP Data received {"connection_id":122655,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:54:04] local.INFO: Processing buffer {"connection_id":122655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:54:04] local.INFO: IMEI packet received {"connection_id":122655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":122655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:54:04] local.INFO: TCP Data received {"connection_id":124658,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:54:04] local.INFO: Processing buffer {"connection_id":124658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:54:04] local.INFO: IMEI packet received {"connection_id":124658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":124658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:54:09] local.INFO: TCP Data received {"connection_id":124658,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:54:09] local.INFO: Processing buffer {"connection_id":124658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:54:09] local.INFO: IMEI packet received {"connection_id":124658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":124658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:54:10] local.INFO: TCP Data received {"connection_id":124658,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:54:10] local.INFO: Processing buffer {"connection_id":124658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:54:10] local.INFO: Packet analysis {"connection_id":124658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:54:10] local.INFO: Extracted packet for processing {"connection_id":124658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512967168001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:54:10] 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-07-05 17:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254079000,"timestamp_ms":1783254079000,"timestamp_seconds":1783254079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3239d618"} 
[2026-07-05 17:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:54: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-07-05 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512967168001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512967168001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:54:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512967168001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":124658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:54:10] local.INFO: GPS data processed {"connection_id":124658,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:54:10] local.INFO: Acknowledgment sent {"connection_id":124658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:54:20] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-05 17:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-05 17:54:20] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-05 17:54:20] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-05 17:54:20] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-05 17:54:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 17:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 17:54:20] 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-07-05 17:54:20] 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-07-05 17:54:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 17:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 17:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 17:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 17:54:20] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 17:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 17:54:20] local.ERROR: GPS data processing failed {"connection_id":122720,"error":"No valid data to process"} 
[2026-07-05 17:54:20] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 17:54:42] local.INFO: TCP Data received {"connection_id":124658,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:54:42] local.INFO: Processing buffer {"connection_id":124658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:54:42] local.INFO: Packet analysis {"connection_id":124658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:54:42] local.INFO: Extracted packet for processing {"connection_id":124658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:54:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512967168001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:54:42] 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-07-05 17:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783254079000,"timestamp_ms":1783254079000,"timestamp_seconds":1783254079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3239d618"} 
[2026-07-05 17:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512967168001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512967168001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:54:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512967168001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":124658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:54:42] local.INFO: GPS data processed {"connection_id":124658,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:54:42] local.INFO: Acknowledgment sent {"connection_id":124658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:54:51] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323c81b00100000000000000000000000000..."} 
[2026-07-05 17:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323c81b00100000000000000000000000000..."} 
[2026-07-05 17:54:51] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323c81b00100000000000000000000000000..."} 
[2026-07-05 17:54:51] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323c"} 
[2026-07-05 17:54:51] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323c"} 
[2026-07-05 17:54:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 17:54:51] 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-07-05 17:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783254254000,"timestamp_ms":1783254254000,"timestamp_seconds":1783254254,"priority":1,"record_length":96,"hex_timestamp":"0000019f323c81b0"} 
[2026-07-05 17:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:54:51] 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-07-05 17: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":44,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-07-05 17:54:51] 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-07-05 17: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-07-05 17:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:54:51] 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-07-05 17:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 17:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 17:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 17:54:51] local.INFO: GPS data processed {"connection_id":122720,"processed":0,"errors":0,"total":1} 
[2026-07-05 17:54:51] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:55:04] local.INFO: TCP Data received {"connection_id":122721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:55:04] local.INFO: Processing buffer {"connection_id":122721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:55:04] local.INFO: IMEI packet received {"connection_id":122721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":122721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:55:09] local.INFO: TCP Data received {"connection_id":122721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:55:09] local.INFO: Processing buffer {"connection_id":122721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:55:09] local.INFO: IMEI packet received {"connection_id":122721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":122721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:55:10] local.INFO: TCP Data received {"connection_id":122721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:55:10] local.INFO: Processing buffer {"connection_id":122721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:55:10] local.INFO: Packet analysis {"connection_id":122721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:55:10] local.INFO: Extracted packet for processing {"connection_id":122721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:55:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512967168001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:55:10] 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-07-05 17:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254079000,"timestamp_ms":1783254079000,"timestamp_seconds":1783254079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3239d618"} 
[2026-07-05 17:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:55: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-07-05 17:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512967168001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512967168001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:55:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512967168001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":122721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:55:10] local.INFO: GPS data processed {"connection_id":122721,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:55:10] local.INFO: Acknowledgment sent {"connection_id":122721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:55:22] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323ca8c0012d7e37c005d34ea80000005505..."} 
[2026-07-05 17:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323ca8c0012d7e37c005d34ea80000005505..."} 
[2026-07-05 17:55:22] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323ca8c0012d7e37c005d34ea80000005505..."} 
[2026-07-05 17:55:22] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323c"} 
[2026-07-05 17:55:22] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323c"} 
[2026-07-05 17:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763246528,"raw_latitude":97734312,"longitude_deg":76.3246528,"latitude_deg":9.7734312,"altitude":0,"angle":85,"satellites":5,"speed":6,"hex_longitude":"2d7e37c0","hex_latitude":"05d34ea8","is_valid_coordinates":true} 
[2026-07-05 17:55:22] 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-07-05 17:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 17:55:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 17:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783254264000,"timestamp_ms":1783254264000,"timestamp_seconds":1783254264,"priority":1,"record_length":96,"hex_timestamp":"0000019f323ca8c0"} 
[2026-07-05 17:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:55:22] 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-07-05 17:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-05 17:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 17:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 17:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12765,"109":206,"85":15104,"24":6,"16":102636738983231488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-07-05 17:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 17:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 17:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-05 17:55:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 17:55:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 17:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636738983231488,"km_value":102636738983231.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:55:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null}} 
[2026-07-05 17:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:55:22] local.INFO: GPS data processed {"connection_id":122720,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:55:22] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:55:42] local.INFO: TCP Data received {"connection_id":122721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:55:42] local.INFO: Processing buffer {"connection_id":122721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:55:42] local.INFO: Packet analysis {"connection_id":122721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:55:42] local.INFO: Extracted packet for processing {"connection_id":122721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512967168001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:55:42] 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-07-05 17:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783254079000,"timestamp_ms":1783254079000,"timestamp_seconds":1783254079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3239d618"} 
[2026-07-05 17:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512967168001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512967168001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:55:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512967168001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":122721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:55:42] local.INFO: GPS data processed {"connection_id":122721,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:55:42] local.INFO: Acknowledgment sent {"connection_id":122721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:55:53] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323d4500012d7e35c005d34f28000a008709..."} 
[2026-07-05 17:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323d4500012d7e35c005d34f28000a008709..."} 
[2026-07-05 17:55:53] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323d4500012d7e35c005d34f28000a008709..."} 
[2026-07-05 17:55:53] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323d"} 
[2026-07-05 17:55:53] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323d"} 
[2026-07-05 17:55:53] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734440,"longitude_deg":76.3246016,"latitude_deg":9.773444,"altitude":10,"angle":135,"satellites":9,"speed":1,"hex_longitude":"2d7e35c0","hex_latitude":"05d34f28","is_valid_coordinates":true} 
[2026-07-05 17:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513101056001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636902191988736,"note":"Value kept but may cause issues"} 
[2026-07-05 17:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052968960,"note":"Value kept but may cause issues"} 
[2026-07-05 17:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 17:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783254304000,"timestamp_ms":1783254304000,"timestamp_seconds":1783254304,"priority":1,"record_length":96,"hex_timestamp":"0000019f323d4500"} 
[2026-07-05 17:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:55:53] 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-07-05 17:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-05 17:55: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-07-05 17:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 17:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 17:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513101056001,"66":13504,"109":206,"85":15104,"24":1,"16":102636902191988736,"45":9094315785052968960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 17:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 17:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 17:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513101056001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:55:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 17:55:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 17:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636902191988736,"km_value":102636902191988.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052968960,"description":"Unknown IO ID 45"} 
[2026-07-05 17:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513101056001,"power":13504,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9094315785052968960}} 
[2026-07-05 17:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:55:53] local.INFO: GPS data processed {"connection_id":122720,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:55:53] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:56:09] local.INFO: TCP Data received {"connection_id":122723,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:56:09] local.INFO: Processing buffer {"connection_id":122723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:56:09] local.INFO: IMEI packet received {"connection_id":122723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":122723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:56:14] local.INFO: TCP Data received {"connection_id":122723,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:56:14] local.INFO: Processing buffer {"connection_id":122723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:56:14] local.INFO: IMEI packet received {"connection_id":122723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":122723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:56:15] local.INFO: TCP Data received {"connection_id":122723,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:56:15] local.INFO: Processing buffer {"connection_id":122723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:56:15] local.INFO: Packet analysis {"connection_id":122723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:56:15] local.INFO: Extracted packet for processing {"connection_id":122723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:56:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512967168001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56:15] 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-07-05 17:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783254079000,"timestamp_ms":1783254079000,"timestamp_seconds":1783254079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3239d618"} 
[2026-07-05 17:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:56:15] 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-07-05 17:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512967168001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512967168001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:56:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:56:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512967168001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":122723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:56:15] local.INFO: GPS data processed {"connection_id":122723,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:56:15] local.INFO: Acknowledgment sent {"connection_id":122723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:56:20] local.INFO: TCP Data received {"connection_id":122723,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:56:20] local.INFO: Processing buffer {"connection_id":122723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3239d618012cb2a24007823a98004a013b2a..."} 
[2026-07-05 17:56:20] local.INFO: Packet analysis {"connection_id":122723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:56:20] local.INFO: Extracted packet for processing {"connection_id":122723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3239"} 
[2026-07-05 17:56:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512967168001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56:20] 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-07-05 17:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783254079000,"timestamp_ms":1783254079000,"timestamp_seconds":1783254079,"priority":1,"record_length":96,"hex_timestamp":"0000019f3239d618"} 
[2026-07-05 17:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:56:20] 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-07-05 17:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512967168001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512967168001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:56:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:56:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512967168001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":122723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:56:20] local.INFO: GPS data processed {"connection_id":122723,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:56:20] local.INFO: Acknowledgment sent {"connection_id":122723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:56:25] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323d9708012d7e35c005d34e800009008709..."} 
[2026-07-05 17:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323d9708012d7e35c005d34e800009008709..."} 
[2026-07-05 17:56:25] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323d9708012d7e35c005d34e800009008709..."} 
[2026-07-05 17:56:25] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323d"} 
[2026-07-05 17:56:25] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323d"} 
[2026-07-05 17:56:25] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734272,"longitude_deg":76.3246016,"latitude_deg":9.7734272,"altitude":9,"angle":135,"satellites":9,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e80","is_valid_coordinates":true} 
[2026-07-05 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-07-05 17:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513101824001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636915076890624,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797134336,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56: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-07-05 17:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783254325000,"timestamp_ms":1783254325000,"timestamp_seconds":1783254325,"priority":1,"record_length":96,"hex_timestamp":"0000019f323d9708"} 
[2026-07-05 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-07-05 17:56:25] 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-07-05 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-05 17:56:25] 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-07-05 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-07-05 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-07-05 17:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:56:25] 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-07-05 17:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 17:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 17:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513101824001,"66":12982,"109":206,"85":15104,"24":0,"16":102636915076890624,"45":9094386153797134336},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 17:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 17:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 17:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513101824001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:56:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 17:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 17:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636915076890624,"km_value":102636915076890.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797134336,"description":"Unknown IO ID 45"} 
[2026-07-05 17:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513101824001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797134336}} 
[2026-07-05 17:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:56:25] local.INFO: GPS data processed {"connection_id":122720,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:56:25] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:56:56] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323de910012d7e358005d34e900009008712..."} 
[2026-07-05 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323de910012d7e358005d34e900009008712..."} 
[2026-07-05 17:56:56] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323de910012d7e358005d34e900009008712..."} 
[2026-07-05 17:56:56] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323d"} 
[2026-07-05 17:56:56] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323d"} 
[2026-07-05 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734288,"longitude_deg":76.3245952,"latitude_deg":9.7734288,"altitude":9,"angle":135,"satellites":18,"speed":0,"hex_longitude":"2d7e3580","hex_latitude":"05d34e90","is_valid_coordinates":true} 
[2026-07-05 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-07-05 17:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513107200001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636923666825216,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797091328,"note":"Value kept but may cause issues"} 
[2026-07-05 17:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 17:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783254346000,"timestamp_ms":1783254346000,"timestamp_seconds":1783254346,"priority":1,"record_length":96,"hex_timestamp":"0000019f323de910"} 
[2026-07-05 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-07-05 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-05 17:56:56] 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-07-05 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-07-05 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-07-05 17:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:56:56] 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-07-05 17:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 17:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 17:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513107200001,"66":13254,"109":206,"85":15104,"24":0,"16":102636923666825216,"45":9094386153797091328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 17:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 17:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 17:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513107200001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:56:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 17:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 17:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636923666825216,"km_value":102636923666825.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797091328,"description":"Unknown IO ID 45"} 
[2026-07-05 17:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513107200001,"power":13254,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797091328}} 
[2026-07-05 17:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:56:56] local.INFO: GPS data processed {"connection_id":122720,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:56:56] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:57:04] local.INFO: TCP Data received {"connection_id":123435,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:57:04] local.INFO: Processing buffer {"connection_id":123435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:57:04] local.INFO: IMEI packet received {"connection_id":123435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":123435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:57:10] local.INFO: TCP Data received {"connection_id":123435,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:57:10] local.INFO: Processing buffer {"connection_id":123435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:57:10] local.INFO: IMEI packet received {"connection_id":123435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":123435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:57:10] local.INFO: TCP Data received {"connection_id":123435,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:57:10] local.INFO: Processing buffer {"connection_id":123435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:57:10] local.INFO: Packet analysis {"connection_id":123435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:57:10] local.INFO: Extracted packet for processing {"connection_id":123435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:57:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513044224001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:10] 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-07-05 17:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254380000,"timestamp_ms":1783254380000,"timestamp_seconds":1783254380,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e6de0"} 
[2026-07-05 17:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:57: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-07-05 17:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513044224001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513044224001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:57:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513044224001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":123435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:57:10] local.INFO: GPS data processed {"connection_id":123435,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:57:10] local.INFO: Acknowledgment sent {"connection_id":123435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:57:27] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e0c38012d7e350005d34e50000900c012..."} 
[2026-07-05 17:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e0c38012d7e350005d34e50000900c012..."} 
[2026-07-05 17:57:27] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e0c38012d7e350005d34e50000900c012..."} 
[2026-07-05 17:57:27] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:57:27] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97734224,"longitude_deg":76.3245824,"latitude_deg":9.7734224,"altitude":9,"angle":192,"satellites":18,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34e50","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513112576001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052917760,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 17:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783254355000,"timestamp_ms":1783254355000,"timestamp_seconds":1783254355,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e0c38"} 
[2026-07-05 17:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:57:27] 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-07-05 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-05 17:57:27] 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-07-05 17: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-07-05 17:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 17:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 17:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513112576001,"66":13602,"109":206,"85":15104,"24":0,"16":102636932256759808,"45":9094315785052917760},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 17:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 17:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 17:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513112576001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:57:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 17:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 17:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052917760,"description":"Unknown IO ID 45"} 
[2026-07-05 17:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513112576001,"power":13602,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052917760}} 
[2026-07-05 17:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:57:27] local.INFO: GPS data processed {"connection_id":122720,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:57:27] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:57:42] local.INFO: TCP Data received {"connection_id":123435,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:57:42] local.INFO: Processing buffer {"connection_id":123435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:57:42] local.INFO: Packet analysis {"connection_id":123435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:57:42] local.INFO: Extracted packet for processing {"connection_id":123435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:57:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513044224001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:42] 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-07-05 17:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783254380000,"timestamp_ms":1783254380000,"timestamp_seconds":1783254380,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e6de0"} 
[2026-07-05 17:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17: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-07-05 17: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-07-05 17:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513044224001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513044224001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:57:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:57:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513044224001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":123435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:57:42] local.INFO: GPS data processed {"connection_id":123435,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:57:42] local.INFO: Acknowledgment sent {"connection_id":123435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:57:58] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:57:58] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:57:58] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:57:58] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97734216,"longitude_deg":76.3245824,"latitude_deg":9.7734216,"altitude":9,"angle":193,"satellites":18,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34e48","is_valid_coordinates":true} 
[2026-07-05 17:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513114880001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564546048,"note":"Value kept but may cause issues"} 
[2026-07-05 17:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 17:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783254363000,"timestamp_ms":1783254363000,"timestamp_seconds":1783254363,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e2b78"} 
[2026-07-05 17:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:57:58] 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-07-05 17:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-05 17:57:58] 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-07-05 17:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:57:58] 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-07-05 17:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 17:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 17:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513114880001,"66":13526,"109":206,"85":15104,"24":0,"16":102636932256759808,"45":9094175047564546048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 17:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 17:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 17:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513114880001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:57:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 17:57:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 17:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564546048,"description":"Unknown IO ID 45"} 
[2026-07-05 17:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513114880001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564546048}} 
[2026-07-05 17:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:57:58] local.INFO: GPS data processed {"connection_id":122720,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:57:58] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:58:04] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:58:04] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:58:04] local.INFO: IMEI packet received {"connection_id":124659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":124659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:58:09] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:58:09] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:58:09] local.INFO: IMEI packet received {"connection_id":124659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":124659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:58:10] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:58:10] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:58:10] local.INFO: Packet analysis {"connection_id":124659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:58:10] local.INFO: Extracted packet for processing {"connection_id":124659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17: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-07-05 17:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513044224001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:58:10] 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-07-05 17:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254380000,"timestamp_ms":1783254380000,"timestamp_seconds":1783254380,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e6de0"} 
[2026-07-05 17:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:58: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-07-05 17:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17: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-07-05 17:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513044224001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513044224001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:58:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513044224001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":124659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:58:10] local.INFO: GPS data processed {"connection_id":124659,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:58:10] local.INFO: Acknowledgment sent {"connection_id":124659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:58:30] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:58:30] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:58:30] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:58:30] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97734216,"longitude_deg":76.3245824,"latitude_deg":9.7734216,"altitude":9,"angle":193,"satellites":18,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34e48","is_valid_coordinates":true} 
[2026-07-05 17:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513116928001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 17:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564544000,"note":"Value kept but may cause issues"} 
[2026-07-05 17:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 17:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783254363000,"timestamp_ms":1783254363000,"timestamp_seconds":1783254363,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e2b78"} 
[2026-07-05 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-07-05 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-05 17:58:30] 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-07-05 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-07-05 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-07-05 17:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:58:30] 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-07-05 17:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 17:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 17:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513116928001,"66":13526,"109":206,"85":15104,"24":0,"16":102636932256759808,"45":9094175047564544000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 17:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 17:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 17:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513116928001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:58:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 17:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 17:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564544000,"description":"Unknown IO ID 45"} 
[2026-07-05 17:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513116928001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564544000}} 
[2026-07-05 17:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:58:30] local.INFO: GPS data processed {"connection_id":122720,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:58:30] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:58:41] local.INFO: TCP Data received {"connection_id":124659,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:58:42] local.INFO: Processing buffer {"connection_id":124659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:58:42] local.INFO: Packet analysis {"connection_id":124659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:58:42] local.INFO: Extracted packet for processing {"connection_id":124659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:58:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513044224001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:58:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:58:42] 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-07-05 17:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783254380000,"timestamp_ms":1783254380000,"timestamp_seconds":1783254380,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e6de0"} 
[2026-07-05 17:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:58: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-07-05 17:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513044224001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513044224001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:58:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:58:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513044224001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":124659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:58:42] local.INFO: GPS data processed {"connection_id":124659,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:58:42] local.INFO: Acknowledgment sent {"connection_id":124659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:59:01] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:59:01] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:59:01] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:59:01] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97734216,"longitude_deg":76.3245824,"latitude_deg":9.7734216,"altitude":9,"angle":193,"satellites":18,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34e48","is_valid_coordinates":true} 
[2026-07-05 17:59:01] 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-07-05 17:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513116928001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564544000,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59: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-07-05 17:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783254363000,"timestamp_ms":1783254363000,"timestamp_seconds":1783254363,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e2b78"} 
[2026-07-05 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-07-05 17:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-05 17:59:01] 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-07-05 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-07-05 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-07-05 17:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:59:01] 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-07-05 17:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 17:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 17:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513116928001,"66":13526,"109":206,"85":15104,"24":0,"16":102636932256759808,"45":9094175047564544000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 17:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 17:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 17:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513116928001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:59:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 17:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 17:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564544000,"description":"Unknown IO ID 45"} 
[2026-07-05 17:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513116928001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564544000}} 
[2026-07-05 17:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:59:01] local.INFO: GPS data processed {"connection_id":122720,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:59:01] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:59:04] local.INFO: TCP Data received {"connection_id":122724,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:59:04] local.INFO: Processing buffer {"connection_id":122724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:59:04] local.INFO: IMEI packet received {"connection_id":122724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 17:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":122724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:59:09] local.INFO: TCP Data received {"connection_id":122724,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:59:09] local.INFO: Processing buffer {"connection_id":122724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 17:59:09] local.INFO: IMEI packet received {"connection_id":122724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 17:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":122724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 17:59:10] local.INFO: TCP Data received {"connection_id":122724,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:59:10] local.INFO: Processing buffer {"connection_id":122724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:59:10] local.INFO: Packet analysis {"connection_id":122724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:59:10] local.INFO: Extracted packet for processing {"connection_id":122724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513044224001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59:10] 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-07-05 17:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254380000,"timestamp_ms":1783254380000,"timestamp_seconds":1783254380,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e6de0"} 
[2026-07-05 17:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:59: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-07-05 17:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513044224001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513044224001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:59:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513044224001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":122724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:59:10] local.INFO: GPS data processed {"connection_id":122724,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:59:10] local.INFO: Acknowledgment sent {"connection_id":122724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:59:24] local.INFO: TCP Data received {"connection_id":123437,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:59:24] local.INFO: Processing buffer {"connection_id":123437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 17:59:24] local.INFO: IMEI packet received {"connection_id":123437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 17:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":123437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 17:59:32] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:59:32] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 17:59:32] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:59:32] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97734216,"longitude_deg":76.3245824,"latitude_deg":9.7734216,"altitude":9,"angle":193,"satellites":18,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34e48","is_valid_coordinates":true} 
[2026-07-05 17:59:32] 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-07-05 17:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513116928001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564544000,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 17:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783254363000,"timestamp_ms":1783254363000,"timestamp_seconds":1783254363,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e2b78"} 
[2026-07-05 17:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-05 17:59:32] 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-07-05 17: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-07-05 17:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 17:59:32] 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-07-05 17:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 17:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 17:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513116928001,"66":13526,"109":206,"85":15104,"24":0,"16":102636932256759808,"45":9094175047564544000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 17:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 17:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 17:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513116928001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:59:32] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 17:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 17:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564544000,"description":"Unknown IO ID 45"} 
[2026-07-05 17:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513116928001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564544000}} 
[2026-07-05 17:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:59:32] local.INFO: GPS data processed {"connection_id":122720,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:59:32] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 17:59:41] local.INFO: TCP Data received {"connection_id":122724,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:59:41] local.INFO: Processing buffer {"connection_id":122724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 17:59:41] local.INFO: Packet analysis {"connection_id":122724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:59:41] local.INFO: Extracted packet for processing {"connection_id":122724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 17:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 17:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 17:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513044224001,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 17:59:41] 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-07-05 17:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783254380000,"timestamp_ms":1783254380000,"timestamp_seconds":1783254380,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e6de0"} 
[2026-07-05 17:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 17:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 17:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 17:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 17:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 17:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 17:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 17:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 17:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 17:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 17:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 17:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 17:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513044224001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 17:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 17:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 17:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513044224001,"description":"Unknown IO ID 0"} 
[2026-07-05 17:59:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 17:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 17:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 17:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 17:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513044224001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 17:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":122724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 17:59:41] local.INFO: GPS data processed {"connection_id":122724,"processed":1,"errors":0,"total":1} 
[2026-07-05 17:59:41] local.INFO: Acknowledgment sent {"connection_id":122724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:00:04] local.INFO: TCP Data received {"connection_id":124660,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:00:04] local.INFO: Processing buffer {"connection_id":124660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:00:04] local.INFO: IMEI packet received {"connection_id":124660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":124660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:00:09] local.INFO: TCP Data received {"connection_id":122658,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:00:09] local.INFO: Processing buffer {"connection_id":122658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:00:09] local.INFO: IMEI packet received {"connection_id":122658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":122658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:00:09] local.INFO: TCP Data received {"connection_id":124660,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:00:09] local.INFO: Processing buffer {"connection_id":124660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:00:09] local.INFO: IMEI packet received {"connection_id":124660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":124660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:00:10] local.INFO: TCP Data received {"connection_id":124660,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:00:10] local.INFO: Processing buffer {"connection_id":124660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:00:10] local.INFO: Packet analysis {"connection_id":124660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:00:10] local.INFO: Extracted packet for processing {"connection_id":124660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513044224001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00:10] 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-07-05 18:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254380000,"timestamp_ms":1783254380000,"timestamp_seconds":1783254380,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e6de0"} 
[2026-07-05 18:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:00: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-07-05 18:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513044224001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513044224001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:00:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513044224001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":124660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:00:10] local.INFO: GPS data processed {"connection_id":124660,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:00:10] local.INFO: Acknowledgment sent {"connection_id":124660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:00:19] local.INFO: TCP Data received {"connection_id":123438,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:00:19] local.INFO: Processing buffer {"connection_id":123438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:00:19] local.INFO: IMEI packet received {"connection_id":123438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 18:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":123438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:00:23] local.INFO: TCP Data received {"connection_id":123438,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:00:23] local.INFO: Processing buffer {"connection_id":123438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:00:23] local.INFO: IMEI packet received {"connection_id":123438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 18:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":123438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:00:24] local.INFO: TCP Data received {"connection_id":123438,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 18:00:24] local.INFO: Processing buffer {"connection_id":123438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 18:00:24] local.INFO: Packet analysis {"connection_id":123438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:00:24] local.INFO: Extracted packet for processing {"connection_id":123438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:00:24] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97734216,"longitude_deg":76.3245824,"latitude_deg":9.7734216,"altitude":9,"angle":193,"satellites":18,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34e48","is_valid_coordinates":true} 
[2026-07-05 18:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513116928001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564544000,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00: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-07-05 18:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783254363000,"timestamp_ms":1783254363000,"timestamp_seconds":1783254363,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e2b78"} 
[2026-07-05 18:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-05 18:00:24] 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-07-05 18:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":123438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":123438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":123438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 18:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 18:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513116928001,"66":13526,"109":206,"85":15104,"24":0,"16":102636932256759808,"45":9094175047564544000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 18:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 18:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 18:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513116928001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:00:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 18:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 18:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564544000,"description":"Unknown IO ID 45"} 
[2026-07-05 18:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513116928001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564544000}} 
[2026-07-05 18:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":123438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:00:24] local.INFO: GPS data processed {"connection_id":123438,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:00:24] local.INFO: Acknowledgment sent {"connection_id":123438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:00:28] local.INFO: TCP Data received {"connection_id":123438,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 18:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 18:00:28] local.INFO: Processing buffer {"connection_id":123438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e2b78012d7e350005d34e48000900c112..."} 
[2026-07-05 18:00:28] local.INFO: Packet analysis {"connection_id":123438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:00:28] local.INFO: Extracted packet for processing {"connection_id":123438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763245824,"raw_latitude":97734216,"longitude_deg":76.3245824,"latitude_deg":9.7734216,"altitude":9,"angle":193,"satellites":18,"speed":0,"hex_longitude":"2d7e3500","hex_latitude":"05d34e48","is_valid_coordinates":true} 
[2026-07-05 18:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513116928001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564544000,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00: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-07-05 18:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783254363000,"timestamp_ms":1783254363000,"timestamp_seconds":1783254363,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e2b78"} 
[2026-07-05 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-07-05 18:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-05 18:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 18:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":123438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":123438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":123438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:00:28] 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-07-05 18:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 18:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 18:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513116928001,"66":13526,"109":206,"85":15104,"24":0,"16":102636932256759808,"45":9094175047564544000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 18:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 18:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 18:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513116928001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:00:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 18:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 18:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564544000,"description":"Unknown IO ID 45"} 
[2026-07-05 18:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513116928001,"power":13526,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564544000}} 
[2026-07-05 18:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":123438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:00:28] local.INFO: GPS data processed {"connection_id":123438,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:00:28] local.INFO: Acknowledgment sent {"connection_id":123438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:00:42] local.INFO: TCP Data received {"connection_id":124660,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:00:42] local.INFO: Processing buffer {"connection_id":124660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:00:42] local.INFO: Packet analysis {"connection_id":124660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:00:42] local.INFO: Extracted packet for processing {"connection_id":124660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513044224001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:00:42] 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-07-05 18:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783254380000,"timestamp_ms":1783254380000,"timestamp_seconds":1783254380,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e6de0"} 
[2026-07-05 18:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:00: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-07-05 18: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-07-05 18:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513044224001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513044224001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:00:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513044224001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":124660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:00:42] local.INFO: GPS data processed {"connection_id":124660,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:00:42] local.INFO: Acknowledgment sent {"connection_id":124660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:01:09] local.INFO: TCP Data received {"connection_id":122726,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:01:09] local.INFO: Processing buffer {"connection_id":122726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:01:09] local.INFO: IMEI packet received {"connection_id":122726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":122726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:01:13] local.INFO: TCP Data received {"connection_id":122727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:01:13] local.INFO: Processing buffer {"connection_id":122727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:01:13] local.INFO: IMEI packet received {"connection_id":122727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 18:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":122727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:01:14] local.INFO: TCP Data received {"connection_id":122726,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:01:14] local.INFO: Processing buffer {"connection_id":122726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:01:14] local.INFO: IMEI packet received {"connection_id":122726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":122726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:01:15] local.INFO: TCP Data received {"connection_id":122726,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:01:15] local.INFO: Processing buffer {"connection_id":122726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:01:15] local.INFO: Packet analysis {"connection_id":122726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:01:15] local.INFO: Extracted packet for processing {"connection_id":122726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:01:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513044224001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01:15] 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-07-05 18:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783254380000,"timestamp_ms":1783254380000,"timestamp_seconds":1783254380,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e6de0"} 
[2026-07-05 18:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:01:15] 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-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513044224001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513044224001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:01:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513044224001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":122726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:01:15] local.INFO: GPS data processed {"connection_id":122726,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:01:15] local.INFO: Acknowledgment sent {"connection_id":122726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:01:18] local.INFO: TCP Data received {"connection_id":122727,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:01:18] local.INFO: Processing buffer {"connection_id":122727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:01:18] local.INFO: IMEI packet received {"connection_id":122727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 18:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":122727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:01:18] local.INFO: TCP Data received {"connection_id":122727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:01:18] local.INFO: Processing buffer {"connection_id":122727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:01:18] local.INFO: Packet analysis {"connection_id":122727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3242"} 
[2026-07-05 18:01:18] local.INFO: Extracted packet for processing {"connection_id":122727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3242"} 
[2026-07-05 18:01:18] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97734064,"longitude_deg":76.324544,"latitude_deg":9.7734064,"altitude":3,"angle":193,"satellites":34,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513116928001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564544000,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01:18] 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-07-05 18:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783254666000,"timestamp_ms":1783254666000,"timestamp_seconds":1783254666,"priority":1,"record_length":96,"hex_timestamp":"0000019f3242cb10"} 
[2026-07-05 18:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-05 18:01:18] 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-07-05 18: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-07-05 18:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 18:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 18:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513116928001,"66":12341,"115":206,"85":15104,"24":0,"16":102636932256759808,"45":9094175047564544000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-05 18:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 18:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 18:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513116928001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:01:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-05 18:01:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 18:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564544000,"description":"Unknown IO ID 45"} 
[2026-07-05 18:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513116928001,"power":12341,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564544000}} 
[2026-07-05 18:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":122727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:01:18] local.INFO: GPS data processed {"connection_id":122727,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:01:18] local.INFO: Acknowledgment sent {"connection_id":122727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:01:47] local.INFO: TCP Data received {"connection_id":122726,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:01:47] local.INFO: Processing buffer {"connection_id":122726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f323e6de0012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:01:47] local.INFO: Packet analysis {"connection_id":122726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:01:47] local.INFO: Extracted packet for processing {"connection_id":122726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f323e"} 
[2026-07-05 18:01:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513044224001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01:47] 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-07-05 18:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783254380000,"timestamp_ms":1783254380000,"timestamp_seconds":1783254380,"priority":1,"record_length":96,"hex_timestamp":"0000019f323e6de0"} 
[2026-07-05 18:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513044224001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513044224001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:01:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:01:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513044224001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":122726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:01:47] local.INFO: GPS data processed {"connection_id":122726,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:01:47] local.INFO: Acknowledgment sent {"connection_id":122726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:01:49] local.INFO: TCP Data received {"connection_id":122727,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:01:49] local.INFO: Processing buffer {"connection_id":122727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:01:49] local.INFO: Packet analysis {"connection_id":122727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3242"} 
[2026-07-05 18:01:49] local.INFO: Extracted packet for processing {"connection_id":122727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3242"} 
[2026-07-05 18:01:49] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97734064,"longitude_deg":76.324544,"latitude_deg":9.7734064,"altitude":3,"angle":193,"satellites":34,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-05 18:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513116928001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564544000,"note":"Value kept but may cause issues"} 
[2026-07-05 18:01: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-07-05 18:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783254666000,"timestamp_ms":1783254666000,"timestamp_seconds":1783254666,"priority":1,"record_length":96,"hex_timestamp":"0000019f3242cb10"} 
[2026-07-05 18:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-05 18:01:49] 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-07-05 18:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:01: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-07-05 18:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 18:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 18:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513116928001,"66":12341,"115":206,"85":15104,"24":0,"16":102636932256759808,"45":9094175047564544000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-05 18:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 18:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 18:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513116928001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:01:49] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-05 18:01:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 18:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564544000,"description":"Unknown IO ID 45"} 
[2026-07-05 18:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513116928001,"power":12341,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564544000}} 
[2026-07-05 18:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":122727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:01:50] local.INFO: GPS data processed {"connection_id":122727,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:01:50] local.INFO: Acknowledgment sent {"connection_id":122727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:02:04] local.INFO: TCP Data received {"connection_id":122728,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:02:04] local.INFO: Processing buffer {"connection_id":122728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:02:04] local.INFO: IMEI packet received {"connection_id":122728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":122728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:02:09] local.INFO: TCP Data received {"connection_id":122728,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:02:09] local.INFO: Processing buffer {"connection_id":122728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:02:09] local.INFO: IMEI packet received {"connection_id":122728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":122728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:02:10] local.INFO: TCP Data received {"connection_id":122728,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:02:10] local.INFO: Processing buffer {"connection_id":122728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:02:10] local.INFO: Packet analysis {"connection_id":122728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:02:10] local.INFO: Extracted packet for processing {"connection_id":122728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513121280001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:10] 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-07-05 18:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254681000,"timestamp_ms":1783254681000,"timestamp_seconds":1783254681,"priority":1,"record_length":96,"hex_timestamp":"0000019f324305a8"} 
[2026-07-05 18:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:02: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-07-05 18:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513121280001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513121280001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:02:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513121280001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":122728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:02:10] local.INFO: GPS data processed {"connection_id":122728,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:02:10] local.INFO: Acknowledgment sent {"connection_id":122728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:02:13] local.INFO: TCP Data received {"connection_id":123439,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:02:13] local.INFO: Processing buffer {"connection_id":123439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:02:13] local.INFO: IMEI packet received {"connection_id":123439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 18:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":123439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:02:18] local.INFO: TCP Data received {"connection_id":123439,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:02:18] local.INFO: Processing buffer {"connection_id":123439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:02:18] local.INFO: IMEI packet received {"connection_id":123439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 18:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":123439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:02:18] local.INFO: TCP Data received {"connection_id":123439,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:02:18] local.INFO: Processing buffer {"connection_id":123439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:02:18] local.INFO: Packet analysis {"connection_id":123439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3242"} 
[2026-07-05 18:02:18] local.INFO: Extracted packet for processing {"connection_id":123439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3242"} 
[2026-07-05 18:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97734064,"longitude_deg":76.324544,"latitude_deg":9.7734064,"altitude":3,"angle":193,"satellites":34,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513116928001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564544000,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:18] 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-07-05 18:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783254666000,"timestamp_ms":1783254666000,"timestamp_seconds":1783254666,"priority":1,"record_length":96,"hex_timestamp":"0000019f3242cb10"} 
[2026-07-05 18:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-05 18:02:18] 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-07-05 18: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-07-05 18:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":123439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":123439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":123439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 18:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 18:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513116928001,"66":12341,"115":206,"85":15104,"24":0,"16":102636932256759808,"45":9094175047564544000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-05 18:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 18:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 18:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513116928001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:02:18] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-05 18:02:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 18:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564544000,"description":"Unknown IO ID 45"} 
[2026-07-05 18:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513116928001,"power":12341,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564544000}} 
[2026-07-05 18:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":123439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:02:18] local.INFO: GPS data processed {"connection_id":123439,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:02:18] local.INFO: Acknowledgment sent {"connection_id":123439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:02:41] local.INFO: TCP Data received {"connection_id":122728,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:02:41] local.INFO: Processing buffer {"connection_id":122728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:02:41] local.INFO: Packet analysis {"connection_id":122728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:02:41] local.INFO: Extracted packet for processing {"connection_id":122728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:02:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513121280001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:41] 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-07-05 18:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783254681000,"timestamp_ms":1783254681000,"timestamp_seconds":1783254681,"priority":1,"record_length":96,"hex_timestamp":"0000019f324305a8"} 
[2026-07-05 18:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513121280001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513121280001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:02:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513121280001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":122728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:02:41] local.INFO: GPS data processed {"connection_id":122728,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:02:41] local.INFO: Acknowledgment sent {"connection_id":122728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:02:50] local.INFO: TCP Data received {"connection_id":123439,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:02:50] local.INFO: Processing buffer {"connection_id":123439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3242cb10012d7e338005d34db0000300c122..."} 
[2026-07-05 18:02:50] local.INFO: Packet analysis {"connection_id":123439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3242"} 
[2026-07-05 18:02:50] local.INFO: Extracted packet for processing {"connection_id":123439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3242"} 
[2026-07-05 18:02:50] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97734064,"longitude_deg":76.324544,"latitude_deg":9.7734064,"altitude":3,"angle":193,"satellites":34,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513116928001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094175047564544000,"note":"Value kept but may cause issues"} 
[2026-07-05 18:02:50] 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-07-05 18:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783254666000,"timestamp_ms":1783254666000,"timestamp_seconds":1783254666,"priority":1,"record_length":96,"hex_timestamp":"0000019f3242cb10"} 
[2026-07-05 18:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-05 18:02:50] 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-07-05 18: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-07-05 18:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":123439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":123439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":123439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:02:50] 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-07-05 18:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 18:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 18:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513116928001,"66":12341,"115":206,"85":15104,"24":0,"16":102636932256759808,"45":9094175047564544000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-05 18:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 18:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513116928001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 18:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094175047564544000,"description":"Unknown IO ID 45"} 
[2026-07-05 18:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513116928001,"power":12341,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094175047564544000}} 
[2026-07-05 18:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":123439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:02:50] local.INFO: GPS data processed {"connection_id":123439,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:02:50] local.INFO: Acknowledgment sent {"connection_id":123439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:03:04] local.INFO: TCP Data received {"connection_id":122730,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:03:04] local.INFO: Processing buffer {"connection_id":122730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:03:04] local.INFO: IMEI packet received {"connection_id":122730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":122730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:03:09] local.INFO: TCP Data received {"connection_id":122730,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:03:09] local.INFO: Processing buffer {"connection_id":122730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:03:09] local.INFO: IMEI packet received {"connection_id":122730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":122730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:03:12] local.INFO: TCP Data received {"connection_id":122730,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:03:12] local.INFO: Processing buffer {"connection_id":122730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:03:12] local.INFO: Packet analysis {"connection_id":122730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:03:12] local.INFO: Extracted packet for processing {"connection_id":122730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:03:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513121280001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:03: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-07-05 18:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783254681000,"timestamp_ms":1783254681000,"timestamp_seconds":1783254681,"priority":1,"record_length":96,"hex_timestamp":"0000019f324305a8"} 
[2026-07-05 18:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513121280001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513121280001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:03:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:03:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513121280001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":122730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:03:12] local.INFO: GPS data processed {"connection_id":122730,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:03:12] local.INFO: Acknowledgment sent {"connection_id":122730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:04:01] local.INFO: TCP Data received {"connection_id":122730,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:04:01] local.INFO: Processing buffer {"connection_id":122730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:04:01] local.INFO: Packet analysis {"connection_id":122730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:04:01] local.INFO: Extracted packet for processing {"connection_id":122730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 18:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513121280001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:04:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:04:01] 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-07-05 18:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783254681000,"timestamp_ms":1783254681000,"timestamp_seconds":1783254681,"priority":1,"record_length":96,"hex_timestamp":"0000019f324305a8"} 
[2026-07-05 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-07-05 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:04: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-07-05 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-07-05 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-07-05 18:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":122730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":122730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":122730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513121280001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513121280001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:04:01] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:04:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513121280001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":122730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:04:01] local.INFO: GPS data processed {"connection_id":122730,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:04:01] local.INFO: Acknowledgment sent {"connection_id":122730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:04:04] local.INFO: TCP Data received {"connection_id":122731,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:04:04] local.INFO: Processing buffer {"connection_id":122731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:04:04] local.INFO: IMEI packet received {"connection_id":122731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":122731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:04:09] local.INFO: TCP Data received {"connection_id":122731,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:04:09] local.INFO: Processing buffer {"connection_id":122731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:04:09] local.INFO: IMEI packet received {"connection_id":122731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":122731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:04:10] local.INFO: TCP Data received {"connection_id":122731,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:04:10] local.INFO: Processing buffer {"connection_id":122731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:04:10] local.INFO: Packet analysis {"connection_id":122731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:04:10] local.INFO: Extracted packet for processing {"connection_id":122731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513121280001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:04:10] 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-07-05 18:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254681000,"timestamp_ms":1783254681000,"timestamp_seconds":1783254681,"priority":1,"record_length":96,"hex_timestamp":"0000019f324305a8"} 
[2026-07-05 18:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:04: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-07-05 18:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513121280001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513121280001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:04:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513121280001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":122731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:04:10] local.INFO: GPS data processed {"connection_id":122731,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:04:10] local.INFO: Acknowledgment sent {"connection_id":122731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:04:41] local.INFO: TCP Data received {"connection_id":122731,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:04:41] local.INFO: Processing buffer {"connection_id":122731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:04:41] local.INFO: Packet analysis {"connection_id":122731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:04:41] local.INFO: Extracted packet for processing {"connection_id":122731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513121280001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:04:41] 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-07-05 18:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783254681000,"timestamp_ms":1783254681000,"timestamp_seconds":1783254681,"priority":1,"record_length":96,"hex_timestamp":"0000019f324305a8"} 
[2026-07-05 18:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18: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-07-05 18: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-07-05 18:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513121280001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513121280001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:04:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513121280001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":122731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:04:41] local.INFO: GPS data processed {"connection_id":122731,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:04:41] local.INFO: Acknowledgment sent {"connection_id":122731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:05:04] local.INFO: TCP Data received {"connection_id":122659,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:05:04] local.INFO: Processing buffer {"connection_id":122659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:05:04] local.INFO: IMEI packet received {"connection_id":122659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":122659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:05:09] local.INFO: TCP Data received {"connection_id":122659,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:05:09] local.INFO: Processing buffer {"connection_id":122659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:05:09] local.INFO: IMEI packet received {"connection_id":122659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":122659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:05:10] local.INFO: TCP Data received {"connection_id":122659,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:05:10] local.INFO: Processing buffer {"connection_id":122659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:05:10] local.INFO: Packet analysis {"connection_id":122659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:05:10] local.INFO: Extracted packet for processing {"connection_id":122659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:05:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513121280001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:05:10] 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-07-05 18:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254681000,"timestamp_ms":1783254681000,"timestamp_seconds":1783254681,"priority":1,"record_length":96,"hex_timestamp":"0000019f324305a8"} 
[2026-07-05 18:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:05: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-07-05 18:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513121280001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513121280001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:05:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513121280001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":122659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:05:10] local.INFO: GPS data processed {"connection_id":122659,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:05:10] local.INFO: Acknowledgment sent {"connection_id":122659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:05:41] local.INFO: TCP Data received {"connection_id":122659,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:05:41] local.INFO: Processing buffer {"connection_id":122659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:05:41] local.INFO: Packet analysis {"connection_id":122659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:05:41] local.INFO: Extracted packet for processing {"connection_id":122659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513121280001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:05:41] 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-07-05 18:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783254681000,"timestamp_ms":1783254681000,"timestamp_seconds":1783254681,"priority":1,"record_length":96,"hex_timestamp":"0000019f324305a8"} 
[2026-07-05 18:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18: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-07-05 18: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-07-05 18:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513121280001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513121280001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:05:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513121280001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":122659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:05:41] local.INFO: GPS data processed {"connection_id":122659,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:05:41] local.INFO: Acknowledgment sent {"connection_id":122659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:06:04] local.INFO: TCP Data received {"connection_id":122733,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:06:04] local.INFO: Processing buffer {"connection_id":122733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:06:04] local.INFO: IMEI packet received {"connection_id":122733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":122733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:06:09] local.INFO: TCP Data received {"connection_id":122734,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:06:09] local.INFO: Processing buffer {"connection_id":122734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:06:09] local.INFO: IMEI packet received {"connection_id":122734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":122734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:06:14] local.INFO: TCP Data received {"connection_id":122734,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:06:14] local.INFO: Processing buffer {"connection_id":122734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:06:14] local.INFO: IMEI packet received {"connection_id":122734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":122734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:06:15] local.INFO: TCP Data received {"connection_id":122734,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:06:15] local.INFO: Processing buffer {"connection_id":122734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:06:15] local.INFO: Packet analysis {"connection_id":122734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:06:15] local.INFO: Extracted packet for processing {"connection_id":122734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:06:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:06: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-07-05 18:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513121280001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:06:15] 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-07-05 18:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783254681000,"timestamp_ms":1783254681000,"timestamp_seconds":1783254681,"priority":1,"record_length":96,"hex_timestamp":"0000019f324305a8"} 
[2026-07-05 18:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:06:15] 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-07-05 18:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:06: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-07-05 18:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513121280001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513121280001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:06:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:06:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513121280001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":122734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:06:15] local.INFO: GPS data processed {"connection_id":122734,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:06:15] local.INFO: Acknowledgment sent {"connection_id":122734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:06:20] local.INFO: TCP Data received {"connection_id":122734,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:06:20] local.INFO: Processing buffer {"connection_id":122734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324305a8012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:06:20] local.INFO: Packet analysis {"connection_id":122734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:06:20] local.INFO: Extracted packet for processing {"connection_id":122734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3243"} 
[2026-07-05 18:06:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513121280001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:06:20] 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-07-05 18:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783254681000,"timestamp_ms":1783254681000,"timestamp_seconds":1783254681,"priority":1,"record_length":96,"hex_timestamp":"0000019f324305a8"} 
[2026-07-05 18:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:06:20] 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-07-05 18:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513121280001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513121280001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:06:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513121280001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":122734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:06:20] local.INFO: GPS data processed {"connection_id":122734,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:06:20] local.INFO: Acknowledgment sent {"connection_id":122734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:07:05] local.INFO: TCP Data received {"connection_id":124663,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:07:05] local.INFO: Processing buffer {"connection_id":124663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:07:05] local.INFO: IMEI packet received {"connection_id":124663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":124663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:07:09] local.INFO: TCP Data received {"connection_id":124663,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:07:09] local.INFO: Processing buffer {"connection_id":124663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:07:09] local.INFO: IMEI packet received {"connection_id":124663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":124663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:07:10] local.INFO: TCP Data received {"connection_id":124663,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:07:10] local.INFO: Processing buffer {"connection_id":124663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:07:10] local.INFO: Packet analysis {"connection_id":124663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:07:10] local.INFO: Extracted packet for processing {"connection_id":124663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513198336001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:07:10] 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-07-05 18:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254982000,"timestamp_ms":1783254982000,"timestamp_seconds":1783254982,"priority":1,"record_length":96,"hex_timestamp":"0000019f32479d70"} 
[2026-07-05 18:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:07: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-07-05 18:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513198336001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513198336001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:07:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513198336001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":124663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:07:10] local.INFO: GPS data processed {"connection_id":124663,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:07:10] local.INFO: Acknowledgment sent {"connection_id":124663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:07:41] local.INFO: TCP Data received {"connection_id":124663,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:07:41] local.INFO: Processing buffer {"connection_id":124663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:07:41] local.INFO: Packet analysis {"connection_id":124663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:07:41] local.INFO: Extracted packet for processing {"connection_id":124663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513198336001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:07:41] 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-07-05 18:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783254982000,"timestamp_ms":1783254982000,"timestamp_seconds":1783254982,"priority":1,"record_length":96,"hex_timestamp":"0000019f32479d70"} 
[2026-07-05 18:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:07: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-07-05 18: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-07-05 18:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513198336001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513198336001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:07:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513198336001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":124663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:07:41] local.INFO: GPS data processed {"connection_id":124663,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:07:41] local.INFO: Acknowledgment sent {"connection_id":124663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:08:04] local.INFO: TCP Data received {"connection_id":122661,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:08:04] local.INFO: Processing buffer {"connection_id":122661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:08:04] local.INFO: IMEI packet received {"connection_id":122661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":122661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:08:09] local.INFO: TCP Data received {"connection_id":122661,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:08:09] local.INFO: Processing buffer {"connection_id":122661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:08:09] local.INFO: IMEI packet received {"connection_id":122661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":122661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:08:10] local.INFO: TCP Data received {"connection_id":122661,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:08:10] local.INFO: Processing buffer {"connection_id":122661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:08:10] local.INFO: Packet analysis {"connection_id":122661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:08:10] local.INFO: Extracted packet for processing {"connection_id":122661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513198336001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:08:10] 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-07-05 18:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254982000,"timestamp_ms":1783254982000,"timestamp_seconds":1783254982,"priority":1,"record_length":96,"hex_timestamp":"0000019f32479d70"} 
[2026-07-05 18:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:08: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-07-05 18:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513198336001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513198336001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:08:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513198336001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":122661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:08:10] local.INFO: GPS data processed {"connection_id":122661,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:08:10] local.INFO: Acknowledgment sent {"connection_id":122661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:08:18] local.INFO: TCP Data received {"connection_id":122735,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:08:18] local.INFO: Processing buffer {"connection_id":122735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:08:18] local.INFO: IMEI packet received {"connection_id":122735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 18:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":122735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:08:23] local.INFO: TCP Data received {"connection_id":122735,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122735,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:08:23] local.INFO: Processing buffer {"connection_id":122735,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 18:08:23] local.INFO: IMEI packet received {"connection_id":122735,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 18:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":122735,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:08:24] local.INFO: TCP Data received {"connection_id":122735,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f32447ca8012d7e338005d34db0000500c124..."} 
[2026-07-05 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32447ca8012d7e338005d34db0000500c124..."} 
[2026-07-05 18:08:24] local.INFO: Processing buffer {"connection_id":122735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32447ca8012d7e338005d34db0000500c124..."} 
[2026-07-05 18:08:24] local.INFO: Packet analysis {"connection_id":122735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3244"} 
[2026-07-05 18:08:24] local.INFO: Extracted packet for processing {"connection_id":122735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3244"} 
[2026-07-05 18:08:24] local.INFO: GPS Element Parsed {"raw_longitude":763245440,"raw_latitude":97734064,"longitude_deg":76.324544,"latitude_deg":9.7734064,"altitude":5,"angle":193,"satellites":36,"speed":0,"hex_longitude":"2d7e3380","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-05 18:08:24] 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-07-05 18:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513194496001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636932256759808,"note":"Value kept but may cause issues"} 
[2026-07-05 18:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093752835099439104,"note":"Value kept but may cause issues"} 
[2026-07-05 18:08: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-07-05 18:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783254777000,"timestamp_ms":1783254777000,"timestamp_seconds":1783254777,"priority":1,"record_length":96,"hex_timestamp":"0000019f32447ca8"} 
[2026-07-05 18:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 18:08: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-07-05 18: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-07-05 18:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":122735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":122735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":122735,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 18:08:24] 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-07-05 18:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 18:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 18:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513194496001,"66":12232,"109":206,"85":15104,"24":0,"16":102636932256759808,"45":9093752835099439104},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 18:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 18:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 18:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513194496001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:08:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 18:08:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 18:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102636932256759808,"km_value":102636932256759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093752835099439104,"description":"Unknown IO ID 45"} 
[2026-07-05 18:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513194496001,"power":12232,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093752835099439104}} 
[2026-07-05 18:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":122735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:08:24] local.INFO: GPS data processed {"connection_id":122735,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:08:24] local.INFO: Acknowledgment sent {"connection_id":122735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:08:41] local.INFO: TCP Data received {"connection_id":122661,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:08:41] local.INFO: Processing buffer {"connection_id":122661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:08:41] local.INFO: Packet analysis {"connection_id":122661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:08:41] local.INFO: Extracted packet for processing {"connection_id":122661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513198336001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:08:41] 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-07-05 18:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783254982000,"timestamp_ms":1783254982000,"timestamp_seconds":1783254982,"priority":1,"record_length":96,"hex_timestamp":"0000019f32479d70"} 
[2026-07-05 18:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:08: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-07-05 18: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-07-05 18:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513198336001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513198336001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:08:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513198336001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":122661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:08:41] local.INFO: GPS data processed {"connection_id":122661,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:08:41] local.INFO: Acknowledgment sent {"connection_id":122661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:09:04] local.INFO: TCP Data received {"connection_id":122662,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:09:04] local.INFO: Processing buffer {"connection_id":122662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:09:04] local.INFO: IMEI packet received {"connection_id":122662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":122662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:09:09] local.INFO: TCP Data received {"connection_id":122662,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:09:09] local.INFO: Processing buffer {"connection_id":122662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:09:09] local.INFO: IMEI packet received {"connection_id":122662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":122662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:09:10] local.INFO: TCP Data received {"connection_id":122662,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:09:10] local.INFO: Processing buffer {"connection_id":122662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:09:10] local.INFO: Packet analysis {"connection_id":122662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:09:10] local.INFO: Extracted packet for processing {"connection_id":122662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513198336001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:09:10] 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-07-05 18:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254982000,"timestamp_ms":1783254982000,"timestamp_seconds":1783254982,"priority":1,"record_length":96,"hex_timestamp":"0000019f32479d70"} 
[2026-07-05 18:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:09: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-07-05 18:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513198336001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513198336001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:09:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513198336001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":122662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:09:10] local.INFO: GPS data processed {"connection_id":122662,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:09:10] local.INFO: Acknowledgment sent {"connection_id":122662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:09:41] local.INFO: TCP Data received {"connection_id":122662,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:09:41] local.INFO: Processing buffer {"connection_id":122662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:09:41] local.INFO: Packet analysis {"connection_id":122662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:09:41] local.INFO: Extracted packet for processing {"connection_id":122662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513198336001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:09:41] 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-07-05 18:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783254982000,"timestamp_ms":1783254982000,"timestamp_seconds":1783254982,"priority":1,"record_length":96,"hex_timestamp":"0000019f32479d70"} 
[2026-07-05 18:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:09: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-07-05 18: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-07-05 18:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513198336001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513198336001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:09:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513198336001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":122662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:09:41] local.INFO: GPS data processed {"connection_id":122662,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:09:41] local.INFO: Acknowledgment sent {"connection_id":122662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:10:09] local.INFO: TCP Data received {"connection_id":122663,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:10:09] local.INFO: Processing buffer {"connection_id":122663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:10:09] local.INFO: IMEI packet received {"connection_id":122663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":122663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:10:14] local.INFO: TCP Data received {"connection_id":122663,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:10:14] local.INFO: Processing buffer {"connection_id":122663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:10:14] local.INFO: IMEI packet received {"connection_id":122663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":122663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:10:15] local.INFO: TCP Data received {"connection_id":122663,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:10:15] local.INFO: Processing buffer {"connection_id":122663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:10:15] local.INFO: Packet analysis {"connection_id":122663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:10:15] local.INFO: Extracted packet for processing {"connection_id":122663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:10:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:10: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-07-05 18:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513198336001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:10:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:10:15] 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-07-05 18:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783254982000,"timestamp_ms":1783254982000,"timestamp_seconds":1783254982,"priority":1,"record_length":96,"hex_timestamp":"0000019f32479d70"} 
[2026-07-05 18:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:10:15] 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-07-05 18:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:10: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-07-05 18:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513198336001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513198336001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:10:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513198336001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":122663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:10:15] local.INFO: GPS data processed {"connection_id":122663,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:10:15] local.INFO: Acknowledgment sent {"connection_id":122663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:10:20] local.INFO: TCP Data received {"connection_id":122663,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:10:20] local.INFO: Processing buffer {"connection_id":122663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:10:20] local.INFO: Packet analysis {"connection_id":122663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:10:20] local.INFO: Extracted packet for processing {"connection_id":122663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 18:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513198336001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:10:20] 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-07-05 18:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783254982000,"timestamp_ms":1783254982000,"timestamp_seconds":1783254982,"priority":1,"record_length":96,"hex_timestamp":"0000019f32479d70"} 
[2026-07-05 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-07-05 18:10:20] 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-07-05 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:10:20] 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-07-05 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-07-05 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-07-05 18:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513198336001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513198336001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:10:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513198336001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":122663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:10:20] local.INFO: GPS data processed {"connection_id":122663,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:10:20] local.INFO: Acknowledgment sent {"connection_id":122663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:11:04] local.INFO: TCP Data received {"connection_id":123442,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:11:04] local.INFO: Processing buffer {"connection_id":123442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:11:04] local.INFO: IMEI packet received {"connection_id":123442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":123442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:11:09] local.INFO: TCP Data received {"connection_id":123442,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:11:09] local.INFO: Processing buffer {"connection_id":123442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:11:09] local.INFO: IMEI packet received {"connection_id":123442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":123442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:11:10] local.INFO: TCP Data received {"connection_id":123442,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:11:10] local.INFO: Processing buffer {"connection_id":123442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:11:10] local.INFO: Packet analysis {"connection_id":123442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:11:10] local.INFO: Extracted packet for processing {"connection_id":123442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:11:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513198336001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:11:10] 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-07-05 18:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783254982000,"timestamp_ms":1783254982000,"timestamp_seconds":1783254982,"priority":1,"record_length":96,"hex_timestamp":"0000019f32479d70"} 
[2026-07-05 18:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:11: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-07-05 18:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513198336001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513198336001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:11:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513198336001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":123442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:11:10] local.INFO: GPS data processed {"connection_id":123442,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:11:10] local.INFO: Acknowledgment sent {"connection_id":123442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:11:29] local.INFO: TCP Data received {"connection_id":122736,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:11:29] local.INFO: Processing buffer {"connection_id":122736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:11:29] local.INFO: IMEI packet received {"connection_id":122736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":122736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:11:41] local.INFO: TCP Data received {"connection_id":123442,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:11:41] local.INFO: Processing buffer {"connection_id":123442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32479d70012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:11:41] local.INFO: Packet analysis {"connection_id":123442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:11:41] local.INFO: Extracted packet for processing {"connection_id":123442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3247"} 
[2026-07-05 18:11:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513198336001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:11:41] 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-07-05 18:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783254982000,"timestamp_ms":1783254982000,"timestamp_seconds":1783254982,"priority":1,"record_length":96,"hex_timestamp":"0000019f32479d70"} 
[2026-07-05 18:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:11: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-07-05 18: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-07-05 18:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513198336001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513198336001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:11:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513198336001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":123442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:11:41] local.INFO: GPS data processed {"connection_id":123442,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:11:41] local.INFO: Acknowledgment sent {"connection_id":123442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:12:01] local.INFO: TCP Data received {"connection_id":123443,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:12:01] local.INFO: Processing buffer {"connection_id":123443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:12:01] local.INFO: IMEI packet received {"connection_id":123443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":123443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:12:04] local.INFO: TCP Data received {"connection_id":122664,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:12:04] local.INFO: Processing buffer {"connection_id":122664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:12:04] local.INFO: IMEI packet received {"connection_id":122664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":122664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:12:05] local.INFO: TCP Data received {"connection_id":123443,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:12:05] local.INFO: Processing buffer {"connection_id":123443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:12:05] local.INFO: IMEI packet received {"connection_id":123443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":123443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:12:09] local.INFO: TCP Data received {"connection_id":123443,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:12:09] local.INFO: Processing buffer {"connection_id":123443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:12:09] local.INFO: IMEI packet received {"connection_id":123443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":123443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:12:10] local.INFO: TCP Data received {"connection_id":123443,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:12:10] local.INFO: Processing buffer {"connection_id":123443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:12:10] local.INFO: Packet analysis {"connection_id":123443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:12:10] local.INFO: Extracted packet for processing {"connection_id":123443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513275392001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:12:10] 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-07-05 18:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255283000,"timestamp_ms":1783255283000,"timestamp_seconds":1783255283,"priority":1,"record_length":96,"hex_timestamp":"0000019f324c3538"} 
[2026-07-05 18:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513275392001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513275392001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:12:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513275392001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":123443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:12:10] local.INFO: GPS data processed {"connection_id":123443,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:12:10] local.INFO: Acknowledgment sent {"connection_id":123443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:12:41] local.INFO: TCP Data received {"connection_id":123443,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:12:41] local.INFO: Processing buffer {"connection_id":123443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:12:41] local.INFO: Packet analysis {"connection_id":123443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:12:41] local.INFO: Extracted packet for processing {"connection_id":123443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513275392001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:12:41] 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-07-05 18:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783255283000,"timestamp_ms":1783255283000,"timestamp_seconds":1783255283,"priority":1,"record_length":96,"hex_timestamp":"0000019f324c3538"} 
[2026-07-05 18:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513275392001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513275392001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:12:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513275392001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":123443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:12:41] local.INFO: GPS data processed {"connection_id":123443,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:12:41] local.INFO: Acknowledgment sent {"connection_id":123443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:13:04] local.INFO: TCP Data received {"connection_id":122737,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:13:04] local.INFO: Processing buffer {"connection_id":122737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:13:04] local.INFO: IMEI packet received {"connection_id":122737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":122737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:13:09] local.INFO: TCP Data received {"connection_id":122737,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:13:09] local.INFO: Processing buffer {"connection_id":122737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:13:09] local.INFO: IMEI packet received {"connection_id":122737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":122737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:13:10] local.INFO: TCP Data received {"connection_id":122737,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:13:10] local.INFO: Processing buffer {"connection_id":122737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:13:10] local.INFO: Packet analysis {"connection_id":122737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:13:10] local.INFO: Extracted packet for processing {"connection_id":122737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:13:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513275392001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:13:10] 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-07-05 18:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255283000,"timestamp_ms":1783255283000,"timestamp_seconds":1783255283,"priority":1,"record_length":96,"hex_timestamp":"0000019f324c3538"} 
[2026-07-05 18:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513275392001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513275392001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:13:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513275392001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":122737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:13:10] local.INFO: GPS data processed {"connection_id":122737,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:13:10] local.INFO: Acknowledgment sent {"connection_id":122737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:13:41] local.INFO: TCP Data received {"connection_id":122737,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:13:41] local.INFO: Processing buffer {"connection_id":122737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:13:41] local.INFO: Packet analysis {"connection_id":122737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:13:41] local.INFO: Extracted packet for processing {"connection_id":122737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:13:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513275392001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:13:41] 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-07-05 18:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783255283000,"timestamp_ms":1783255283000,"timestamp_seconds":1783255283,"priority":1,"record_length":96,"hex_timestamp":"0000019f324c3538"} 
[2026-07-05 18:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18: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-07-05 18: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-07-05 18:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513275392001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513275392001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:13:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513275392001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":122737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:13:41] local.INFO: GPS data processed {"connection_id":122737,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:13:41] local.INFO: Acknowledgment sent {"connection_id":122737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:14:09] local.INFO: TCP Data received {"connection_id":124667,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:14:09] local.INFO: Processing buffer {"connection_id":124667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:14:09] local.INFO: IMEI packet received {"connection_id":124667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":124667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:14:14] local.INFO: TCP Data received {"connection_id":124667,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:14:14] local.INFO: Processing buffer {"connection_id":124667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:14:14] local.INFO: IMEI packet received {"connection_id":124667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":124667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:14:15] local.INFO: TCP Data received {"connection_id":124667,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:14:15] local.INFO: Processing buffer {"connection_id":124667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:14:15] local.INFO: Packet analysis {"connection_id":124667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:14:15] local.INFO: Extracted packet for processing {"connection_id":124667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:14:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513275392001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:14:15] 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-07-05 18:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783255283000,"timestamp_ms":1783255283000,"timestamp_seconds":1783255283,"priority":1,"record_length":96,"hex_timestamp":"0000019f324c3538"} 
[2026-07-05 18:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:14:15] 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-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513275392001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513275392001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:14:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513275392001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":124667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:14:15] local.INFO: GPS data processed {"connection_id":124667,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:14:15] local.INFO: Acknowledgment sent {"connection_id":124667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:14:20] local.INFO: TCP Data received {"connection_id":124667,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:14:20] local.INFO: Processing buffer {"connection_id":124667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:14:20] local.INFO: Packet analysis {"connection_id":124667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:14:20] local.INFO: Extracted packet for processing {"connection_id":124667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513275392001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:14:20] 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-07-05 18:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783255283000,"timestamp_ms":1783255283000,"timestamp_seconds":1783255283,"priority":1,"record_length":96,"hex_timestamp":"0000019f324c3538"} 
[2026-07-05 18:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:14:20] 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-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513275392001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513275392001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:14:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513275392001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":124667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:14:20] local.INFO: GPS data processed {"connection_id":124667,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:14:20] local.INFO: Acknowledgment sent {"connection_id":124667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:15:04] local.INFO: TCP Data received {"connection_id":124668,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:15:04] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:15:04] local.INFO: IMEI packet received {"connection_id":124668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":124668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:15:09] local.INFO: TCP Data received {"connection_id":124668,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:15:09] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:15:09] local.INFO: IMEI packet received {"connection_id":124668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":124668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:15:10] local.INFO: TCP Data received {"connection_id":124668,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:15:10] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:15:10] local.INFO: Packet analysis {"connection_id":124668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:15:10] local.INFO: Extracted packet for processing {"connection_id":124668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:15:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513275392001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:15:10] 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-07-05 18:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255283000,"timestamp_ms":1783255283000,"timestamp_seconds":1783255283,"priority":1,"record_length":96,"hex_timestamp":"0000019f324c3538"} 
[2026-07-05 18:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513275392001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513275392001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:15:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513275392001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":124668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:15:10] local.INFO: GPS data processed {"connection_id":124668,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:15:10] local.INFO: Acknowledgment sent {"connection_id":124668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:15:41] local.INFO: TCP Data received {"connection_id":124668,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:15:41] local.INFO: Processing buffer {"connection_id":124668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:15:41] local.INFO: Packet analysis {"connection_id":124668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:15:41] local.INFO: Extracted packet for processing {"connection_id":124668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:15:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513275392001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:15:41] 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-07-05 18:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783255283000,"timestamp_ms":1783255283000,"timestamp_seconds":1783255283,"priority":1,"record_length":96,"hex_timestamp":"0000019f324c3538"} 
[2026-07-05 18:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18: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-07-05 18: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-07-05 18:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513275392001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513275392001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:15:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513275392001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":124668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:15:41] local.INFO: GPS data processed {"connection_id":124668,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:15:41] local.INFO: Acknowledgment sent {"connection_id":124668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:16:05] local.INFO: TCP Data received {"connection_id":124669,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:16:05] local.INFO: Processing buffer {"connection_id":124669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:16:05] local.INFO: IMEI packet received {"connection_id":124669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":124669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:16:09] local.INFO: TCP Data received {"connection_id":124669,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:16:09] local.INFO: Processing buffer {"connection_id":124669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:16:09] local.INFO: IMEI packet received {"connection_id":124669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":124669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:16:10] local.INFO: TCP Data received {"connection_id":124669,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:16:10] local.INFO: Processing buffer {"connection_id":124669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:16:10] local.INFO: Packet analysis {"connection_id":124669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:16:10] local.INFO: Extracted packet for processing {"connection_id":124669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513275392001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:16:10] 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-07-05 18:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255283000,"timestamp_ms":1783255283000,"timestamp_seconds":1783255283,"priority":1,"record_length":96,"hex_timestamp":"0000019f324c3538"} 
[2026-07-05 18:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513275392001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513275392001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:16:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513275392001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":124669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:16:10] local.INFO: GPS data processed {"connection_id":124669,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:16:10] local.INFO: Acknowledgment sent {"connection_id":124669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:16:41] local.INFO: TCP Data received {"connection_id":124669,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:16:41] local.INFO: Processing buffer {"connection_id":124669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324c3538012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:16:41] local.INFO: Packet analysis {"connection_id":124669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:16:41] local.INFO: Extracted packet for processing {"connection_id":124669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f324c"} 
[2026-07-05 18:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513275392001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:16:41] 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-07-05 18:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783255283000,"timestamp_ms":1783255283000,"timestamp_seconds":1783255283,"priority":1,"record_length":96,"hex_timestamp":"0000019f324c3538"} 
[2026-07-05 18:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:16: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-07-05 18: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-07-05 18:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513275392001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513275392001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:16:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513275392001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":124669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:16:41] local.INFO: GPS data processed {"connection_id":124669,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:16:41] local.INFO: Acknowledgment sent {"connection_id":124669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:17:02] local.INFO: TCP Data received {"connection_id":123444,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:17:02] local.INFO: Processing buffer {"connection_id":123444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:17:02] local.INFO: IMEI packet received {"connection_id":123444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":123444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:17:04] local.INFO: TCP Data received {"connection_id":123444,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:17:04] local.INFO: Processing buffer {"connection_id":123444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:17:04] local.INFO: IMEI packet received {"connection_id":123444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":123444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:17:09] local.INFO: TCP Data received {"connection_id":123444,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:17:09] local.INFO: Processing buffer {"connection_id":123444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:17:09] local.INFO: IMEI packet received {"connection_id":123444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":123444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:17:10] local.INFO: TCP Data received {"connection_id":123444,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:17:10] local.INFO: Processing buffer {"connection_id":123444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:17:10] local.INFO: Packet analysis {"connection_id":123444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:17:10] local.INFO: Extracted packet for processing {"connection_id":123444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:17:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513352448001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:17:10] 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-07-05 18:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255584000,"timestamp_ms":1783255584000,"timestamp_seconds":1783255584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3250cd00"} 
[2026-07-05 18:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:17: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-07-05 18:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513352448001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513352448001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:17:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513352448001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":123444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:17:10] local.INFO: GPS data processed {"connection_id":123444,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:17:10] local.INFO: Acknowledgment sent {"connection_id":123444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:17:29] local.INFO: TCP Data received {"connection_id":122666,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:17:29] local.INFO: Processing buffer {"connection_id":122666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:17:29] local.INFO: IMEI packet received {"connection_id":122666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":122666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:17:41] local.INFO: TCP Data received {"connection_id":123444,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:17:41] local.INFO: Processing buffer {"connection_id":123444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:17:41] local.INFO: Packet analysis {"connection_id":123444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:17:41] local.INFO: Extracted packet for processing {"connection_id":123444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:17:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513352448001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:17:41] 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-07-05 18:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783255584000,"timestamp_ms":1783255584000,"timestamp_seconds":1783255584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3250cd00"} 
[2026-07-05 18:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:17: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-07-05 18: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-07-05 18:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513352448001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513352448001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:17:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513352448001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":123444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:17:41] local.INFO: GPS data processed {"connection_id":123444,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:17:41] local.INFO: Acknowledgment sent {"connection_id":123444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:18:04] local.INFO: TCP Data received {"connection_id":122739,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:18:04] local.INFO: Processing buffer {"connection_id":122739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:18:04] local.INFO: IMEI packet received {"connection_id":122739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":122739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:18:09] local.INFO: TCP Data received {"connection_id":122739,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:18:09] local.INFO: Processing buffer {"connection_id":122739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:18:09] local.INFO: IMEI packet received {"connection_id":122739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 18:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":122739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:18:09] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:18:09] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:18:09] local.INFO: IMEI packet received {"connection_id":124670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":124670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:18:10] local.INFO: TCP Data received {"connection_id":122739,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3223c5a8012cb2a10007823b380045000025..."} 
[2026-07-05 18:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3223c5a8012cb2a10007823b380045000025..."} 
[2026-07-05 18:18:10] local.INFO: Processing buffer {"connection_id":122739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3223c5a8012cb2a10007823b380045000025..."} 
[2026-07-05 18:18:10] local.INFO: Packet analysis {"connection_id":122739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3223"} 
[2026-07-05 18:18:10] local.INFO: Extracted packet for processing {"connection_id":122739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3223"} 
[2026-07-05 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":69,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 18:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456512596992001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 18:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 18:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783252633000,"timestamp_ms":1783252633000,"timestamp_seconds":1783252633,"priority":1,"record_length":96,"hex_timestamp":"0000019f3223c5a8"} 
[2026-07-05 18:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 18:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 18:18:10] 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-07-05 18:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 18:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 18:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456512596992001,"66":25278,"221":206,"85":36864,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 18:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 18:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 18:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456512596992001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:18:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 18:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 18:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 18:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456512596992001,"power":25278,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 18:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":122739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:18:10] local.INFO: GPS data processed {"connection_id":122739,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:18:10] local.INFO: Acknowledgment sent {"connection_id":122739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:18:14] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:18:14] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:18:14] local.INFO: IMEI packet received {"connection_id":124670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":124670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:18:15] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:18:15] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:18:15] local.INFO: Packet analysis {"connection_id":124670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:18:15] local.INFO: Extracted packet for processing {"connection_id":124670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:18:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513352448001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:18:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:18:15] 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-07-05 18:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783255584000,"timestamp_ms":1783255584000,"timestamp_seconds":1783255584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3250cd00"} 
[2026-07-05 18:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:18:15] 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-07-05 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513352448001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513352448001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:18:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:18:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:18:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513352448001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":124670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:18:15] local.INFO: GPS data processed {"connection_id":124670,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:18:15] local.INFO: Acknowledgment sent {"connection_id":124670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:18:20] local.INFO: TCP Data received {"connection_id":124670,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:18:20] local.INFO: Processing buffer {"connection_id":124670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:18:20] local.INFO: Packet analysis {"connection_id":124670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:18:20] local.INFO: Extracted packet for processing {"connection_id":124670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:18:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513352448001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:18:20] 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-07-05 18:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783255584000,"timestamp_ms":1783255584000,"timestamp_seconds":1783255584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3250cd00"} 
[2026-07-05 18:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:18:20] 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-07-05 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:18:20] 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-07-05 18: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-07-05 18:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513352448001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513352448001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:18:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513352448001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":124670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:18:20] local.INFO: GPS data processed {"connection_id":124670,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:18:20] local.INFO: Acknowledgment sent {"connection_id":124670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:18:59] local.INFO: TCP Data received {"connection_id":122740,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:18:59] local.INFO: Processing buffer {"connection_id":122740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:18:59] local.INFO: IMEI packet received {"connection_id":122740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":122740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:19:04] local.INFO: TCP Data received {"connection_id":122667,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:19:04] local.INFO: Processing buffer {"connection_id":122667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:19:04] local.INFO: IMEI packet received {"connection_id":122667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":122667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:19:09] local.INFO: TCP Data received {"connection_id":122667,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:19:09] local.INFO: Processing buffer {"connection_id":122667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:19:09] local.INFO: IMEI packet received {"connection_id":122667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":122667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:19:10] local.INFO: TCP Data received {"connection_id":122667,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:19:10] local.INFO: Processing buffer {"connection_id":122667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:19:10] local.INFO: Packet analysis {"connection_id":122667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:19:10] local.INFO: Extracted packet for processing {"connection_id":122667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:19:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513352448001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:19:10] 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-07-05 18:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255584000,"timestamp_ms":1783255584000,"timestamp_seconds":1783255584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3250cd00"} 
[2026-07-05 18:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:19: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-07-05 18:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513352448001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513352448001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:19:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513352448001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":122667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:19:10] local.INFO: GPS data processed {"connection_id":122667,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:19:10] local.INFO: Acknowledgment sent {"connection_id":122667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:19:41] local.INFO: TCP Data received {"connection_id":122667,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:19:41] local.INFO: Processing buffer {"connection_id":122667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:19:41] local.INFO: Packet analysis {"connection_id":122667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:19:41] local.INFO: Extracted packet for processing {"connection_id":122667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:19:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513352448001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:19:41] 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-07-05 18:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783255584000,"timestamp_ms":1783255584000,"timestamp_seconds":1783255584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3250cd00"} 
[2026-07-05 18:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:19: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-07-05 18: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-07-05 18:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513352448001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513352448001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:19:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513352448001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":122667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:19:41] local.INFO: GPS data processed {"connection_id":122667,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:19:41] local.INFO: Acknowledgment sent {"connection_id":122667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:20:07] local.INFO: TCP Data received {"connection_id":124671,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:20:07] local.INFO: Processing buffer {"connection_id":124671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:20:07] local.INFO: IMEI packet received {"connection_id":124671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":124671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:20:09] local.INFO: TCP Data received {"connection_id":124671,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:20:09] local.INFO: Processing buffer {"connection_id":124671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:20:09] local.INFO: IMEI packet received {"connection_id":124671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":124671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:20:10] local.INFO: TCP Data received {"connection_id":124671,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:20:10] local.INFO: Processing buffer {"connection_id":124671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:20:10] local.INFO: Packet analysis {"connection_id":124671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:20:10] local.INFO: Extracted packet for processing {"connection_id":124671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:20:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513352448001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:20:10] 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-07-05 18:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255584000,"timestamp_ms":1783255584000,"timestamp_seconds":1783255584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3250cd00"} 
[2026-07-05 18:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:20: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-07-05 18:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513352448001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513352448001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:20:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513352448001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":124671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:20:10] local.INFO: GPS data processed {"connection_id":124671,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:20:10] local.INFO: Acknowledgment sent {"connection_id":124671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:20:15] local.INFO: TCP Data received {"connection_id":124671,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:20:15] local.INFO: Processing buffer {"connection_id":124671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:20:15] local.INFO: Packet analysis {"connection_id":124671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:20:15] local.INFO: Extracted packet for processing {"connection_id":124671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:20:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513352448001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:20:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:20:15] 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-07-05 18:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783255584000,"timestamp_ms":1783255584000,"timestamp_seconds":1783255584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3250cd00"} 
[2026-07-05 18:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:20:15] 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-07-05 18:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513352448001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513352448001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:20:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:20:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:20:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513352448001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":124671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:20:15] local.INFO: GPS data processed {"connection_id":124671,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:20:15] local.INFO: Acknowledgment sent {"connection_id":124671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:20:46] local.INFO: TCP Data received {"connection_id":124671,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:20:46] local.INFO: Processing buffer {"connection_id":124671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:20:46] local.INFO: Packet analysis {"connection_id":124671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:20:46] local.INFO: Extracted packet for processing {"connection_id":124671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:20:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513352448001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:20:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:20:46] 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-07-05 18:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783255584000,"timestamp_ms":1783255584000,"timestamp_seconds":1783255584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3250cd00"} 
[2026-07-05 18:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:20:46] 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-07-05 18:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513352448001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513352448001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:20:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:20:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513352448001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":124671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:20:46] local.INFO: GPS data processed {"connection_id":124671,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:20:46] local.INFO: Acknowledgment sent {"connection_id":124671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:21:04] local.INFO: TCP Data received {"connection_id":123446,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:21:04] local.INFO: Processing buffer {"connection_id":123446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:21:04] local.INFO: IMEI packet received {"connection_id":123446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":123446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:21:09] local.INFO: TCP Data received {"connection_id":123446,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:21:09] local.INFO: Processing buffer {"connection_id":123446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:21:09] local.INFO: IMEI packet received {"connection_id":123446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":123446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:21:10] local.INFO: TCP Data received {"connection_id":123446,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:21:10] local.INFO: Processing buffer {"connection_id":123446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:21:10] local.INFO: Packet analysis {"connection_id":123446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:21:10] local.INFO: Extracted packet for processing {"connection_id":123446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:21:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513352448001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:21:10] 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-07-05 18:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255584000,"timestamp_ms":1783255584000,"timestamp_seconds":1783255584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3250cd00"} 
[2026-07-05 18:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:21: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-07-05 18:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513352448001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513352448001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:21:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513352448001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":123446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:21:10] local.INFO: GPS data processed {"connection_id":123446,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:21:10] local.INFO: Acknowledgment sent {"connection_id":123446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:21:41] local.INFO: TCP Data received {"connection_id":123446,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:21:41] local.INFO: Processing buffer {"connection_id":123446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3250cd00012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:21:41] local.INFO: Packet analysis {"connection_id":123446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:21:41] local.INFO: Extracted packet for processing {"connection_id":123446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3250"} 
[2026-07-05 18:21:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513352448001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:21:41] 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-07-05 18:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783255584000,"timestamp_ms":1783255584000,"timestamp_seconds":1783255584,"priority":1,"record_length":96,"hex_timestamp":"0000019f3250cd00"} 
[2026-07-05 18:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 18:21: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-07-05 18: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-07-05 18:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513352448001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513352448001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:21:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513352448001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":123446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:21:41] local.INFO: GPS data processed {"connection_id":123446,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:21:41] local.INFO: Acknowledgment sent {"connection_id":123446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:22:03] local.INFO: TCP Data received {"connection_id":122668,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:22:03] local.INFO: Processing buffer {"connection_id":122668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:22:03] local.INFO: IMEI packet received {"connection_id":122668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":122668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:22:04] local.INFO: TCP Data received {"connection_id":122668,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:22:04] local.INFO: Processing buffer {"connection_id":122668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:22:04] local.INFO: IMEI packet received {"connection_id":122668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":122668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:22:09] local.INFO: TCP Data received {"connection_id":122668,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:22:09] local.INFO: Processing buffer {"connection_id":122668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:22:09] local.INFO: IMEI packet received {"connection_id":122668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":122668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:22:11] local.INFO: TCP Data received {"connection_id":122668,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:22:11] local.INFO: Processing buffer {"connection_id":122668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:22:11] local.INFO: Packet analysis {"connection_id":122668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:22:11] local.INFO: Extracted packet for processing {"connection_id":122668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:22:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513429504001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:22:11] 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-07-05 18:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783255885000,"timestamp_ms":1783255885000,"timestamp_seconds":1783255885,"priority":1,"record_length":96,"hex_timestamp":"0000019f325564c8"} 
[2026-07-05 18:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513429504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513429504001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:22:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:22:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513429504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":122668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:22:11] local.INFO: GPS data processed {"connection_id":122668,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:22:11] local.INFO: Acknowledgment sent {"connection_id":122668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:22:42] local.INFO: TCP Data received {"connection_id":122668,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:22:42] local.INFO: Processing buffer {"connection_id":122668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:22:42] local.INFO: Packet analysis {"connection_id":122668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:22:42] local.INFO: Extracted packet for processing {"connection_id":122668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:22:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513429504001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:22:42] 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-07-05 18:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783255885000,"timestamp_ms":1783255885000,"timestamp_seconds":1783255885,"priority":1,"record_length":96,"hex_timestamp":"0000019f325564c8"} 
[2026-07-05 18:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:22: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-07-05 18:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513429504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513429504001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:22:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:22:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513429504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":122668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:22:42] local.INFO: GPS data processed {"connection_id":122668,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:22:42] local.INFO: Acknowledgment sent {"connection_id":122668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:23:04] local.INFO: TCP Data received {"connection_id":122741,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:23:04] local.INFO: Processing buffer {"connection_id":122741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:23:04] local.INFO: IMEI packet received {"connection_id":122741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":122741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:23:09] local.INFO: TCP Data received {"connection_id":122741,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:23:09] local.INFO: Processing buffer {"connection_id":122741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:23:09] local.INFO: IMEI packet received {"connection_id":122741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":122741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:23:10] local.INFO: TCP Data received {"connection_id":122741,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:23:10] local.INFO: Processing buffer {"connection_id":122741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:23:10] local.INFO: Packet analysis {"connection_id":122741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:23:10] local.INFO: Extracted packet for processing {"connection_id":122741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:23:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513429504001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:23:10] 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-07-05 18:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255885000,"timestamp_ms":1783255885000,"timestamp_seconds":1783255885,"priority":1,"record_length":96,"hex_timestamp":"0000019f325564c8"} 
[2026-07-05 18:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:23: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-07-05 18:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513429504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513429504001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:23:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513429504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":122741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:23:10] local.INFO: GPS data processed {"connection_id":122741,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:23:10] local.INFO: Acknowledgment sent {"connection_id":122741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:23:41] local.INFO: TCP Data received {"connection_id":122741,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:23:41] local.INFO: Processing buffer {"connection_id":122741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:23:41] local.INFO: Packet analysis {"connection_id":122741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:23:41] local.INFO: Extracted packet for processing {"connection_id":122741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:23:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 18:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513429504001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:23:41] 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-07-05 18:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783255885000,"timestamp_ms":1783255885000,"timestamp_seconds":1783255885,"priority":1,"record_length":96,"hex_timestamp":"0000019f325564c8"} 
[2026-07-05 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-07-05 18:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:23: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-07-05 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-07-05 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-07-05 18:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513429504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513429504001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:23:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513429504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":122741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:23:41] local.INFO: GPS data processed {"connection_id":122741,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:23:41] local.INFO: Acknowledgment sent {"connection_id":122741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:24:05] local.INFO: TCP Data received {"connection_id":123448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:24:05] local.INFO: Processing buffer {"connection_id":123448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:24:05] local.INFO: IMEI packet received {"connection_id":123448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":123448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:24:09] local.INFO: TCP Data received {"connection_id":123448,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:24:09] local.INFO: Processing buffer {"connection_id":123448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:24:09] local.INFO: IMEI packet received {"connection_id":123448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":123448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:24:10] local.INFO: TCP Data received {"connection_id":123448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:24:10] local.INFO: Processing buffer {"connection_id":123448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:24:10] local.INFO: Packet analysis {"connection_id":123448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:24:10] local.INFO: Extracted packet for processing {"connection_id":123448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513429504001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:24:10] 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-07-05 18:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255885000,"timestamp_ms":1783255885000,"timestamp_seconds":1783255885,"priority":1,"record_length":96,"hex_timestamp":"0000019f325564c8"} 
[2026-07-05 18:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:24: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-07-05 18:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513429504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513429504001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:24:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513429504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":123448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:24:10] local.INFO: GPS data processed {"connection_id":123448,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:24:10] local.INFO: Acknowledgment sent {"connection_id":123448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:24:29] local.INFO: TCP Data received {"connection_id":124672,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:24:29] local.INFO: Processing buffer {"connection_id":124672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:24:29] local.INFO: IMEI packet received {"connection_id":124672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":124672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:24:41] local.INFO: TCP Data received {"connection_id":123448,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:24:41] local.INFO: Processing buffer {"connection_id":123448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:24:41] local.INFO: Packet analysis {"connection_id":123448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:24:41] local.INFO: Extracted packet for processing {"connection_id":123448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513429504001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:24:41] 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-07-05 18:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783255885000,"timestamp_ms":1783255885000,"timestamp_seconds":1783255885,"priority":1,"record_length":96,"hex_timestamp":"0000019f325564c8"} 
[2026-07-05 18:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:24: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-07-05 18:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513429504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513429504001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:24:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513429504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":123448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:24:41] local.INFO: GPS data processed {"connection_id":123448,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:24:41] local.INFO: Acknowledgment sent {"connection_id":123448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:25:04] local.INFO: TCP Data received {"connection_id":124673,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:25:04] local.INFO: Processing buffer {"connection_id":124673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:25:04] local.INFO: IMEI packet received {"connection_id":124673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":124673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:25:04] local.INFO: TCP Data received {"connection_id":122671,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:25:04] local.INFO: Processing buffer {"connection_id":122671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:25:04] local.INFO: IMEI packet received {"connection_id":122671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":122671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:25:09] local.INFO: TCP Data received {"connection_id":122671,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:25:09] local.INFO: Processing buffer {"connection_id":122671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:25:09] local.INFO: IMEI packet received {"connection_id":122671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":122671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:25:10] local.INFO: TCP Data received {"connection_id":122671,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:25:10] local.INFO: Processing buffer {"connection_id":122671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:25:10] local.INFO: Packet analysis {"connection_id":122671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:25:10] local.INFO: Extracted packet for processing {"connection_id":122671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:25:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513429504001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:25:10] 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-07-05 18:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255885000,"timestamp_ms":1783255885000,"timestamp_seconds":1783255885,"priority":1,"record_length":96,"hex_timestamp":"0000019f325564c8"} 
[2026-07-05 18:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513429504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513429504001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:25:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513429504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":122671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:25:10] local.INFO: GPS data processed {"connection_id":122671,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:25:10] local.INFO: Acknowledgment sent {"connection_id":122671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:25:41] local.INFO: TCP Data received {"connection_id":122671,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:25:41] local.INFO: Processing buffer {"connection_id":122671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:25:41] local.INFO: Packet analysis {"connection_id":122671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:25:41] local.INFO: Extracted packet for processing {"connection_id":122671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:25:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513429504001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:25:41] 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-07-05 18:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783255885000,"timestamp_ms":1783255885000,"timestamp_seconds":1783255885,"priority":1,"record_length":96,"hex_timestamp":"0000019f325564c8"} 
[2026-07-05 18:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:25: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-07-05 18: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-07-05 18:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513429504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513429504001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:25:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513429504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":122671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:25:41] local.INFO: GPS data processed {"connection_id":122671,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:25:41] local.INFO: Acknowledgment sent {"connection_id":122671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:26:04] local.INFO: TCP Data received {"connection_id":122672,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:26:04] local.INFO: Processing buffer {"connection_id":122672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:26:04] local.INFO: IMEI packet received {"connection_id":122672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":122672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:26:09] local.INFO: TCP Data received {"connection_id":122672,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:26:09] local.INFO: Processing buffer {"connection_id":122672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:26:09] local.INFO: IMEI packet received {"connection_id":122672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":122672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:26:10] local.INFO: TCP Data received {"connection_id":122672,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:26:10] local.INFO: Processing buffer {"connection_id":122672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:26:10] local.INFO: Packet analysis {"connection_id":122672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:26:10] local.INFO: Extracted packet for processing {"connection_id":122672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513429504001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:26:10] 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-07-05 18:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255885000,"timestamp_ms":1783255885000,"timestamp_seconds":1783255885,"priority":1,"record_length":96,"hex_timestamp":"0000019f325564c8"} 
[2026-07-05 18:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:26: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-07-05 18:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513429504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513429504001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:26:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513429504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":122672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:26:10] local.INFO: GPS data processed {"connection_id":122672,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:26:10] local.INFO: Acknowledgment sent {"connection_id":122672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:26:41] local.INFO: TCP Data received {"connection_id":122672,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:26:41] local.INFO: Processing buffer {"connection_id":122672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325564c8012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:26:41] local.INFO: Packet analysis {"connection_id":122672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:26:41] local.INFO: Extracted packet for processing {"connection_id":122672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3255"} 
[2026-07-05 18:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513429504001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:26:41] 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-07-05 18:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783255885000,"timestamp_ms":1783255885000,"timestamp_seconds":1783255885,"priority":1,"record_length":96,"hex_timestamp":"0000019f325564c8"} 
[2026-07-05 18:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:26: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-07-05 18: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-07-05 18:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513429504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513429504001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:26:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513429504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":122672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:26:41] local.INFO: GPS data processed {"connection_id":122672,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:26:41] local.INFO: Acknowledgment sent {"connection_id":122672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:27:04] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:27:04] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:27:04] local.INFO: IMEI packet received {"connection_id":124675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":124675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:27:04] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:27:04] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:27:04] local.INFO: IMEI packet received {"connection_id":124675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":124675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:27:09] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:27:09] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:27:09] local.INFO: IMEI packet received {"connection_id":124675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":124675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:27:13] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:27:13] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:27:13] local.INFO: Packet analysis {"connection_id":124675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:27:13] local.INFO: Extracted packet for processing {"connection_id":124675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:27:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513506560001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:27:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:27:13] 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-07-05 18:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783256186000,"timestamp_ms":1783256186000,"timestamp_seconds":1783256186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3259fc90"} 
[2026-07-05 18:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:27:13] 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-07-05 18:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":124675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":124675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":124675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513506560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513506560001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:27:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:27:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513506560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":124675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:27:13] local.INFO: GPS data processed {"connection_id":124675,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:27:13] local.INFO: Acknowledgment sent {"connection_id":124675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:27:44] local.INFO: TCP Data received {"connection_id":124675,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:27:44] local.INFO: Processing buffer {"connection_id":124675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:27:44] local.INFO: Packet analysis {"connection_id":124675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:27:44] local.INFO: Extracted packet for processing {"connection_id":124675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:27:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513506560001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:27:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:27:44] 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-07-05 18:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783256186000,"timestamp_ms":1783256186000,"timestamp_seconds":1783256186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3259fc90"} 
[2026-07-05 18:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:27: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-07-05 18:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:27:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513506560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513506560001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:27:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:27:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:27:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513506560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":124675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:27:44] local.INFO: GPS data processed {"connection_id":124675,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:27:44] local.INFO: Acknowledgment sent {"connection_id":124675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:28:04] local.INFO: TCP Data received {"connection_id":123449,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:28:04] local.INFO: Processing buffer {"connection_id":123449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:28:04] local.INFO: IMEI packet received {"connection_id":123449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":123449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:28:09] local.INFO: TCP Data received {"connection_id":123449,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:28:09] local.INFO: Processing buffer {"connection_id":123449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:28:09] local.INFO: IMEI packet received {"connection_id":123449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":123449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:28:10] local.INFO: TCP Data received {"connection_id":123449,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:28:10] local.INFO: Processing buffer {"connection_id":123449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:28:10] local.INFO: Packet analysis {"connection_id":123449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:28:10] local.INFO: Extracted packet for processing {"connection_id":123449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513506560001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:28:10] 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-07-05 18:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783256186000,"timestamp_ms":1783256186000,"timestamp_seconds":1783256186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3259fc90"} 
[2026-07-05 18:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:28: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-07-05 18:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513506560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513506560001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:28:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513506560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":123449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:28:10] local.INFO: GPS data processed {"connection_id":123449,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:28:10] local.INFO: Acknowledgment sent {"connection_id":123449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:28:42] local.INFO: TCP Data received {"connection_id":123449,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:28:42] local.INFO: Processing buffer {"connection_id":123449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:28:42] local.INFO: Packet analysis {"connection_id":123449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:28:42] local.INFO: Extracted packet for processing {"connection_id":123449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:28:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513506560001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:28:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:28:42] 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-07-05 18:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783256186000,"timestamp_ms":1783256186000,"timestamp_seconds":1783256186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3259fc90"} 
[2026-07-05 18:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:28: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-07-05 18:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513506560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513506560001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:28:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:28:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:28:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513506560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":123449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:28:42] local.INFO: GPS data processed {"connection_id":123449,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:28:42] local.INFO: Acknowledgment sent {"connection_id":123449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:29:09] local.INFO: TCP Data received {"connection_id":122676,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:29:09] local.INFO: Processing buffer {"connection_id":122676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:29:09] local.INFO: IMEI packet received {"connection_id":122676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":122676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:29:14] local.INFO: TCP Data received {"connection_id":122676,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:29:14] local.INFO: Processing buffer {"connection_id":122676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:29:14] local.INFO: IMEI packet received {"connection_id":122676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":122676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:29:19] local.INFO: TCP Data received {"connection_id":122676,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:29:19] local.INFO: Processing buffer {"connection_id":122676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:29:19] local.INFO: Packet analysis {"connection_id":122676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:29:19] local.INFO: Extracted packet for processing {"connection_id":122676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:29:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513506560001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:29:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:29:19] 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-07-05 18:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783256186000,"timestamp_ms":1783256186000,"timestamp_seconds":1783256186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3259fc90"} 
[2026-07-05 18:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:29:19] 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-07-05 18: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513506560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513506560001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:29:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:29:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:29:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513506560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":122676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:29:19] local.INFO: GPS data processed {"connection_id":122676,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:29:19] local.INFO: Acknowledgment sent {"connection_id":122676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:29:23] local.INFO: TCP Data received {"connection_id":122676,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:29:23] local.INFO: Processing buffer {"connection_id":122676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:29:23] local.INFO: Packet analysis {"connection_id":122676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:29:23] local.INFO: Extracted packet for processing {"connection_id":122676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:29:23] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513506560001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:29:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:29:23] 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-07-05 18:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783256186000,"timestamp_ms":1783256186000,"timestamp_seconds":1783256186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3259fc90"} 
[2026-07-05 18:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:29:23] 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-07-05 18:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":122676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":122676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":122676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513506560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513506560001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:29:23] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:29:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:29:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513506560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":122676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:29:23] local.INFO: GPS data processed {"connection_id":122676,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:29:23] local.INFO: Acknowledgment sent {"connection_id":122676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:30:04] local.INFO: TCP Data received {"connection_id":124676,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:30:04] local.INFO: Processing buffer {"connection_id":124676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:30:04] local.INFO: IMEI packet received {"connection_id":124676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":124676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:30:09] local.INFO: TCP Data received {"connection_id":124676,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:30:09] local.INFO: Processing buffer {"connection_id":124676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:30:09] local.INFO: IMEI packet received {"connection_id":124676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":124676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:30:14] local.INFO: TCP Data received {"connection_id":124676,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:30:14] local.INFO: Processing buffer {"connection_id":124676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:30:14] local.INFO: Packet analysis {"connection_id":124676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:30:14] local.INFO: Extracted packet for processing {"connection_id":124676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:30:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513506560001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:30:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:30:14] 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-07-05 18:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783256186000,"timestamp_ms":1783256186000,"timestamp_seconds":1783256186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3259fc90"} 
[2026-07-05 18:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513506560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513506560001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:30:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:30:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513506560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":124676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:30:14] local.INFO: GPS data processed {"connection_id":124676,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:30:14] local.INFO: Acknowledgment sent {"connection_id":124676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:30:19] local.INFO: TCP Data received {"connection_id":124676,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:30:19] local.INFO: Processing buffer {"connection_id":124676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:30:19] local.INFO: Packet analysis {"connection_id":124676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:30:19] local.INFO: Extracted packet for processing {"connection_id":124676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:30:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513506560001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:30:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:30:19] 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-07-05 18:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783256186000,"timestamp_ms":1783256186000,"timestamp_seconds":1783256186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3259fc90"} 
[2026-07-05 18:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:30:19] 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-07-05 18:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513506560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513506560001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:30:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:30:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:30:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513506560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":124676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:30:19] local.INFO: GPS data processed {"connection_id":124676,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:30:19] local.INFO: Acknowledgment sent {"connection_id":124676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:30:34] local.INFO: TCP Data received {"connection_id":122742,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:30:34] local.INFO: Processing buffer {"connection_id":122742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:30:34] local.INFO: IMEI packet received {"connection_id":122742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":122742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:31:04] local.INFO: TCP Data received {"connection_id":123450,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:31:04] local.INFO: Processing buffer {"connection_id":123450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:31:04] local.INFO: IMEI packet received {"connection_id":123450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":123450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:31:05] local.INFO: TCP Data received {"connection_id":122677,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:31:05] local.INFO: Processing buffer {"connection_id":122677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:31:05] local.INFO: IMEI packet received {"connection_id":122677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":122677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:31:09] local.INFO: TCP Data received {"connection_id":123450,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:31:09] local.INFO: Processing buffer {"connection_id":123450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:31:09] local.INFO: IMEI packet received {"connection_id":123450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 18:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":123450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:31:09] local.INFO: TCP Data received {"connection_id":122677,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:31:09] local.INFO: Processing buffer {"connection_id":122677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:31:09] local.INFO: IMEI packet received {"connection_id":122677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":122677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:31:10] local.INFO: TCP Data received {"connection_id":123450,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f324883e8012cb2a10007823b380045000025..."} 
[2026-07-05 18:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f324883e8012cb2a10007823b380045000025..."} 
[2026-07-05 18:31:10] local.INFO: Processing buffer {"connection_id":123450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f324883e8012cb2a10007823b380045000025..."} 
[2026-07-05 18:31:10] local.INFO: Packet analysis {"connection_id":123450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3248"} 
[2026-07-05 18:31:10] local.INFO: Extracted packet for processing {"connection_id":123450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3248"} 
[2026-07-05 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":69,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 18:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513213440001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 18:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 18:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783255041000,"timestamp_ms":1783255041000,"timestamp_seconds":1783255041,"priority":1,"record_length":96,"hex_timestamp":"0000019f324883e8"} 
[2026-07-05 18:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 18:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 18:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 18:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 18:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513213440001,"66":25343,"221":206,"85":36864,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-05 18:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 18:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 18:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513213440001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:31:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-05 18:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-05 18:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 18:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513213440001,"power":25343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 18:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":123450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:31:10] local.INFO: GPS data processed {"connection_id":123450,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:31:10] local.INFO: Acknowledgment sent {"connection_id":123450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:31:10] local.INFO: TCP Data received {"connection_id":122677,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:31:10] local.INFO: Processing buffer {"connection_id":122677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:31:10] local.INFO: Packet analysis {"connection_id":122677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:31:10] local.INFO: Extracted packet for processing {"connection_id":122677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513506560001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:31:10] 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-07-05 18:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783256186000,"timestamp_ms":1783256186000,"timestamp_seconds":1783256186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3259fc90"} 
[2026-07-05 18:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513506560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513506560001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:31:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513506560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":122677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:31:10] local.INFO: GPS data processed {"connection_id":122677,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:31:10] local.INFO: Acknowledgment sent {"connection_id":122677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:31:41] local.INFO: TCP Data received {"connection_id":122677,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:31:41] local.INFO: Processing buffer {"connection_id":122677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3259fc90012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:31:41] local.INFO: Packet analysis {"connection_id":122677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:31:41] local.INFO: Extracted packet for processing {"connection_id":122677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3259"} 
[2026-07-05 18:31:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513506560001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:31:41] 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-07-05 18:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783256186000,"timestamp_ms":1783256186000,"timestamp_seconds":1783256186,"priority":1,"record_length":96,"hex_timestamp":"0000019f3259fc90"} 
[2026-07-05 18:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:31: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-07-05 18: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-07-05 18:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513506560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513506560001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:31:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513506560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":122677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:31:41] local.INFO: GPS data processed {"connection_id":122677,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:31:41] local.INFO: Acknowledgment sent {"connection_id":122677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:31:54] local.INFO: TCP Data received {"connection_id":122678,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:31:54] local.INFO: Processing buffer {"connection_id":122678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:31:54] local.INFO: IMEI packet received {"connection_id":122678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":122678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:32:04] local.INFO: TCP Data received {"connection_id":122743,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:32:04] local.INFO: Processing buffer {"connection_id":122743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:32:04] local.INFO: IMEI packet received {"connection_id":122743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":122743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:32:05] local.INFO: TCP Data received {"connection_id":122743,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:32:05] local.INFO: Processing buffer {"connection_id":122743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:32:05] local.INFO: IMEI packet received {"connection_id":122743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":122743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:32:09] local.INFO: TCP Data received {"connection_id":122743,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:32:09] local.INFO: Processing buffer {"connection_id":122743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:32:09] local.INFO: IMEI packet received {"connection_id":122743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":122743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:32:10] local.INFO: TCP Data received {"connection_id":122743,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:32:10] local.INFO: Processing buffer {"connection_id":122743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:32:10] local.INFO: Packet analysis {"connection_id":122743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:32:10] local.INFO: Extracted packet for processing {"connection_id":122743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513583616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:32:10] 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-07-05 18:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783256487000,"timestamp_ms":1783256487000,"timestamp_seconds":1783256487,"priority":1,"record_length":96,"hex_timestamp":"0000019f325e9458"} 
[2026-07-05 18:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:32: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-07-05 18:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513583616001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513583616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:32:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513583616001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":122743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:32:10] local.INFO: GPS data processed {"connection_id":122743,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:32:10] local.INFO: Acknowledgment sent {"connection_id":122743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:32:42] local.INFO: TCP Data received {"connection_id":122743,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:32:42] local.INFO: Processing buffer {"connection_id":122743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:32:42] local.INFO: Packet analysis {"connection_id":122743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:32:42] local.INFO: Extracted packet for processing {"connection_id":122743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:32:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513583616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:32:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:32:42] 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-07-05 18:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783256487000,"timestamp_ms":1783256487000,"timestamp_seconds":1783256487,"priority":1,"record_length":96,"hex_timestamp":"0000019f325e9458"} 
[2026-07-05 18:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:32: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-07-05 18: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-07-05 18:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513583616001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513583616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:32:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513583616001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":122743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:32:42] local.INFO: GPS data processed {"connection_id":122743,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:32:42] local.INFO: Acknowledgment sent {"connection_id":122743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:33:09] local.INFO: TCP Data received {"connection_id":123452,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:33:09] local.INFO: Processing buffer {"connection_id":123452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:33:09] local.INFO: IMEI packet received {"connection_id":123452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":123452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:33:15] local.INFO: TCP Data received {"connection_id":123452,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:33:15] local.INFO: Processing buffer {"connection_id":123452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:33:15] local.INFO: IMEI packet received {"connection_id":123452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":123452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:33:19] local.INFO: TCP Data received {"connection_id":123452,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:33:19] local.INFO: Processing buffer {"connection_id":123452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:33:19] local.INFO: Packet analysis {"connection_id":123452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:33:19] local.INFO: Extracted packet for processing {"connection_id":123452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:33:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513583616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:33:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:33:19] 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-07-05 18:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783256487000,"timestamp_ms":1783256487000,"timestamp_seconds":1783256487,"priority":1,"record_length":96,"hex_timestamp":"0000019f325e9458"} 
[2026-07-05 18:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:33:19] 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-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":123452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":123452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":123452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513583616001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513583616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:33:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:33:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:33:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513583616001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":123452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:33:19] local.INFO: GPS data processed {"connection_id":123452,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:33:19] local.INFO: Acknowledgment sent {"connection_id":123452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:33:20] local.INFO: TCP Data received {"connection_id":123452,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:33:20] local.INFO: Processing buffer {"connection_id":123452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:33:20] local.INFO: Packet analysis {"connection_id":123452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:33:20] local.INFO: Extracted packet for processing {"connection_id":123452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:33:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513583616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:33:20] 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-07-05 18:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783256487000,"timestamp_ms":1783256487000,"timestamp_seconds":1783256487,"priority":1,"record_length":96,"hex_timestamp":"0000019f325e9458"} 
[2026-07-05 18:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:33:20] 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-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513583616001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513583616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:33:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:33:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513583616001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":123452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:33:20] local.INFO: GPS data processed {"connection_id":123452,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:33:20] local.INFO: Acknowledgment sent {"connection_id":123452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:34:04] local.INFO: TCP Data received {"connection_id":122744,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:34:04] local.INFO: Processing buffer {"connection_id":122744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:34:04] local.INFO: IMEI packet received {"connection_id":122744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":122744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:34:09] local.INFO: TCP Data received {"connection_id":122744,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:34:09] local.INFO: Processing buffer {"connection_id":122744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:34:09] local.INFO: IMEI packet received {"connection_id":122744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":122744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:34:10] local.INFO: TCP Data received {"connection_id":122744,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:34:10] local.INFO: Processing buffer {"connection_id":122744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:34:10] local.INFO: Packet analysis {"connection_id":122744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:34:10] local.INFO: Extracted packet for processing {"connection_id":122744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513583616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:34:10] 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-07-05 18:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783256487000,"timestamp_ms":1783256487000,"timestamp_seconds":1783256487,"priority":1,"record_length":96,"hex_timestamp":"0000019f325e9458"} 
[2026-07-05 18:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:34: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-07-05 18:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513583616001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513583616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:34:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513583616001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":122744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:34:10] local.INFO: GPS data processed {"connection_id":122744,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:34:10] local.INFO: Acknowledgment sent {"connection_id":122744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:34:15] local.INFO: TCP Data received {"connection_id":122744,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:34:15] local.INFO: Processing buffer {"connection_id":122744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:34:15] local.INFO: Packet analysis {"connection_id":122744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:34:15] local.INFO: Extracted packet for processing {"connection_id":122744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:34:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:34: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-07-05 18:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513583616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:34:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:34:15] 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-07-05 18:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783256487000,"timestamp_ms":1783256487000,"timestamp_seconds":1783256487,"priority":1,"record_length":96,"hex_timestamp":"0000019f325e9458"} 
[2026-07-05 18:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:34:15] 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-07-05 18:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:34: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-07-05 18:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513583616001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513583616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:34:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:34:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513583616001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":122744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:34:15] local.INFO: GPS data processed {"connection_id":122744,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:34:15] local.INFO: Acknowledgment sent {"connection_id":122744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:34:46] local.INFO: TCP Data received {"connection_id":122744,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:34:46] local.INFO: Processing buffer {"connection_id":122744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:34:46] local.INFO: Packet analysis {"connection_id":122744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:34:46] local.INFO: Extracted packet for processing {"connection_id":122744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:34:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513583616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:34:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:34:46] 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-07-05 18:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783256487000,"timestamp_ms":1783256487000,"timestamp_seconds":1783256487,"priority":1,"record_length":96,"hex_timestamp":"0000019f325e9458"} 
[2026-07-05 18:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:34: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-07-05 18:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513583616001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513583616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:34:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:34:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:34:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513583616001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":122744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:34:46] local.INFO: GPS data processed {"connection_id":122744,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:34:46] local.INFO: Acknowledgment sent {"connection_id":122744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:35:04] local.INFO: TCP Data received {"connection_id":122679,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:35:04] local.INFO: Processing buffer {"connection_id":122679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:35:04] local.INFO: IMEI packet received {"connection_id":122679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":122679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:35:09] local.INFO: TCP Data received {"connection_id":122679,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:35:09] local.INFO: Processing buffer {"connection_id":122679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:35:09] local.INFO: IMEI packet received {"connection_id":122679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":122679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:35:10] local.INFO: TCP Data received {"connection_id":122679,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:35:10] local.INFO: Processing buffer {"connection_id":122679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:35:10] local.INFO: Packet analysis {"connection_id":122679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:35:10] local.INFO: Extracted packet for processing {"connection_id":122679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513583616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:35:10] 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-07-05 18:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783256487000,"timestamp_ms":1783256487000,"timestamp_seconds":1783256487,"priority":1,"record_length":96,"hex_timestamp":"0000019f325e9458"} 
[2026-07-05 18:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:35: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-07-05 18:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513583616001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513583616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:35:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513583616001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":122679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:35:10] local.INFO: GPS data processed {"connection_id":122679,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:35:10] local.INFO: Acknowledgment sent {"connection_id":122679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:35:41] local.INFO: TCP Data received {"connection_id":122679,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:35:41] local.INFO: Processing buffer {"connection_id":122679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:35:41] local.INFO: Packet analysis {"connection_id":122679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:35:41] local.INFO: Extracted packet for processing {"connection_id":122679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:35:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513583616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:35:41] 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-07-05 18:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783256487000,"timestamp_ms":1783256487000,"timestamp_seconds":1783256487,"priority":1,"record_length":96,"hex_timestamp":"0000019f325e9458"} 
[2026-07-05 18:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:35: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-07-05 18:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513583616001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513583616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:35:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513583616001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":122679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:35:41] local.INFO: GPS data processed {"connection_id":122679,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:35:41] local.INFO: Acknowledgment sent {"connection_id":122679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:35:45] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.208.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:35:45] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:35:45] local.INFO: IMEI packet received {"connection_id":122745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":122745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:35:46] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.208.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:35:46] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:35:46] local.INFO: IMEI packet received {"connection_id":122745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":122745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:35:50] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.208.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:35:50] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:35:50] local.INFO: IMEI packet received {"connection_id":122745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":122745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:35:51] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.208.17","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-05 18:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-05 18:35:51] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-05 18:35:51] local.INFO: Packet analysis {"connection_id":122745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 18:35:51] local.INFO: Extracted packet for processing {"connection_id":122745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 18:35:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-05 18:35:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 18:35:51] 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-07-05 18:35:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 18:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":122745,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 18:35:51] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 18:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":122745,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 18:35:51] local.ERROR: GPS data processing failed {"connection_id":122745,"error":"No valid data to process"} 
[2026-07-05 18:35:51] local.INFO: Acknowledgment sent {"connection_id":122745,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 18:36:04] local.INFO: TCP Data received {"connection_id":122746,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:36:04] local.INFO: Processing buffer {"connection_id":122746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:36:04] local.INFO: IMEI packet received {"connection_id":122746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":122746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:36:09] local.INFO: TCP Data received {"connection_id":122746,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:36:09] local.INFO: Processing buffer {"connection_id":122746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:36:09] local.INFO: IMEI packet received {"connection_id":122746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":122746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:36:10] local.INFO: TCP Data received {"connection_id":122746,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:36:10] local.INFO: Processing buffer {"connection_id":122746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:36:10] local.INFO: Packet analysis {"connection_id":122746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:36:10] local.INFO: Extracted packet for processing {"connection_id":122746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513583616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:36:10] 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-07-05 18:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783256487000,"timestamp_ms":1783256487000,"timestamp_seconds":1783256487,"priority":1,"record_length":96,"hex_timestamp":"0000019f325e9458"} 
[2026-07-05 18:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:36: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-07-05 18:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513583616001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513583616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:36:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513583616001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":122746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:36:10] local.INFO: GPS data processed {"connection_id":122746,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:36:10] local.INFO: Acknowledgment sent {"connection_id":122746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:36:35] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.208.17","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-05 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-05 18:36:35] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-05 18:36:35] local.INFO: Packet analysis {"connection_id":122745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-05 18:36:35] local.INFO: Extracted packet for processing {"connection_id":122745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-05 18:36: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-07-05 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-07-05 18:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-05 18:36:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 18:36:35] 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-07-05 18:36:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 18:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122745,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 18:36:35] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 18:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":122745,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 18:36:35] local.ERROR: GPS data processing failed {"connection_id":122745,"error":"No valid data to process"} 
[2026-07-05 18:36:35] local.INFO: Acknowledgment sent {"connection_id":122745,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 18:36:42] local.INFO: TCP Data received {"connection_id":122746,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:36:42] local.INFO: Processing buffer {"connection_id":122746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325e9458012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:36:42] local.INFO: Packet analysis {"connection_id":122746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:36:42] local.INFO: Extracted packet for processing {"connection_id":122746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325e"} 
[2026-07-05 18:36:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513583616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:36:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:36:42] 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-07-05 18:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783256487000,"timestamp_ms":1783256487000,"timestamp_seconds":1783256487,"priority":1,"record_length":96,"hex_timestamp":"0000019f325e9458"} 
[2026-07-05 18:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513583616001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513583616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:36:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:36:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513583616001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":122746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:36:42] local.INFO: GPS data processed {"connection_id":122746,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:36:42] local.INFO: Acknowledgment sent {"connection_id":122746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:37:04] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:37:04] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:37:04] local.INFO: IMEI packet received {"connection_id":124678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":124678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:37:06] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:37:06] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:37:06] local.INFO: IMEI packet received {"connection_id":124678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":124678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:37:06] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.208.17","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-05 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-05 18:37:06] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-07-05 18:37:06] local.INFO: Packet analysis {"connection_id":122745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-05 18:37:06] local.INFO: Extracted packet for processing {"connection_id":122745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-05 18: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-07-05 18: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-07-05 18:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-05 18:37:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 18:37:06] 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-07-05 18:37:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 18:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":122745,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 18:37:06] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 18:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":122745,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 18:37:06] local.ERROR: GPS data processing failed {"connection_id":122745,"error":"No valid data to process"} 
[2026-07-05 18:37:06] local.INFO: Acknowledgment sent {"connection_id":122745,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 18:37:10] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:37:10] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:37:10] local.INFO: IMEI packet received {"connection_id":124678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":124678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:37:11] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:37:11] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:37:11] local.INFO: Packet analysis {"connection_id":124678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:37:11] local.INFO: Extracted packet for processing {"connection_id":124678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:37:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513660672001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:37:11] 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-07-05 18:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783256788000,"timestamp_ms":1783256788000,"timestamp_seconds":1783256788,"priority":1,"record_length":96,"hex_timestamp":"0000019f32632c20"} 
[2026-07-05 18:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513660672001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513660672001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:37:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513660672001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":124678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:37:11] local.INFO: GPS data processed {"connection_id":124678,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:37:11] local.INFO: Acknowledgment sent {"connection_id":124678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:37:24] local.INFO: TCP Data received {"connection_id":122680,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:37:24] local.INFO: Processing buffer {"connection_id":122680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:37:24] local.INFO: IMEI packet received {"connection_id":122680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":122680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:37:38] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.208.17","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-05 18:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-05 18:37:38] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-07-05 18:37:38] local.INFO: Packet analysis {"connection_id":122745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-05 18:37:38] local.INFO: Extracted packet for processing {"connection_id":122745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-05 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-05 18:37:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 18:37:38] 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-07-05 18:37:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 18:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":122745,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 18:37:38] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 18:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":122745,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 18:37:38] local.ERROR: GPS data processing failed {"connection_id":122745,"error":"No valid data to process"} 
[2026-07-05 18:37:38] local.INFO: Acknowledgment sent {"connection_id":122745,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 18:37:42] local.INFO: TCP Data received {"connection_id":124678,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:37:42] local.INFO: Processing buffer {"connection_id":124678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:37:42] local.INFO: Packet analysis {"connection_id":124678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:37:42] local.INFO: Extracted packet for processing {"connection_id":124678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:37:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513660672001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:37:42] 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-07-05 18:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783256788000,"timestamp_ms":1783256788000,"timestamp_seconds":1783256788,"priority":1,"record_length":96,"hex_timestamp":"0000019f32632c20"} 
[2026-07-05 18:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513660672001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513660672001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513660672001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":124678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:37:42] local.INFO: GPS data processed {"connection_id":124678,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:37:42] local.INFO: Acknowledgment sent {"connection_id":124678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:38:04] local.INFO: TCP Data received {"connection_id":122747,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:38:04] local.INFO: Processing buffer {"connection_id":122747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:38:04] local.INFO: IMEI packet received {"connection_id":122747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":122747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:38:05] local.INFO: TCP Data received {"connection_id":122681,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:38:05] local.INFO: Processing buffer {"connection_id":122681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:38:05] local.INFO: IMEI packet received {"connection_id":122681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":122681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:38:09] local.INFO: TCP Data received {"connection_id":122681,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:38:09] local.INFO: Processing buffer {"connection_id":122681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:38:09] local.INFO: IMEI packet received {"connection_id":122681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":122681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:38:10] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.208.17","data_length":795,"data_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-05 18:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-05 18:38:10] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-07-05 18:38:10] local.INFO: Packet analysis {"connection_id":122745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-05 18:38:10] local.INFO: Extracted packet for processing {"connection_id":122745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-05 18:38: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-07-05 18:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-05 18:38:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 18:38:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":132000,"timestamp_seconds":132,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 18:38:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 18:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122745,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 18:38:10] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 18:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":122745,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 18:38:10] local.ERROR: GPS data processing failed {"connection_id":122745,"error":"No valid data to process"} 
[2026-07-05 18:38:10] local.INFO: Acknowledgment sent {"connection_id":122745,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 18:38:10] local.INFO: TCP Data received {"connection_id":122681,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:38:10] local.INFO: Processing buffer {"connection_id":122681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:38:10] local.INFO: Packet analysis {"connection_id":122681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:38:10] local.INFO: Extracted packet for processing {"connection_id":122681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513660672001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:38:10] 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-07-05 18:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783256788000,"timestamp_ms":1783256788000,"timestamp_seconds":1783256788,"priority":1,"record_length":96,"hex_timestamp":"0000019f32632c20"} 
[2026-07-05 18:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:38: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-07-05 18:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513660672001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513660672001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:38:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513660672001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":122681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:38:10] local.INFO: GPS data processed {"connection_id":122681,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:38:10] local.INFO: Acknowledgment sent {"connection_id":122681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:38:41] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.208.17","data_length":795,"data_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-05 18:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-05 18:38:41] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-07-05 18:38:41] local.INFO: Packet analysis {"connection_id":122745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-05 18:38:41] local.INFO: Extracted packet for processing {"connection_id":122745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-05 18:38: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-07-05 18: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-07-05 18:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-05 18:38:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 18:38:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":153000,"timestamp_seconds":153,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 18:38:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 18:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122745,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 18:38:41] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 18:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":122745,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 18:38:41] local.ERROR: GPS data processing failed {"connection_id":122745,"error":"No valid data to process"} 
[2026-07-05 18:38:41] local.INFO: Acknowledgment sent {"connection_id":122745,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 18:38:41] local.INFO: TCP Data received {"connection_id":122681,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:38:41] local.INFO: Processing buffer {"connection_id":122681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:38:41] local.INFO: Packet analysis {"connection_id":122681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:38:41] local.INFO: Extracted packet for processing {"connection_id":122681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513660672001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:38:41] 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-07-05 18:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783256788000,"timestamp_ms":1783256788000,"timestamp_seconds":1783256788,"priority":1,"record_length":96,"hex_timestamp":"0000019f32632c20"} 
[2026-07-05 18:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18: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-07-05 18: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-07-05 18:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513660672001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513660672001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:38:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513660672001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":122681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:38:41] local.INFO: GPS data processed {"connection_id":122681,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:38:41] local.INFO: Acknowledgment sent {"connection_id":122681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:39:04] local.INFO: TCP Data received {"connection_id":123456,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:39:04] local.INFO: Processing buffer {"connection_id":123456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:39:04] local.INFO: IMEI packet received {"connection_id":123456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":123456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:39:09] local.INFO: TCP Data received {"connection_id":123456,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:39:09] local.INFO: Processing buffer {"connection_id":123456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:39:09] local.INFO: IMEI packet received {"connection_id":123456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":123456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:39:10] local.INFO: TCP Data received {"connection_id":123456,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:39:10] local.INFO: Processing buffer {"connection_id":123456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:39:10] local.INFO: Packet analysis {"connection_id":123456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:39:10] local.INFO: Extracted packet for processing {"connection_id":123456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:39:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513660672001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:39:10] 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-07-05 18:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783256788000,"timestamp_ms":1783256788000,"timestamp_seconds":1783256788,"priority":1,"record_length":96,"hex_timestamp":"0000019f32632c20"} 
[2026-07-05 18:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:39: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-07-05 18:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513660672001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513660672001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:39:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513660672001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":123456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:39:10] local.INFO: GPS data processed {"connection_id":123456,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:39:10] local.INFO: Acknowledgment sent {"connection_id":123456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:39:14] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.208.17","data_length":795,"data_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-07-05 18:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-07-05 18:39:14] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-07-05 18:39:14] local.INFO: Packet analysis {"connection_id":122745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-05 18:39:14] local.INFO: Extracted packet for processing {"connection_id":122745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-05 18:39: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-07-05 18:39: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-07-05 18:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-05 18:39:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 18:39:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":174000,"timestamp_seconds":174,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 18:39:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 18:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122745,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 18:39:14] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 18:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":122745,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 18:39:14] local.ERROR: GPS data processing failed {"connection_id":122745,"error":"No valid data to process"} 
[2026-07-05 18:39:14] local.INFO: Acknowledgment sent {"connection_id":122745,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 18:39:40] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:39:40] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:39:40] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:39:40] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:39:40] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:39:40] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:39:41] local.INFO: TCP Data received {"connection_id":123456,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:39:41] local.INFO: Processing buffer {"connection_id":123456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:39:41] local.INFO: Packet analysis {"connection_id":123456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:39:41] local.INFO: Extracted packet for processing {"connection_id":123456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:39:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513660672001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:39:41] 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-07-05 18:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783256788000,"timestamp_ms":1783256788000,"timestamp_seconds":1783256788,"priority":1,"record_length":96,"hex_timestamp":"0000019f32632c20"} 
[2026-07-05 18:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18: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-07-05 18: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-07-05 18:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513660672001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513660672001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:39:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513660672001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":123456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:39:41] local.INFO: GPS data processed {"connection_id":123456,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:39:41] local.INFO: Acknowledgment sent {"connection_id":123456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:39:45] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:39:45] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:39:45] local.INFO: IMEI packet received {"connection_id":124679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":124679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:39:48] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a000000000002f9b80100000000000000000000000000..."} 
[2026-07-05 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002f9b80100000000000000000000000000..."} 
[2026-07-05 18:39:48] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002f9b80100000000000000000000000000..."} 
[2026-07-05 18:39:48] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-05 18:39:48] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-07-05 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-05 18:39:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 18:39:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":195000,"timestamp_seconds":195,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 18:39:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 18:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 18:39:48] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 18:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 18:39:48] local.ERROR: GPS data processing failed {"connection_id":124679,"error":"No valid data to process"} 
[2026-07-05 18:39:48] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 18:39:49] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000000000034bc00100000000000000000000000000..."} 
[2026-07-05 18:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000034bc00100000000000000000000000000..."} 
[2026-07-05 18:39:49] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000034bc00100000000000000000000000000..."} 
[2026-07-05 18:39:49] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-05 18:39:49] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-05 18:39:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-05 18:39:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 18:39:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216000,"timestamp_seconds":216,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 18:39:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 18:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 18:39:49] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 18:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 18:39:49] local.ERROR: GPS data processing failed {"connection_id":124679,"error":"No valid data to process"} 
[2026-07-05 18:39:49] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 18:40:04] local.INFO: TCP Data received {"connection_id":122748,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:40:04] local.INFO: Processing buffer {"connection_id":122748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:40:04] local.INFO: IMEI packet received {"connection_id":122748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":122748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:40:09] local.INFO: TCP Data received {"connection_id":122748,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:40:09] local.INFO: Processing buffer {"connection_id":122748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:40:09] local.INFO: IMEI packet received {"connection_id":122748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":122748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:40:10] local.INFO: TCP Data received {"connection_id":122748,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:40:10] local.INFO: Processing buffer {"connection_id":122748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:40:10] local.INFO: Packet analysis {"connection_id":122748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:40:10] local.INFO: Extracted packet for processing {"connection_id":122748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513660672001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:10] 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-07-05 18:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783256788000,"timestamp_ms":1783256788000,"timestamp_seconds":1783256788,"priority":1,"record_length":96,"hex_timestamp":"0000019f32632c20"} 
[2026-07-05 18:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:40: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-07-05 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513660672001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513660672001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513660672001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":122748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:40:10] local.INFO: GPS data processed {"connection_id":122748,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:40:10] local.INFO: Acknowledgment sent {"connection_id":122748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:40:21] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000000000039dc80100000000000000000000000000..."} 
[2026-07-05 18:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000039dc80100000000000000000000000000..."} 
[2026-07-05 18:40:21] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000039dc80100000000000000000000000000..."} 
[2026-07-05 18:40:21] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-05 18:40:21] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-07-05 18:40: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-07-05 18:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4679542962651136,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 18:40:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":237000,"timestamp_seconds":237,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 18:40:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 18:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-05 18:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 18:40:21] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 18:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 18:40:21] local.ERROR: GPS data processing failed {"connection_id":124679,"error":"No valid data to process"} 
[2026-07-05 18:40:21] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 18:40:42] local.INFO: TCP Data received {"connection_id":122748,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:40:42] local.INFO: Processing buffer {"connection_id":122748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:40:42] local.INFO: Packet analysis {"connection_id":122748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:40:42] local.INFO: Extracted packet for processing {"connection_id":122748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:40:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513660672001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:42] 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-07-05 18:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783256788000,"timestamp_ms":1783256788000,"timestamp_seconds":1783256788,"priority":1,"record_length":96,"hex_timestamp":"0000019f32632c20"} 
[2026-07-05 18:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513660672001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513660672001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:40:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:40:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:40:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513660672001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":122748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:40:42] local.INFO: GPS data processed {"connection_id":122748,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:40:42] local.INFO: Acknowledgment sent {"connection_id":122748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:40:53] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32670c50012d18c44007214cb80031015d09..."} 
[2026-07-05 18:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32670c50012d18c44007214cb80031015d09..."} 
[2026-07-05 18:40:53] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32670c50012d18c44007214cb80031015d09..."} 
[2026-07-05 18:40:53] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:40:53] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:40:53] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119622840,"longitude_deg":75.6597824,"latitude_deg":11.962284,"altitude":49,"angle":349,"satellites":9,"speed":13,"hex_longitude":"2d18c440","hex_latitude":"07214cb8","is_valid_coordinates":true} 
[2026-07-05 18:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513802240001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4680835747807232,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713017856,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783257042000,"timestamp_ms":1783257042000,"timestamp_seconds":1783257042,"priority":1,"record_length":96,"hex_timestamp":"0000019f32670c50"} 
[2026-07-05 18:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:40:53] 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-07-05 18:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867789984,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-3746987050814930886,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2698903552,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5333669436769435658,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638384256640889,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2147950897,"corrected_to":0} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-7781993762044981732,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755502520402161,"note":"Value kept but may cause issues"} 
[2026-07-05 18:40:53] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,161,159,252,45,192,72,49,9,10,66,213,68,8,201,64,1,240,224,50,33,4,113,205,20,162,203,248,239,55,2,7,58,54,124],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":203,"original":2147950897,"validated":0}]} 
[2026-07-05 18:40:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530830942606917632,"timestamp_seconds":3530830942606917.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 18:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513802240001,"66":14276,"121":206,"28":31744,"24":13,"16":4680835747807232,"45":1784621751713017856},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513802240001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:40:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:40:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4680835747807232,"km_value":4680835747807.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713017856,"description":"Unknown IO ID 45"} 
[2026-07-05 18:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513802240001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1784621751713017856}} 
[2026-07-05 18:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:40:53] local.INFO: GPS data processed {"connection_id":124679,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:40:53] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:41:04] local.INFO: TCP Data received {"connection_id":123458,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:41:04] local.INFO: Processing buffer {"connection_id":123458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:41:04] local.INFO: IMEI packet received {"connection_id":123458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":123458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:41:09] local.INFO: TCP Data received {"connection_id":123458,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:41:09] local.INFO: Processing buffer {"connection_id":123458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:41:09] local.INFO: IMEI packet received {"connection_id":123458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":123458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:41:11] local.INFO: TCP Data received {"connection_id":123458,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:41:11] local.INFO: Processing buffer {"connection_id":123458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:41:11] local.INFO: Packet analysis {"connection_id":123458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:41:11] local.INFO: Extracted packet for processing {"connection_id":123458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:41:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513660672001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:11] 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-07-05 18:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783256788000,"timestamp_ms":1783256788000,"timestamp_seconds":1783256788,"priority":1,"record_length":96,"hex_timestamp":"0000019f32632c20"} 
[2026-07-05 18:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513660672001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513660672001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:41:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:41:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513660672001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":123458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:41:11] local.INFO: GPS data processed {"connection_id":123458,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:41:11] local.INFO: Acknowledgment sent {"connection_id":123458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:41:24] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32671420012d18c30007214f580031014d09..."} 
[2026-07-05 18:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32671420012d18c30007214f580031014d09..."} 
[2026-07-05 18:41:24] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32671420012d18c30007214f580031014d09..."} 
[2026-07-05 18:41:24] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:41:24] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119623512,"longitude_deg":75.6597504,"latitude_deg":11.9623512,"altitude":49,"angle":333,"satellites":9,"speed":14,"hex_longitude":"2d18c300","hex_latitude":"07214f58","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513802752001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4680870107545600,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713183744,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783257044000,"timestamp_ms":1783257044000,"timestamp_seconds":1783257044,"priority":1,"record_length":96,"hex_timestamp":"0000019f32671420"} 
[2026-07-05 18:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:41:24] 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-07-05 18: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-05 18:41:24] 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-07-05 18: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-07-05 18:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513802752001,"66":14189,"121":206,"28":31744,"24":14,"16":4680870107545600,"45":1784621751713183744},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513802752001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:41:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:41:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4680870107545600,"km_value":4680870107545.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713183744,"description":"Unknown IO ID 45"} 
[2026-07-05 18:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513802752001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1784621751713183744}} 
[2026-07-05 18:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:41:24] local.INFO: GPS data processed {"connection_id":124679,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:41:24] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:41:42] local.INFO: TCP Data received {"connection_id":123458,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:41:42] local.INFO: Processing buffer {"connection_id":123458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32632c20012cb2a24007823a98004a013b27..."} 
[2026-07-05 18:41:42] local.INFO: Packet analysis {"connection_id":123458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:41:42] local.INFO: Extracted packet for processing {"connection_id":123458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3263"} 
[2026-07-05 18:41:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513660672001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:42] 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-07-05 18:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783256788000,"timestamp_ms":1783256788000,"timestamp_seconds":1783256788,"priority":1,"record_length":96,"hex_timestamp":"0000019f32632c20"} 
[2026-07-05 18:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18: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-07-05 18: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-07-05 18:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513660672001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513660672001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:41:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:41:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513660672001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":123458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:41:42] local.INFO: GPS data processed {"connection_id":123458,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:41:42] local.INFO: Acknowledgment sent {"connection_id":123458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:41:55] local.INFO: TCP Data received {"connection_id":124679,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32680268012d184b0007218748001900f709..."} 
[2026-07-05 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32680268012d184b0007218748001900f709..."} 
[2026-07-05 18:41:55] local.INFO: Processing buffer {"connection_id":124679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32680268012d184b0007218748001900f709..."} 
[2026-07-05 18:41:55] local.INFO: Packet analysis {"connection_id":124679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3268"} 
[2026-07-05 18:41:55] local.INFO: Extracted packet for processing {"connection_id":124679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3268"} 
[2026-07-05 18:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756566784,"raw_latitude":119637832,"longitude_deg":75.6566784,"latitude_deg":11.9637832,"altitude":25,"angle":247,"satellites":9,"speed":5,"hex_longitude":"2d184b00","hex_latitude":"07218748","is_valid_coordinates":true} 
[2026-07-05 18:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513817600001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682592389431296,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751337335720996864,"note":"Value kept but may cause issues"} 
[2026-07-05 18:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783257105000,"timestamp_ms":1783257105000,"timestamp_seconds":1783257105,"priority":1,"record_length":96,"hex_timestamp":"0000019f32680268"} 
[2026-07-05 18:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:41:55] 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-07-05 18:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-05 18:41:55] 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-07-05 18:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":124679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":124679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513817600001,"66":14189,"121":206,"28":31744,"24":5,"16":4682592389431296,"45":1751337335720996864},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513817600001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:41:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682592389431296,"km_value":4682592389431.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751337335720996864,"description":"Unknown IO ID 45"} 
[2026-07-05 18:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513817600001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1751337335720996864}} 
[2026-07-05 18:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":124679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:41:55] local.INFO: GPS data processed {"connection_id":124679,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:41:55] local.INFO: Acknowledgment sent {"connection_id":124679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:42:07] local.INFO: TCP Data received {"connection_id":123459,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:42:07] local.INFO: Processing buffer {"connection_id":123459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:42:07] local.INFO: IMEI packet received {"connection_id":123459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":123459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:42:09] local.INFO: TCP Data received {"connection_id":123459,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:42:09] local.INFO: Processing buffer {"connection_id":123459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:42:09] local.INFO: IMEI packet received {"connection_id":123459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":123459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:42:14] local.INFO: TCP Data received {"connection_id":123459,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:42:14] local.INFO: Processing buffer {"connection_id":123459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:42:14] local.INFO: IMEI packet received {"connection_id":123459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":123459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:42:15] local.INFO: TCP Data received {"connection_id":123459,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:42:15] local.INFO: Processing buffer {"connection_id":123459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:42:15] local.INFO: Packet analysis {"connection_id":123459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:42:15] local.INFO: Extracted packet for processing {"connection_id":123459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:42:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513737728001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:42:15] 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-07-05 18:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783257089000,"timestamp_ms":1783257089000,"timestamp_seconds":1783257089,"priority":1,"record_length":96,"hex_timestamp":"0000019f3267c3e8"} 
[2026-07-05 18:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:42:15] 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-07-05 18:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513737728001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513737728001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:42:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513737728001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":123459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:42:15] local.INFO: GPS data processed {"connection_id":123459,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:42:15] local.INFO: Acknowledgment sent {"connection_id":123459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:42:25] local.INFO: TCP Data received {"connection_id":122683,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:42:25] local.INFO: Processing buffer {"connection_id":122683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:42:25] local.INFO: IMEI packet received {"connection_id":122683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":122683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:42:29] local.INFO: TCP Data received {"connection_id":122683,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:42:29] local.INFO: Processing buffer {"connection_id":122683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:42:29] local.INFO: IMEI packet received {"connection_id":122683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":122683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:42:31] local.INFO: TCP Data received {"connection_id":122683,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32680650012d184ac007218700001800e909..."} 
[2026-07-05 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32680650012d184ac007218700001800e909..."} 
[2026-07-05 18:42:31] local.INFO: Processing buffer {"connection_id":122683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32680650012d184ac007218700001800e909..."} 
[2026-07-05 18:42:31] local.INFO: Packet analysis {"connection_id":122683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3268"} 
[2026-07-05 18:42:31] local.INFO: Extracted packet for processing {"connection_id":122683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3268"} 
[2026-07-05 18:42:31] local.INFO: GPS Element Parsed {"raw_longitude":756566720,"raw_latitude":119637760,"longitude_deg":75.656672,"latitude_deg":11.963776,"altitude":24,"angle":233,"satellites":9,"speed":5,"hex_longitude":"2d184ac0","hex_latitude":"07218700","is_valid_coordinates":true} 
[2026-07-05 18:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513818880001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682596684398592,"note":"Value kept but may cause issues"} 
[2026-07-05 18:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1750492910790854656,"note":"Value kept but may cause issues"} 
[2026-07-05 18:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783257106000,"timestamp_ms":1783257106000,"timestamp_seconds":1783257106,"priority":1,"record_length":96,"hex_timestamp":"0000019f32680650"} 
[2026-07-05 18:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:42:31] 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-07-05 18:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-05 18:42:31] 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-07-05 18:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":122683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":122683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":122683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513818880001,"66":13928,"121":206,"28":31744,"24":5,"16":4682596684398592,"45":1750492910790854656},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513818880001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:42:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682596684398592,"km_value":4682596684398.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1750492910790854656,"description":"Unknown IO ID 45"} 
[2026-07-05 18:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513818880001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1750492910790854656}} 
[2026-07-05 18:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":122683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:42:31] local.INFO: GPS data processed {"connection_id":122683,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:42:31] local.INFO: Acknowledgment sent {"connection_id":122683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:42:47] local.INFO: TCP Data received {"connection_id":123459,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:42:47] local.INFO: Processing buffer {"connection_id":123459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:42:47] local.INFO: Packet analysis {"connection_id":123459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:42:47] local.INFO: Extracted packet for processing {"connection_id":123459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:42:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 18:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513737728001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:42:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:42:47] 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-07-05 18:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783257089000,"timestamp_ms":1783257089000,"timestamp_seconds":1783257089,"priority":1,"record_length":96,"hex_timestamp":"0000019f3267c3e8"} 
[2026-07-05 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-07-05 18:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 18:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":123459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":123459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":123459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513737728001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513737728001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:42:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:42:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513737728001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":123459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:42:47] local.INFO: GPS data processed {"connection_id":123459,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:42:47] local.INFO: Acknowledgment sent {"connection_id":123459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:43:02] local.INFO: TCP Data received {"connection_id":122683,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32680e20012d1849c0072186f0001900f409..."} 
[2026-07-05 18:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32680e20012d1849c0072186f0001900f409..."} 
[2026-07-05 18:43:02] local.INFO: Processing buffer {"connection_id":122683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32680e20012d1849c0072186f0001900f409..."} 
[2026-07-05 18:43:02] local.INFO: Packet analysis {"connection_id":122683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3268"} 
[2026-07-05 18:43:02] local.INFO: Extracted packet for processing {"connection_id":122683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3268"} 
[2026-07-05 18:43:02] local.INFO: GPS Element Parsed {"raw_longitude":756566464,"raw_latitude":119637744,"longitude_deg":75.6566464,"latitude_deg":11.9637744,"altitude":25,"angle":244,"satellites":9,"speed":8,"hex_longitude":"2d1849c0","hex_latitude":"072186f0","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513819136001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682605274333184,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1750422542046658560,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783257108000,"timestamp_ms":1783257108000,"timestamp_seconds":1783257108,"priority":1,"record_length":96,"hex_timestamp":"0000019f32680e20"} 
[2026-07-05 18:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:43:02] 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-07-05 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-05 18:43:02] 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-07-05 18: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-07-05 18:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":122683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":122683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":122683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513819136001,"66":13993,"121":206,"28":31744,"24":8,"16":4682605274333184,"45":1750422542046658560},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513819136001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:43:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:43:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682605274333184,"km_value":4682605274333.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1750422542046658560,"description":"Unknown IO ID 45"} 
[2026-07-05 18:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513819136001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1750422542046658560}} 
[2026-07-05 18:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":122683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:43:02] local.INFO: GPS data processed {"connection_id":122683,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:43:02] local.INFO: Acknowledgment sent {"connection_id":122683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:43:04] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:43:04] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:43:04] local.INFO: IMEI packet received {"connection_id":124681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":124681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:43:09] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:43:09] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:43:09] local.INFO: IMEI packet received {"connection_id":124681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":124681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:43:10] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:43:10] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:43:10] local.INFO: Packet analysis {"connection_id":124681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:43:10] local.INFO: Extracted packet for processing {"connection_id":124681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513737728001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:10] 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-07-05 18:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783257089000,"timestamp_ms":1783257089000,"timestamp_seconds":1783257089,"priority":1,"record_length":96,"hex_timestamp":"0000019f3267c3e8"} 
[2026-07-05 18:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18: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-07-05 18:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513737728001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513737728001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:43:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513737728001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":124681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:43:10] local.INFO: GPS data processed {"connection_id":124681,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:43:10] local.INFO: Acknowledgment sent {"connection_id":124681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:43:25] local.INFO: TCP Data received {"connection_id":122750,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:43:25] local.INFO: Processing buffer {"connection_id":122750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:43:25] local.INFO: IMEI packet received {"connection_id":122750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":122750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:43:30] local.INFO: TCP Data received {"connection_id":122750,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:43:30] local.INFO: Processing buffer {"connection_id":122750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:43:30] local.INFO: IMEI packet received {"connection_id":122750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":122750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:43:31] local.INFO: TCP Data received {"connection_id":122750,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32686028012d184f4007218bb8001500f70c..."} 
[2026-07-05 18:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32686028012d184f4007218bb8001500f70c..."} 
[2026-07-05 18:43:31] local.INFO: Processing buffer {"connection_id":122750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32686028012d184f4007218bb8001500f70c..."} 
[2026-07-05 18:43:31] local.INFO: Packet analysis {"connection_id":122750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3268"} 
[2026-07-05 18:43:31] local.INFO: Extracted packet for processing {"connection_id":122750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3268"} 
[2026-07-05 18:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756567872,"raw_latitude":119638968,"longitude_deg":75.6567872,"latitude_deg":11.9638968,"altitude":21,"angle":247,"satellites":12,"speed":0,"hex_longitude":"2d184f40","hex_latitude":"07218bb8","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513819648001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682734123352064,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1750141067069943808,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783257129000,"timestamp_ms":1783257129000,"timestamp_seconds":1783257129,"priority":1,"record_length":96,"hex_timestamp":"0000019f32686028"} 
[2026-07-05 18:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:43:31] 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-07-05 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-05 18:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":122750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":122750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":122750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513819648001,"66":13928,"121":206,"28":31744,"24":0,"16":4682734123352064,"45":1750141067069943808},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513819648001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:43:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682734123352064,"km_value":4682734123352.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1750141067069943808,"description":"Unknown IO ID 45"} 
[2026-07-05 18:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513819648001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1750141067069943808}} 
[2026-07-05 18:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":122750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:43:31] local.INFO: GPS data processed {"connection_id":122750,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:43:31] local.INFO: Acknowledgment sent {"connection_id":122750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:43:39] local.INFO: TCP Data received {"connection_id":122749,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:43:39] local.INFO: Processing buffer {"connection_id":122749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:43:39] local.INFO: IMEI packet received {"connection_id":122749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":122749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:43:42] local.INFO: TCP Data received {"connection_id":124681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:43:42] local.INFO: Processing buffer {"connection_id":124681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:43:42] local.INFO: Packet analysis {"connection_id":124681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:43:42] local.INFO: Extracted packet for processing {"connection_id":124681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:43:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513737728001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:43:42] 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-07-05 18:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783257089000,"timestamp_ms":1783257089000,"timestamp_seconds":1783257089,"priority":1,"record_length":96,"hex_timestamp":"0000019f3267c3e8"} 
[2026-07-05 18:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:43: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-07-05 18:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513737728001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513737728001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:43:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:43:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:43:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513737728001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":124681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:43:42] local.INFO: GPS data processed {"connection_id":124681,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:43:42] local.INFO: Acknowledgment sent {"connection_id":124681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:44:03] local.INFO: TCP Data received {"connection_id":122750,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3268b230012d184e8007218b58001300f70c..."} 
[2026-07-05 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3268b230012d184e8007218b58001300f70c..."} 
[2026-07-05 18:44:03] local.INFO: Processing buffer {"connection_id":122750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3268b230012d184e8007218b58001300f70c..."} 
[2026-07-05 18:44:03] local.INFO: Packet analysis {"connection_id":122750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3268"} 
[2026-07-05 18:44:03] local.INFO: Extracted packet for processing {"connection_id":122750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3268"} 
[2026-07-05 18:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756567680,"raw_latitude":119638872,"longitude_deg":75.656768,"latitude_deg":11.9638872,"altitude":19,"angle":247,"satellites":12,"speed":0,"hex_longitude":"2d184e80","hex_latitude":"07218b58","is_valid_coordinates":true} 
[2026-07-05 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-07-05 18:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513825024001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682747008253952,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751689179442165760,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783257150000,"timestamp_ms":1783257150000,"timestamp_seconds":1783257150,"priority":1,"record_length":96,"hex_timestamp":"0000019f3268b230"} 
[2026-07-05 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-07-05 18:44:03] 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-07-05 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-05 18:44:03] 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-07-05 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-07-05 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-07-05 18:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513825024001,"66":13852,"121":206,"28":31744,"24":0,"16":4682747008253952,"45":1751689179442165760},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513825024001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:44:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682747008253952,"km_value":4682747008253.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751689179442165760,"description":"Unknown IO ID 45"} 
[2026-07-05 18:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513825024001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1751689179442165760}} 
[2026-07-05 18:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":122750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:44:03] local.INFO: GPS data processed {"connection_id":122750,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:44:03] local.INFO: Acknowledgment sent {"connection_id":122750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:44:04] local.INFO: TCP Data received {"connection_id":122684,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:44:04] local.INFO: Processing buffer {"connection_id":122684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:44:04] local.INFO: IMEI packet received {"connection_id":122684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":122684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:44:04] local.INFO: TCP Data received {"connection_id":122685,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:44:04] local.INFO: Processing buffer {"connection_id":122685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:44:04] local.INFO: IMEI packet received {"connection_id":122685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":122685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:44:11] local.INFO: TCP Data received {"connection_id":122685,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:44:11] local.INFO: Processing buffer {"connection_id":122685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:44:11] local.INFO: IMEI packet received {"connection_id":122685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":122685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:44:12] local.INFO: TCP Data received {"connection_id":122685,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:44:12] local.INFO: Processing buffer {"connection_id":122685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:44:12] local.INFO: Packet analysis {"connection_id":122685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:44:12] local.INFO: Extracted packet for processing {"connection_id":122685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:44:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513737728001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44: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-07-05 18:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783257089000,"timestamp_ms":1783257089000,"timestamp_seconds":1783257089,"priority":1,"record_length":96,"hex_timestamp":"0000019f3267c3e8"} 
[2026-07-05 18:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513737728001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513737728001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:44:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:44:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513737728001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":122685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:44:12] local.INFO: GPS data processed {"connection_id":122685,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:44:12] local.INFO: Acknowledgment sent {"connection_id":122685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:44:25] local.INFO: TCP Data received {"connection_id":123460,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:44:25] local.INFO: Processing buffer {"connection_id":123460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:44:25] local.INFO: IMEI packet received {"connection_id":123460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":123460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:44:29] local.INFO: TCP Data received {"connection_id":123460,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:44:29] local.INFO: Processing buffer {"connection_id":123460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:44:29] local.INFO: IMEI packet received {"connection_id":123460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":123460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:44:31] local.INFO: TCP Data received {"connection_id":123460,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32690438012d184e0007218cd0001200f70f..."} 
[2026-07-05 18:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32690438012d184e0007218cd0001200f70f..."} 
[2026-07-05 18:44:31] local.INFO: Processing buffer {"connection_id":123460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32690438012d184e0007218cd0001200f70f..."} 
[2026-07-05 18:44:31] local.INFO: Packet analysis {"connection_id":123460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3269"} 
[2026-07-05 18:44:31] local.INFO: Extracted packet for processing {"connection_id":123460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3269"} 
[2026-07-05 18:44:31] local.INFO: GPS Element Parsed {"raw_longitude":756567552,"raw_latitude":119639248,"longitude_deg":75.6567552,"latitude_deg":11.9639248,"altitude":18,"angle":247,"satellites":15,"speed":0,"hex_longitude":"2d184e00","hex_latitude":"07218cd0","is_valid_coordinates":true} 
[2026-07-05 18:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513830400001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682777073025024,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751478073209608192,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783257171000,"timestamp_ms":1783257171000,"timestamp_seconds":1783257171,"priority":1,"record_length":96,"hex_timestamp":"0000019f32690438"} 
[2026-07-05 18:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 18:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-05 18:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":123460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":123460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":123460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513830400001,"66":13928,"121":206,"28":31744,"24":0,"16":4682777073025024,"45":1751478073209608192},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513830400001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:44:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682777073025024,"km_value":4682777073025.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751478073209608192,"description":"Unknown IO ID 45"} 
[2026-07-05 18:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513830400001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1751478073209608192}} 
[2026-07-05 18:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":123460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:44:31] local.INFO: GPS data processed {"connection_id":123460,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:44:31] local.INFO: Acknowledgment sent {"connection_id":123460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:44:43] local.INFO: TCP Data received {"connection_id":122685,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:44:43] local.INFO: Processing buffer {"connection_id":122685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:44:43] local.INFO: Packet analysis {"connection_id":122685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:44:43] local.INFO: Extracted packet for processing {"connection_id":122685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:44:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513737728001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:44:43] 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-07-05 18:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783257089000,"timestamp_ms":1783257089000,"timestamp_seconds":1783257089,"priority":1,"record_length":96,"hex_timestamp":"0000019f3267c3e8"} 
[2026-07-05 18:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:44: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-07-05 18:44: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-07-05 18:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513737728001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513737728001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:44:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:44:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:44:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513737728001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":122685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:44:43] local.INFO: GPS data processed {"connection_id":122685,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:44:43] local.INFO: Acknowledgment sent {"connection_id":122685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:45:02] local.INFO: TCP Data received {"connection_id":123460,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32691ba8012d184dc007218d280012012a0f..."} 
[2026-07-05 18:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32691ba8012d184dc007218d280012012a0f..."} 
[2026-07-05 18:45:02] local.INFO: Processing buffer {"connection_id":123460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32691ba8012d184dc007218d280012012a0f..."} 
[2026-07-05 18:45:02] local.INFO: Packet analysis {"connection_id":123460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3269"} 
[2026-07-05 18:45:02] local.INFO: Extracted packet for processing {"connection_id":123460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3269"} 
[2026-07-05 18:45:02] local.INFO: GPS Element Parsed {"raw_longitude":756567488,"raw_latitude":119639336,"longitude_deg":75.6567488,"latitude_deg":11.9639336,"altitude":18,"angle":298,"satellites":15,"speed":6,"hex_longitude":"2d184dc0","hex_latitude":"07218d28","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513835776001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4682781367992320,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751337335721349120,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783257177000,"timestamp_ms":1783257177000,"timestamp_seconds":1783257177,"priority":1,"record_length":96,"hex_timestamp":"0000019f32691ba8"} 
[2026-07-05 18:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-05 18:45:02] 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-07-05 18: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-07-05 18:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":123460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":123460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":123460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513835776001,"66":14341,"121":206,"28":31744,"24":6,"16":4682781367992320,"45":1751337335721349120},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513835776001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:45:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:45:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4682781367992320,"km_value":4682781367992.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751337335721349120,"description":"Unknown IO ID 45"} 
[2026-07-05 18:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513835776001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1751337335721349120}} 
[2026-07-05 18:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":123460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:45:02] local.INFO: GPS data processed {"connection_id":123460,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:45:02] local.INFO: Acknowledgment sent {"connection_id":123460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:45:04] local.INFO: TCP Data received {"connection_id":122751,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:45:04] local.INFO: Processing buffer {"connection_id":122751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:45:04] local.INFO: IMEI packet received {"connection_id":122751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":122751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:45:09] local.INFO: TCP Data received {"connection_id":122751,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:45:09] local.INFO: Processing buffer {"connection_id":122751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:45:09] local.INFO: IMEI packet received {"connection_id":122751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":122751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:45:10] local.INFO: TCP Data received {"connection_id":122751,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:45:10] local.INFO: Processing buffer {"connection_id":122751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:45:10] local.INFO: Packet analysis {"connection_id":122751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:45:10] local.INFO: Extracted packet for processing {"connection_id":122751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513737728001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:10] 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-07-05 18:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783257089000,"timestamp_ms":1783257089000,"timestamp_seconds":1783257089,"priority":1,"record_length":96,"hex_timestamp":"0000019f3267c3e8"} 
[2026-07-05 18:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:45: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-07-05 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513737728001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513737728001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:45:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513737728001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":122751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:45:10] local.INFO: GPS data processed {"connection_id":122751,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:45:10] local.INFO: Acknowledgment sent {"connection_id":122751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:45:24] local.INFO: TCP Data received {"connection_id":122687,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:45:24] local.INFO: Processing buffer {"connection_id":122687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:45:24] local.INFO: IMEI packet received {"connection_id":122687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":122687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:45:29] local.INFO: TCP Data received {"connection_id":122687,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:45:29] local.INFO: Processing buffer {"connection_id":122687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:45:29] local.INFO: IMEI packet received {"connection_id":122687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":122687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:45:31] local.INFO: TCP Data received {"connection_id":122687,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f326946a0012d183d00072194380012011f10..."} 
[2026-07-05 18:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326946a0012d183d00072194380012011f10..."} 
[2026-07-05 18:45:31] local.INFO: Processing buffer {"connection_id":122687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326946a0012d183d00072194380012011f10..."} 
[2026-07-05 18:45:31] local.INFO: Packet analysis {"connection_id":122687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3269"} 
[2026-07-05 18:45:31] local.INFO: Extracted packet for processing {"connection_id":122687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3269"} 
[2026-07-05 18:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756563200,"raw_latitude":119641144,"longitude_deg":75.65632,"latitude_deg":11.9641144,"altitude":18,"angle":287,"satellites":16,"speed":19,"hex_longitude":"2d183d00","hex_latitude":"07219438","is_valid_coordinates":true} 
[2026-07-05 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-07-05 18:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513837312001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4683004706291712,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1751266966977193984,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783257188000,"timestamp_ms":1783257188000,"timestamp_seconds":1783257188,"priority":1,"record_length":96,"hex_timestamp":"0000019f326946a0"} 
[2026-07-05 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-07-05 18:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-05 18:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6965848046,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671078060032,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2731278336,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:31] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3959422976,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2263875609,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-05 18:45:31] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3221692807,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:31] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84750691276890503,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:31] local.WARNING: Large IO value detected {"io_id":112,"raw_value":8445409093487104,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:31] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,162,159,4,45,140,18,15,10,66,178,128,139,19,12,96,64,1,240,104,50,33,113,205,8,6,74,9,239,54,2,7,25,5,206,224,112],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-05 18:45:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297364411572682752,"timestamp_seconds":1297364411572682.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 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-07-05 18:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":122687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":122687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":122687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513837312001,"66":14428,"121":206,"28":31744,"24":19,"16":4683004706291712,"45":1751266966977193984},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513837312001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:45:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4683004706291712,"km_value":4683004706291.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1751266966977193984,"description":"Unknown IO ID 45"} 
[2026-07-05 18:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513837312001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1751266966977193984}} 
[2026-07-05 18:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":122687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:45:31] local.INFO: GPS data processed {"connection_id":122687,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:45:31] local.INFO: Acknowledgment sent {"connection_id":122687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:45:42] local.INFO: TCP Data received {"connection_id":122751,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:45:42] local.INFO: Processing buffer {"connection_id":122751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:45:42] local.INFO: Packet analysis {"connection_id":122751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:45:42] local.INFO: Extracted packet for processing {"connection_id":122751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:45:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513737728001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:45:42] 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-07-05 18:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783257089000,"timestamp_ms":1783257089000,"timestamp_seconds":1783257089,"priority":1,"record_length":96,"hex_timestamp":"0000019f3267c3e8"} 
[2026-07-05 18:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513737728001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513737728001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:45:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513737728001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":122751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:45:42] local.INFO: GPS data processed {"connection_id":122751,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:45:42] local.INFO: Acknowledgment sent {"connection_id":122751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:46:02] local.INFO: TCP Data received {"connection_id":122687,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f326b4270012d18830007224308005a002516..."} 
[2026-07-05 18:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326b4270012d18830007224308005a002516..."} 
[2026-07-05 18:46:02] local.INFO: Processing buffer {"connection_id":122687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326b4270012d18830007224308005a002516..."} 
[2026-07-05 18:46:02] local.INFO: Packet analysis {"connection_id":122687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326b"} 
[2026-07-05 18:46:02] local.INFO: Extracted packet for processing {"connection_id":122687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326b"} 
[2026-07-05 18:46:02] local.INFO: GPS Element Parsed {"raw_longitude":756581120,"raw_latitude":119685896,"longitude_deg":75.658112,"latitude_deg":11.9685896,"altitude":90,"angle":37,"satellites":22,"speed":22,"hex_longitude":"2d188300","hex_latitude":"07224308","is_valid_coordinates":true} 
[2026-07-05 18:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513869568001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4685732010524672,"note":"Value kept but may cause issues"} 
[2026-07-05 18:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760555641218584576,"note":"Value kept but may cause issues"} 
[2026-07-05 18:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783257318000,"timestamp_ms":1783257318000,"timestamp_seconds":1783257318,"priority":1,"record_length":96,"hex_timestamp":"0000019f326b4270"} 
[2026-07-05 18:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:46:02] 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-07-05 18:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-05 18:46:02] 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-07-05 18:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":122687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":122687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":122687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513869568001,"66":14298,"120":206,"28":31744,"24":22,"16":4685732010524672,"45":1760555641218584576},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-05 18:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513869568001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:46:02] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-05 18:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4685732010524672,"km_value":4685732010524.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760555641218584576,"description":"Unknown IO ID 45"} 
[2026-07-05 18:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513869568001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1760555641218584576}} 
[2026-07-05 18:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":122687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:46:02] local.INFO: GPS data processed {"connection_id":122687,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:46:02] local.INFO: Acknowledgment sent {"connection_id":122687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:46:09] local.INFO: TCP Data received {"connection_id":123463,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:46:09] local.INFO: Processing buffer {"connection_id":123463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:46:09] local.INFO: IMEI packet received {"connection_id":123463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":123463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:46:14] local.INFO: TCP Data received {"connection_id":123463,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:46:14] local.INFO: Processing buffer {"connection_id":123463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:46:14] local.INFO: IMEI packet received {"connection_id":123463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":123463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:46:15] local.INFO: TCP Data received {"connection_id":123463,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:46:15] local.INFO: Processing buffer {"connection_id":123463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:46:15] local.INFO: Packet analysis {"connection_id":123463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:46:15] local.INFO: Extracted packet for processing {"connection_id":123463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:46:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 18:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513737728001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:46:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:46:15] 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-07-05 18:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783257089000,"timestamp_ms":1783257089000,"timestamp_seconds":1783257089,"priority":1,"record_length":96,"hex_timestamp":"0000019f3267c3e8"} 
[2026-07-05 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-07-05 18:46:15] 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-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 18:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513737728001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513737728001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:46:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:46:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513737728001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":123463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:46:15] local.INFO: GPS data processed {"connection_id":123463,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:46:15] local.INFO: Acknowledgment sent {"connection_id":123463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:46:20] local.INFO: TCP Data received {"connection_id":123463,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:46:20] local.INFO: Processing buffer {"connection_id":123463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3267c3e8012cb2a24007823a98004a013b29..."} 
[2026-07-05 18:46:20] local.INFO: Packet analysis {"connection_id":123463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:46:20] local.INFO: Extracted packet for processing {"connection_id":123463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3267"} 
[2026-07-05 18:46:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513737728001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:46:20] 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-07-05 18:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783257089000,"timestamp_ms":1783257089000,"timestamp_seconds":1783257089,"priority":1,"record_length":96,"hex_timestamp":"0000019f3267c3e8"} 
[2026-07-05 18:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:46:20] 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-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513737728001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513737728001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:46:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513737728001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":123463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:46:20] local.INFO: GPS data processed {"connection_id":123463,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:46:20] local.INFO: Acknowledgment sent {"connection_id":123463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:46:25] local.INFO: TCP Data received {"connection_id":123464,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:25] local.INFO: Processing buffer {"connection_id":123464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:25] local.INFO: IMEI packet received {"connection_id":123464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":123464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:46:25] local.INFO: TCP Data received {"connection_id":123464,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:25] local.INFO: Processing buffer {"connection_id":123464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:25] local.INFO: IMEI packet received {"connection_id":123464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":123464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:46:26] local.INFO: TCP Data received {"connection_id":123464,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:26] local.INFO: Processing buffer {"connection_id":123464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:26] local.INFO: IMEI packet received {"connection_id":123464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":123464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:46:26] local.INFO: TCP Data received {"connection_id":123464,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:26] local.INFO: Processing buffer {"connection_id":123464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:46:26] local.INFO: IMEI packet received {"connection_id":123464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":123464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:47:04] local.INFO: TCP Data received {"connection_id":122688,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:47:04] local.INFO: Processing buffer {"connection_id":122688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:47:04] local.INFO: IMEI packet received {"connection_id":122688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":122688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:47:08] local.INFO: TCP Data received {"connection_id":122688,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:47:08] local.INFO: Processing buffer {"connection_id":122688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:47:08] local.INFO: IMEI packet received {"connection_id":122688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":122688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:47:09] local.INFO: TCP Data received {"connection_id":122688,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:47:09] local.INFO: Processing buffer {"connection_id":122688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:47:09] local.INFO: Packet analysis {"connection_id":122688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:47:09] local.INFO: Extracted packet for processing {"connection_id":122688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513814784001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:47:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:47:09] 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-07-05 18:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783257390000,"timestamp_ms":1783257390000,"timestamp_seconds":1783257390,"priority":1,"record_length":96,"hex_timestamp":"0000019f326c5bb0"} 
[2026-07-05 18:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:47: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-07-05 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513814784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513814784001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:47:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513814784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":122688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:47:09] local.INFO: GPS data processed {"connection_id":122688,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:47:09] local.INFO: Acknowledgment sent {"connection_id":122688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:47:41] local.INFO: TCP Data received {"connection_id":122688,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:47:41] local.INFO: Processing buffer {"connection_id":122688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:47:41] local.INFO: Packet analysis {"connection_id":122688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:47:41] local.INFO: Extracted packet for processing {"connection_id":122688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:47:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513814784001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:47:41] 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-07-05 18:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783257390000,"timestamp_ms":1783257390000,"timestamp_seconds":1783257390,"priority":1,"record_length":96,"hex_timestamp":"0000019f326c5bb0"} 
[2026-07-05 18:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:47: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-07-05 18:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513814784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513814784001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:47:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513814784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":122688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:47:41] local.INFO: GPS data processed {"connection_id":122688,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:47:41] local.INFO: Acknowledgment sent {"connection_id":122688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:48:04] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:48:04] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:48:04] local.INFO: IMEI packet received {"connection_id":124682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":124682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:48:09] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:48:09] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:48:09] local.INFO: IMEI packet received {"connection_id":124682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":124682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:48:10] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:48:10] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:48:10] local.INFO: Packet analysis {"connection_id":124682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:48:10] local.INFO: Extracted packet for processing {"connection_id":124682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513814784001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:48:10] 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-07-05 18:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783257390000,"timestamp_ms":1783257390000,"timestamp_seconds":1783257390,"priority":1,"record_length":96,"hex_timestamp":"0000019f326c5bb0"} 
[2026-07-05 18:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513814784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513814784001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:48:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513814784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":124682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:48:10] local.INFO: GPS data processed {"connection_id":124682,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:48:10] local.INFO: Acknowledgment sent {"connection_id":124682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:48:41] local.INFO: TCP Data received {"connection_id":124682,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:48:41] local.INFO: Processing buffer {"connection_id":124682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:48:41] local.INFO: Packet analysis {"connection_id":124682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:48:41] local.INFO: Extracted packet for processing {"connection_id":124682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:48:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513814784001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:48:41] 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-07-05 18:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783257390000,"timestamp_ms":1783257390000,"timestamp_seconds":1783257390,"priority":1,"record_length":96,"hex_timestamp":"0000019f326c5bb0"} 
[2026-07-05 18:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:48: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-07-05 18:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513814784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513814784001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:48:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513814784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":124682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:48:41] local.INFO: GPS data processed {"connection_id":124682,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:48:41] local.INFO: Acknowledgment sent {"connection_id":124682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:49:04] local.INFO: TCP Data received {"connection_id":122691,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:49:04] local.INFO: Processing buffer {"connection_id":122691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:49:04] local.INFO: IMEI packet received {"connection_id":122691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":122691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:49:09] local.INFO: TCP Data received {"connection_id":122691,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:49:09] local.INFO: Processing buffer {"connection_id":122691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:49:09] local.INFO: IMEI packet received {"connection_id":122691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":122691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:49:11] local.INFO: TCP Data received {"connection_id":122691,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:49:11] local.INFO: Processing buffer {"connection_id":122691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:49:11] local.INFO: Packet analysis {"connection_id":122691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:49:11] local.INFO: Extracted packet for processing {"connection_id":122691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513814784001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:49:11] 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-07-05 18:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783257390000,"timestamp_ms":1783257390000,"timestamp_seconds":1783257390,"priority":1,"record_length":96,"hex_timestamp":"0000019f326c5bb0"} 
[2026-07-05 18:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513814784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513814784001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:49:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:49:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513814784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":122691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:49:11] local.INFO: GPS data processed {"connection_id":122691,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:49:11] local.INFO: Acknowledgment sent {"connection_id":122691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:49:42] local.INFO: TCP Data received {"connection_id":122691,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:49:42] local.INFO: Processing buffer {"connection_id":122691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:49:42] local.INFO: Packet analysis {"connection_id":122691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:49:42] local.INFO: Extracted packet for processing {"connection_id":122691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:49:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513814784001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:49:42] 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-07-05 18:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783257390000,"timestamp_ms":1783257390000,"timestamp_seconds":1783257390,"priority":1,"record_length":96,"hex_timestamp":"0000019f326c5bb0"} 
[2026-07-05 18:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:49: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-07-05 18: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-07-05 18:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513814784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513814784001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513814784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":122691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:49:42] local.INFO: GPS data processed {"connection_id":122691,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:49:42] local.INFO: Acknowledgment sent {"connection_id":122691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:49:44] local.INFO: TCP Data received {"connection_id":122752,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:49:44] local.INFO: Processing buffer {"connection_id":122752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:49:44] local.INFO: IMEI packet received {"connection_id":122752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":122752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:50:04] local.INFO: TCP Data received {"connection_id":124684,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:50:04] local.INFO: Processing buffer {"connection_id":124684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:50:04] local.INFO: IMEI packet received {"connection_id":124684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":124684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:50:09] local.INFO: TCP Data received {"connection_id":123467,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:50:09] local.INFO: Processing buffer {"connection_id":123467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:50:09] local.INFO: IMEI packet received {"connection_id":123467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":123467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:50:14] local.INFO: TCP Data received {"connection_id":123467,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:50:14] local.INFO: Processing buffer {"connection_id":123467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:50:14] local.INFO: IMEI packet received {"connection_id":123467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":123467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:50:15] local.INFO: TCP Data received {"connection_id":123467,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:50:15] local.INFO: Processing buffer {"connection_id":123467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:50:15] local.INFO: Packet analysis {"connection_id":123467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:50:15] local.INFO: Extracted packet for processing {"connection_id":123467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:50:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513814784001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:50:15] 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-07-05 18:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783257390000,"timestamp_ms":1783257390000,"timestamp_seconds":1783257390,"priority":1,"record_length":96,"hex_timestamp":"0000019f326c5bb0"} 
[2026-07-05 18:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:50:15] 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-07-05 18:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513814784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513814784001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:50:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:50:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513814784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":123467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:50:15] local.INFO: GPS data processed {"connection_id":123467,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:50:15] local.INFO: Acknowledgment sent {"connection_id":123467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:50:20] local.INFO: TCP Data received {"connection_id":123467,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:50:20] local.INFO: Processing buffer {"connection_id":123467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:50:20] local.INFO: Packet analysis {"connection_id":123467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:50:20] local.INFO: Extracted packet for processing {"connection_id":123467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:50:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513814784001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:50:20] 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-07-05 18:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783257390000,"timestamp_ms":1783257390000,"timestamp_seconds":1783257390,"priority":1,"record_length":96,"hex_timestamp":"0000019f326c5bb0"} 
[2026-07-05 18:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:50:20] 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-07-05 18: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":123467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":123467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":123467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513814784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513814784001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:50:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:50:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513814784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":123467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:50:20] local.INFO: GPS data processed {"connection_id":123467,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:50:20] local.INFO: Acknowledgment sent {"connection_id":123467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:51:04] local.INFO: TCP Data received {"connection_id":123468,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:51:04] local.INFO: Processing buffer {"connection_id":123468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:51:04] local.INFO: IMEI packet received {"connection_id":123468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":123468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:51:09] local.INFO: TCP Data received {"connection_id":123468,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:51:09] local.INFO: Processing buffer {"connection_id":123468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:51:09] local.INFO: IMEI packet received {"connection_id":123468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":123468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:51:10] local.INFO: TCP Data received {"connection_id":123468,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:51:10] local.INFO: Processing buffer {"connection_id":123468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:51:10] local.INFO: Packet analysis {"connection_id":123468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:51:10] local.INFO: Extracted packet for processing {"connection_id":123468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:51:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513814784001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:51:10] 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-07-05 18:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783257390000,"timestamp_ms":1783257390000,"timestamp_seconds":1783257390,"priority":1,"record_length":96,"hex_timestamp":"0000019f326c5bb0"} 
[2026-07-05 18:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:51: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-07-05 18:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513814784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513814784001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:51:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513814784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":123468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:51:10] local.INFO: GPS data processed {"connection_id":123468,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:51:10] local.INFO: Acknowledgment sent {"connection_id":123468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:51:30] local.INFO: TCP Data received {"connection_id":122754,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:51:30] local.INFO: Processing buffer {"connection_id":122754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:51:30] local.INFO: IMEI packet received {"connection_id":122754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":122754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:51:32] local.INFO: TCP Data received {"connection_id":122754,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f326d9c00012d17ed00072174e0004601011c..."} 
[2026-07-05 18:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326d9c00012d17ed00072174e0004601011c..."} 
[2026-07-05 18:51:32] local.INFO: Processing buffer {"connection_id":122754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326d9c00012d17ed00072174e0004601011c..."} 
[2026-07-05 18:51:32] local.INFO: Packet analysis {"connection_id":122754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326d"} 
[2026-07-05 18:51:32] local.INFO: Extracted packet for processing {"connection_id":122754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326d"} 
[2026-07-05 18:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756542720,"raw_latitude":119633120,"longitude_deg":75.654272,"latitude_deg":11.963312,"altitude":70,"angle":257,"satellites":28,"speed":9,"hex_longitude":"2d17ed00","hex_latitude":"072174e0","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513912576001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690495129255936,"note":"Value kept but may cause issues"} 
[2026-07-05 18:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955579904,"note":"Value kept but may cause issues"} 
[2026-07-05 18:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783257472000,"timestamp_ms":1783257472000,"timestamp_seconds":1783257472,"priority":1,"record_length":96,"hex_timestamp":"0000019f326d9c00"} 
[2026-07-05 18:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:51:32] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 18: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-05 18:51: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-07-05 18: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-07-05 18:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":122754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":122754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":122754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513912576001,"66":12406,"120":206,"28":31744,"24":9,"16":4690495129255936,"45":1724315737955579904},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-05 18:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513912576001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:51:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-05 18:51:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690495129255936,"km_value":4690495129255.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955579904,"description":"Unknown IO ID 45"} 
[2026-07-05 18:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513912576001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1724315737955579904}} 
[2026-07-05 18:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":122754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:51:32] local.INFO: GPS data processed {"connection_id":122754,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:51:32] local.INFO: Acknowledgment sent {"connection_id":122754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:51:42] local.INFO: TCP Data received {"connection_id":123468,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:51:42] local.INFO: Processing buffer {"connection_id":123468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326c5bb0012cb2a24007823a98004a013b28..."} 
[2026-07-05 18:51:42] local.INFO: Packet analysis {"connection_id":123468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:51:42] local.INFO: Extracted packet for processing {"connection_id":123468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326c"} 
[2026-07-05 18:51:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":74,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513814784001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:51:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:51:42] 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-07-05 18:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783257390000,"timestamp_ms":1783257390000,"timestamp_seconds":1783257390,"priority":1,"record_length":96,"hex_timestamp":"0000019f326c5bb0"} 
[2026-07-05 18:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:51: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-07-05 18:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513814784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513814784001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:51:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:51:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:51:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513814784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":123468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:51:42] local.INFO: GPS data processed {"connection_id":123468,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:51:42] local.INFO: Acknowledgment sent {"connection_id":123468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:52:03] local.INFO: TCP Data received {"connection_id":122754,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f326d9fe8012d17ec40072174d8004601181c..."} 
[2026-07-05 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f326d9fe8012d17ec40072174d8004601181c..."} 
[2026-07-05 18:52:03] local.INFO: Processing buffer {"connection_id":122754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f326d9fe8012d17ec40072174d8004601181c..."} 
[2026-07-05 18:52:03] local.INFO: Packet analysis {"connection_id":122754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f326d"} 
[2026-07-05 18:52:03] local.INFO: Extracted packet for processing {"connection_id":122754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f326d"} 
[2026-07-05 18:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756542528,"raw_latitude":119633112,"longitude_deg":75.6542528,"latitude_deg":11.9633112,"altitude":70,"angle":280,"satellites":28,"speed":7,"hex_longitude":"2d17ec40","hex_latitude":"072174d8","is_valid_coordinates":true} 
[2026-07-05 18:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513912832001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690503719190528,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724034262978846720,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783257473000,"timestamp_ms":1783257473000,"timestamp_seconds":1783257473,"priority":1,"record_length":96,"hex_timestamp":"0000019f326d9fe8"} 
[2026-07-05 18:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:52:03] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 18:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 18:52:03] 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-07-05 18:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513912832001,"66":12406,"120":206,"28":31744,"24":7,"16":4690503719190528,"45":1724034262978846720},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-05 18:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513912832001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:52:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-05 18:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690503719190528,"km_value":4690503719190.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724034262978846720,"description":"Unknown IO ID 45"} 
[2026-07-05 18:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513912832001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1724034262978846720}} 
[2026-07-05 18:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":122754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:52:03] local.INFO: GPS data processed {"connection_id":122754,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:52:03] local.INFO: Acknowledgment sent {"connection_id":122754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:52:04] local.INFO: TCP Data received {"connection_id":124685,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:52:04] local.INFO: Processing buffer {"connection_id":124685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:52:04] local.INFO: IMEI packet received {"connection_id":124685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":124685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:52:09] local.INFO: TCP Data received {"connection_id":124685,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:52:09] local.INFO: Processing buffer {"connection_id":124685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:52:09] local.INFO: IMEI packet received {"connection_id":124685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":124685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:52:11] local.INFO: TCP Data received {"connection_id":124685,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:52:11] local.INFO: Processing buffer {"connection_id":124685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:52:11] local.INFO: Packet analysis {"connection_id":124685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:52:11] local.INFO: Extracted packet for processing {"connection_id":124685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:52:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513891840001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:11] 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-07-05 18:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783257691000,"timestamp_ms":1783257691000,"timestamp_seconds":1783257691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3270f378"} 
[2026-07-05 18:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513891840001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513891840001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:52:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:52:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513891840001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":124685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:52:11] local.INFO: GPS data processed {"connection_id":124685,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:52:11] local.INFO: Acknowledgment sent {"connection_id":124685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:52:25] local.INFO: TCP Data received {"connection_id":124686,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:52:25] local.INFO: Processing buffer {"connection_id":124686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:52:25] local.INFO: IMEI packet received {"connection_id":124686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":124686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:52:29] local.INFO: TCP Data received {"connection_id":124686,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:52:29] local.INFO: Processing buffer {"connection_id":124686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:52:29] local.INFO: IMEI packet received {"connection_id":124686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":124686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:52:30] local.INFO: TCP Data received {"connection_id":124686,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:52:30] local.INFO: Processing buffer {"connection_id":124686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:52:30] local.INFO: IMEI packet received {"connection_id":124686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":124686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:52:31] local.INFO: TCP Data received {"connection_id":124686,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32711e70012d17eac0072175180046011e26..."} 
[2026-07-05 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32711e70012d17eac0072175180046011e26..."} 
[2026-07-05 18:52:31] local.INFO: Processing buffer {"connection_id":124686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32711e70012d17eac0072175180046011e26..."} 
[2026-07-05 18:52:31] local.INFO: Packet analysis {"connection_id":124686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3271"} 
[2026-07-05 18:52:31] local.INFO: Extracted packet for processing {"connection_id":124686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3271"} 
[2026-07-05 18:52:31] local.INFO: GPS Element Parsed {"raw_longitude":756542144,"raw_latitude":119633176,"longitude_deg":75.6542144,"latitude_deg":11.9633176,"altitude":70,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d17eac0","hex_latitude":"07217518","is_valid_coordinates":true} 
[2026-07-05 18:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513966336001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690525194027008,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400944281262080,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783257702000,"timestamp_ms":1783257702000,"timestamp_seconds":1783257702,"priority":1,"record_length":96,"hex_timestamp":"0000019f32711e70"} 
[2026-07-05 18:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:52:31] 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-07-05 18:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-05 18:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513966336001,"66":12504,"122":206,"28":31744,"24":0,"16":4690525194027008,"45":1723400944281262080},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-05 18:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513966336001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:52:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-05 18:52:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690525194027008,"km_value":4690525194027.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400944281262080,"description":"Unknown IO ID 45"} 
[2026-07-05 18:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513966336001,"power":12504,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1723400944281262080}} 
[2026-07-05 18:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":124686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:52:32] local.INFO: GPS data processed {"connection_id":124686,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:52:32] local.INFO: Acknowledgment sent {"connection_id":124686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:52:36] local.INFO: TCP Data received {"connection_id":124686,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32717078012d17eac0072175180046011e27..."} 
[2026-07-05 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32717078012d17eac0072175180046011e27..."} 
[2026-07-05 18:52:36] local.INFO: Processing buffer {"connection_id":124686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32717078012d17eac0072175180046011e27..."} 
[2026-07-05 18:52:36] local.INFO: Packet analysis {"connection_id":124686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3271"} 
[2026-07-05 18:52:36] local.INFO: Extracted packet for processing {"connection_id":124686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3271"} 
[2026-07-05 18:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756542144,"raw_latitude":119633176,"longitude_deg":75.6542144,"latitude_deg":11.9633176,"altitude":70,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d17eac0","hex_latitude":"07217518","is_valid_coordinates":true} 
[2026-07-05 18:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513971712001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690525194027008,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400944281262080,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783257723000,"timestamp_ms":1783257723000,"timestamp_seconds":1783257723,"priority":1,"record_length":96,"hex_timestamp":"0000019f32717078"} 
[2026-07-05 18:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:52:36] 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-07-05 18:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-05 18:52:36] 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-07-05 18:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513971712001,"66":12287,"122":206,"28":31744,"24":0,"16":4690525194027008,"45":1723400944281262080},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-05 18:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513971712001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:52:36] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-05 18:52:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690525194027008,"km_value":4690525194027.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400944281262080,"description":"Unknown IO ID 45"} 
[2026-07-05 18:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513971712001,"power":12287,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1723400944281262080}} 
[2026-07-05 18:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":124686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:52:36] local.INFO: GPS data processed {"connection_id":124686,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:52:36] local.INFO: Acknowledgment sent {"connection_id":124686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:52:43] local.INFO: TCP Data received {"connection_id":124685,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:52:43] local.INFO: Processing buffer {"connection_id":124685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:52:43] local.INFO: Packet analysis {"connection_id":124685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:52:43] local.INFO: Extracted packet for processing {"connection_id":124685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:52:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:52: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-07-05 18:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513891840001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:52:43] 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-07-05 18:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783257691000,"timestamp_ms":1783257691000,"timestamp_seconds":1783257691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3270f378"} 
[2026-07-05 18:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:52: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-07-05 18:52: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-07-05 18:52: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-07-05 18:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":124685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":124685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":124685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513891840001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513891840001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:52:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:52:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:52:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513891840001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":124685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:52:43] local.INFO: GPS data processed {"connection_id":124685,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:52:43] local.INFO: Acknowledgment sent {"connection_id":124685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:53:08] local.INFO: TCP Data received {"connection_id":124686,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3271be98012d17eac0072175180046011e27..."} 
[2026-07-05 18:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3271be98012d17eac0072175180046011e27..."} 
[2026-07-05 18:53:08] local.INFO: Processing buffer {"connection_id":124686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3271be98012d17eac0072175180046011e27..."} 
[2026-07-05 18:53:08] local.INFO: Packet analysis {"connection_id":124686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3271"} 
[2026-07-05 18:53:08] local.INFO: Extracted packet for processing {"connection_id":124686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3271"} 
[2026-07-05 18:53:08] local.INFO: GPS Element Parsed {"raw_longitude":756542144,"raw_latitude":119633176,"longitude_deg":75.6542144,"latitude_deg":11.9633176,"altitude":70,"angle":286,"satellites":39,"speed":0,"hex_longitude":"2d17eac0","hex_latitude":"07217518","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513977088001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690525194027008,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400944281262080,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783257743000,"timestamp_ms":1783257743000,"timestamp_seconds":1783257743,"priority":1,"record_length":96,"hex_timestamp":"0000019f3271be98"} 
[2026-07-05 18:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:53:08] 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-07-05 18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 18:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513977088001,"66":12461,"122":206,"28":31744,"24":0,"16":4690525194027008,"45":1723400944281262080},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-05 18:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513977088001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:53:08] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-05 18:53:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690525194027008,"km_value":4690525194027.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400944281262080,"description":"Unknown IO ID 45"} 
[2026-07-05 18:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513977088001,"power":12461,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1723400944281262080}} 
[2026-07-05 18:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":124686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:53:08] local.INFO: GPS data processed {"connection_id":124686,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:53:08] local.INFO: Acknowledgment sent {"connection_id":124686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:53:09] local.INFO: TCP Data received {"connection_id":122694,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:53:09] local.INFO: Processing buffer {"connection_id":122694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:53:09] local.INFO: IMEI packet received {"connection_id":122694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":122694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:53:14] local.INFO: TCP Data received {"connection_id":122694,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:53:14] local.INFO: Processing buffer {"connection_id":122694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:53:14] local.INFO: IMEI packet received {"connection_id":122694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":122694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:53:15] local.INFO: TCP Data received {"connection_id":122694,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:53:15] local.INFO: Processing buffer {"connection_id":122694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:53:15] local.INFO: Packet analysis {"connection_id":122694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:53:15] local.INFO: Extracted packet for processing {"connection_id":122694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:53:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 18:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513891840001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:15] 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-07-05 18:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783257691000,"timestamp_ms":1783257691000,"timestamp_seconds":1783257691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3270f378"} 
[2026-07-05 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-07-05 18:53:15] 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-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 18:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513891840001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513891840001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:53:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:53:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513891840001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":122694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:53:15] local.INFO: GPS data processed {"connection_id":122694,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:53:15] local.INFO: Acknowledgment sent {"connection_id":122694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:53:21] local.INFO: TCP Data received {"connection_id":122694,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:53:21] local.INFO: Processing buffer {"connection_id":122694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:53:21] local.INFO: Packet analysis {"connection_id":122694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:53:21] local.INFO: Extracted packet for processing {"connection_id":122694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:53:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513891840001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:21] 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-07-05 18:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783257691000,"timestamp_ms":1783257691000,"timestamp_seconds":1783257691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3270f378"} 
[2026-07-05 18:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:53:21] 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-07-05 18:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513891840001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513891840001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:53:21] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513891840001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":122694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:53:21] local.INFO: GPS data processed {"connection_id":122694,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:53:21] local.INFO: Acknowledgment sent {"connection_id":122694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:53:29] local.INFO: TCP Data received {"connection_id":122756,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:53:29] local.INFO: Processing buffer {"connection_id":122756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:53:29] local.INFO: IMEI packet received {"connection_id":122756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":122756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:53:31] local.INFO: TCP Data received {"connection_id":122756,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:53:31] local.INFO: Processing buffer {"connection_id":122756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:53:31] local.INFO: IMEI packet received {"connection_id":122756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":122756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:53:32] local.INFO: TCP Data received {"connection_id":122756,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327210a0012d17eac0072175180046011e26..."} 
[2026-07-05 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327210a0012d17eac0072175180046011e26..."} 
[2026-07-05 18:53:32] local.INFO: Processing buffer {"connection_id":122756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327210a0012d17eac0072175180046011e26..."} 
[2026-07-05 18:53:32] local.INFO: Packet analysis {"connection_id":122756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3272"} 
[2026-07-05 18:53:32] local.INFO: Extracted packet for processing {"connection_id":122756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3272"} 
[2026-07-05 18:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756542144,"raw_latitude":119633176,"longitude_deg":75.6542144,"latitude_deg":11.9633176,"altitude":70,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d17eac0","hex_latitude":"07217518","is_valid_coordinates":true} 
[2026-07-05 18:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513982208001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690525194027008,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400944281262080,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783257764000,"timestamp_ms":1783257764000,"timestamp_seconds":1783257764,"priority":1,"record_length":96,"hex_timestamp":"0000019f327210a0"} 
[2026-07-05 18:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:53:32] 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-07-05 18:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-05 18:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":122756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":122756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":122756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513982208001,"66":11971,"122":206,"28":31744,"24":0,"16":4690525194027008,"45":1723400944281262080},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-05 18:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513982208001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:53:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-05 18:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690525194027008,"km_value":4690525194027.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400944281262080,"description":"Unknown IO ID 45"} 
[2026-07-05 18:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513982208001,"power":11971,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1723400944281262080}} 
[2026-07-05 18:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":122756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:53:32] local.INFO: GPS data processed {"connection_id":122756,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:53:32] local.INFO: Acknowledgment sent {"connection_id":122756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:53:35] local.INFO: TCP Data received {"connection_id":122756,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327262a8012d17eac0072175180046011e26..."} 
[2026-07-05 18:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327262a8012d17eac0072175180046011e26..."} 
[2026-07-05 18:53:35] local.INFO: Processing buffer {"connection_id":122756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327262a8012d17eac0072175180046011e26..."} 
[2026-07-05 18:53:35] local.INFO: Packet analysis {"connection_id":122756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3272"} 
[2026-07-05 18:53:35] local.INFO: Extracted packet for processing {"connection_id":122756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3272"} 
[2026-07-05 18:53:35] local.INFO: GPS Element Parsed {"raw_longitude":756542144,"raw_latitude":119633176,"longitude_deg":75.6542144,"latitude_deg":11.9633176,"altitude":70,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d17eac0","hex_latitude":"07217518","is_valid_coordinates":true} 
[2026-07-05 18:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513987584001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690525194027008,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400944281262080,"note":"Value kept but may cause issues"} 
[2026-07-05 18:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783257785000,"timestamp_ms":1783257785000,"timestamp_seconds":1783257785,"priority":1,"record_length":96,"hex_timestamp":"0000019f327262a8"} 
[2026-07-05 18:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:53:35] 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-07-05 18:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-05 18:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513987584001,"66":12385,"122":206,"28":31744,"24":0,"16":4690525194027008,"45":1723400944281262080},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-05 18:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513987584001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:53:35] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-05 18:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690525194027008,"km_value":4690525194027.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400944281262080,"description":"Unknown IO ID 45"} 
[2026-07-05 18:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513987584001,"power":12385,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1723400944281262080}} 
[2026-07-05 18:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":122756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:53:35] local.INFO: GPS data processed {"connection_id":122756,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:53:35] local.INFO: Acknowledgment sent {"connection_id":122756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:54:04] local.INFO: TCP Data received {"connection_id":122695,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:54:04] local.INFO: Processing buffer {"connection_id":122695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:54:04] local.INFO: IMEI packet received {"connection_id":122695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":122695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:54:07] local.INFO: TCP Data received {"connection_id":122756,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3272b0c8012d17eac0072175180046011e26..."} 
[2026-07-05 18:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3272b0c8012d17eac0072175180046011e26..."} 
[2026-07-05 18:54:07] local.INFO: Processing buffer {"connection_id":122756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3272b0c8012d17eac0072175180046011e26..."} 
[2026-07-05 18:54:07] local.INFO: Packet analysis {"connection_id":122756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3272"} 
[2026-07-05 18:54:07] local.INFO: Extracted packet for processing {"connection_id":122756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3272"} 
[2026-07-05 18:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756542144,"raw_latitude":119633176,"longitude_deg":75.6542144,"latitude_deg":11.9633176,"altitude":70,"angle":286,"satellites":38,"speed":0,"hex_longitude":"2d17eac0","hex_latitude":"07217518","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513992960001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690525194027008,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400944281262080,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783257805000,"timestamp_ms":1783257805000,"timestamp_seconds":1783257805,"priority":1,"record_length":96,"hex_timestamp":"0000019f3272b0c8"} 
[2026-07-05 18:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-05 18:54: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-07-05 18: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-07-05 18:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":122756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":122756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":122756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513992960001,"66":12439,"122":206,"28":31744,"24":0,"16":4690525194027008,"45":1723400944281262080},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-05 18:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513992960001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:54:07] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-05 18:54:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690525194027008,"km_value":4690525194027.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400944281262080,"description":"Unknown IO ID 45"} 
[2026-07-05 18:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513992960001,"power":12439,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1723400944281262080}} 
[2026-07-05 18:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":122756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:54:07] local.INFO: GPS data processed {"connection_id":122756,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:54:07] local.INFO: Acknowledgment sent {"connection_id":122756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:54:09] local.INFO: TCP Data received {"connection_id":122695,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:54:09] local.INFO: Processing buffer {"connection_id":122695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:54:09] local.INFO: IMEI packet received {"connection_id":122695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":122695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:54:19] local.INFO: TCP Data received {"connection_id":122695,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:54:19] local.INFO: Processing buffer {"connection_id":122695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:54:19] local.INFO: Packet analysis {"connection_id":122695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:54:19] local.INFO: Extracted packet for processing {"connection_id":122695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:54:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513891840001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:19] 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-07-05 18:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783257691000,"timestamp_ms":1783257691000,"timestamp_seconds":1783257691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3270f378"} 
[2026-07-05 18:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:54:19] 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-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513891840001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513891840001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:54:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:54:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:54:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513891840001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":122695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:54:19] local.INFO: GPS data processed {"connection_id":122695,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:54:19] local.INFO: Acknowledgment sent {"connection_id":122695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:54:24] local.INFO: TCP Data received {"connection_id":122695,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:54:24] local.INFO: Processing buffer {"connection_id":122695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:54:24] local.INFO: Packet analysis {"connection_id":122695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:54:24] local.INFO: Extracted packet for processing {"connection_id":122695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:54:24] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513891840001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:24] 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-07-05 18:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783257691000,"timestamp_ms":1783257691000,"timestamp_seconds":1783257691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3270f378"} 
[2026-07-05 18:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:54:24] 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-07-05 18:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":122695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":122695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":122695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513891840001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513891840001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:54:24] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:54:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513891840001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":122695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:54:24] local.INFO: GPS data processed {"connection_id":122695,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:54:24] local.INFO: Acknowledgment sent {"connection_id":122695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:54:25] local.INFO: TCP Data received {"connection_id":122696,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:54:25] local.INFO: Processing buffer {"connection_id":122696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:54:25] local.INFO: IMEI packet received {"connection_id":122696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":122696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:54:26] local.INFO: TCP Data received {"connection_id":122696,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:54:26] local.INFO: Processing buffer {"connection_id":122696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:54:26] local.INFO: IMEI packet received {"connection_id":122696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":122696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:54:29] local.INFO: TCP Data received {"connection_id":122696,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:54:29] local.INFO: Processing buffer {"connection_id":122696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:54:29] local.INFO: IMEI packet received {"connection_id":122696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":122696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:54:30] local.INFO: TCP Data received {"connection_id":122696,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327302d0012d17eac0072175180046011e24..."} 
[2026-07-05 18:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327302d0012d17eac0072175180046011e24..."} 
[2026-07-05 18:54:30] local.INFO: Processing buffer {"connection_id":122696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327302d0012d17eac0072175180046011e24..."} 
[2026-07-05 18:54:30] local.INFO: Packet analysis {"connection_id":122696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3273"} 
[2026-07-05 18:54:30] local.INFO: Extracted packet for processing {"connection_id":122696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3273"} 
[2026-07-05 18:54:30] local.INFO: GPS Element Parsed {"raw_longitude":756542144,"raw_latitude":119633176,"longitude_deg":75.6542144,"latitude_deg":11.9633176,"altitude":70,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d17eac0","hex_latitude":"07217518","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513998080001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690525194027008,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400944281262080,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783257826000,"timestamp_ms":1783257826000,"timestamp_seconds":1783257826,"priority":1,"record_length":96,"hex_timestamp":"0000019f327302d0"} 
[2026-07-05 18:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 18:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-05 18:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":122696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":122696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":122696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513998080001,"66":13852,"122":206,"28":31744,"24":0,"16":4690525194027008,"45":1723400944281262080},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-05 18:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513998080001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:54:30] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-05 18:54:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690525194027008,"km_value":4690525194027.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400944281262080,"description":"Unknown IO ID 45"} 
[2026-07-05 18:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513998080001,"power":13852,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1723400944281262080}} 
[2026-07-05 18:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":122696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:54:30] local.INFO: GPS data processed {"connection_id":122696,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:54:30] local.INFO: Acknowledgment sent {"connection_id":122696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:54:31] local.INFO: TCP Data received {"connection_id":122696,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327354d8012d17eac0072175180046011e24..."} 
[2026-07-05 18:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327354d8012d17eac0072175180046011e24..."} 
[2026-07-05 18:54:31] local.INFO: Processing buffer {"connection_id":122696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327354d8012d17eac0072175180046011e24..."} 
[2026-07-05 18:54:31] local.INFO: Packet analysis {"connection_id":122696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3273"} 
[2026-07-05 18:54:31] local.INFO: Extracted packet for processing {"connection_id":122696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3273"} 
[2026-07-05 18:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756542144,"raw_latitude":119633176,"longitude_deg":75.6542144,"latitude_deg":11.9633176,"altitude":70,"angle":286,"satellites":36,"speed":0,"hex_longitude":"2d17eac0","hex_latitude":"07217518","is_valid_coordinates":true} 
[2026-07-05 18:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514003456001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690525194027008,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400944281262080,"note":"Value kept but may cause issues"} 
[2026-07-05 18:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783257847000,"timestamp_ms":1783257847000,"timestamp_seconds":1783257847,"priority":1,"record_length":96,"hex_timestamp":"0000019f327354d8"} 
[2026-07-05 18:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 18:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-05 18:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":122696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":122696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":122696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514003456001,"66":13972,"122":206,"28":31744,"24":0,"16":4690525194027008,"45":1723400944281262080},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-05 18:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514003456001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:54:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-05 18:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690525194027008,"km_value":4690525194027.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400944281262080,"description":"Unknown IO ID 45"} 
[2026-07-05 18:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514003456001,"power":13972,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1723400944281262080}} 
[2026-07-05 18:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":122696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:54:31] local.INFO: GPS data processed {"connection_id":122696,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:54:31] local.INFO: Acknowledgment sent {"connection_id":122696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:55:03] local.INFO: TCP Data received {"connection_id":122696,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327387a0012d17eb80072174380048005a26..."} 
[2026-07-05 18:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327387a0012d17eb80072174380048005a26..."} 
[2026-07-05 18:55:03] local.INFO: Processing buffer {"connection_id":122696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327387a0012d17eb80072174380048005a26..."} 
[2026-07-05 18:55:03] local.INFO: Packet analysis {"connection_id":122696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3273"} 
[2026-07-05 18:55:03] local.INFO: Extracted packet for processing {"connection_id":122696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3273"} 
[2026-07-05 18:55:03] local.INFO: GPS Element Parsed {"raw_longitude":756542336,"raw_latitude":119632952,"longitude_deg":75.6542336,"latitude_deg":11.9632952,"altitude":72,"angle":90,"satellites":38,"speed":1,"hex_longitude":"2d17eb80","hex_latitude":"07217438","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514008832001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690538078928896,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723400944281262080,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783257860000,"timestamp_ms":1783257860000,"timestamp_seconds":1783257860,"priority":1,"record_length":96,"hex_timestamp":"0000019f327387a0"} 
[2026-07-05 18:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:55:03] 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-07-05 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-05 18:55:03] 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-07-05 18: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-07-05 18:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514008832001,"66":14135,"122":206,"28":31744,"24":1,"16":4690538078928896,"45":1723400944281262080},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-05 18:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514008832001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:55:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-05 18:55:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690538078928896,"km_value":4690538078928.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723400944281262080,"description":"Unknown IO ID 45"} 
[2026-07-05 18:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514008832001,"power":14135,"unknown_122":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1723400944281262080}} 
[2026-07-05 18:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":122696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:55:03] local.INFO: GPS data processed {"connection_id":122696,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:55:03] local.INFO: Acknowledgment sent {"connection_id":122696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:55:04] local.INFO: TCP Data received {"connection_id":124688,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:55:04] local.INFO: Processing buffer {"connection_id":124688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:55:04] local.INFO: IMEI packet received {"connection_id":124688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":124688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:55:09] local.INFO: TCP Data received {"connection_id":124688,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:55:09] local.INFO: Processing buffer {"connection_id":124688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:55:09] local.INFO: IMEI packet received {"connection_id":124688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":124688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:55:10] local.INFO: TCP Data received {"connection_id":124688,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:55:10] local.INFO: Processing buffer {"connection_id":124688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:55:10] local.INFO: Packet analysis {"connection_id":124688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:55:10] local.INFO: Extracted packet for processing {"connection_id":124688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:55:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513891840001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:10] 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-07-05 18:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783257691000,"timestamp_ms":1783257691000,"timestamp_seconds":1783257691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3270f378"} 
[2026-07-05 18:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:55: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-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513891840001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513891840001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:55:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513891840001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":124688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:55:10] local.INFO: GPS data processed {"connection_id":124688,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:55:10] local.INFO: Acknowledgment sent {"connection_id":124688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:55:25] local.INFO: TCP Data received {"connection_id":122758,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:55:25] local.INFO: Processing buffer {"connection_id":122758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:55:25] local.INFO: IMEI packet received {"connection_id":122758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":122758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:55:26] local.INFO: TCP Data received {"connection_id":122758,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:55:26] local.INFO: Processing buffer {"connection_id":122758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:55:26] local.INFO: IMEI packet received {"connection_id":122758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":122758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:55:29] local.INFO: TCP Data received {"connection_id":122757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:55:29] local.INFO: Processing buffer {"connection_id":122757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:55:29] local.INFO: IMEI packet received {"connection_id":122757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":122757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:55:30] local.INFO: TCP Data received {"connection_id":122758,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:55:30] local.INFO: Processing buffer {"connection_id":122758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:55:30] local.INFO: IMEI packet received {"connection_id":122758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":122758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:55:31] local.INFO: TCP Data received {"connection_id":122758,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32739358012d17eb80072174780048015f26..."} 
[2026-07-05 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32739358012d17eb80072174780048015f26..."} 
[2026-07-05 18:55:31] local.INFO: Processing buffer {"connection_id":122758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32739358012d17eb80072174780048015f26..."} 
[2026-07-05 18:55:31] local.INFO: Packet analysis {"connection_id":122758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3273"} 
[2026-07-05 18:55:31] local.INFO: Extracted packet for processing {"connection_id":122758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3273"} 
[2026-07-05 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756542336,"raw_latitude":119633016,"longitude_deg":75.6542336,"latitude_deg":11.9633016,"altitude":72,"angle":351,"satellites":38,"speed":0,"hex_longitude":"2d17eb80","hex_latitude":"07217478","is_valid_coordinates":true} 
[2026-07-05 18:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514012160001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4690542373896192,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723612050513737728,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783257863000,"timestamp_ms":1783257863000,"timestamp_seconds":1783257863,"priority":1,"record_length":96,"hex_timestamp":"0000019f32739358"} 
[2026-07-05 18:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 18:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-05 18:55:31] 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-07-05 18:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":122758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":122758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":122758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514012160001,"66":13515,"122":206,"28":31744,"24":0,"16":4690542373896192,"45":1723612050513737728},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-07-05 18:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514012160001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:55:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-05 18:55:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4690542373896192,"km_value":4690542373896.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723612050513737728,"description":"Unknown IO ID 45"} 
[2026-07-05 18:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514012160001,"power":13515,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1723612050513737728}} 
[2026-07-05 18:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":122758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:55:31] local.INFO: GPS data processed {"connection_id":122758,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:55:31] local.INFO: Acknowledgment sent {"connection_id":122758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:55:42] local.INFO: TCP Data received {"connection_id":124688,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:55:42] local.INFO: Processing buffer {"connection_id":124688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:55:42] local.INFO: Packet analysis {"connection_id":124688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:55:42] local.INFO: Extracted packet for processing {"connection_id":124688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513891840001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:55:42] 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-07-05 18:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783257691000,"timestamp_ms":1783257691000,"timestamp_seconds":1783257691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3270f378"} 
[2026-07-05 18:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513891840001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513891840001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:55:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513891840001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":124688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:55:42] local.INFO: GPS data processed {"connection_id":124688,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:55:42] local.INFO: Acknowledgment sent {"connection_id":124688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:56:03] local.INFO: TCP Data received {"connection_id":122758,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3274c408012d1884c0072181b00049006524..."} 
[2026-07-05 18:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3274c408012d1884c0072181b00049006524..."} 
[2026-07-05 18:56:03] local.INFO: Processing buffer {"connection_id":122758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3274c408012d1884c0072181b00049006524..."} 
[2026-07-05 18:56:03] local.INFO: Packet analysis {"connection_id":122758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3274"} 
[2026-07-05 18:56:03] local.INFO: Extracted packet for processing {"connection_id":122758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3274"} 
[2026-07-05 18:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756581568,"raw_latitude":119636400,"longitude_deg":75.6581568,"latitude_deg":11.96364,"altitude":73,"angle":101,"satellites":36,"speed":39,"hex_longitude":"2d1884c0","hex_latitude":"072181b0","is_valid_coordinates":true} 
[2026-07-05 18:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514031616001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4692801526693888,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761048222417131520,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783257941000,"timestamp_ms":1783257941000,"timestamp_seconds":1783257941,"priority":1,"record_length":96,"hex_timestamp":"0000019f3274c408"} 
[2026-07-05 18:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:56:03] 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-07-05 18:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-05 18:56:03] 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-07-05 18:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514031616001,"66":14135,"121":206,"28":31744,"24":39,"16":4692801526693888,"45":1761048222417131520},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514031616001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:56:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4692801526693888,"km_value":4692801526693.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761048222417131520,"description":"Unknown IO ID 45"} 
[2026-07-05 18:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514031616001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1761048222417131520}} 
[2026-07-05 18:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":122758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:56:03] local.INFO: GPS data processed {"connection_id":122758,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:56:03] local.INFO: Acknowledgment sent {"connection_id":122758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:56:04] local.INFO: TCP Data received {"connection_id":123469,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:56:04] local.INFO: Processing buffer {"connection_id":123469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:56:04] local.INFO: IMEI packet received {"connection_id":123469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":123469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:56:04] local.INFO: TCP Data received {"connection_id":122697,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:56:04] local.INFO: Processing buffer {"connection_id":122697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:56:04] local.INFO: IMEI packet received {"connection_id":122697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":122697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:56:09] local.INFO: TCP Data received {"connection_id":123469,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:56:09] local.INFO: Processing buffer {"connection_id":123469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:56:09] local.INFO: IMEI packet received {"connection_id":123469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 18:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":123469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:56:09] local.INFO: TCP Data received {"connection_id":122697,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:56:09] local.INFO: Processing buffer {"connection_id":122697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:56:09] local.INFO: IMEI packet received {"connection_id":122697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":122697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:56:10] local.INFO: TCP Data received {"connection_id":123469,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f325f7ad0012cb2a10007823b380045000025..."} 
[2026-07-05 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f325f7ad0012cb2a10007823b380045000025..."} 
[2026-07-05 18:56:10] local.INFO: Processing buffer {"connection_id":123469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f325f7ad0012cb2a10007823b380045000025..."} 
[2026-07-05 18:56:10] local.INFO: Packet analysis {"connection_id":123469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f325f"} 
[2026-07-05 18:56:10] local.INFO: Extracted packet for processing {"connection_id":123469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f325f"} 
[2026-07-05 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":69,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513598720001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:10] 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-07-05 18:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783256546000,"timestamp_ms":1783256546000,"timestamp_seconds":1783256546,"priority":1,"record_length":96,"hex_timestamp":"0000019f325f7ad0"} 
[2026-07-05 18:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 18:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 18:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 18:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 18:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513598720001,"66":25278,"184":206,"85":36096,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 18:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 18:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513598720001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:56:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 18:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513598720001,"power":25278,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 18:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":123469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:56:10] local.INFO: GPS data processed {"connection_id":123469,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:56:10] local.INFO: Acknowledgment sent {"connection_id":123469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:56:10] local.INFO: TCP Data received {"connection_id":122697,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:56:10] local.INFO: Processing buffer {"connection_id":122697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:56:10] local.INFO: Packet analysis {"connection_id":122697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:56:10] local.INFO: Extracted packet for processing {"connection_id":122697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513891840001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:10] 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-07-05 18:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783257691000,"timestamp_ms":1783257691000,"timestamp_seconds":1783257691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3270f378"} 
[2026-07-05 18:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513891840001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513891840001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:56:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513891840001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":122697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:56:10] local.INFO: GPS data processed {"connection_id":122697,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:56:10] local.INFO: Acknowledgment sent {"connection_id":122697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:56:23] local.INFO: TCP Data received {"connection_id":123470,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:56:23] local.INFO: Processing buffer {"connection_id":123470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:56:23] local.INFO: IMEI packet received {"connection_id":123470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":123470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:56:24] local.INFO: TCP Data received {"connection_id":123470,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:56:24] local.INFO: Processing buffer {"connection_id":123470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:56:24] local.INFO: IMEI packet received {"connection_id":123470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":123470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:56:28] local.INFO: TCP Data received {"connection_id":123470,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:56:28] local.INFO: Processing buffer {"connection_id":123470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:56:28] local.INFO: IMEI packet received {"connection_id":123470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":123470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:56:29] local.INFO: TCP Data received {"connection_id":123470,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3274cfc0012d188fc007217e18004a007124..."} 
[2026-07-05 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3274cfc0012d188fc007217e18004a007124..."} 
[2026-07-05 18:56:29] local.INFO: Processing buffer {"connection_id":123470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3274cfc0012d188fc007217e18004a007124..."} 
[2026-07-05 18:56:29] local.INFO: Packet analysis {"connection_id":123470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3274"} 
[2026-07-05 18:56:29] local.INFO: Extracted packet for processing {"connection_id":123470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3274"} 
[2026-07-05 18:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756584384,"raw_latitude":119635480,"longitude_deg":75.6584384,"latitude_deg":11.963548,"altitude":74,"angle":113,"satellites":36,"speed":39,"hex_longitude":"2d188fc0","hex_latitude":"07217e18","is_valid_coordinates":true} 
[2026-07-05 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-07-05 18:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514032896001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4692943260614656,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766748090695528448,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783257944000,"timestamp_ms":1783257944000,"timestamp_seconds":1783257944,"priority":1,"record_length":96,"hex_timestamp":"0000019f3274cfc0"} 
[2026-07-05 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-07-05 18:56:29] 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-07-05 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-05 18:56: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-07-05 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-07-05 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-07-05 18:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":123470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":123470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":123470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514032896001,"66":14113,"121":206,"28":31744,"24":39,"16":4692943260614656,"45":1766748090695528448},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514032896001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:56:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:56:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4692943260614656,"km_value":4692943260614.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766748090695528448,"description":"Unknown IO ID 45"} 
[2026-07-05 18:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514032896001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1766748090695528448}} 
[2026-07-05 18:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":123470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:56:29] local.INFO: GPS data processed {"connection_id":123470,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:56:29] local.INFO: Acknowledgment sent {"connection_id":123470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:56:42] local.INFO: TCP Data received {"connection_id":122697,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:56:42] local.INFO: Processing buffer {"connection_id":122697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:56:42] local.INFO: Packet analysis {"connection_id":122697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:56:42] local.INFO: Extracted packet for processing {"connection_id":122697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:56:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513891840001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:56:42] 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-07-05 18:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783257691000,"timestamp_ms":1783257691000,"timestamp_seconds":1783257691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3270f378"} 
[2026-07-05 18:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513891840001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513891840001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:56:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:56:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513891840001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":122697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:56:42] local.INFO: GPS data processed {"connection_id":122697,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:56:42] local.INFO: Acknowledgment sent {"connection_id":122697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:56:54] local.INFO: TCP Data received {"connection_id":123471,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:56:54] local.INFO: Processing buffer {"connection_id":123471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 18:56:54] local.INFO: IMEI packet received {"connection_id":123471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 18:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":123471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:57:01] local.INFO: TCP Data received {"connection_id":123470,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3274f6d0012d18acc0072171d0004c008322..."} 
[2026-07-05 18:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3274f6d0012d18acc0072171d0004c008322..."} 
[2026-07-05 18:57:01] local.INFO: Processing buffer {"connection_id":123470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3274f6d0012d18acc0072171d0004c008322..."} 
[2026-07-05 18:57:01] local.INFO: Packet analysis {"connection_id":123470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3274"} 
[2026-07-05 18:57:01] local.INFO: Extracted packet for processing {"connection_id":123470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3274"} 
[2026-07-05 18:57:01] local.INFO: GPS Element Parsed {"raw_longitude":756591808,"raw_latitude":119632336,"longitude_deg":75.6591808,"latitude_deg":11.9632336,"altitude":76,"angle":131,"satellites":34,"speed":24,"hex_longitude":"2d18acc0","hex_latitude":"072171d0","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514033664001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4693325512704000,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769844315439110144,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783257954000,"timestamp_ms":1783257954000,"timestamp_seconds":1783257954,"priority":1,"record_length":96,"hex_timestamp":"0000019f3274f6d0"} 
[2026-07-05 18:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:57:01] 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-07-05 18: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-05 18:57:01] 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-07-05 18: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-07-05 18:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":123470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":123470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":123470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514033664001,"66":14135,"121":206,"28":31744,"24":24,"16":4693325512704000,"45":1769844315439110144},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514033664001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:57:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:57:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4693325512704000,"km_value":4693325512704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769844315439110144,"description":"Unknown IO ID 45"} 
[2026-07-05 18:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514033664001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1769844315439110144}} 
[2026-07-05 18:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":123470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:57:01] local.INFO: GPS data processed {"connection_id":123470,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:57:01] local.INFO: Acknowledgment sent {"connection_id":123470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:57:04] local.INFO: TCP Data received {"connection_id":124689,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:57:04] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:57:04] local.INFO: IMEI packet received {"connection_id":124689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":124689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:57:09] local.INFO: TCP Data received {"connection_id":124689,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:57:09] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:57:09] local.INFO: IMEI packet received {"connection_id":124689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":124689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:57:11] local.INFO: TCP Data received {"connection_id":124689,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:57:11] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3270f378012cb2a24007823a980046013b27..."} 
[2026-07-05 18:57:11] local.INFO: Packet analysis {"connection_id":124689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:57:11] local.INFO: Extracted packet for processing {"connection_id":124689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3270"} 
[2026-07-05 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513891840001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:11] 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-07-05 18:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783257691000,"timestamp_ms":1783257691000,"timestamp_seconds":1783257691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3270f378"} 
[2026-07-05 18:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 18:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513891840001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513891840001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:57:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:57:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513891840001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":124689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:57:11] local.INFO: GPS data processed {"connection_id":124689,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:57:11] local.INFO: Acknowledgment sent {"connection_id":124689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:57:24] local.INFO: TCP Data received {"connection_id":122759,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:57:24] local.INFO: Processing buffer {"connection_id":122759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:57:24] local.INFO: IMEI packet received {"connection_id":122759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":122759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:57:29] local.INFO: TCP Data received {"connection_id":122759,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:57:29] local.INFO: Processing buffer {"connection_id":122759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:57:29] local.INFO: IMEI packet received {"connection_id":122759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":122759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:57:31] local.INFO: TCP Data received {"connection_id":122759,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3275d190012d18dbc00720fa700039008720..."} 
[2026-07-05 18:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3275d190012d18dbc00720fa700039008720..."} 
[2026-07-05 18:57:31] local.INFO: Processing buffer {"connection_id":122759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3275d190012d18dbc00720fa700039008720..."} 
[2026-07-05 18:57:31] local.INFO: Packet analysis {"connection_id":122759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:57:31] local.INFO: Extracted packet for processing {"connection_id":122759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:57:31] local.INFO: GPS Element Parsed {"raw_longitude":756603840,"raw_latitude":119601776,"longitude_deg":75.660384,"latitude_deg":11.9601776,"altitude":57,"angle":135,"satellites":32,"speed":31,"hex_longitude":"2d18dbc0","hex_latitude":"0720fa70","is_valid_coordinates":true} 
[2026-07-05 18:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514050048001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4694974780145664,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790040145009780736,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783258010000,"timestamp_ms":1783258010000,"timestamp_seconds":1783258010,"priority":1,"record_length":96,"hex_timestamp":"0000019f3275d190"} 
[2026-07-05 18:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:57:31] 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-07-05 18:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-05 18:57:31] 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-07-05 18:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":122759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":122759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":122759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514050048001,"66":14113,"121":206,"28":31744,"24":31,"16":4694974780145664,"45":1790040145009780736},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514050048001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:57:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4694974780145664,"km_value":4694974780145.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790040145009780736,"description":"Unknown IO ID 45"} 
[2026-07-05 18:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514050048001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1790040145009780736}} 
[2026-07-05 18:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":122759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:57:31] local.INFO: GPS data processed {"connection_id":122759,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:57:31] local.INFO: Acknowledgment sent {"connection_id":122759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:57:41] local.INFO: TCP Data received {"connection_id":124689,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:57:41] local.INFO: Processing buffer {"connection_id":124689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:57:41] local.INFO: Packet analysis {"connection_id":124689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:57:41] local.INFO: Extracted packet for processing {"connection_id":124689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:57:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513968896001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:57:41] 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-07-05 18:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783257992000,"timestamp_ms":1783257992000,"timestamp_seconds":1783257992,"priority":1,"record_length":96,"hex_timestamp":"0000019f32758b40"} 
[2026-07-05 18:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:57: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-07-05 18:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513968896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513968896001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:57:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513968896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":124689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:57:41] local.INFO: GPS data processed {"connection_id":124689,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:57:41] local.INFO: Acknowledgment sent {"connection_id":124689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:58:03] local.INFO: TCP Data received {"connection_id":122759,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3275e518012d18e7800720ed500038009521..."} 
[2026-07-05 18:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3275e518012d18e7800720ed500038009521..."} 
[2026-07-05 18:58:03] local.INFO: Processing buffer {"connection_id":122759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3275e518012d18e7800720ed500038009521..."} 
[2026-07-05 18:58:03] local.INFO: Packet analysis {"connection_id":122759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:58:03] local.INFO: Extracted packet for processing {"connection_id":122759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756606848,"raw_latitude":119598416,"longitude_deg":75.6606848,"latitude_deg":11.9598416,"altitude":56,"angle":149,"satellites":33,"speed":36,"hex_longitude":"2d18e780","hex_latitude":"0720ed50","is_valid_coordinates":true} 
[2026-07-05 18:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514050560001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4695189528510464,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413660491776,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783258015000,"timestamp_ms":1783258015000,"timestamp_seconds":1783258015,"priority":1,"record_length":96,"hex_timestamp":"0000019f3275e518"} 
[2026-07-05 18:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:58:03] 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-07-05 18:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-05 18:58:03] 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-07-05 18:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514050560001,"66":14102,"121":206,"28":31744,"24":36,"16":4695189528510464,"45":1791236413660491776},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514050560001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:58:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4695189528510464,"km_value":4695189528510.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413660491776,"description":"Unknown IO ID 45"} 
[2026-07-05 18:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514050560001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1791236413660491776}} 
[2026-07-05 18:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":122759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:58:03] local.INFO: GPS data processed {"connection_id":122759,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:58:03] local.INFO: Acknowledgment sent {"connection_id":122759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:58:04] local.INFO: TCP Data received {"connection_id":123472,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:58:04] local.INFO: Processing buffer {"connection_id":123472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:58:04] local.INFO: IMEI packet received {"connection_id":123472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":123472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:58:09] local.INFO: TCP Data received {"connection_id":123472,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:58:09] local.INFO: Processing buffer {"connection_id":123472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:58:09] local.INFO: IMEI packet received {"connection_id":123472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":123472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:58:10] local.INFO: TCP Data received {"connection_id":123472,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:58:10] local.INFO: Processing buffer {"connection_id":123472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:58:10] local.INFO: Packet analysis {"connection_id":123472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:58:10] local.INFO: Extracted packet for processing {"connection_id":123472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513968896001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:10] 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-07-05 18:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783257992000,"timestamp_ms":1783257992000,"timestamp_seconds":1783257992,"priority":1,"record_length":96,"hex_timestamp":"0000019f32758b40"} 
[2026-07-05 18:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18: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-07-05 18:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513968896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513968896001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:58:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513968896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":123472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:58:10] local.INFO: GPS data processed {"connection_id":123472,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:58:10] local.INFO: Acknowledgment sent {"connection_id":123472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:58:24] local.INFO: TCP Data received {"connection_id":122698,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:58:24] local.INFO: Processing buffer {"connection_id":122698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:58:24] local.INFO: IMEI packet received {"connection_id":122698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":122698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:58:26] local.INFO: TCP Data received {"connection_id":122698,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:58:26] local.INFO: Processing buffer {"connection_id":122698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:58:26] local.INFO: IMEI packet received {"connection_id":122698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":122698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:58:29] local.INFO: TCP Data received {"connection_id":122698,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:58:29] local.INFO: Processing buffer {"connection_id":122698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:58:29] local.INFO: IMEI packet received {"connection_id":122698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":122698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:58:31] local.INFO: TCP Data received {"connection_id":122698,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32770628012d19b1c00720ae800038006e24..."} 
[2026-07-05 18:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32770628012d19b1c00720ae800038006e24..."} 
[2026-07-05 18:58:31] local.INFO: Processing buffer {"connection_id":122698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32770628012d19b1c00720ae800038006e24..."} 
[2026-07-05 18:58:31] local.INFO: Packet analysis {"connection_id":122698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3277"} 
[2026-07-05 18:58:31] local.INFO: Extracted packet for processing {"connection_id":122698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3277"} 
[2026-07-05 18:58:31] local.INFO: GPS Element Parsed {"raw_longitude":756658624,"raw_latitude":119582336,"longitude_deg":75.6658624,"latitude_deg":11.9582336,"altitude":56,"angle":110,"satellites":36,"speed":29,"hex_longitude":"2d19b1c0","hex_latitude":"0720ae80","is_valid_coordinates":true} 
[2026-07-05 18:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514069760001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4697951192481792,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848235096439631872,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783258089000,"timestamp_ms":1783258089000,"timestamp_seconds":1783258089,"priority":1,"record_length":96,"hex_timestamp":"0000019f32770628"} 
[2026-07-05 18:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 18:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-05 18:58:31] 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-07-05 18:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":122698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":122698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":122698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514069760001,"66":14233,"121":206,"28":31744,"24":29,"16":4697951192481792,"45":1848235096439631872},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514069760001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:58:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4697951192481792,"km_value":4697951192481.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848235096439631872,"description":"Unknown IO ID 45"} 
[2026-07-05 18:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514069760001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1848235096439631872}} 
[2026-07-05 18:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":122698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:58:31] local.INFO: GPS data processed {"connection_id":122698,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:58:31] local.INFO: Acknowledgment sent {"connection_id":122698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:58:41] local.INFO: TCP Data received {"connection_id":123472,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:58:41] local.INFO: Processing buffer {"connection_id":123472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:58:41] local.INFO: Packet analysis {"connection_id":123472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:58:41] local.INFO: Extracted packet for processing {"connection_id":123472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513968896001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:58:41] 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-07-05 18:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783257992000,"timestamp_ms":1783257992000,"timestamp_seconds":1783257992,"priority":1,"record_length":96,"hex_timestamp":"0000019f32758b40"} 
[2026-07-05 18:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:58: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-07-05 18:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513968896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513968896001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:58:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513968896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":123472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:58:41] local.INFO: GPS data processed {"connection_id":123472,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:58:41] local.INFO: Acknowledgment sent {"connection_id":123472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:59:02] local.INFO: TCP Data received {"connection_id":122698,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327711e0012d19b8400720ab200036007e24..."} 
[2026-07-05 18:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327711e0012d19b8400720ab200036007e24..."} 
[2026-07-05 18:59:02] local.INFO: Processing buffer {"connection_id":122698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327711e0012d19b8400720ab200036007e24..."} 
[2026-07-05 18:59:02] local.INFO: Packet analysis {"connection_id":122698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3277"} 
[2026-07-05 18:59:02] local.INFO: Extracted packet for processing {"connection_id":122698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3277"} 
[2026-07-05 18:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119581472,"longitude_deg":75.6660288,"latitude_deg":11.9581472,"altitude":54,"angle":126,"satellites":36,"speed":20,"hex_longitude":"2d19b840","hex_latitude":"0720ab20","is_valid_coordinates":true} 
[2026-07-05 18: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-07-05 18:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514070784001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4698041386795008,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851472058671595520,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 18:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783258092000,"timestamp_ms":1783258092000,"timestamp_seconds":1783258092,"priority":1,"record_length":96,"hex_timestamp":"0000019f327711e0"} 
[2026-07-05 18:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:59:02] 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-07-05 18: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 18:59:02] 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-07-05 18: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-07-05 18:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":122698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":122698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":122698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 18:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 18:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 18:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514070784001,"66":14189,"121":206,"28":31744,"24":20,"16":4698041386795008,"45":1851472058671595520},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 18:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 18:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 18:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514070784001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:59:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 18:59:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 18:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4698041386795008,"km_value":4698041386795.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851472058671595520,"description":"Unknown IO ID 45"} 
[2026-07-05 18:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514070784001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1851472058671595520}} 
[2026-07-05 18:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":122698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:59:02] local.INFO: GPS data processed {"connection_id":122698,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:59:02] local.INFO: Acknowledgment sent {"connection_id":122698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:59:06] local.INFO: TCP Data received {"connection_id":124690,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:59:06] local.INFO: Processing buffer {"connection_id":124690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:59:06] local.INFO: IMEI packet received {"connection_id":124690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 18:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":124690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:59:09] local.INFO: TCP Data received {"connection_id":124690,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:59:09] local.INFO: Processing buffer {"connection_id":124690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 18:59:09] local.INFO: IMEI packet received {"connection_id":124690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 18:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":124690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:59:10] local.INFO: TCP Data received {"connection_id":124690,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:59:10] local.INFO: Processing buffer {"connection_id":124690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:59:10] local.INFO: Packet analysis {"connection_id":124690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:59:10] local.INFO: Extracted packet for processing {"connection_id":124690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513968896001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:10] 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-07-05 18:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783257992000,"timestamp_ms":1783257992000,"timestamp_seconds":1783257992,"priority":1,"record_length":96,"hex_timestamp":"0000019f32758b40"} 
[2026-07-05 18:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513968896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513968896001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:59:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513968896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":124690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:59:10] local.INFO: GPS data processed {"connection_id":124690,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:59:10] local.INFO: Acknowledgment sent {"connection_id":124690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:59:15] local.INFO: TCP Data received {"connection_id":124690,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:59:15] local.INFO: Processing buffer {"connection_id":124690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:59:15] local.INFO: Packet analysis {"connection_id":124690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:59:15] local.INFO: Extracted packet for processing {"connection_id":124690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:59:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513968896001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:15] 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-07-05 18:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783257992000,"timestamp_ms":1783257992000,"timestamp_seconds":1783257992,"priority":1,"record_length":96,"hex_timestamp":"0000019f32758b40"} 
[2026-07-05 18:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513968896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513968896001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:59:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:59:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513968896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":124690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:59:15] local.INFO: GPS data processed {"connection_id":124690,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:59:15] local.INFO: Acknowledgment sent {"connection_id":124690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 18:59:26] local.INFO: TCP Data received {"connection_id":124691,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:59:26] local.INFO: Processing buffer {"connection_id":124691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:59:26] local.INFO: IMEI packet received {"connection_id":124691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 18:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":124691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 18:59:30] local.INFO: TCP Data received {"connection_id":124691,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:59:30] local.INFO: Processing buffer {"connection_id":124691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:59:30] local.INFO: IMEI packet received {"connection_id":124691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":124691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:59:31] local.INFO: TCP Data received {"connection_id":124691,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:59:31] local.INFO: Processing buffer {"connection_id":124691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 18:59:31] local.INFO: IMEI packet received {"connection_id":124691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":124691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:59:33] local.INFO: TCP Data received {"connection_id":124691,"ip":"117.224.12.39","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f32..."} 
[2026-07-05 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124691,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f32..."} 
[2026-07-05 18:59:33] local.INFO: Processing buffer {"connection_id":124691,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f32..."} 
[2026-07-05 18:59:33] local.INFO: IMEI packet received {"connection_id":124691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 18:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":124691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 18:59:46] local.INFO: TCP Data received {"connection_id":124690,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:59:46] local.INFO: Processing buffer {"connection_id":124690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 18:59:46] local.INFO: Packet analysis {"connection_id":124690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:59:46] local.INFO: Extracted packet for processing {"connection_id":124690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 18:59:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 18:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 18:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513968896001,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 18:59:46] 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-07-05 18:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783257992000,"timestamp_ms":1783257992000,"timestamp_seconds":1783257992,"priority":1,"record_length":96,"hex_timestamp":"0000019f32758b40"} 
[2026-07-05 18:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 18:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 18:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 18:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 18:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 18:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 18:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 18:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 18:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 18:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 18:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 18:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 18:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513968896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 18:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 18:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 18:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513968896001,"description":"Unknown IO ID 0"} 
[2026-07-05 18:59:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 18:59:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 18:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 18:59:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 18:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513968896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 18:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":124690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 18:59:46] local.INFO: GPS data processed {"connection_id":124690,"processed":1,"errors":0,"total":1} 
[2026-07-05 18:59:46] local.INFO: Acknowledgment sent {"connection_id":124690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:00:04] local.INFO: TCP Data received {"connection_id":122699,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:00:04] local.INFO: Processing buffer {"connection_id":122699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:00:04] local.INFO: IMEI packet received {"connection_id":122699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":122699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:00:09] local.INFO: TCP Data received {"connection_id":122699,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:00:09] local.INFO: Processing buffer {"connection_id":122699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:00:09] local.INFO: IMEI packet received {"connection_id":122699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":122699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:00:10] local.INFO: TCP Data received {"connection_id":122699,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:00:10] local.INFO: Processing buffer {"connection_id":122699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:00:10] local.INFO: Packet analysis {"connection_id":122699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 19:00:10] local.INFO: Extracted packet for processing {"connection_id":122699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 19:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513968896001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:10] 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-07-05 19:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783257992000,"timestamp_ms":1783257992000,"timestamp_seconds":1783257992,"priority":1,"record_length":96,"hex_timestamp":"0000019f32758b40"} 
[2026-07-05 19:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513968896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513968896001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:00:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513968896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":122699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:00:10] local.INFO: GPS data processed {"connection_id":122699,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:00:10] local.INFO: Acknowledgment sent {"connection_id":122699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:00:27] local.INFO: TCP Data received {"connection_id":124691,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3277bdc0012d19c480072028c80022009b22..."} 
[2026-07-05 19:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3277bdc0012d19c480072028c80022009b22..."} 
[2026-07-05 19:00:27] local.INFO: Processing buffer {"connection_id":124691,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f3277aa38012d19bd0007203b78002500a722..."} 
[2026-07-05 19:00:27] local.INFO: Packet analysis {"connection_id":124691,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f3277"} 
[2026-07-05 19:00:27] local.INFO: Extracted packet for processing {"connection_id":124691,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3277"} 
[2026-07-05 19:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756661504,"raw_latitude":119552888,"longitude_deg":75.6661504,"latitude_deg":11.9552888,"altitude":37,"angle":167,"satellites":34,"speed":38,"hex_longitude":"2d19bd00","hex_latitude":"07203b78","is_valid_coordinates":true} 
[2026-07-05 19:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514078976001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4699514560577536,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489735884800,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783258131000,"timestamp_ms":1783258131000,"timestamp_seconds":1783258131,"priority":1,"record_length":96,"hex_timestamp":"0000019f3277aa38"} 
[2026-07-05 19:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:00:27] 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-07-05 19:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-05 19:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514078976001,"66":14135,"121":206,"28":31744,"24":38,"16":4699514560577536,"45":1853653489735884800},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514078976001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:00:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4699514560577536,"km_value":4699514560577.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489735884800,"description":"Unknown IO ID 45"} 
[2026-07-05 19:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514078976001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1853653489735884800}} 
[2026-07-05 19:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":124691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:00:27] local.INFO: GPS data processed {"connection_id":124691,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:00:27] local.INFO: Acknowledgment sent {"connection_id":124691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:00:27] local.INFO: Packet analysis {"connection_id":124691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3277"} 
[2026-07-05 19:00:27] local.INFO: Extracted packet for processing {"connection_id":124691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3277"} 
[2026-07-05 19:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119548104,"longitude_deg":75.6663424,"latitude_deg":11.9548104,"altitude":34,"angle":155,"satellites":34,"speed":41,"hex_longitude":"2d19c480","hex_latitude":"072028c8","is_valid_coordinates":true} 
[2026-07-05 19:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514081536001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4699763668680704,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854638652152051712,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783258136000,"timestamp_ms":1783258136000,"timestamp_seconds":1783258136,"priority":1,"record_length":96,"hex_timestamp":"0000019f3277bdc0"} 
[2026-07-05 19:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:00:27] 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-07-05 19:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-05 19:00:27] 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-07-05 19:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514081536001,"66":14157,"121":206,"28":31744,"24":41,"16":4699763668680704,"45":1854638652152051712},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514081536001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:00:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4699763668680704,"km_value":4699763668680.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854638652152051712,"description":"Unknown IO ID 45"} 
[2026-07-05 19:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514081536001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1854638652152051712}} 
[2026-07-05 19:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":124691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:00:27] local.INFO: GPS data processed {"connection_id":124691,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:00:27] local.INFO: Acknowledgment sent {"connection_id":124691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:00:35] local.INFO: TCP Data received {"connection_id":124692,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:00:35] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:00:35] local.INFO: IMEI packet received {"connection_id":124692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":124692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:00:36] local.INFO: TCP Data received {"connection_id":124692,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:00:36] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:00:36] local.INFO: IMEI packet received {"connection_id":124692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":124692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:00:40] local.INFO: TCP Data received {"connection_id":124692,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:00:40] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:00:40] local.INFO: IMEI packet received {"connection_id":124692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":124692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:00:41] local.INFO: TCP Data received {"connection_id":124692,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327909c8012d199940071fbd20003c00b321..."} 
[2026-07-05 19:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327909c8012d199940071fbd20003c00b321..."} 
[2026-07-05 19:00:41] local.INFO: Processing buffer {"connection_id":124692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327909c8012d199940071fbd20003c00b321..."} 
[2026-07-05 19:00:41] local.INFO: Packet analysis {"connection_id":124692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3279"} 
[2026-07-05 19:00:41] local.INFO: Extracted packet for processing {"connection_id":124692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3279"} 
[2026-07-05 19:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756652352,"raw_latitude":119520544,"longitude_deg":75.6652352,"latitude_deg":11.9520544,"altitude":60,"angle":179,"satellites":33,"speed":14,"hex_longitude":"2d199940","hex_latitude":"071fbd20","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514104320001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4701919742263296,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844575921726459904,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783258221000,"timestamp_ms":1783258221000,"timestamp_seconds":1783258221,"priority":1,"record_length":96,"hex_timestamp":"0000019f327909c8"} 
[2026-07-05 19:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:00:41] 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-07-05 19:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-05 19:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3024027648,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:41] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3245342777,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-05 19:00:41] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,180,159,1,45,191,59,33,10,66,254,192,250,64,240,22,50,31,4,113,205,19,238,162,36,239,55,2,7,20],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-05 19:00:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323675686335873024,"timestamp_seconds":4323675686335873.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 19:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514104320001,"66":14080,"121":206,"28":31744,"24":14,"16":4701919742263296,"45":1844575921726459904},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514104320001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:00:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:00:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4701919742263296,"km_value":4701919742263.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844575921726459904,"description":"Unknown IO ID 45"} 
[2026-07-05 19:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514104320001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1844575921726459904}} 
[2026-07-05 19:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":124692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:00:41] local.INFO: GPS data processed {"connection_id":124692,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:00:41] local.INFO: Acknowledgment sent {"connection_id":124692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:00:41] local.INFO: TCP Data received {"connection_id":122699,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:00:41] local.INFO: Processing buffer {"connection_id":122699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:00:41] local.INFO: Packet analysis {"connection_id":122699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 19:00:41] local.INFO: Extracted packet for processing {"connection_id":122699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 19:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513968896001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:00:41] 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-07-05 19:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783257992000,"timestamp_ms":1783257992000,"timestamp_seconds":1783257992,"priority":1,"record_length":96,"hex_timestamp":"0000019f32758b40"} 
[2026-07-05 19:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:00: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-07-05 19: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-07-05 19:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513968896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513968896001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:00:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513968896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":122699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:00:41] local.INFO: GPS data processed {"connection_id":122699,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:00:41] local.INFO: Acknowledgment sent {"connection_id":122699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:01:04] local.INFO: TCP Data received {"connection_id":122701,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:01:04] local.INFO: Processing buffer {"connection_id":122701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:01:04] local.INFO: IMEI packet received {"connection_id":122701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":122701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:01:09] local.INFO: TCP Data received {"connection_id":122701,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:01:09] local.INFO: Processing buffer {"connection_id":122701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:01:09] local.INFO: IMEI packet received {"connection_id":122701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":122701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:01:10] local.INFO: TCP Data received {"connection_id":122701,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:01:10] local.INFO: Processing buffer {"connection_id":122701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:01:10] local.INFO: Packet analysis {"connection_id":122701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 19:01:10] local.INFO: Extracted packet for processing {"connection_id":122701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 19:01:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513968896001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:01:10] 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-07-05 19:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783257992000,"timestamp_ms":1783257992000,"timestamp_seconds":1783257992,"priority":1,"record_length":96,"hex_timestamp":"0000019f32758b40"} 
[2026-07-05 19:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513968896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513968896001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:01:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513968896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":122701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:01:10] local.INFO: GPS data processed {"connection_id":122701,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:01:10] local.INFO: Acknowledgment sent {"connection_id":122701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:01:24] local.INFO: TCP Data received {"connection_id":122762,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:01:24] local.INFO: Processing buffer {"connection_id":122762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:01:24] local.INFO: IMEI packet received {"connection_id":122762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":122762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:01:27] local.INFO: TCP Data received {"connection_id":122762,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:01:27] local.INFO: Processing buffer {"connection_id":122762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:01:27] local.INFO: IMEI packet received {"connection_id":122762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":122762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:01:29] local.INFO: TCP Data received {"connection_id":122762,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:01:29] local.INFO: Processing buffer {"connection_id":122762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:01:29] local.INFO: IMEI packet received {"connection_id":122762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":122762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:01:30] local.INFO: TCP Data received {"connection_id":122762,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3279a9f0012d19bb80071f8670003b006620..."} 
[2026-07-05 19:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3279a9f0012d19bb80071f8670003b006620..."} 
[2026-07-05 19:01:30] local.INFO: Processing buffer {"connection_id":122762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3279a9f0012d19bb80071f8670003b006620..."} 
[2026-07-05 19:01:30] local.INFO: Packet analysis {"connection_id":122762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3279"} 
[2026-07-05 19:01:30] local.INFO: Extracted packet for processing {"connection_id":122762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3279"} 
[2026-07-05 19:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119506544,"longitude_deg":75.666112,"latitude_deg":11.9506544,"altitude":59,"angle":102,"satellites":32,"speed":14,"hex_longitude":"2d19bb80","hex_latitude":"071f8670","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514114560001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4702778735722496,"note":"Value kept but may cause issues"} 
[2026-07-05 19:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752233351168,"note":"Value kept but may cause issues"} 
[2026-07-05 19:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783258262000,"timestamp_ms":1783258262000,"timestamp_seconds":1783258262,"priority":1,"record_length":96,"hex_timestamp":"0000019f3279a9f0"} 
[2026-07-05 19:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:01:30] 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-07-05 19: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-05 19:01:30] 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-07-05 19: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-07-05 19:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":122762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":122762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":122762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514114560001,"66":13428,"121":206,"28":31744,"24":14,"16":4702778735722496,"45":1853512752233351168},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514114560001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:01:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:01:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4702778735722496,"km_value":4702778735722.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752233351168,"description":"Unknown IO ID 45"} 
[2026-07-05 19:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514114560001,"power":13428,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1853512752233351168}} 
[2026-07-05 19:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":122762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:01:30] local.INFO: GPS data processed {"connection_id":122762,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:01:30] local.INFO: Acknowledgment sent {"connection_id":122762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:01:41] local.INFO: TCP Data received {"connection_id":122701,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:01:41] local.INFO: Processing buffer {"connection_id":122701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32758b40012cb2a24007823a980046013b27..."} 
[2026-07-05 19:01:41] local.INFO: Packet analysis {"connection_id":122701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 19:01:41] local.INFO: Extracted packet for processing {"connection_id":122701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3275"} 
[2026-07-05 19:01:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513968896001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:01:41] 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-07-05 19:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783257992000,"timestamp_ms":1783257992000,"timestamp_seconds":1783257992,"priority":1,"record_length":96,"hex_timestamp":"0000019f32758b40"} 
[2026-07-05 19:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:01: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-07-05 19:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513968896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513968896001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:01:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513968896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":122701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:01:41] local.INFO: GPS data processed {"connection_id":122701,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:01:41] local.INFO: Acknowledgment sent {"connection_id":122701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:02:03] local.INFO: TCP Data received {"connection_id":122762,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2ec0012d19b640071f5b00003e00b422..."} 
[2026-07-05 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2ec0012d19b640071f5b00003e00b422..."} 
[2026-07-05 19:02:03] local.INFO: Processing buffer {"connection_id":122762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2ec0012d19b640071f5b00003e00b422..."} 
[2026-07-05 19:02:03] local.INFO: Packet analysis {"connection_id":122762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:02:03] local.INFO: Extracted packet for processing {"connection_id":122762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756659776,"raw_latitude":119495424,"longitude_deg":75.6659776,"latitude_deg":11.9495424,"altitude":62,"angle":180,"satellites":34,"speed":19,"hex_longitude":"2d19b640","hex_latitude":"071f5b00","is_valid_coordinates":true} 
[2026-07-05 19:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4703530354999296,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433533257728,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783258296000,"timestamp_ms":1783258296000,"timestamp_seconds":1783258296,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2ec0"} 
[2026-07-05 19:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:02:03] 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-07-05 19:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-05 19:02:03] 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-07-05 19:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":14157,"121":206,"28":31744,"24":19,"16":4703530354999296,"45":1852879433533257728},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:02:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4703530354999296,"km_value":4703530354999.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433533257728,"description":"Unknown IO ID 45"} 
[2026-07-05 19:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1852879433533257728}} 
[2026-07-05 19:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":122762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:02:03] local.INFO: GPS data processed {"connection_id":122762,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:02:03] local.INFO: Acknowledgment sent {"connection_id":122762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:02:09] local.INFO: TCP Data received {"connection_id":123473,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:02:09] local.INFO: Processing buffer {"connection_id":123473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:02:09] local.INFO: IMEI packet received {"connection_id":123473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":123473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:02:11] local.INFO: TCP Data received {"connection_id":123473,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:02:11] local.INFO: Processing buffer {"connection_id":123473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:02:11] local.INFO: IMEI packet received {"connection_id":123473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":123473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:02:12] local.INFO: TCP Data received {"connection_id":123473,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:02:12] local.INFO: Processing buffer {"connection_id":123473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:02:12] local.INFO: Packet analysis {"connection_id":123473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:02:12] local.INFO: Extracted packet for processing {"connection_id":123473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:02:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514045952001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02: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-07-05 19:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783258293000,"timestamp_ms":1783258293000,"timestamp_seconds":1783258293,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2308"} 
[2026-07-05 19:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514045952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514045952001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:02:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514045952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":123473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:02:12] local.INFO: GPS data processed {"connection_id":123473,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:02:12] local.INFO: Acknowledgment sent {"connection_id":123473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:02:14] local.INFO: TCP Data received {"connection_id":123473,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:02:14] local.INFO: Processing buffer {"connection_id":123473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:02:14] local.INFO: Packet analysis {"connection_id":123473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:02:14] local.INFO: Extracted packet for processing {"connection_id":123473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:02:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514045952001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02:14] 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-07-05 19:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783258293000,"timestamp_ms":1783258293000,"timestamp_seconds":1783258293,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2308"} 
[2026-07-05 19:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":123473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":123473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":123473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514045952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514045952001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:02:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514045952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":123473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:02:14] local.INFO: GPS data processed {"connection_id":123473,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:02:14] local.INFO: Acknowledgment sent {"connection_id":123473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:02:39] local.INFO: TCP Data received {"connection_id":122703,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:02:39] local.INFO: Processing buffer {"connection_id":122703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:02:39] local.INFO: IMEI packet received {"connection_id":122703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":122703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:02:45] local.INFO: TCP Data received {"connection_id":123473,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:02:45] local.INFO: Processing buffer {"connection_id":123473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:02:45] local.INFO: Packet analysis {"connection_id":123473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:02:45] local.INFO: Extracted packet for processing {"connection_id":123473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514045952001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:02:45] 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-07-05 19:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783258293000,"timestamp_ms":1783258293000,"timestamp_seconds":1783258293,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2308"} 
[2026-07-05 19:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":123473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":123473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":123473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514045952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514045952001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:02:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514045952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":123473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:02:45] local.INFO: GPS data processed {"connection_id":123473,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:02:45] local.INFO: Acknowledgment sent {"connection_id":123473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:03:00] local.INFO: TCP Data received {"connection_id":122704,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:00] local.INFO: Processing buffer {"connection_id":122704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:00] local.INFO: IMEI packet received {"connection_id":122704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":122704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:03:04] local.INFO: TCP Data received {"connection_id":122763,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:03:04] local.INFO: Processing buffer {"connection_id":122763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:03:04] local.INFO: IMEI packet received {"connection_id":122763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":122763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:03:04] local.INFO: TCP Data received {"connection_id":122704,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:04] local.INFO: Processing buffer {"connection_id":122704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:04] local.INFO: IMEI packet received {"connection_id":122704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":122704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:03:04] local.INFO: TCP Data received {"connection_id":122705,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:03:04] local.INFO: Processing buffer {"connection_id":122705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:03:04] local.INFO: IMEI packet received {"connection_id":122705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":122705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:03:09] local.INFO: TCP Data received {"connection_id":122704,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a3e60012d19b6c0071f5390003f00a822..."} 
[2026-07-05 19:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a3e60012d19b6c0071f5390003f00a822..."} 
[2026-07-05 19:03:09] local.INFO: Processing buffer {"connection_id":122704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a3e60012d19b6c0071f5390003f00a822..."} 
[2026-07-05 19:03:09] local.INFO: Packet analysis {"connection_id":122704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:03:09] local.INFO: Extracted packet for processing {"connection_id":122704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:03:09] local.INFO: GPS Element Parsed {"raw_longitude":756659904,"raw_latitude":119493520,"longitude_deg":75.6659904,"latitude_deg":11.949352,"altitude":63,"angle":168,"satellites":34,"speed":19,"hex_longitude":"2d19b6c0","hex_latitude":"071f5390","is_valid_coordinates":true} 
[2026-07-05 19:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123776001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4703624844279808,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696044544000,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783258300000,"timestamp_ms":1783258300000,"timestamp_seconds":1783258300,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a3e60"} 
[2026-07-05 19:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:03:09] 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-07-05 19:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-05 19:03:09] 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-07-05 19:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123776001,"66":14265,"121":206,"28":31744,"24":19,"16":4703624844279808,"45":1852738696044544000},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123776001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:03:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4703624844279808,"km_value":4703624844279.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696044544000,"description":"Unknown IO ID 45"} 
[2026-07-05 19:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123776001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1852738696044544000}} 
[2026-07-05 19:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":122704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:03:09] local.INFO: GPS data processed {"connection_id":122704,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:03:09] local.INFO: Acknowledgment sent {"connection_id":122704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:03:09] local.INFO: TCP Data received {"connection_id":122705,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:03:09] local.INFO: Processing buffer {"connection_id":122705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:03:09] local.INFO: IMEI packet received {"connection_id":122705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":122705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:03:10] local.INFO: TCP Data received {"connection_id":122705,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:03:10] local.INFO: Processing buffer {"connection_id":122705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:03:10] local.INFO: Packet analysis {"connection_id":122705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:03:10] local.INFO: Extracted packet for processing {"connection_id":122705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514045952001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:10] 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-07-05 19:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783258293000,"timestamp_ms":1783258293000,"timestamp_seconds":1783258293,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2308"} 
[2026-07-05 19:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:03: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-07-05 19:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514045952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514045952001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:03:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514045952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":122705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:03:10] local.INFO: GPS data processed {"connection_id":122705,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:03:10] local.INFO: Acknowledgment sent {"connection_id":122705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:03:29] local.INFO: TCP Data received {"connection_id":122764,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:29] local.INFO: Processing buffer {"connection_id":122764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:29] local.INFO: IMEI packet received {"connection_id":122764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":122764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:03:30] local.INFO: TCP Data received {"connection_id":122764,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:30] local.INFO: Processing buffer {"connection_id":122764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:30] local.INFO: IMEI packet received {"connection_id":122764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":122764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:03:31] local.INFO: TCP Data received {"connection_id":122764,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:31] local.INFO: Processing buffer {"connection_id":122764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:31] local.INFO: IMEI packet received {"connection_id":122764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":122764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:03:34] local.INFO: TCP Data received {"connection_id":122764,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:34] local.INFO: Processing buffer {"connection_id":122764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:03:34] local.INFO: IMEI packet received {"connection_id":122764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":122764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:03:35] local.INFO: TCP Data received {"connection_id":122764,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327b8a68012d19ca40071f23f0004300f822..."} 
[2026-07-05 19:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327b8a68012d19ca40071f23f0004300f822..."} 
[2026-07-05 19:03:35] local.INFO: Processing buffer {"connection_id":122764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327b8a68012d19ca40071f23f0004300f822..."} 
[2026-07-05 19:03:35] local.INFO: Packet analysis {"connection_id":122764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327b"} 
[2026-07-05 19:03:35] local.INFO: Extracted packet for processing {"connection_id":122764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327b"} 
[2026-07-05 19:03:35] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119481328,"longitude_deg":75.6664896,"latitude_deg":11.9481328,"altitude":67,"angle":248,"satellites":34,"speed":2,"hex_longitude":"2d19ca40","hex_latitude":"071f23f0","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514146304001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4704324923949056,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564319338496,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783258385000,"timestamp_ms":1783258385000,"timestamp_seconds":1783258385,"priority":1,"record_length":96,"hex_timestamp":"0000019f327b8a68"} 
[2026-07-05 19:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:03:35] 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-07-05 19: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-05 19:03:35] 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-07-05 19: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-07-05 19:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514146304001,"66":13863,"121":206,"28":31744,"24":2,"16":4704324923949056,"45":1858438564319338496},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514146304001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:03:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4704324923949056,"km_value":4704324923949.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564319338496,"description":"Unknown IO ID 45"} 
[2026-07-05 19:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514146304001,"power":13863,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1858438564319338496}} 
[2026-07-05 19:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":122764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:03:35] local.INFO: GPS data processed {"connection_id":122764,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:03:35] local.INFO: Acknowledgment sent {"connection_id":122764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:03:41] local.INFO: TCP Data received {"connection_id":122705,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:03:41] local.INFO: Processing buffer {"connection_id":122705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:03:41] local.INFO: Packet analysis {"connection_id":122705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:03:41] local.INFO: Extracted packet for processing {"connection_id":122705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:03:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514045952001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:03:41] 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-07-05 19:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783258293000,"timestamp_ms":1783258293000,"timestamp_seconds":1783258293,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2308"} 
[2026-07-05 19:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:03: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-07-05 19: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-07-05 19:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514045952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514045952001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514045952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":122705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:03:41] local.INFO: GPS data processed {"connection_id":122705,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:03:41] local.INFO: Acknowledgment sent {"connection_id":122705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:04:04] local.INFO: TCP Data received {"connection_id":124693,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:04:04] local.INFO: Processing buffer {"connection_id":124693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:04:04] local.INFO: IMEI packet received {"connection_id":124693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":124693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:04:07] local.INFO: TCP Data received {"connection_id":122764,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327b9a08012d19c900071f23880043010422..."} 
[2026-07-05 19:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327b9a08012d19c900071f23880043010422..."} 
[2026-07-05 19:04:08] local.INFO: Processing buffer {"connection_id":122764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327b9a08012d19c900071f23880043010422..."} 
[2026-07-05 19:04:08] local.INFO: Packet analysis {"connection_id":122764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327b"} 
[2026-07-05 19:04:08] local.INFO: Extracted packet for processing {"connection_id":122764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327b"} 
[2026-07-05 19:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756664576,"raw_latitude":119481224,"longitude_deg":75.6664576,"latitude_deg":11.9481224,"altitude":67,"angle":260,"satellites":34,"speed":2,"hex_longitude":"2d19c900","hex_latitude":"071f2388","is_valid_coordinates":true} 
[2026-07-05 19:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514146560001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4704342103818240,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195575148544,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783258389000,"timestamp_ms":1783258389000,"timestamp_seconds":1783258389,"priority":1,"record_length":96,"hex_timestamp":"0000019f327b9a08"} 
[2026-07-05 19:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:04:08] 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-07-05 19:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-07-05 19:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":122764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":122764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":122764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514146560001,"66":13928,"121":206,"28":31744,"24":2,"16":4704342103818240,"45":1858368195575148544},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514146560001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:04:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4704342103818240,"km_value":4704342103818.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195575148544,"description":"Unknown IO ID 45"} 
[2026-07-05 19:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514146560001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1858368195575148544}} 
[2026-07-05 19:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":122764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:04:08] local.INFO: GPS data processed {"connection_id":122764,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:04:08] local.INFO: Acknowledgment sent {"connection_id":122764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:04:09] local.INFO: TCP Data received {"connection_id":124693,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:04:09] local.INFO: Processing buffer {"connection_id":124693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:04:09] local.INFO: IMEI packet received {"connection_id":124693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":124693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:04:10] local.INFO: TCP Data received {"connection_id":124693,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:04:10] local.INFO: Processing buffer {"connection_id":124693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:04:10] local.INFO: Packet analysis {"connection_id":124693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:04:10] local.INFO: Extracted packet for processing {"connection_id":124693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514045952001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:10] 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-07-05 19:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783258293000,"timestamp_ms":1783258293000,"timestamp_seconds":1783258293,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2308"} 
[2026-07-05 19:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:04: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-07-05 19:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514045952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514045952001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514045952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":124693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:04:10] local.INFO: GPS data processed {"connection_id":124693,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:04:10] local.INFO: Acknowledgment sent {"connection_id":124693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:04:25] local.INFO: TCP Data received {"connection_id":123475,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:04:25] local.INFO: Processing buffer {"connection_id":123475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:04:25] local.INFO: IMEI packet received {"connection_id":123475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":123475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:04:25] local.INFO: TCP Data received {"connection_id":123475,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:04:25] local.INFO: Processing buffer {"connection_id":123475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:04:25] local.INFO: IMEI packet received {"connection_id":123475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":123475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:04:30] local.INFO: TCP Data received {"connection_id":123475,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:04:30] local.INFO: Processing buffer {"connection_id":123475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:04:30] local.INFO: IMEI packet received {"connection_id":123475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":123475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:04:32] local.INFO: TCP Data received {"connection_id":123475,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327c8850012d19b980071f6420003f003522..."} 
[2026-07-05 19:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327c8850012d19b980071f6420003f003522..."} 
[2026-07-05 19:04:32] local.INFO: Processing buffer {"connection_id":123475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327c8850012d19b980071f6420003f003522..."} 
[2026-07-05 19:04:32] local.INFO: Packet analysis {"connection_id":123475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327c"} 
[2026-07-05 19:04:32] local.INFO: Extracted packet for processing {"connection_id":123475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327c"} 
[2026-07-05 19:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119497760,"longitude_deg":75.6660608,"latitude_deg":11.949776,"altitude":63,"angle":53,"satellites":34,"speed":13,"hex_longitude":"2d19b980","hex_latitude":"071f6420","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514162688001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4705269816754176,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539765911552,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783258450000,"timestamp_ms":1783258450000,"timestamp_seconds":1783258450,"priority":1,"record_length":96,"hex_timestamp":"0000019f327c8850"} 
[2026-07-05 19:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:04:32] 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-07-05 19: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 19:04:32] 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-07-05 19: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-07-05 19:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":123475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":123475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":123475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514162688001,"66":13820,"121":206,"28":31744,"24":13,"16":4705269816754176,"45":1853090539765911552},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514162688001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:04:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:04:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4705269816754176,"km_value":4705269816754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539765911552,"description":"Unknown IO ID 45"} 
[2026-07-05 19:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514162688001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1853090539765911552}} 
[2026-07-05 19:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":123475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:04:32] local.INFO: GPS data processed {"connection_id":123475,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:04:32] local.INFO: Acknowledgment sent {"connection_id":123475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:04:41] local.INFO: TCP Data received {"connection_id":124693,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:04:41] local.INFO: Processing buffer {"connection_id":124693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:04:41] local.INFO: Packet analysis {"connection_id":124693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:04:41] local.INFO: Extracted packet for processing {"connection_id":124693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514045952001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:04:41] 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-07-05 19:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783258293000,"timestamp_ms":1783258293000,"timestamp_seconds":1783258293,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2308"} 
[2026-07-05 19:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19: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-07-05 19: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-07-05 19:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514045952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514045952001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:04:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514045952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":124693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:04:42] local.INFO: GPS data processed {"connection_id":124693,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:04:42] local.INFO: Acknowledgment sent {"connection_id":124693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:05:03] local.INFO: TCP Data received {"connection_id":123475,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327c9020012d19bc00071f6560003f004122..."} 
[2026-07-05 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327c9020012d19bc00071f6560003f004122..."} 
[2026-07-05 19:05:03] local.INFO: Processing buffer {"connection_id":123475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327c9020012d19bc00071f6560003f004122..."} 
[2026-07-05 19:05:03] local.INFO: Packet analysis {"connection_id":123475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327c"} 
[2026-07-05 19:05:03] local.INFO: Extracted packet for processing {"connection_id":123475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327c"} 
[2026-07-05 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119498080,"longitude_deg":75.6661248,"latitude_deg":11.949808,"altitude":63,"angle":65,"satellites":34,"speed":12,"hex_longitude":"2d19bc00","hex_latitude":"071f6560","is_valid_coordinates":true} 
[2026-07-05 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514163200001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4705304176492544,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489719451648,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783258452000,"timestamp_ms":1783258452000,"timestamp_seconds":1783258452,"priority":1,"record_length":96,"hex_timestamp":"0000019f327c9020"} 
[2026-07-05 19:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-05 19:05:03] 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-07-05 19:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":123475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":123475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":123475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514163200001,"66":14135,"121":206,"28":31744,"24":12,"16":4705304176492544,"45":1853653489719451648},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514163200001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:05:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:05:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4705304176492544,"km_value":4705304176492.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489719451648,"description":"Unknown IO ID 45"} 
[2026-07-05 19:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514163200001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1853653489719451648}} 
[2026-07-05 19:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":123475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:05:03] local.INFO: GPS data processed {"connection_id":123475,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:05:03] local.INFO: Acknowledgment sent {"connection_id":123475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:05:04] local.INFO: TCP Data received {"connection_id":122765,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:05:04] local.INFO: Processing buffer {"connection_id":122765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:05:04] local.INFO: IMEI packet received {"connection_id":122765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":122765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:05:09] local.INFO: TCP Data received {"connection_id":122765,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:05:09] local.INFO: Processing buffer {"connection_id":122765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:05:09] local.INFO: IMEI packet received {"connection_id":122765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":122765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:05:10] local.INFO: TCP Data received {"connection_id":122765,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:05:10] local.INFO: Processing buffer {"connection_id":122765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:05:10] local.INFO: Packet analysis {"connection_id":122765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:05:10] local.INFO: Extracted packet for processing {"connection_id":122765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:05:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514045952001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:10] 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-07-05 19:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783258293000,"timestamp_ms":1783258293000,"timestamp_seconds":1783258293,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2308"} 
[2026-07-05 19:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:05: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-07-05 19:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514045952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514045952001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:05:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514045952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":122765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:05:10] local.INFO: GPS data processed {"connection_id":122765,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:05:10] local.INFO: Acknowledgment sent {"connection_id":122765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:05:24] local.INFO: TCP Data received {"connection_id":122766,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:24] local.INFO: Processing buffer {"connection_id":122766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:24] local.INFO: IMEI packet received {"connection_id":122766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":122766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:05:27] local.INFO: TCP Data received {"connection_id":122766,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:27] local.INFO: Processing buffer {"connection_id":122766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:27] local.INFO: IMEI packet received {"connection_id":122766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":122766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:05:29] local.INFO: TCP Data received {"connection_id":122766,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:29] local.INFO: Processing buffer {"connection_id":122766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:29] local.INFO: IMEI packet received {"connection_id":122766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":122766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:05:29] local.INFO: TCP Data received {"connection_id":122766,"ip":"117.224.12.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:29] local.INFO: Processing buffer {"connection_id":122766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:05:29] local.INFO: IMEI packet received {"connection_id":122766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":122766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:05:30] local.INFO: TCP Data received {"connection_id":122766,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327d5f28012d19b840071f8600003f011323..."} 
[2026-07-05 19:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327d5f28012d19b840071f8600003f011323..."} 
[2026-07-05 19:05:30] local.INFO: Processing buffer {"connection_id":122766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327d5f28012d19b840071f8600003f011323..."} 
[2026-07-05 19:05:30] local.INFO: Packet analysis {"connection_id":122766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327d"} 
[2026-07-05 19:05:30] local.INFO: Extracted packet for processing {"connection_id":122766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327d"} 
[2026-07-05 19:05:30] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119506432,"longitude_deg":75.6660288,"latitude_deg":11.9506432,"altitude":63,"angle":275,"satellites":35,"speed":12,"hex_longitude":"2d19b840","hex_latitude":"071f8600","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514176000001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4705914061848576,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864605286400,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783258505000,"timestamp_ms":1783258505000,"timestamp_seconds":1783258505,"priority":1,"record_length":96,"hex_timestamp":"0000019f327d5f28"} 
[2026-07-05 19:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:05:30] 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-07-05 19: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-05 19:05:30] 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-07-05 19: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-07-05 19:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":122766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":122766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":122766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514176000001,"66":14233,"121":206,"28":31744,"24":12,"16":4705914061848576,"45":1855060864605286400},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514176000001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:05:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:05:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4705914061848576,"km_value":4705914061848.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864605286400,"description":"Unknown IO ID 45"} 
[2026-07-05 19:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514176000001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1855060864605286400}} 
[2026-07-05 19:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":122766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:05:30] local.INFO: GPS data processed {"connection_id":122766,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:05:30] local.INFO: Acknowledgment sent {"connection_id":122766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:05:35] local.INFO: TCP Data received {"connection_id":122766,"ip":"117.224.12.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327d6310012d19b740071f8660003f012223..."} 
[2026-07-05 19:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327d6310012d19b740071f8660003f012223..."} 
[2026-07-05 19:05:35] local.INFO: Processing buffer {"connection_id":122766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327d6310012d19b740071f8660003f012223..."} 
[2026-07-05 19:05:35] local.INFO: Packet analysis {"connection_id":122766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327d"} 
[2026-07-05 19:05:35] local.INFO: Extracted packet for processing {"connection_id":122766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327d"} 
[2026-07-05 19:05:35] local.INFO: GPS Element Parsed {"raw_longitude":756660032,"raw_latitude":119506528,"longitude_deg":75.6660032,"latitude_deg":11.9506528,"altitude":63,"angle":290,"satellites":35,"speed":12,"hex_longitude":"2d19b740","hex_latitude":"071f8660","is_valid_coordinates":true} 
[2026-07-05 19:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514177280001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4705931241717760,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646000783360,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783258506000,"timestamp_ms":1783258506000,"timestamp_seconds":1783258506,"priority":1,"record_length":96,"hex_timestamp":"0000019f327d6310"} 
[2026-07-05 19:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:05:35] 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-07-05 19:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-05 19:05:35] 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-07-05 19:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.12.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514177280001,"66":14189,"121":206,"28":31744,"24":12,"16":4705931241717760,"45":1853301646000783360},"client_ip":"117.224.12.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514177280001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:05:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:05:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4705931241717760,"km_value":4705931241717.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646000783360,"description":"Unknown IO ID 45"} 
[2026-07-05 19:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514177280001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1853301646000783360}} 
[2026-07-05 19:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":122766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:05:36] local.INFO: GPS data processed {"connection_id":122766,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:05:36] local.INFO: Acknowledgment sent {"connection_id":122766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:05:41] local.INFO: TCP Data received {"connection_id":122765,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:05:41] local.INFO: Processing buffer {"connection_id":122765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:05:41] local.INFO: Packet analysis {"connection_id":122765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:05:41] local.INFO: Extracted packet for processing {"connection_id":122765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:05:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514045952001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:05:41] 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-07-05 19:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783258293000,"timestamp_ms":1783258293000,"timestamp_seconds":1783258293,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2308"} 
[2026-07-05 19:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19: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-07-05 19:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514045952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514045952001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:05:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514045952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":122765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:05:41] local.INFO: GPS data processed {"connection_id":122765,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:05:41] local.INFO: Acknowledgment sent {"connection_id":122765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:06:04] local.INFO: TCP Data received {"connection_id":122767,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:06:04] local.INFO: Processing buffer {"connection_id":122767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:06:04] local.INFO: IMEI packet received {"connection_id":122767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":122767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:06:09] local.INFO: TCP Data received {"connection_id":122767,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:06:09] local.INFO: Processing buffer {"connection_id":122767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:06:09] local.INFO: IMEI packet received {"connection_id":122767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":122767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:06:10] local.INFO: TCP Data received {"connection_id":122767,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:06:10] local.INFO: Processing buffer {"connection_id":122767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:06:10] local.INFO: Packet analysis {"connection_id":122767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:06:10] local.INFO: Extracted packet for processing {"connection_id":122767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:06:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514045952001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:06:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:06:10] 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-07-05 19:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783258293000,"timestamp_ms":1783258293000,"timestamp_seconds":1783258293,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2308"} 
[2026-07-05 19:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:06: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-07-05 19:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514045952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514045952001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:06:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:06:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514045952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":122767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:06:10] local.INFO: GPS data processed {"connection_id":122767,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:06:10] local.INFO: Acknowledgment sent {"connection_id":122767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:06:41] local.INFO: TCP Data received {"connection_id":122767,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:06:41] local.INFO: Processing buffer {"connection_id":122767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327a2308012cb2a24007823a980046013b28..."} 
[2026-07-05 19:06:41] local.INFO: Packet analysis {"connection_id":122767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:06:41] local.INFO: Extracted packet for processing {"connection_id":122767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327a"} 
[2026-07-05 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514045952001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:06:41] 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-07-05 19:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783258293000,"timestamp_ms":1783258293000,"timestamp_seconds":1783258293,"priority":1,"record_length":96,"hex_timestamp":"0000019f327a2308"} 
[2026-07-05 19:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:06: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-07-05 19: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-07-05 19:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514045952001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514045952001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:06:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514045952001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":122767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:06:41] local.INFO: GPS data processed {"connection_id":122767,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:06:41] local.INFO: Acknowledgment sent {"connection_id":122767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:07:09] local.INFO: TCP Data received {"connection_id":124696,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:07:09] local.INFO: Processing buffer {"connection_id":124696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:07:09] local.INFO: IMEI packet received {"connection_id":124696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":124696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:07:12] local.INFO: TCP Data received {"connection_id":124696,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:07:12] local.INFO: Processing buffer {"connection_id":124696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:07:12] local.INFO: IMEI packet received {"connection_id":124696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":124696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:07:14] local.INFO: TCP Data received {"connection_id":124696,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:07:14] local.INFO: Processing buffer {"connection_id":124696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:07:14] local.INFO: Packet analysis {"connection_id":124696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:07:14] local.INFO: Extracted packet for processing {"connection_id":124696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:07:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:07:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:07:14] 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-07-05 19:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783258594000,"timestamp_ms":1783258594000,"timestamp_seconds":1783258594,"priority":1,"record_length":96,"hex_timestamp":"0000019f327ebad0"} 
[2026-07-05 19:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:07:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:07:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:07:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":124696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:07:14] local.INFO: GPS data processed {"connection_id":124696,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:07:14] local.INFO: Acknowledgment sent {"connection_id":124696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:07:45] local.INFO: TCP Data received {"connection_id":124696,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:07:45] local.INFO: Processing buffer {"connection_id":124696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:07:45] local.INFO: Packet analysis {"connection_id":124696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:07:45] local.INFO: Extracted packet for processing {"connection_id":124696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:07:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:07:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:07:45] 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-07-05 19:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783258594000,"timestamp_ms":1783258594000,"timestamp_seconds":1783258594,"priority":1,"record_length":96,"hex_timestamp":"0000019f327ebad0"} 
[2026-07-05 19:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:07:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:07:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:07:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":124696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:07:45] local.INFO: GPS data processed {"connection_id":124696,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:07:45] local.INFO: Acknowledgment sent {"connection_id":124696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:08:04] local.INFO: TCP Data received {"connection_id":122768,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:08:04] local.INFO: Processing buffer {"connection_id":122768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:08:04] local.INFO: IMEI packet received {"connection_id":122768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":122768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:08:09] local.INFO: TCP Data received {"connection_id":122768,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:08:09] local.INFO: Processing buffer {"connection_id":122768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:08:09] local.INFO: IMEI packet received {"connection_id":122768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":122768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:08:10] local.INFO: TCP Data received {"connection_id":122768,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:08:10] local.INFO: Processing buffer {"connection_id":122768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:08:10] local.INFO: Packet analysis {"connection_id":122768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:08:10] local.INFO: Extracted packet for processing {"connection_id":122768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:08:10] 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-07-05 19:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783258594000,"timestamp_ms":1783258594000,"timestamp_seconds":1783258594,"priority":1,"record_length":96,"hex_timestamp":"0000019f327ebad0"} 
[2026-07-05 19:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:08:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":122768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:08:10] local.INFO: GPS data processed {"connection_id":122768,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:08:10] local.INFO: Acknowledgment sent {"connection_id":122768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:08:39] local.INFO: TCP Data received {"connection_id":123477,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:08:39] local.INFO: Processing buffer {"connection_id":123477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:08:39] local.INFO: IMEI packet received {"connection_id":123477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":123477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:08:41] local.INFO: TCP Data received {"connection_id":122768,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:08:41] local.INFO: Processing buffer {"connection_id":122768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:08:41] local.INFO: Packet analysis {"connection_id":122768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:08:41] local.INFO: Extracted packet for processing {"connection_id":122768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:08:41] 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-07-05 19:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783258594000,"timestamp_ms":1783258594000,"timestamp_seconds":1783258594,"priority":1,"record_length":96,"hex_timestamp":"0000019f327ebad0"} 
[2026-07-05 19:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:08: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-07-05 19:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:08:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":122768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:08:41] local.INFO: GPS data processed {"connection_id":122768,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:08:41] local.INFO: Acknowledgment sent {"connection_id":122768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:09:04] local.INFO: TCP Data received {"connection_id":122706,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:09:04] local.INFO: Processing buffer {"connection_id":122706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:09:04] local.INFO: IMEI packet received {"connection_id":122706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":122706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:09:04] local.INFO: TCP Data received {"connection_id":122707,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:09:04] local.INFO: Processing buffer {"connection_id":122707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:09:04] local.INFO: IMEI packet received {"connection_id":122707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":122707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:09:09] local.INFO: TCP Data received {"connection_id":122707,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:09:09] local.INFO: Processing buffer {"connection_id":122707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:09:09] local.INFO: IMEI packet received {"connection_id":122707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":122707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:09:10] local.INFO: TCP Data received {"connection_id":122707,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:09:10] local.INFO: Processing buffer {"connection_id":122707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:09:10] local.INFO: Packet analysis {"connection_id":122707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:09:10] local.INFO: Extracted packet for processing {"connection_id":122707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:09:10] 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-07-05 19:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783258594000,"timestamp_ms":1783258594000,"timestamp_seconds":1783258594,"priority":1,"record_length":96,"hex_timestamp":"0000019f327ebad0"} 
[2026-07-05 19:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:09:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":122707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:09:10] local.INFO: GPS data processed {"connection_id":122707,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:09:10] local.INFO: Acknowledgment sent {"connection_id":122707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:09:41] local.INFO: TCP Data received {"connection_id":122707,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:09:41] local.INFO: Processing buffer {"connection_id":122707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:09:41] local.INFO: Packet analysis {"connection_id":122707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:09:41] local.INFO: Extracted packet for processing {"connection_id":122707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:09:41] 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-07-05 19:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783258594000,"timestamp_ms":1783258594000,"timestamp_seconds":1783258594,"priority":1,"record_length":96,"hex_timestamp":"0000019f327ebad0"} 
[2026-07-05 19:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:09: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-07-05 19: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-07-05 19:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:09:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":122707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:09:41] local.INFO: GPS data processed {"connection_id":122707,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:09:41] local.INFO: Acknowledgment sent {"connection_id":122707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:10:09] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:10:09] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:10:09] local.INFO: IMEI packet received {"connection_id":124697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":124697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:10:14] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:10:14] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:10:14] local.INFO: IMEI packet received {"connection_id":124697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":124697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:10:16] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:10:16] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:10:16] local.INFO: Packet analysis {"connection_id":124697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:10:16] local.INFO: Extracted packet for processing {"connection_id":124697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:10:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 19:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:10:16] 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-07-05 19:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783258594000,"timestamp_ms":1783258594000,"timestamp_seconds":1783258594,"priority":1,"record_length":96,"hex_timestamp":"0000019f327ebad0"} 
[2026-07-05 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-07-05 19:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 19:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":124697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":124697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":124697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:10:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:10:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":124697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:10:16] local.INFO: GPS data processed {"connection_id":124697,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:10:16] local.INFO: Acknowledgment sent {"connection_id":124697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:10:20] local.INFO: TCP Data received {"connection_id":124697,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:10:20] local.INFO: Processing buffer {"connection_id":124697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:10:20] local.INFO: Packet analysis {"connection_id":124697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:10:20] local.INFO: Extracted packet for processing {"connection_id":124697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:10:20] 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-07-05 19:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783258594000,"timestamp_ms":1783258594000,"timestamp_seconds":1783258594,"priority":1,"record_length":96,"hex_timestamp":"0000019f327ebad0"} 
[2026-07-05 19:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:10:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":124697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:10:20] local.INFO: GPS data processed {"connection_id":124697,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:10:20] local.INFO: Acknowledgment sent {"connection_id":124697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:11:04] local.INFO: TCP Data received {"connection_id":122709,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:11:04] local.INFO: Processing buffer {"connection_id":122709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:11:04] local.INFO: IMEI packet received {"connection_id":122709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":122709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:11:09] local.INFO: TCP Data received {"connection_id":122709,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:11:09] local.INFO: Processing buffer {"connection_id":122709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:11:09] local.INFO: IMEI packet received {"connection_id":122709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":122709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:11:10] local.INFO: TCP Data received {"connection_id":122709,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:11:10] local.INFO: Processing buffer {"connection_id":122709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:11:10] local.INFO: Packet analysis {"connection_id":122709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:11:10] local.INFO: Extracted packet for processing {"connection_id":122709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:11:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:10] 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-07-05 19:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783258594000,"timestamp_ms":1783258594000,"timestamp_seconds":1783258594,"priority":1,"record_length":96,"hex_timestamp":"0000019f327ebad0"} 
[2026-07-05 19:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:11:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":122709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:11:10] local.INFO: GPS data processed {"connection_id":122709,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:11:10] local.INFO: Acknowledgment sent {"connection_id":122709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:11:16] local.INFO: TCP Data received {"connection_id":123479,"ip":"117.225.236.144","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:11:16] local.INFO: Processing buffer {"connection_id":123479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:11:16] local.INFO: IMEI packet received {"connection_id":123479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":123479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:11:19] local.INFO: TCP Data received {"connection_id":123479,"ip":"117.225.236.144","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:11:19] local.INFO: Processing buffer {"connection_id":123479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:11:19] local.INFO: IMEI packet received {"connection_id":123479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":123479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:11:22] local.INFO: TCP Data received {"connection_id":123479,"ip":"117.225.236.144","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:11:22] local.INFO: Processing buffer {"connection_id":123479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:11:22] local.INFO: IMEI packet received {"connection_id":123479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":123479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:11:23] local.INFO: TCP Data received {"connection_id":123479,"ip":"117.225.236.144","data_length":795,"data_hex":"000000000000030f8e0a0000019f32830478012d19a240071fd7d80032014825..."} 
[2026-07-05 19:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32830478012d19a240071fd7d80032014825..."} 
[2026-07-05 19:11:23] local.INFO: Processing buffer {"connection_id":123479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32830478012d19a240071fd7d80032014825..."} 
[2026-07-05 19:11:23] local.INFO: Packet analysis {"connection_id":123479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:11:23] local.INFO: Extracted packet for processing {"connection_id":123479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756654656,"raw_latitude":119527384,"longitude_deg":75.6654656,"latitude_deg":11.9527384,"altitude":50,"angle":328,"satellites":37,"speed":0,"hex_longitude":"2d19a240","hex_latitude":"071fd7d8","is_valid_coordinates":true} 
[2026-07-05 19:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514264320001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4707305631252480,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847109196518512640,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783258875000,"timestamp_ms":1783258875000,"timestamp_seconds":1783258875,"priority":1,"record_length":96,"hex_timestamp":"0000019f32830478"} 
[2026-07-05 19:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:11: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-07-05 19:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-05 19:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":123479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":123479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":123479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.236.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514264320001,"66":12461,"121":206,"28":31744,"24":0,"16":4707305631252480,"45":1847109196518512640},"client_ip":"117.225.236.144","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514264320001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:11:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:11:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4707305631252480,"km_value":4707305631252.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847109196518512640,"description":"Unknown IO ID 45"} 
[2026-07-05 19:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514264320001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1847109196518512640}} 
[2026-07-05 19:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":123479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:11:24] local.INFO: GPS data processed {"connection_id":123479,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:11:24] local.INFO: Acknowledgment sent {"connection_id":123479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:11:32] local.INFO: TCP Data received {"connection_id":123479,"ip":"117.225.236.144","data_length":795,"data_hex":"000000000000030f8e0a0000019f32830478012d19a240071fd7d80032014825..."} 
[2026-07-05 19:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32830478012d19a240071fd7d80032014825..."} 
[2026-07-05 19:11:32] local.INFO: Processing buffer {"connection_id":123479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32830478012d19a240071fd7d80032014825..."} 
[2026-07-05 19:11:32] local.INFO: Packet analysis {"connection_id":123479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:11:32] local.INFO: Extracted packet for processing {"connection_id":123479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756654656,"raw_latitude":119527384,"longitude_deg":75.6654656,"latitude_deg":11.9527384,"altitude":50,"angle":328,"satellites":37,"speed":0,"hex_longitude":"2d19a240","hex_latitude":"071fd7d8","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514264320001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4707305631252480,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847109196518512640,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783258875000,"timestamp_ms":1783258875000,"timestamp_seconds":1783258875,"priority":1,"record_length":96,"hex_timestamp":"0000019f32830478"} 
[2026-07-05 19:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:11:32] 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-07-05 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-05 19:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":123479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":123479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":123479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.236.144","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514264320001,"66":12461,"121":206,"28":31744,"24":0,"16":4707305631252480,"45":1847109196518512640},"client_ip":"117.225.236.144","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514264320001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:11:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4707305631252480,"km_value":4707305631252.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847109196518512640,"description":"Unknown IO ID 45"} 
[2026-07-05 19:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514264320001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1847109196518512640}} 
[2026-07-05 19:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":123479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:11:32] local.INFO: GPS data processed {"connection_id":123479,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:11:32] local.INFO: Acknowledgment sent {"connection_id":123479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:11:41] local.INFO: TCP Data received {"connection_id":122709,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:11:41] local.INFO: Processing buffer {"connection_id":122709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:11:41] local.INFO: Packet analysis {"connection_id":122709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:11:41] local.INFO: Extracted packet for processing {"connection_id":122709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:11:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:11:41] 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-07-05 19:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783258594000,"timestamp_ms":1783258594000,"timestamp_seconds":1783258594,"priority":1,"record_length":96,"hex_timestamp":"0000019f327ebad0"} 
[2026-07-05 19:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:11: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-07-05 19: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-07-05 19:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:11:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":122709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:11:41] local.INFO: GPS data processed {"connection_id":122709,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:11:41] local.INFO: Acknowledgment sent {"connection_id":122709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:12:04] local.INFO: TCP Data received {"connection_id":122770,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:12:04] local.INFO: Processing buffer {"connection_id":122770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:12:04] local.INFO: IMEI packet received {"connection_id":122770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":122770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:12:09] local.INFO: TCP Data received {"connection_id":122770,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:12:09] local.INFO: Processing buffer {"connection_id":122770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:12:09] local.INFO: IMEI packet received {"connection_id":122770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":122770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:12:10] local.INFO: TCP Data received {"connection_id":122770,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:12:10] local.INFO: Processing buffer {"connection_id":122770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327ebad0012cb2a24007823a980046013b26..."} 
[2026-07-05 19:12:10] local.INFO: Packet analysis {"connection_id":122770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:12:10] local.INFO: Extracted packet for processing {"connection_id":122770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f327e"} 
[2026-07-05 19:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514123008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:12:10] 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-07-05 19:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783258594000,"timestamp_ms":1783258594000,"timestamp_seconds":1783258594,"priority":1,"record_length":96,"hex_timestamp":"0000019f327ebad0"} 
[2026-07-05 19:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 19:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514123008001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514123008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:12:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514123008001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":122770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:12:10] local.INFO: GPS data processed {"connection_id":122770,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:12:10] local.INFO: Acknowledgment sent {"connection_id":122770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:12:43] local.INFO: TCP Data received {"connection_id":122770,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:12:43] local.INFO: Processing buffer {"connection_id":122770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:12:43] local.INFO: Packet analysis {"connection_id":122770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:12:43] local.INFO: Extracted packet for processing {"connection_id":122770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:12:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:12: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-07-05 19:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514200064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:12:43] 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-07-05 19:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783258895000,"timestamp_ms":1783258895000,"timestamp_seconds":1783258895,"priority":1,"record_length":96,"hex_timestamp":"0000019f32835298"} 
[2026-07-05 19:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:12: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-07-05 19:12: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-07-05 19:12: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-07-05 19:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514200064001,"66":24875,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514200064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:12:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:12:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514200064001,"power":24875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":122770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:12:43] local.INFO: GPS data processed {"connection_id":122770,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:12:43] local.INFO: Acknowledgment sent {"connection_id":122770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:13:09] local.INFO: TCP Data received {"connection_id":122771,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:13:09] local.INFO: Processing buffer {"connection_id":122771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:13:09] local.INFO: IMEI packet received {"connection_id":122771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":122771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:13:14] local.INFO: TCP Data received {"connection_id":122771,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:13:14] local.INFO: Processing buffer {"connection_id":122771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:13:14] local.INFO: IMEI packet received {"connection_id":122771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":122771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:13:15] local.INFO: TCP Data received {"connection_id":122771,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:13:15] local.INFO: Processing buffer {"connection_id":122771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:13:15] local.INFO: Packet analysis {"connection_id":122771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:13:15] local.INFO: Extracted packet for processing {"connection_id":122771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:13:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514200064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:13:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:13:15] 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-07-05 19:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783258895000,"timestamp_ms":1783258895000,"timestamp_seconds":1783258895,"priority":1,"record_length":96,"hex_timestamp":"0000019f32835298"} 
[2026-07-05 19:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514200064001,"66":24875,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514200064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:13:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:13:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:13:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514200064001,"power":24875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":122771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:13:15] local.INFO: GPS data processed {"connection_id":122771,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:13:15] local.INFO: Acknowledgment sent {"connection_id":122771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:13:20] local.INFO: TCP Data received {"connection_id":122771,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:13:20] local.INFO: Processing buffer {"connection_id":122771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:13:20] local.INFO: Packet analysis {"connection_id":122771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:13:20] local.INFO: Extracted packet for processing {"connection_id":122771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514200064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:13:20] 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-07-05 19:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783258895000,"timestamp_ms":1783258895000,"timestamp_seconds":1783258895,"priority":1,"record_length":96,"hex_timestamp":"0000019f32835298"} 
[2026-07-05 19:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514200064001,"66":24875,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514200064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:13:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514200064001,"power":24875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":122771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:13:20] local.INFO: GPS data processed {"connection_id":122771,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:13:20] local.INFO: Acknowledgment sent {"connection_id":122771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:14:04] local.INFO: TCP Data received {"connection_id":122710,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:14:04] local.INFO: Processing buffer {"connection_id":122710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:14:04] local.INFO: IMEI packet received {"connection_id":122710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":122710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:14:09] local.INFO: TCP Data received {"connection_id":122710,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:14:09] local.INFO: Processing buffer {"connection_id":122710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:14:09] local.INFO: IMEI packet received {"connection_id":122710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":122710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:14:10] local.INFO: TCP Data received {"connection_id":122710,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:14:10] local.INFO: Processing buffer {"connection_id":122710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:14:10] local.INFO: Packet analysis {"connection_id":122710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:14:10] local.INFO: Extracted packet for processing {"connection_id":122710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514200064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:14:10] 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-07-05 19:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783258895000,"timestamp_ms":1783258895000,"timestamp_seconds":1783258895,"priority":1,"record_length":96,"hex_timestamp":"0000019f32835298"} 
[2026-07-05 19:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514200064001,"66":24875,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514200064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:14:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514200064001,"power":24875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":122710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:14:10] local.INFO: GPS data processed {"connection_id":122710,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:14:10] local.INFO: Acknowledgment sent {"connection_id":122710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:14:15] local.INFO: TCP Data received {"connection_id":122710,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:14:15] local.INFO: Processing buffer {"connection_id":122710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:14:15] local.INFO: Packet analysis {"connection_id":122710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:14:15] local.INFO: Extracted packet for processing {"connection_id":122710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:14:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514200064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:14:15] 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-07-05 19:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783258895000,"timestamp_ms":1783258895000,"timestamp_seconds":1783258895,"priority":1,"record_length":96,"hex_timestamp":"0000019f32835298"} 
[2026-07-05 19:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514200064001,"66":24875,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514200064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514200064001,"power":24875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":122710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:14:15] local.INFO: GPS data processed {"connection_id":122710,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:14:15] local.INFO: Acknowledgment sent {"connection_id":122710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:14:34] local.INFO: TCP Data received {"connection_id":122711,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:14:34] local.INFO: Processing buffer {"connection_id":122711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:14:34] local.INFO: IMEI packet received {"connection_id":122711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":122711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:14:36] local.INFO: TCP Data received {"connection_id":123481,"ip":"117.225.236.144","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:36] local.INFO: Processing buffer {"connection_id":123481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:36] local.INFO: IMEI packet received {"connection_id":123481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":123481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:14:36] local.INFO: TCP Data received {"connection_id":123481,"ip":"117.225.236.144","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:36] local.INFO: Processing buffer {"connection_id":123481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:36] local.INFO: IMEI packet received {"connection_id":123481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":123481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:14:37] local.INFO: TCP Data received {"connection_id":123481,"ip":"117.225.236.144","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:37] local.INFO: Processing buffer {"connection_id":123481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:37] local.INFO: IMEI packet received {"connection_id":123481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":123481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:14:38] local.INFO: TCP Data received {"connection_id":123481,"ip":"117.225.236.144","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:38] local.INFO: Processing buffer {"connection_id":123481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:14:38] local.INFO: IMEI packet received {"connection_id":123481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":123481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:14:46] local.INFO: TCP Data received {"connection_id":122710,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:14:46] local.INFO: Processing buffer {"connection_id":122710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:14:46] local.INFO: Packet analysis {"connection_id":122710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:14:46] local.INFO: Extracted packet for processing {"connection_id":122710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:14:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514200064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:14:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:14:46] 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-07-05 19:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783258895000,"timestamp_ms":1783258895000,"timestamp_seconds":1783258895,"priority":1,"record_length":96,"hex_timestamp":"0000019f32835298"} 
[2026-07-05 19:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:14: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-07-05 19:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514200064001,"66":24875,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514200064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:14:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:14:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:14:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514200064001,"power":24875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":122710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:14:46] local.INFO: GPS data processed {"connection_id":122710,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:14:46] local.INFO: Acknowledgment sent {"connection_id":122710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:15:04] local.INFO: TCP Data received {"connection_id":122772,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:15:04] local.INFO: Processing buffer {"connection_id":122772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:15:04] local.INFO: IMEI packet received {"connection_id":122772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":122772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:15:09] local.INFO: TCP Data received {"connection_id":122773,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:15:09] local.INFO: Processing buffer {"connection_id":122773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:15:09] local.INFO: IMEI packet received {"connection_id":122773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":122773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:15:12] local.INFO: TCP Data received {"connection_id":122772,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:15:12] local.INFO: Processing buffer {"connection_id":122772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:15:12] local.INFO: IMEI packet received {"connection_id":122772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":122772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:15:13] local.INFO: TCP Data received {"connection_id":122772,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:15:13] local.INFO: Processing buffer {"connection_id":122772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:15:13] local.INFO: Packet analysis {"connection_id":122772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:15:13] local.INFO: Extracted packet for processing {"connection_id":122772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:15:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514200064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:15:13] 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-07-05 19:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783258895000,"timestamp_ms":1783258895000,"timestamp_seconds":1783258895,"priority":1,"record_length":96,"hex_timestamp":"0000019f32835298"} 
[2026-07-05 19:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514200064001,"66":24875,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514200064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:15:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514200064001,"power":24875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":122772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:15:13] local.INFO: GPS data processed {"connection_id":122772,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:15:13] local.INFO: Acknowledgment sent {"connection_id":122772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:15:44] local.INFO: TCP Data received {"connection_id":122772,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:15:44] local.INFO: Processing buffer {"connection_id":122772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:15:44] local.INFO: Packet analysis {"connection_id":122772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:15:44] local.INFO: Extracted packet for processing {"connection_id":122772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:15:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514200064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:15:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:15:44] 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-07-05 19:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783258895000,"timestamp_ms":1783258895000,"timestamp_seconds":1783258895,"priority":1,"record_length":96,"hex_timestamp":"0000019f32835298"} 
[2026-07-05 19:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:15: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-07-05 19:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":122772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":122772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":122772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514200064001,"66":24875,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514200064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:15:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:15:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:15:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514200064001,"power":24875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":122772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:15:44] local.INFO: GPS data processed {"connection_id":122772,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:15:44] local.INFO: Acknowledgment sent {"connection_id":122772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:16:04] local.INFO: TCP Data received {"connection_id":122775,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:16:04] local.INFO: Processing buffer {"connection_id":122775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:16:04] local.INFO: IMEI packet received {"connection_id":122775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":122775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:16:09] local.INFO: TCP Data received {"connection_id":122775,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:16:09] local.INFO: Processing buffer {"connection_id":122775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:16:09] local.INFO: IMEI packet received {"connection_id":122775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":122775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:16:11] local.INFO: TCP Data received {"connection_id":122775,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:16:11] local.INFO: Processing buffer {"connection_id":122775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:16:11] local.INFO: Packet analysis {"connection_id":122775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:16:11] local.INFO: Extracted packet for processing {"connection_id":122775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:16:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514200064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:16:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:16:11] 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-07-05 19:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783258895000,"timestamp_ms":1783258895000,"timestamp_seconds":1783258895,"priority":1,"record_length":96,"hex_timestamp":"0000019f32835298"} 
[2026-07-05 19:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514200064001,"66":24875,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514200064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:16:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:16:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:16:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514200064001,"power":24875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":122775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:16:11] local.INFO: GPS data processed {"connection_id":122775,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:16:11] local.INFO: Acknowledgment sent {"connection_id":122775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:16:42] local.INFO: TCP Data received {"connection_id":122775,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:16:42] local.INFO: Processing buffer {"connection_id":122775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:16:42] local.INFO: Packet analysis {"connection_id":122775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:16:42] local.INFO: Extracted packet for processing {"connection_id":122775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:16:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514200064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:16:42] 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-07-05 19:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783258895000,"timestamp_ms":1783258895000,"timestamp_seconds":1783258895,"priority":1,"record_length":96,"hex_timestamp":"0000019f32835298"} 
[2026-07-05 19:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:16: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-07-05 19:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514200064001,"66":24875,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514200064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:16:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514200064001,"power":24875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":122775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:16:42] local.INFO: GPS data processed {"connection_id":122775,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:16:42] local.INFO: Acknowledgment sent {"connection_id":122775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:17:04] local.INFO: TCP Data received {"connection_id":123482,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:17:04] local.INFO: Processing buffer {"connection_id":123482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:17:04] local.INFO: IMEI packet received {"connection_id":123482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":123482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:17:09] local.INFO: TCP Data received {"connection_id":123482,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:17:09] local.INFO: Processing buffer {"connection_id":123482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:17:09] local.INFO: IMEI packet received {"connection_id":123482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":123482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:17:10] local.INFO: TCP Data received {"connection_id":123482,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:17:10] local.INFO: Processing buffer {"connection_id":123482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32835298012cb2a24007823a980046013b26..."} 
[2026-07-05 19:17:10] local.INFO: Packet analysis {"connection_id":123482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:17:10] local.INFO: Extracted packet for processing {"connection_id":123482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3283"} 
[2026-07-05 19:17:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":70,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514200064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:17:10] 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-07-05 19:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783258895000,"timestamp_ms":1783258895000,"timestamp_seconds":1783258895,"priority":1,"record_length":96,"hex_timestamp":"0000019f32835298"} 
[2026-07-05 19:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514200064001,"66":24875,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514200064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:17:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514200064001,"power":24875,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":123482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:17:10] local.INFO: GPS data processed {"connection_id":123482,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:17:10] local.INFO: Acknowledgment sent {"connection_id":123482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:17:51] local.INFO: TCP Data received {"connection_id":123482,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:17:51] local.INFO: Processing buffer {"connection_id":123482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:17:51] local.INFO: Packet analysis {"connection_id":123482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:17:51] local.INFO: Extracted packet for processing {"connection_id":123482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:17:51] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514277120001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:17:51] 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-07-05 19:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783259196000,"timestamp_ms":1783259196000,"timestamp_seconds":1783259196,"priority":1,"record_length":96,"hex_timestamp":"0000019f3287ea60"} 
[2026-07-05 19:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-05 19:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":123482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":123482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":123482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514277120001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514277120001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:17:51] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514277120001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":123482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:17:51] local.INFO: GPS data processed {"connection_id":123482,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:17:51] local.INFO: Acknowledgment sent {"connection_id":123482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:18:09] local.INFO: TCP Data received {"connection_id":122714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:18:09] local.INFO: Processing buffer {"connection_id":122714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:18:09] local.INFO: IMEI packet received {"connection_id":122714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":122714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:18:14] local.INFO: TCP Data received {"connection_id":122714,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:18:14] local.INFO: Processing buffer {"connection_id":122714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:18:14] local.INFO: IMEI packet received {"connection_id":122714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":122714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:18:15] local.INFO: TCP Data received {"connection_id":122714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:18:15] local.INFO: Processing buffer {"connection_id":122714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:18:15] local.INFO: Packet analysis {"connection_id":122714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:18:15] local.INFO: Extracted packet for processing {"connection_id":122714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:18:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514277120001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:18:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:18:15] 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-07-05 19:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783259196000,"timestamp_ms":1783259196000,"timestamp_seconds":1783259196,"priority":1,"record_length":96,"hex_timestamp":"0000019f3287ea60"} 
[2026-07-05 19:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-05 19:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514277120001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514277120001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:18:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:18:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:18:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514277120001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":122714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:18:15] local.INFO: GPS data processed {"connection_id":122714,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:18:15] local.INFO: Acknowledgment sent {"connection_id":122714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:18:20] local.INFO: TCP Data received {"connection_id":122714,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:18:20] local.INFO: Processing buffer {"connection_id":122714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:18:20] local.INFO: Packet analysis {"connection_id":122714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:18:20] local.INFO: Extracted packet for processing {"connection_id":122714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:18:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514277120001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:18:20] 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-07-05 19:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783259196000,"timestamp_ms":1783259196000,"timestamp_seconds":1783259196,"priority":1,"record_length":96,"hex_timestamp":"0000019f3287ea60"} 
[2026-07-05 19:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-05 19:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514277120001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514277120001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:18:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514277120001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":122714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:18:20] local.INFO: GPS data processed {"connection_id":122714,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:18:20] local.INFO: Acknowledgment sent {"connection_id":122714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:19:04] local.INFO: TCP Data received {"connection_id":122716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:19:04] local.INFO: Processing buffer {"connection_id":122716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:19:04] local.INFO: IMEI packet received {"connection_id":122716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":122716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:19:09] local.INFO: TCP Data received {"connection_id":122716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:19:09] local.INFO: Processing buffer {"connection_id":122716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:19:09] local.INFO: IMEI packet received {"connection_id":122716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":122716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:19:10] local.INFO: TCP Data received {"connection_id":122716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:19:10] local.INFO: Processing buffer {"connection_id":122716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:19:10] local.INFO: Packet analysis {"connection_id":122716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:19:10] local.INFO: Extracted packet for processing {"connection_id":122716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:19:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514277120001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:19:10] 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-07-05 19:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259196000,"timestamp_ms":1783259196000,"timestamp_seconds":1783259196,"priority":1,"record_length":96,"hex_timestamp":"0000019f3287ea60"} 
[2026-07-05 19:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-05 19:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514277120001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514277120001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:19:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514277120001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":122716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:19:10] local.INFO: GPS data processed {"connection_id":122716,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:19:10] local.INFO: Acknowledgment sent {"connection_id":122716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:19:40] local.INFO: TCP Data received {"connection_id":122776,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:19:40] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:19:40] local.INFO: IMEI packet received {"connection_id":122776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":122776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:19:42] local.INFO: TCP Data received {"connection_id":122716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:19:42] local.INFO: Processing buffer {"connection_id":122716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:19:42] local.INFO: Packet analysis {"connection_id":122716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:19:42] local.INFO: Extracted packet for processing {"connection_id":122716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514277120001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:19:42] 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-07-05 19:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783259196000,"timestamp_ms":1783259196000,"timestamp_seconds":1783259196,"priority":1,"record_length":96,"hex_timestamp":"0000019f3287ea60"} 
[2026-07-05 19:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-05 19:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514277120001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514277120001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:19:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514277120001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":122716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:19:42] local.INFO: GPS data processed {"connection_id":122716,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:19:42] local.INFO: Acknowledgment sent {"connection_id":122716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:19:42] local.INFO: TCP Data received {"connection_id":122776,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328926c8012d19e1c0072008c80031011a25..."} 
[2026-07-05 19:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328926c8012d19e1c0072008c80031011a25..."} 
[2026-07-05 19:19:42] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328926c8012d19e1c0072008c80031011a25..."} 
[2026-07-05 19:19:42] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3289"} 
[2026-07-05 19:19:42] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3289"} 
[2026-07-05 19:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756670912,"raw_latitude":119539912,"longitude_deg":75.6670912,"latitude_deg":11.9539912,"altitude":49,"angle":282,"satellites":37,"speed":3,"hex_longitude":"2d19e1c0","hex_latitude":"072008c8","is_valid_coordinates":true} 
[2026-07-05 19:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514374400001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4708551171768320,"note":"Value kept but may cause issues"} 
[2026-07-05 19:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865123595031158784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:19:42] 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-07-05 19:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783259277000,"timestamp_ms":1783259277000,"timestamp_seconds":1783259277,"priority":1,"record_length":96,"hex_timestamp":"0000019f328926c8"} 
[2026-07-05 19:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:19:42] 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-07-05 19:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-05 19:19:42] 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-07-05 19:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514374400001,"66":13504,"101":206,"83":41984,"24":3,"16":4708551171768320,"45":1865123595031158784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-05 19:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514374400001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:19:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-05 19:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-05 19:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4708551171768320,"km_value":4708551171768.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865123595031158784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514374400001,"power":13504,"unknown_101":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1865123595031158784}} 
[2026-07-05 19:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:19:42] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:19:42] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:20:05] local.INFO: TCP Data received {"connection_id":123484,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:20:05] local.INFO: Processing buffer {"connection_id":123484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:20:05] local.INFO: IMEI packet received {"connection_id":123484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":123484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:20:09] local.INFO: TCP Data received {"connection_id":123484,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:20:09] local.INFO: Processing buffer {"connection_id":123484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:20:09] local.INFO: IMEI packet received {"connection_id":123484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":123484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:20:10] local.INFO: TCP Data received {"connection_id":123484,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:20:10] local.INFO: Processing buffer {"connection_id":123484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:20:10] local.INFO: Packet analysis {"connection_id":123484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:20:10] local.INFO: Extracted packet for processing {"connection_id":123484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514277120001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:10] 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-07-05 19:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259196000,"timestamp_ms":1783259196000,"timestamp_seconds":1783259196,"priority":1,"record_length":96,"hex_timestamp":"0000019f3287ea60"} 
[2026-07-05 19:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-05 19:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514277120001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514277120001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:20:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514277120001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":123484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:20:10] local.INFO: GPS data processed {"connection_id":123484,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:20:10] local.INFO: Acknowledgment sent {"connection_id":123484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:20:14] local.INFO: TCP Data received {"connection_id":122776,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328b0358012d19b8c0072066f0002c015c23..."} 
[2026-07-05 19:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328b0358012d19b8c0072066f0002c015c23..."} 
[2026-07-05 19:20:14] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328b0358012d19b8c0072066f0002c015c23..."} 
[2026-07-05 19:20:14] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328b"} 
[2026-07-05 19:20:14] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328b"} 
[2026-07-05 19:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756660416,"raw_latitude":119564016,"longitude_deg":75.6660416,"latitude_deg":11.9564016,"altitude":44,"angle":348,"satellites":35,"speed":38,"hex_longitude":"2d19b8c0","hex_latitude":"072066f0","is_valid_coordinates":true} 
[2026-07-05 19:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514406144001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4709899791499264,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383503880192,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783259399000,"timestamp_ms":1783259399000,"timestamp_seconds":1783259399,"priority":1,"record_length":96,"hex_timestamp":"0000019f328b0358"} 
[2026-07-05 19:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:20:14] 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-07-05 19:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-05 19:20:14] 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-07-05 19:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514406144001,"66":13450,"121":206,"28":31744,"24":38,"16":4709899791499264,"45":1853442383503880192},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514406144001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:20:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4709899791499264,"km_value":4709899791499.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383503880192,"description":"Unknown IO ID 45"} 
[2026-07-05 19:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514406144001,"power":13450,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1853442383503880192}} 
[2026-07-05 19:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:20:14] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:20:14] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:20:34] local.INFO: TCP Data received {"connection_id":123483,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:20:34] local.INFO: Processing buffer {"connection_id":123483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:20:34] local.INFO: IMEI packet received {"connection_id":123483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":123483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:20:41] local.INFO: TCP Data received {"connection_id":123484,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:20:41] local.INFO: Processing buffer {"connection_id":123484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:20:41] local.INFO: Packet analysis {"connection_id":123484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:20:41] local.INFO: Extracted packet for processing {"connection_id":123484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:20:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514277120001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:41] 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-07-05 19:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783259196000,"timestamp_ms":1783259196000,"timestamp_seconds":1783259196,"priority":1,"record_length":96,"hex_timestamp":"0000019f3287ea60"} 
[2026-07-05 19:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-05 19:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514277120001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514277120001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:20:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514277120001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":123484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:20:41] local.INFO: GPS data processed {"connection_id":123484,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:20:41] local.INFO: Acknowledgment sent {"connection_id":123484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:20:45] local.INFO: TCP Data received {"connection_id":122776,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328b0b28012d19b60007206e48002c014e23..."} 
[2026-07-05 19:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328b0b28012d19b60007206e48002c014e23..."} 
[2026-07-05 19:20:45] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328b0b28012d19b60007206e48002c014e23..."} 
[2026-07-05 19:20:45] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328b"} 
[2026-07-05 19:20:45] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328b"} 
[2026-07-05 19:20:45] local.INFO: GPS Element Parsed {"raw_longitude":756659712,"raw_latitude":119565896,"longitude_deg":75.6659712,"latitude_deg":11.9565896,"altitude":44,"angle":334,"satellites":35,"speed":39,"hex_longitude":"2d19b600","hex_latitude":"07206e48","is_valid_coordinates":true} 
[2026-07-05 19:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514406144001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4709994280779776,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853442383503880192,"note":"Value kept but may cause issues"} 
[2026-07-05 19:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783259401000,"timestamp_ms":1783259401000,"timestamp_seconds":1783259401,"priority":1,"record_length":96,"hex_timestamp":"0000019f328b0b28"} 
[2026-07-05 19:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:20:45] 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-07-05 19:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-05 19:20:45] 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-07-05 19:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514406144001,"66":13417,"121":206,"28":31744,"24":39,"16":4709994280779776,"45":1853442383503880192},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514406144001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:20:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:20:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4709994280779776,"km_value":4709994280779.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853442383503880192,"description":"Unknown IO ID 45"} 
[2026-07-05 19:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514406144001,"power":13417,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1853442383503880192}} 
[2026-07-05 19:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:20:45] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:20:45] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:21:04] local.INFO: TCP Data received {"connection_id":123485,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:21:04] local.INFO: Processing buffer {"connection_id":123485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:21:04] local.INFO: IMEI packet received {"connection_id":123485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":123485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:21:04] local.INFO: TCP Data received {"connection_id":123486,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:21:04] local.INFO: Processing buffer {"connection_id":123486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:21:04] local.INFO: IMEI packet received {"connection_id":123486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":123486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:21:09] local.INFO: TCP Data received {"connection_id":123486,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:21:09] local.INFO: Processing buffer {"connection_id":123486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:21:09] local.INFO: IMEI packet received {"connection_id":123486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":123486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:21:10] local.INFO: TCP Data received {"connection_id":123486,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:21:10] local.INFO: Processing buffer {"connection_id":123486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:21:10] local.INFO: Packet analysis {"connection_id":123486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:21:10] local.INFO: Extracted packet for processing {"connection_id":123486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:21:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 19:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514277120001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:10] 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-07-05 19:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259196000,"timestamp_ms":1783259196000,"timestamp_seconds":1783259196,"priority":1,"record_length":96,"hex_timestamp":"0000019f3287ea60"} 
[2026-07-05 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-07-05 19:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-05 19:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 19:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514277120001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514277120001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:21:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514277120001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":123486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:21:10] local.INFO: GPS data processed {"connection_id":123486,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:21:10] local.INFO: Acknowledgment sent {"connection_id":123486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:21:17] local.INFO: TCP Data received {"connection_id":122776,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c14c8012d195a400720a210003100cb23..."} 
[2026-07-05 19:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c14c8012d195a400720a210003100cb23..."} 
[2026-07-05 19:21:17] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c14c8012d195a400720a210003100cb23..."} 
[2026-07-05 19:21:17] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:21:17] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756636224,"raw_latitude":119579152,"longitude_deg":75.6636224,"latitude_deg":11.9579152,"altitude":49,"angle":203,"satellites":35,"speed":11,"hex_longitude":"2d195a40","hex_latitude":"0720a210","is_valid_coordinates":true} 
[2026-07-05 19:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514423040001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712077339918336,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826913366953103360,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783259469000,"timestamp_ms":1783259469000,"timestamp_seconds":1783259469,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c14c8"} 
[2026-07-05 19:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-05 19:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514423040001,"66":13559,"121":206,"28":31744,"24":11,"16":4712077339918336,"45":1826913366953103360},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514423040001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:21:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:21:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712077339918336,"km_value":4712077339918.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826913366953103360,"description":"Unknown IO ID 45"} 
[2026-07-05 19:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514423040001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1826913366953103360}} 
[2026-07-05 19:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:21:17] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:21:17] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:21:41] local.INFO: TCP Data received {"connection_id":123486,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:21:41] local.INFO: Processing buffer {"connection_id":123486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:21:41] local.INFO: Packet analysis {"connection_id":123486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:21:41] local.INFO: Extracted packet for processing {"connection_id":123486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:21:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514277120001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:41] 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-07-05 19:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783259196000,"timestamp_ms":1783259196000,"timestamp_seconds":1783259196,"priority":1,"record_length":96,"hex_timestamp":"0000019f3287ea60"} 
[2026-07-05 19:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-05 19:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514277120001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514277120001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:21:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514277120001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":123486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:21:41] local.INFO: GPS data processed {"connection_id":123486,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:21:41] local.INFO: Acknowledgment sent {"connection_id":123486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:21:49] local.INFO: TCP Data received {"connection_id":122776,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c18b0012d1959400720a158003000e723..."} 
[2026-07-05 19:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c18b0012d1959400720a158003000e723..."} 
[2026-07-05 19:21:49] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c18b0012d1959400720a158003000e723..."} 
[2026-07-05 19:21:49] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:21:49] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756635968,"raw_latitude":119578968,"longitude_deg":75.6635968,"latitude_deg":11.9578968,"altitude":48,"angle":231,"satellites":35,"speed":10,"hex_longitude":"2d195940","hex_latitude":"0720a158","is_valid_coordinates":true} 
[2026-07-05 19:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514424064001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712090224820224,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826842998208598016,"note":"Value kept but may cause issues"} 
[2026-07-05 19:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783259470000,"timestamp_ms":1783259470000,"timestamp_seconds":1783259470,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c18b0"} 
[2026-07-05 19:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:21: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-07-05 19:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-05 19:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514424064001,"66":13559,"121":206,"28":31744,"24":10,"16":4712090224820224,"45":1826842998208598016},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514424064001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:21:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:21:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712090224820224,"km_value":4712090224820.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826842998208598016,"description":"Unknown IO ID 45"} 
[2026-07-05 19:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514424064001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1826842998208598016}} 
[2026-07-05 19:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:21:49] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:21:49] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:22:04] local.INFO: TCP Data received {"connection_id":122777,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:22:04] local.INFO: Processing buffer {"connection_id":122777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:22:04] local.INFO: IMEI packet received {"connection_id":122777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":122777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:22:09] local.INFO: TCP Data received {"connection_id":122777,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:22:09] local.INFO: Processing buffer {"connection_id":122777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:22:09] local.INFO: IMEI packet received {"connection_id":122777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":122777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:22:10] local.INFO: TCP Data received {"connection_id":122777,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:22:10] local.INFO: Processing buffer {"connection_id":122777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3287ea60012cb2a24007823a980047013b29..."} 
[2026-07-05 19:22:10] local.INFO: Packet analysis {"connection_id":122777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:22:10] local.INFO: Extracted packet for processing {"connection_id":122777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3287"} 
[2026-07-05 19:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":71,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514277120001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:10] 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-07-05 19:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259196000,"timestamp_ms":1783259196000,"timestamp_seconds":1783259196,"priority":1,"record_length":96,"hex_timestamp":"0000019f3287ea60"} 
[2026-07-05 19:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-05 19:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514277120001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514277120001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:22:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514277120001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":122777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:22:10] local.INFO: GPS data processed {"connection_id":122777,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:22:10] local.INFO: Acknowledgment sent {"connection_id":122777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:22:20] local.INFO: TCP Data received {"connection_id":122776,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328cbcc0012d19610007207dc8003000bf23..."} 
[2026-07-05 19:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328cbcc0012d19610007207dc8003000bf23..."} 
[2026-07-05 19:22:20] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328cbcc0012d19610007207dc8003000bf23..."} 
[2026-07-05 19:22:20] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:22:20] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119569864,"longitude_deg":75.6637952,"latitude_deg":11.9569864,"altitude":48,"angle":191,"satellites":35,"speed":5,"hex_longitude":"2d196100","hex_latitude":"07207dc8","is_valid_coordinates":true} 
[2026-07-05 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514434816001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712678635339776,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828742954299056128,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783259512000,"timestamp_ms":1783259512000,"timestamp_seconds":1783259512,"priority":1,"record_length":96,"hex_timestamp":"0000019f328cbcc0"} 
[2026-07-05 19:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:22: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-07-05 19:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-05 19:22: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-07-05 19: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-07-05 19:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514434816001,"66":12645,"121":206,"28":31744,"24":5,"16":4712678635339776,"45":1828742954299056128},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514434816001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712678635339776,"km_value":4712678635339.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828742954299056128,"description":"Unknown IO ID 45"} 
[2026-07-05 19:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514434816001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1828742954299056128}} 
[2026-07-05 19:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:22:20] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:22:20] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:22:41] local.INFO: TCP Data received {"connection_id":122777,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:22:41] local.INFO: Processing buffer {"connection_id":122777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:22:41] local.INFO: Packet analysis {"connection_id":122777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:22:41] local.INFO: Extracted packet for processing {"connection_id":122777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:22:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514354176001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:41] 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-07-05 19:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783259497000,"timestamp_ms":1783259497000,"timestamp_seconds":1783259497,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c8228"} 
[2026-07-05 19:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 19:22: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-07-05 19:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514354176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514354176001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:22:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514354176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":122777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:22:41] local.INFO: GPS data processed {"connection_id":122777,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:22:41] local.INFO: Acknowledgment sent {"connection_id":122777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:22:52] local.INFO: TCP Data received {"connection_id":122776,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328cc0a8012d1960c007207d40003000d823..."} 
[2026-07-05 19:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328cc0a8012d1960c007207d40003000d823..."} 
[2026-07-05 19:22:52] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328cc0a8012d1960c007207d40003000d823..."} 
[2026-07-05 19:22:52] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:22:52] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756637888,"raw_latitude":119569728,"longitude_deg":75.6637888,"latitude_deg":11.9569728,"altitude":48,"angle":216,"satellites":35,"speed":5,"hex_longitude":"2d1960c0","hex_latitude":"07207d40","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514435072001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712687225274368,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828742954299017216,"note":"Value kept but may cause issues"} 
[2026-07-05 19:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1783259513000,"timestamp_ms":1783259513000,"timestamp_seconds":1783259513,"priority":1,"record_length":96,"hex_timestamp":"0000019f328cc0a8"} 
[2026-07-05 19:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:22:52] 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-07-05 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-05 19:22:52] 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-07-05 19: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-07-05 19:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514435072001,"66":13374,"121":206,"28":31744,"24":5,"16":4712687225274368,"45":1828742954299017216},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514435072001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:22:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:22:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712687225274368,"km_value":4712687225274.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828742954299017216,"description":"Unknown IO ID 45"} 
[2026-07-05 19:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514435072001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1828742954299017216}} 
[2026-07-05 19:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:22:52] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:22:52] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:23:04] local.INFO: TCP Data received {"connection_id":122717,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:23:04] local.INFO: Processing buffer {"connection_id":122717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:23:04] local.INFO: IMEI packet received {"connection_id":122717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":122717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:23:09] local.INFO: TCP Data received {"connection_id":122717,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:23:09] local.INFO: Processing buffer {"connection_id":122717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:23:09] local.INFO: IMEI packet received {"connection_id":122717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":122717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:23:14] local.INFO: TCP Data received {"connection_id":122717,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:23:14] local.INFO: Processing buffer {"connection_id":122717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:23:14] local.INFO: Packet analysis {"connection_id":122717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:23:14] local.INFO: Extracted packet for processing {"connection_id":122717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514354176001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:14] 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-07-05 19:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783259497000,"timestamp_ms":1783259497000,"timestamp_seconds":1783259497,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c8228"} 
[2026-07-05 19:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 19:23:14] 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-07-05 19:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514354176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514354176001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:23:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:23:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514354176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":122717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:23:14] local.INFO: GPS data processed {"connection_id":122717,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:23:14] local.INFO: Acknowledgment sent {"connection_id":122717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:23:17] local.INFO: TCP Data received {"connection_id":122717,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:23:17] local.INFO: Processing buffer {"connection_id":122717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:23:17] local.INFO: Packet analysis {"connection_id":122717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:23:17] local.INFO: Extracted packet for processing {"connection_id":122717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:23:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514354176001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:17] 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-07-05 19:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783259497000,"timestamp_ms":1783259497000,"timestamp_seconds":1783259497,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c8228"} 
[2026-07-05 19:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:23:17] 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-07-05 19: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 19:23:17] 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-07-05 19: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-07-05 19:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514354176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514354176001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:23:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:23:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514354176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":122717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:23:17] local.INFO: GPS data processed {"connection_id":122717,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:23:17] local.INFO: Acknowledgment sent {"connection_id":122717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:23:23] local.INFO: TCP Data received {"connection_id":122776,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328d12b0012d19608007207cc0003100d826..."} 
[2026-07-05 19:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328d12b0012d19608007207cc0003100d826..."} 
[2026-07-05 19:23:23] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328d12b0012d19608007207cc0003100d826..."} 
[2026-07-05 19:23:23] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328d"} 
[2026-07-05 19:23:23] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328d"} 
[2026-07-05 19:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756637824,"raw_latitude":119569600,"longitude_deg":75.6637824,"latitude_deg":11.95696,"altitude":49,"angle":216,"satellites":38,"speed":0,"hex_longitude":"2d196080","hex_latitude":"07207cc0","is_valid_coordinates":true} 
[2026-07-05 19:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514435328001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712700110176256,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828672585554804736,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783259534000,"timestamp_ms":1783259534000,"timestamp_seconds":1783259534,"priority":1,"record_length":96,"hex_timestamp":"0000019f328d12b0"} 
[2026-07-05 19:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-05 19:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514435328001,"66":12950,"121":206,"28":31744,"24":0,"16":4712700110176256,"45":1828672585554804736},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514435328001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:23:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:23:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712700110176256,"km_value":4712700110176.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828672585554804736,"description":"Unknown IO ID 45"} 
[2026-07-05 19:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514435328001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828672585554804736}} 
[2026-07-05 19:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:23:23] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:23:23] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:23:48] local.INFO: TCP Data received {"connection_id":122717,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:23:48] local.INFO: Processing buffer {"connection_id":122717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:23:48] local.INFO: Packet analysis {"connection_id":122717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:23:48] local.INFO: Extracted packet for processing {"connection_id":122717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:23:48] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514354176001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:48] 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-07-05 19:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783259497000,"timestamp_ms":1783259497000,"timestamp_seconds":1783259497,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c8228"} 
[2026-07-05 19:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:23: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-07-05 19: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 19:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514354176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514354176001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:23:48] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:23:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:23:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514354176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":122717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:23:48] local.INFO: GPS data processed {"connection_id":122717,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:23:48] local.INFO: Acknowledgment sent {"connection_id":122717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:23:55] local.INFO: TCP Data received {"connection_id":122776,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328d64b8012d19608007207cc0003100d825..."} 
[2026-07-05 19:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328d64b8012d19608007207cc0003100d825..."} 
[2026-07-05 19:23:55] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328d64b8012d19608007207cc0003100d825..."} 
[2026-07-05 19:23:55] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328d"} 
[2026-07-05 19:23:55] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328d"} 
[2026-07-05 19:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756637824,"raw_latitude":119569600,"longitude_deg":75.6637824,"latitude_deg":11.95696,"altitude":49,"angle":216,"satellites":37,"speed":0,"hex_longitude":"2d196080","hex_latitude":"07207cc0","is_valid_coordinates":true} 
[2026-07-05 19:23: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-07-05 19:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514440704001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712700110176256,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828602216810594304,"note":"Value kept but may cause issues"} 
[2026-07-05 19:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783259555000,"timestamp_ms":1783259555000,"timestamp_seconds":1783259555,"priority":1,"record_length":96,"hex_timestamp":"0000019f328d64b8"} 
[2026-07-05 19:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:23:55] 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-07-05 19:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-05 19:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:23: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-07-05 19:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514440704001,"66":12591,"121":206,"28":31744,"24":0,"16":4712700110176256,"45":1828602216810594304},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514440704001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:23:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712700110176256,"km_value":4712700110176.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828602216810594304,"description":"Unknown IO ID 45"} 
[2026-07-05 19:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514440704001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828602216810594304}} 
[2026-07-05 19:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:23:55] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:23:55] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:24:04] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:24:04] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:24:04] local.INFO: IMEI packet received {"connection_id":124700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":124700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:24:09] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:24:09] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:24:09] local.INFO: IMEI packet received {"connection_id":124700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":124700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:24:10] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:24:10] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:24:10] local.INFO: Packet analysis {"connection_id":124700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:24:10] local.INFO: Extracted packet for processing {"connection_id":124700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514354176001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:24:10] 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-07-05 19:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259497000,"timestamp_ms":1783259497000,"timestamp_seconds":1783259497,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c8228"} 
[2026-07-05 19:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:24: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-07-05 19:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 19:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514354176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514354176001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:24:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514354176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":124700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:24:10] local.INFO: GPS data processed {"connection_id":124700,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:24:10] local.INFO: Acknowledgment sent {"connection_id":124700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:24:27] local.INFO: TCP Data received {"connection_id":122776,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328db6c0012d19608007207cc0003100d826..."} 
[2026-07-05 19:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328db6c0012d19608007207cc0003100d826..."} 
[2026-07-05 19:24:27] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328db6c0012d19608007207cc0003100d826..."} 
[2026-07-05 19:24:27] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328d"} 
[2026-07-05 19:24:27] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328d"} 
[2026-07-05 19:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756637824,"raw_latitude":119569600,"longitude_deg":75.6637824,"latitude_deg":11.95696,"altitude":49,"angle":216,"satellites":38,"speed":0,"hex_longitude":"2d196080","hex_latitude":"07207cc0","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514446080001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712700110176256,"note":"Value kept but may cause issues"} 
[2026-07-05 19:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828602216810594304,"note":"Value kept but may cause issues"} 
[2026-07-05 19:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783259576000,"timestamp_ms":1783259576000,"timestamp_seconds":1783259576,"priority":1,"record_length":96,"hex_timestamp":"0000019f328db6c0"} 
[2026-07-05 19:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-05 19:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514446080001,"66":12798,"121":206,"28":31744,"24":0,"16":4712700110176256,"45":1828602216810594304},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514446080001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:24:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712700110176256,"km_value":4712700110176.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828602216810594304,"description":"Unknown IO ID 45"} 
[2026-07-05 19:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514446080001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828602216810594304}} 
[2026-07-05 19:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:24:27] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:24:27] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:24:42] local.INFO: TCP Data received {"connection_id":124700,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:24:42] local.INFO: Processing buffer {"connection_id":124700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:24:42] local.INFO: Packet analysis {"connection_id":124700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:24:42] local.INFO: Extracted packet for processing {"connection_id":124700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:24:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514354176001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:24:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:24:42] 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-07-05 19:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783259497000,"timestamp_ms":1783259497000,"timestamp_seconds":1783259497,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c8228"} 
[2026-07-05 19:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 19:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514354176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514354176001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:24:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:24:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:24:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514354176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":124700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:24:42] local.INFO: GPS data processed {"connection_id":124700,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:24:42] local.INFO: Acknowledgment sent {"connection_id":124700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:24:56] local.INFO: TCP Data received {"connection_id":123487,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:24:56] local.INFO: Processing buffer {"connection_id":123487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:24:56] local.INFO: IMEI packet received {"connection_id":123487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":123487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:25:01] local.INFO: TCP Data received {"connection_id":123487,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:25:01] local.INFO: Processing buffer {"connection_id":123487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:25:01] local.INFO: IMEI packet received {"connection_id":123487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":123487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:25:03] local.INFO: TCP Data received {"connection_id":123487,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328e08c8012d19608007207cc0003100d821..."} 
[2026-07-05 19:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328e08c8012d19608007207cc0003100d821..."} 
[2026-07-05 19:25:03] local.INFO: Processing buffer {"connection_id":123487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328e08c8012d19608007207cc0003100d821..."} 
[2026-07-05 19:25:03] local.INFO: Packet analysis {"connection_id":123487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328e"} 
[2026-07-05 19:25:03] local.INFO: Extracted packet for processing {"connection_id":123487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328e"} 
[2026-07-05 19:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756637824,"raw_latitude":119569600,"longitude_deg":75.6637824,"latitude_deg":11.95696,"altitude":49,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d196080","hex_latitude":"07207cc0","is_valid_coordinates":true} 
[2026-07-05 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-07-05 19:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514451456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712700110176256,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828602216810594304,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783259597000,"timestamp_ms":1783259597000,"timestamp_seconds":1783259597,"priority":1,"record_length":96,"hex_timestamp":"0000019f328e08c8"} 
[2026-07-05 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-07-05 19:25:03] 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-07-05 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-05 19:25: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-07-05 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-07-05 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-07-05 19:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":123487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":123487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":123487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514451456001,"66":12037,"121":206,"28":31744,"24":0,"16":4712700110176256,"45":1828602216810594304},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514451456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:25:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:25:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712700110176256,"km_value":4712700110176.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828602216810594304,"description":"Unknown IO ID 45"} 
[2026-07-05 19:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514451456001,"power":12037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828602216810594304}} 
[2026-07-05 19:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":123487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:25:03] local.INFO: GPS data processed {"connection_id":123487,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:25:03] local.INFO: Acknowledgment sent {"connection_id":123487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:25:04] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:25:04] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:25:04] local.INFO: IMEI packet received {"connection_id":122720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":122720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:25:09] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:25:09] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:25:09] local.INFO: IMEI packet received {"connection_id":122720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":122720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:25:10] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:25:10] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:25:10] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:25:10] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:25:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514354176001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:10] 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-07-05 19:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259497000,"timestamp_ms":1783259497000,"timestamp_seconds":1783259497,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c8228"} 
[2026-07-05 19:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 19:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514354176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514354176001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:25:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514354176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:25:10] local.INFO: GPS data processed {"connection_id":122720,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:25:10] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:25:34] local.INFO: TCP Data received {"connection_id":123487,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328e5ad0012d19608007207cc0003100d820..."} 
[2026-07-05 19:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328e5ad0012d19608007207cc0003100d820..."} 
[2026-07-05 19:25:34] local.INFO: Processing buffer {"connection_id":123487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328e5ad0012d19608007207cc0003100d820..."} 
[2026-07-05 19:25:34] local.INFO: Packet analysis {"connection_id":123487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328e"} 
[2026-07-05 19:25:34] local.INFO: Extracted packet for processing {"connection_id":123487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328e"} 
[2026-07-05 19:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756637824,"raw_latitude":119569600,"longitude_deg":75.6637824,"latitude_deg":11.95696,"altitude":49,"angle":216,"satellites":32,"speed":0,"hex_longitude":"2d196080","hex_latitude":"07207cc0","is_valid_coordinates":true} 
[2026-07-05 19:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514456832001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712700110176256,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828602216810594304,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783259618000,"timestamp_ms":1783259618000,"timestamp_seconds":1783259618,"priority":1,"record_length":96,"hex_timestamp":"0000019f328e5ad0"} 
[2026-07-05 19:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-05 19:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3190292480,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2361436161,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-05 19:25:34] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3145919,"corrected_to":0} 
[2026-07-05 19:25:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182070795829504,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2341414410184074275,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194972416,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:34] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,190,159,182,45,128,124,49,38,10,66,100,37,18,1,240,150,50,32,4,113,205,5,188,97,200,35,239,2,7,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0},{"io_id":200,"original":3145919,"validated":0}]} 
[2026-07-05 19:25:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531059744103989248,"timestamp_seconds":3531059744103989.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 19:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":123487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":123487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":123487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514456832001,"66":12645,"121":206,"28":31744,"24":0,"16":4712700110176256,"45":1828602216810594304},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514456832001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:25:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:25:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712700110176256,"km_value":4712700110176.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828602216810594304,"description":"Unknown IO ID 45"} 
[2026-07-05 19:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514456832001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828602216810594304}} 
[2026-07-05 19:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":123487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:25:34] local.INFO: GPS data processed {"connection_id":123487,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:25:34] local.INFO: Acknowledgment sent {"connection_id":123487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:25:41] local.INFO: TCP Data received {"connection_id":122720,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:25:41] local.INFO: Processing buffer {"connection_id":122720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:25:41] local.INFO: Packet analysis {"connection_id":122720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:25:41] local.INFO: Extracted packet for processing {"connection_id":122720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:25:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514354176001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:25:41] 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-07-05 19:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783259497000,"timestamp_ms":1783259497000,"timestamp_seconds":1783259497,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c8228"} 
[2026-07-05 19:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 19:25: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-07-05 19: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-07-05 19:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514354176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514354176001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:25:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514354176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":122720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:25:42] local.INFO: GPS data processed {"connection_id":122720,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:25:42] local.INFO: Acknowledgment sent {"connection_id":122720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:26:01] local.INFO: TCP Data received {"connection_id":123488,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:26:01] local.INFO: Processing buffer {"connection_id":123488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:26:01] local.INFO: IMEI packet received {"connection_id":123488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":123488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:26:03] local.INFO: TCP Data received {"connection_id":123488,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328eacd8012d19608007207cc0003100d822..."} 
[2026-07-05 19:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328eacd8012d19608007207cc0003100d822..."} 
[2026-07-05 19:26:03] local.INFO: Processing buffer {"connection_id":123488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328eacd8012d19608007207cc0003100d822..."} 
[2026-07-05 19:26:03] local.INFO: Packet analysis {"connection_id":123488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328e"} 
[2026-07-05 19:26:03] local.INFO: Extracted packet for processing {"connection_id":123488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328e"} 
[2026-07-05 19:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756637824,"raw_latitude":119569600,"longitude_deg":75.6637824,"latitude_deg":11.95696,"altitude":49,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d196080","hex_latitude":"07207cc0","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514462208001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712700110176256,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828602216810594304,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783259639000,"timestamp_ms":1783259639000,"timestamp_seconds":1783259639,"priority":1,"record_length":96,"hex_timestamp":"0000019f328eacd8"} 
[2026-07-05 19:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:26:03] 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-07-05 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-05 19:26: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-07-05 19: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-07-05 19:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":123488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":123488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":123488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514462208001,"66":12591,"121":206,"28":31744,"24":0,"16":4712700110176256,"45":1828602216810594304},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514462208001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:26:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712700110176256,"km_value":4712700110176.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828602216810594304,"description":"Unknown IO ID 45"} 
[2026-07-05 19:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514462208001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828602216810594304}} 
[2026-07-05 19:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":123488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:26:03] local.INFO: GPS data processed {"connection_id":123488,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:26:03] local.INFO: Acknowledgment sent {"connection_id":123488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:26:04] local.INFO: TCP Data received {"connection_id":122721,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:26:04] local.INFO: Processing buffer {"connection_id":122721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:26:04] local.INFO: IMEI packet received {"connection_id":122721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":122721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:26:09] local.INFO: TCP Data received {"connection_id":122721,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:26:09] local.INFO: Processing buffer {"connection_id":122721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:26:09] local.INFO: IMEI packet received {"connection_id":122721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":122721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:26:10] local.INFO: TCP Data received {"connection_id":122721,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:26:10] local.INFO: Processing buffer {"connection_id":122721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:26:10] local.INFO: Packet analysis {"connection_id":122721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:26:10] local.INFO: Extracted packet for processing {"connection_id":122721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514354176001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:10] 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-07-05 19:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259497000,"timestamp_ms":1783259497000,"timestamp_seconds":1783259497,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c8228"} 
[2026-07-05 19:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:26: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-07-05 19:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 19:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514354176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514354176001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:26:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514354176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":122721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:26:10] local.INFO: GPS data processed {"connection_id":122721,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:26:10] local.INFO: Acknowledgment sent {"connection_id":122721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:26:29] local.INFO: TCP Data received {"connection_id":124702,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:26:29] local.INFO: Processing buffer {"connection_id":124702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:26:29] local.INFO: IMEI packet received {"connection_id":124702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":124702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:26:34] local.INFO: TCP Data received {"connection_id":123488,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328efee0012d19608007207cc0003100d823..."} 
[2026-07-05 19:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328efee0012d19608007207cc0003100d823..."} 
[2026-07-05 19:26:34] local.INFO: Processing buffer {"connection_id":123488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328efee0012d19608007207cc0003100d823..."} 
[2026-07-05 19:26:34] local.INFO: Packet analysis {"connection_id":123488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328e"} 
[2026-07-05 19:26:34] local.INFO: Extracted packet for processing {"connection_id":123488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328e"} 
[2026-07-05 19:26:34] local.INFO: GPS Element Parsed {"raw_longitude":756637824,"raw_latitude":119569600,"longitude_deg":75.6637824,"latitude_deg":11.95696,"altitude":49,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d196080","hex_latitude":"07207cc0","is_valid_coordinates":true} 
[2026-07-05 19:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514467584001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712700110176256,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828602216810594304,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783259660000,"timestamp_ms":1783259660000,"timestamp_seconds":1783259660,"priority":1,"record_length":96,"hex_timestamp":"0000019f328efee0"} 
[2026-07-05 19:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-05 19:26:34] 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-07-05 19:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":123488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":123488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":123488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514467584001,"66":12526,"121":206,"28":31744,"24":0,"16":4712700110176256,"45":1828602216810594304},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514467584001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:26:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:26:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712700110176256,"km_value":4712700110176.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828602216810594304,"description":"Unknown IO ID 45"} 
[2026-07-05 19:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514467584001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828602216810594304}} 
[2026-07-05 19:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":123488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:26:35] local.INFO: GPS data processed {"connection_id":123488,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:26:35] local.INFO: Acknowledgment sent {"connection_id":123488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:26:41] local.INFO: TCP Data received {"connection_id":122721,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:26:41] local.INFO: Processing buffer {"connection_id":122721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:26:41] local.INFO: Packet analysis {"connection_id":122721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:26:41] local.INFO: Extracted packet for processing {"connection_id":122721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514354176001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:26:41] 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-07-05 19:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783259497000,"timestamp_ms":1783259497000,"timestamp_seconds":1783259497,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c8228"} 
[2026-07-05 19:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 19:26: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-07-05 19:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514354176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514354176001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:26:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514354176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":122721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:26:41] local.INFO: GPS data processed {"connection_id":122721,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:26:41] local.INFO: Acknowledgment sent {"connection_id":122721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:27:01] local.INFO: TCP Data received {"connection_id":122778,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:01] local.INFO: Processing buffer {"connection_id":122778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:01] local.INFO: IMEI packet received {"connection_id":122778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":122778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:27:04] local.INFO: TCP Data received {"connection_id":123489,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:27:04] local.INFO: Processing buffer {"connection_id":123489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:27:04] local.INFO: IMEI packet received {"connection_id":123489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":123489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:27:04] local.INFO: TCP Data received {"connection_id":122779,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:27:04] local.INFO: Processing buffer {"connection_id":122779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:27:04] local.INFO: IMEI packet received {"connection_id":122779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":122779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:27:06] local.INFO: TCP Data received {"connection_id":122778,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:06] local.INFO: Processing buffer {"connection_id":122778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:06] local.INFO: IMEI packet received {"connection_id":122778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":122778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:27:08] local.INFO: TCP Data received {"connection_id":122778,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328f50e8012d19608007207cc0003100d823..."} 
[2026-07-05 19:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328f50e8012d19608007207cc0003100d823..."} 
[2026-07-05 19:27:08] local.INFO: Processing buffer {"connection_id":122778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328f50e8012d19608007207cc0003100d823..."} 
[2026-07-05 19:27:08] local.INFO: Packet analysis {"connection_id":122778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328f"} 
[2026-07-05 19:27:08] local.INFO: Extracted packet for processing {"connection_id":122778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328f"} 
[2026-07-05 19:27:08] local.INFO: GPS Element Parsed {"raw_longitude":756637824,"raw_latitude":119569600,"longitude_deg":75.6637824,"latitude_deg":11.95696,"altitude":49,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d196080","hex_latitude":"07207cc0","is_valid_coordinates":true} 
[2026-07-05 19:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514472960001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712700110176256,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828602216810594304,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783259681000,"timestamp_ms":1783259681000,"timestamp_seconds":1783259681,"priority":1,"record_length":96,"hex_timestamp":"0000019f328f50e8"} 
[2026-07-05 19:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:27:08] 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-07-05 19:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-05 19:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":122778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":122778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":122778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514472960001,"66":12504,"121":206,"28":31744,"24":0,"16":4712700110176256,"45":1828602216810594304},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514472960001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:27:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:27:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712700110176256,"km_value":4712700110176.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828602216810594304,"description":"Unknown IO ID 45"} 
[2026-07-05 19:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514472960001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828602216810594304}} 
[2026-07-05 19:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":122778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:27:08] local.INFO: GPS data processed {"connection_id":122778,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:27:08] local.INFO: Acknowledgment sent {"connection_id":122778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:27:09] local.INFO: TCP Data received {"connection_id":122779,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:27:09] local.INFO: Processing buffer {"connection_id":122779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:27:09] local.INFO: IMEI packet received {"connection_id":122779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":122779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:27:10] local.INFO: TCP Data received {"connection_id":122779,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:27:10] local.INFO: Processing buffer {"connection_id":122779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328c8228012cb2a24007823a980043013b27..."} 
[2026-07-05 19:27:10] local.INFO: Packet analysis {"connection_id":122779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:27:10] local.INFO: Extracted packet for processing {"connection_id":122779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328c"} 
[2026-07-05 19:27:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514354176001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:10] 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-07-05 19:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259497000,"timestamp_ms":1783259497000,"timestamp_seconds":1783259497,"priority":1,"record_length":96,"hex_timestamp":"0000019f328c8228"} 
[2026-07-05 19:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:27: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-07-05 19:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 19:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514354176001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514354176001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:27:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514354176001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":122779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:27:10] local.INFO: GPS data processed {"connection_id":122779,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:27:10] local.INFO: Acknowledgment sent {"connection_id":122779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:27:11] local.INFO: TCP Data received {"connection_id":122778,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328f9f08012d19608007207cc0003100d822..."} 
[2026-07-05 19:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328f9f08012d19608007207cc0003100d822..."} 
[2026-07-05 19:27:11] local.INFO: Processing buffer {"connection_id":122778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328f9f08012d19608007207cc0003100d822..."} 
[2026-07-05 19:27:11] local.INFO: Packet analysis {"connection_id":122778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328f"} 
[2026-07-05 19:27:11] local.INFO: Extracted packet for processing {"connection_id":122778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328f"} 
[2026-07-05 19:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756637824,"raw_latitude":119569600,"longitude_deg":75.6637824,"latitude_deg":11.95696,"altitude":49,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d196080","hex_latitude":"07207cc0","is_valid_coordinates":true} 
[2026-07-05 19:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514478336001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712700110176256,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828602216810594304,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783259701000,"timestamp_ms":1783259701000,"timestamp_seconds":1783259701,"priority":1,"record_length":96,"hex_timestamp":"0000019f328f9f08"} 
[2026-07-05 19:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:27:11] 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-07-05 19:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-05 19:27:11] 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-07-05 19:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514478336001,"66":12461,"121":206,"28":31744,"24":0,"16":4712700110176256,"45":1828602216810594304},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514478336001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:27:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712700110176256,"km_value":4712700110176.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828602216810594304,"description":"Unknown IO ID 45"} 
[2026-07-05 19:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514478336001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828602216810594304}} 
[2026-07-05 19:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":122778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:27:11] local.INFO: GPS data processed {"connection_id":122778,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:27:11] local.INFO: Acknowledgment sent {"connection_id":122778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:27:41] local.INFO: TCP Data received {"connection_id":122779,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:27:41] local.INFO: Processing buffer {"connection_id":122779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:27:41] local.INFO: Packet analysis {"connection_id":122779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:27:41] local.INFO: Extracted packet for processing {"connection_id":122779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:27:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514431232001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:27:41] 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-07-05 19:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783259798000,"timestamp_ms":1783259798000,"timestamp_seconds":1783259798,"priority":1,"record_length":96,"hex_timestamp":"0000019f329119f0"} 
[2026-07-05 19:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:27: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-07-05 19: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-07-05 19:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514431232001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514431232001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:27:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514431232001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":122779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:27:41] local.INFO: GPS data processed {"connection_id":122779,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:27:41] local.INFO: Acknowledgment sent {"connection_id":122779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:27:53] local.INFO: TCP Data received {"connection_id":124703,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:53] local.INFO: Processing buffer {"connection_id":124703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:53] local.INFO: IMEI packet received {"connection_id":124703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":124703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:27:56] local.INFO: TCP Data received {"connection_id":124703,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:56] local.INFO: Processing buffer {"connection_id":124703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:27:56] local.INFO: IMEI packet received {"connection_id":124703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":124703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:28:01] local.INFO: TCP Data received {"connection_id":124703,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:01] local.INFO: Processing buffer {"connection_id":124703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:01] local.INFO: IMEI packet received {"connection_id":124703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":124703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:28:03] local.INFO: TCP Data received {"connection_id":124703,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f328ff110012d19608007207cc0003100d824..."} 
[2026-07-05 19:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f328ff110012d19608007207cc0003100d824..."} 
[2026-07-05 19:28:03] local.INFO: Processing buffer {"connection_id":124703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f328ff110012d19608007207cc0003100d824..."} 
[2026-07-05 19:28:03] local.INFO: Packet analysis {"connection_id":124703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f328f"} 
[2026-07-05 19:28:03] local.INFO: Extracted packet for processing {"connection_id":124703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f328f"} 
[2026-07-05 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756637824,"raw_latitude":119569600,"longitude_deg":75.6637824,"latitude_deg":11.95696,"altitude":49,"angle":216,"satellites":36,"speed":0,"hex_longitude":"2d196080","hex_latitude":"07207cc0","is_valid_coordinates":true} 
[2026-07-05 19:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514483456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712700110176256,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828602216810594304,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783259722000,"timestamp_ms":1783259722000,"timestamp_seconds":1783259722,"priority":1,"record_length":96,"hex_timestamp":"0000019f328ff110"} 
[2026-07-05 19:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-05 19:28: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-07-05 19:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514483456001,"66":12461,"121":206,"28":31744,"24":0,"16":4712700110176256,"45":1828602216810594304},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514483456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:28:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712700110176256,"km_value":4712700110176.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828602216810594304,"description":"Unknown IO ID 45"} 
[2026-07-05 19:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514483456001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828602216810594304}} 
[2026-07-05 19:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":124703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:28:03] local.INFO: GPS data processed {"connection_id":124703,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:28:03] local.INFO: Acknowledgment sent {"connection_id":124703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:28:05] local.INFO: TCP Data received {"connection_id":122722,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:28:05] local.INFO: Processing buffer {"connection_id":122722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:28:05] local.INFO: IMEI packet received {"connection_id":122722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":122722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:28:09] local.INFO: TCP Data received {"connection_id":122722,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:28:09] local.INFO: Processing buffer {"connection_id":122722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:28:09] local.INFO: IMEI packet received {"connection_id":122722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":122722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:28:10] local.INFO: TCP Data received {"connection_id":122722,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:28:10] local.INFO: Processing buffer {"connection_id":122722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:28:10] local.INFO: Packet analysis {"connection_id":122722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:28:10] local.INFO: Extracted packet for processing {"connection_id":122722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514431232001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:10] 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-07-05 19:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259798000,"timestamp_ms":1783259798000,"timestamp_seconds":1783259798,"priority":1,"record_length":96,"hex_timestamp":"0000019f329119f0"} 
[2026-07-05 19:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:28: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-07-05 19:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514431232001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514431232001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:28:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514431232001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":122722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:28:10] local.INFO: GPS data processed {"connection_id":122722,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:28:10] local.INFO: Acknowledgment sent {"connection_id":122722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:28:34] local.INFO: TCP Data received {"connection_id":124703,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32925658012d19618007207ca80033014f27..."} 
[2026-07-05 19:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32925658012d19618007207ca80033014f27..."} 
[2026-07-05 19:28:34] local.INFO: Processing buffer {"connection_id":124703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32925658012d19618007207ca80033014f27..."} 
[2026-07-05 19:28:34] local.INFO: Packet analysis {"connection_id":124703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3292"} 
[2026-07-05 19:28:34] local.INFO: Extracted packet for processing {"connection_id":124703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3292"} 
[2026-07-05 19:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756638080,"raw_latitude":119569576,"longitude_deg":75.663808,"latitude_deg":11.9569576,"altitude":51,"angle":335,"satellites":39,"speed":7,"hex_longitude":"2d196180","hex_latitude":"07207ca8","is_valid_coordinates":true} 
[2026-07-05 19:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514528768001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4712807484358656,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829024429275615232,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783259879000,"timestamp_ms":1783259879000,"timestamp_seconds":1783259879,"priority":1,"record_length":96,"hex_timestamp":"0000019f32925658"} 
[2026-07-05 19:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:28: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-07-05 19:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-05 19:28: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-07-05 19:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514528768001,"66":13472,"121":206,"28":31744,"24":7,"16":4712807484358656,"45":1829024429275615232},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514528768001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:28:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:28:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4712807484358656,"km_value":4712807484358.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829024429275615232,"description":"Unknown IO ID 45"} 
[2026-07-05 19:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514528768001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1829024429275615232}} 
[2026-07-05 19:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":124703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:28:34] local.INFO: GPS data processed {"connection_id":124703,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:28:34] local.INFO: Acknowledgment sent {"connection_id":124703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:28:41] local.INFO: TCP Data received {"connection_id":122722,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:28:41] local.INFO: Processing buffer {"connection_id":122722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:28:41] local.INFO: Packet analysis {"connection_id":122722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:28:41] local.INFO: Extracted packet for processing {"connection_id":122722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514431232001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:28:41] 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-07-05 19:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783259798000,"timestamp_ms":1783259798000,"timestamp_seconds":1783259798,"priority":1,"record_length":96,"hex_timestamp":"0000019f329119f0"} 
[2026-07-05 19:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:28: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-07-05 19:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514431232001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514431232001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:28:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514431232001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":122722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:28:41] local.INFO: GPS data processed {"connection_id":122722,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:28:41] local.INFO: Acknowledgment sent {"connection_id":122722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:28:54] local.INFO: TCP Data received {"connection_id":122723,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:54] local.INFO: Processing buffer {"connection_id":122723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:54] local.INFO: IMEI packet received {"connection_id":122723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":122723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:28:56] local.INFO: TCP Data received {"connection_id":122723,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:56] local.INFO: Processing buffer {"connection_id":122723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:56] local.INFO: IMEI packet received {"connection_id":122723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":122723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:28:57] local.INFO: TCP Data received {"connection_id":122723,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:57] local.INFO: Processing buffer {"connection_id":122723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:57] local.INFO: IMEI packet received {"connection_id":122723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":122723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:28:59] local.INFO: TCP Data received {"connection_id":122723,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:59] local.INFO: Processing buffer {"connection_id":122723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:28:59] local.INFO: IMEI packet received {"connection_id":122723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":122723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:29:00] local.INFO: TCP Data received {"connection_id":122723,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32930df0012d19540007209dc00035004721..."} 
[2026-07-05 19:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32930df0012d19540007209dc00035004721..."} 
[2026-07-05 19:29:00] local.INFO: Processing buffer {"connection_id":122723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32930df0012d19540007209dc00035004721..."} 
[2026-07-05 19:29:00] local.INFO: Packet analysis {"connection_id":122723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3293"} 
[2026-07-05 19:29:00] local.INFO: Extracted packet for processing {"connection_id":122723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3293"} 
[2026-07-05 19:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756634624,"raw_latitude":119578048,"longitude_deg":75.6634624,"latitude_deg":11.9578048,"altitude":53,"angle":71,"satellites":33,"speed":11,"hex_longitude":"2d195400","hex_latitude":"07209dc0","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514540544001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4713322880434176,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829650393088,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783259926000,"timestamp_ms":1783259926000,"timestamp_seconds":1783259926,"priority":1,"record_length":96,"hex_timestamp":"0000019f32930df0"} 
[2026-07-05 19:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-05 19:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":122723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":122723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":122723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514540544001,"66":13580,"121":206,"28":31744,"24":11,"16":4713322880434176,"45":1824520829650393088},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514540544001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:29:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4713322880434176,"km_value":4713322880434.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829650393088,"description":"Unknown IO ID 45"} 
[2026-07-05 19:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514540544001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1824520829650393088}} 
[2026-07-05 19:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":122723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:29:00] local.INFO: GPS data processed {"connection_id":122723,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:29:00] local.INFO: Acknowledgment sent {"connection_id":122723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:29:04] local.INFO: TCP Data received {"connection_id":122725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:29:04] local.INFO: Processing buffer {"connection_id":122725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:29:04] local.INFO: IMEI packet received {"connection_id":122725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":122725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:29:09] local.INFO: TCP Data received {"connection_id":122725,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:29:09] local.INFO: Processing buffer {"connection_id":122725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:29:09] local.INFO: IMEI packet received {"connection_id":122725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":122725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:29:10] local.INFO: TCP Data received {"connection_id":122725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:29:10] local.INFO: Processing buffer {"connection_id":122725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:29:10] local.INFO: Packet analysis {"connection_id":122725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:29:10] local.INFO: Extracted packet for processing {"connection_id":122725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514431232001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:10] 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-07-05 19:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259798000,"timestamp_ms":1783259798000,"timestamp_seconds":1783259798,"priority":1,"record_length":96,"hex_timestamp":"0000019f329119f0"} 
[2026-07-05 19:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:29: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-07-05 19:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514431232001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514431232001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:29:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514431232001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":122725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:29:10] local.INFO: GPS data processed {"connection_id":122725,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:29:10] local.INFO: Acknowledgment sent {"connection_id":122725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:29:32] local.INFO: TCP Data received {"connection_id":122723,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f329319a8012d19578007209ea00036005722..."} 
[2026-07-05 19:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329319a8012d19578007209ea00036005722..."} 
[2026-07-05 19:29:32] local.INFO: Processing buffer {"connection_id":122723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329319a8012d19578007209ea00036005722..."} 
[2026-07-05 19:29:32] local.INFO: Packet analysis {"connection_id":122723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3293"} 
[2026-07-05 19:29:32] local.INFO: Extracted packet for processing {"connection_id":122723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3293"} 
[2026-07-05 19:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119578272,"longitude_deg":75.663552,"latitude_deg":11.9578272,"altitude":54,"angle":87,"satellites":34,"speed":11,"hex_longitude":"2d195780","hex_latitude":"07209ea0","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514541056001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4713365830107136,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825083779603873792,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783259929000,"timestamp_ms":1783259929000,"timestamp_seconds":1783259929,"priority":1,"record_length":96,"hex_timestamp":"0000019f329319a8"} 
[2026-07-05 19:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867790014,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3198156800,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5271181923220193290,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2465628161,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2592079925,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632500151445369,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3221692565,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917302633589846500,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":25,"raw_value":5782629758032937011,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,190,159,6,45,156,53,37,10,66,254,155,250,64,1,240,134,50,32,4,113,205,219,79,104,239,51,2,7,52,25,124],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-05 19:29:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819130691070394368,"timestamp_seconds":3819130691070394.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 19:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":122723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":122723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":122723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514541056001,"66":13493,"121":206,"28":31744,"24":11,"16":4713365830107136,"45":1825083779603873792},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514541056001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:29:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:29:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4713365830107136,"km_value":4713365830107.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825083779603873792,"description":"Unknown IO ID 45"} 
[2026-07-05 19:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514541056001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1825083779603873792}} 
[2026-07-05 19:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":122723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:29:32] local.INFO: GPS data processed {"connection_id":122723,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:29:32] local.INFO: Acknowledgment sent {"connection_id":122723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:29:41] local.INFO: TCP Data received {"connection_id":122725,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:29:41] local.INFO: Processing buffer {"connection_id":122725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:29:41] local.INFO: Packet analysis {"connection_id":122725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:29:41] local.INFO: Extracted packet for processing {"connection_id":122725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514431232001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:29:41] 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-07-05 19:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783259798000,"timestamp_ms":1783259798000,"timestamp_seconds":1783259798,"priority":1,"record_length":96,"hex_timestamp":"0000019f329119f0"} 
[2026-07-05 19:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514431232001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514431232001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:29:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514431232001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":122725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:29:41] local.INFO: GPS data processed {"connection_id":122725,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:29:41] local.INFO: Acknowledgment sent {"connection_id":122725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:29:57] local.INFO: TCP Data received {"connection_id":123490,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:29:57] local.INFO: Processing buffer {"connection_id":123490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:29:57] local.INFO: IMEI packet received {"connection_id":123490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":123490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:30:01] local.INFO: TCP Data received {"connection_id":123490,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:30:01] local.INFO: Processing buffer {"connection_id":123490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:30:01] local.INFO: IMEI packet received {"connection_id":123490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":123490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:30:02] local.INFO: TCP Data received {"connection_id":123490,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f3293a260012d1920000720bf200033012124..."} 
[2026-07-05 19:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3293a260012d1920000720bf200033012124..."} 
[2026-07-05 19:30:02] local.INFO: Processing buffer {"connection_id":123490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3293a260012d1920000720bf200033012124..."} 
[2026-07-05 19:30:02] local.INFO: Packet analysis {"connection_id":123490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3293"} 
[2026-07-05 19:30:02] local.INFO: Extracted packet for processing {"connection_id":123490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3293"} 
[2026-07-05 19:30:02] local.INFO: GPS Element Parsed {"raw_longitude":756621312,"raw_latitude":119586592,"longitude_deg":75.6621312,"latitude_deg":11.9586592,"altitude":51,"angle":289,"satellites":36,"speed":44,"hex_longitude":"2d192000","hex_latitude":"0720bf20","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514548480001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4714297838010368,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819454280070789120,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783259964000,"timestamp_ms":1783259964000,"timestamp_seconds":1783259964,"priority":1,"record_length":96,"hex_timestamp":"0000019f3293a260"} 
[2026-07-05 19:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:30:02] 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-07-05 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-05 19:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":123490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":123490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":123490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514548480001,"66":13493,"121":206,"28":31744,"24":44,"16":4714297838010368,"45":1819454280070789120},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514548480001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:30:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:30:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4714297838010368,"km_value":4714297838010.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819454280070789120,"description":"Unknown IO ID 45"} 
[2026-07-05 19:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514548480001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1819454280070789120}} 
[2026-07-05 19:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":123490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:30:02] local.INFO: GPS data processed {"connection_id":123490,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:30:02] local.INFO: Acknowledgment sent {"connection_id":123490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:30:04] local.INFO: TCP Data received {"connection_id":122780,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:30:04] local.INFO: Processing buffer {"connection_id":122780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:30:04] local.INFO: IMEI packet received {"connection_id":122780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":122780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:30:09] local.INFO: TCP Data received {"connection_id":122780,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:30:09] local.INFO: Processing buffer {"connection_id":122780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:30:09] local.INFO: IMEI packet received {"connection_id":122780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":122780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:30:10] local.INFO: TCP Data received {"connection_id":122780,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:30:10] local.INFO: Processing buffer {"connection_id":122780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:30:10] local.INFO: Packet analysis {"connection_id":122780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:30:10] local.INFO: Extracted packet for processing {"connection_id":122780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:30:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514431232001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:10] 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-07-05 19:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259798000,"timestamp_ms":1783259798000,"timestamp_seconds":1783259798,"priority":1,"record_length":96,"hex_timestamp":"0000019f329119f0"} 
[2026-07-05 19:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514431232001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514431232001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:30:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514431232001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":122780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:30:10] local.INFO: GPS data processed {"connection_id":122780,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:30:10] local.INFO: Acknowledgment sent {"connection_id":122780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:30:34] local.INFO: TCP Data received {"connection_id":123490,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f3293c1a0012d1905000720cc600037012f23..."} 
[2026-07-05 19:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3293c1a0012d1905000720cc600037012f23..."} 
[2026-07-05 19:30:34] local.INFO: Processing buffer {"connection_id":123490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3293c1a0012d1905000720cc600037012f23..."} 
[2026-07-05 19:30:34] local.INFO: Packet analysis {"connection_id":123490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3293"} 
[2026-07-05 19:30:34] local.INFO: Extracted packet for processing {"connection_id":123490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3293"} 
[2026-07-05 19:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756614400,"raw_latitude":119589984,"longitude_deg":75.66144,"latitude_deg":11.9589984,"altitude":55,"angle":303,"satellites":35,"speed":31,"hex_longitude":"2d190500","hex_latitude":"0720cc60","is_valid_coordinates":true} 
[2026-07-05 19:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514550784001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4714667205197824,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810447080817106944,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783259972000,"timestamp_ms":1783259972000,"timestamp_seconds":1783259972,"priority":1,"record_length":96,"hex_timestamp":"0000019f3293c1a0"} 
[2026-07-05 19:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:30: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-07-05 19:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-05 19:30: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-07-05 19:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":123490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":123490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":123490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514550784001,"66":13624,"121":206,"28":31744,"24":31,"16":4714667205197824,"45":1810447080817106944},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514550784001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:30:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:30:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4714667205197824,"km_value":4714667205197.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810447080817106944,"description":"Unknown IO ID 45"} 
[2026-07-05 19:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514550784001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1810447080817106944}} 
[2026-07-05 19:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":123490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:30:34] local.INFO: GPS data processed {"connection_id":123490,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:30:34] local.INFO: Acknowledgment sent {"connection_id":123490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:30:41] local.INFO: TCP Data received {"connection_id":122780,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:30:41] local.INFO: Processing buffer {"connection_id":122780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:30:41] local.INFO: Packet analysis {"connection_id":122780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:30:41] local.INFO: Extracted packet for processing {"connection_id":122780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:30:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514431232001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:30:41] 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-07-05 19:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783259798000,"timestamp_ms":1783259798000,"timestamp_seconds":1783259798,"priority":1,"record_length":96,"hex_timestamp":"0000019f329119f0"} 
[2026-07-05 19:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:30: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-07-05 19: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-07-05 19:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514431232001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514431232001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:30:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514431232001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":122780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:30:41] local.INFO: GPS data processed {"connection_id":122780,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:30:41] local.INFO: Acknowledgment sent {"connection_id":122780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:30:56] local.INFO: TCP Data received {"connection_id":123491,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:30:56] local.INFO: Processing buffer {"connection_id":123491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:30:56] local.INFO: IMEI packet received {"connection_id":123491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":123491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:31:01] local.INFO: TCP Data received {"connection_id":123491,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:31:01] local.INFO: Processing buffer {"connection_id":123491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:31:01] local.INFO: IMEI packet received {"connection_id":123491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":123491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:31:03] local.INFO: TCP Data received {"connection_id":123491,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32948108012d18c3c007214f40003f015d22..."} 
[2026-07-05 19:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32948108012d18c3c007214f40003f015d22..."} 
[2026-07-05 19:31:03] local.INFO: Processing buffer {"connection_id":123491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32948108012d18c3c007214f40003f015d22..."} 
[2026-07-05 19:31:03] local.INFO: Packet analysis {"connection_id":123491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3294"} 
[2026-07-05 19:31:03] local.INFO: Extracted packet for processing {"connection_id":123491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3294"} 
[2026-07-05 19:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119623488,"longitude_deg":75.6597696,"latitude_deg":11.9623488,"altitude":63,"angle":349,"satellites":34,"speed":30,"hex_longitude":"2d18c3c0","hex_latitude":"07214f40","is_valid_coordinates":true} 
[2026-07-05 19:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514564864001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4716565580742656,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968784896,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783260021000,"timestamp_ms":1783260021000,"timestamp_seconds":1783260021,"priority":1,"record_length":96,"hex_timestamp":"0000019f32948108"} 
[2026-07-05 19:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:31: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-07-05 19:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-05 19:31: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-07-05 19:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":123491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":123491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":123491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514564864001,"66":13493,"121":206,"28":31744,"24":30,"16":4716565580742656,"45":1784551382968784896},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514564864001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:31:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4716565580742656,"km_value":4716565580742.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968784896,"description":"Unknown IO ID 45"} 
[2026-07-05 19:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514564864001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784551382968784896}} 
[2026-07-05 19:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":123491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:31:03] local.INFO: GPS data processed {"connection_id":123491,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:31:03] local.INFO: Acknowledgment sent {"connection_id":123491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:31:04] local.INFO: TCP Data received {"connection_id":122727,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:31:04] local.INFO: Processing buffer {"connection_id":122727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:31:04] local.INFO: IMEI packet received {"connection_id":122727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":122727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:31:09] local.INFO: TCP Data received {"connection_id":122727,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:31:09] local.INFO: Processing buffer {"connection_id":122727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:31:09] local.INFO: IMEI packet received {"connection_id":122727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":122727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:31:10] local.INFO: TCP Data received {"connection_id":122727,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:31:10] local.INFO: Processing buffer {"connection_id":122727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:31:10] local.INFO: Packet analysis {"connection_id":122727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:31:10] local.INFO: Extracted packet for processing {"connection_id":122727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514431232001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:10] 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-07-05 19:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783259798000,"timestamp_ms":1783259798000,"timestamp_seconds":1783259798,"priority":1,"record_length":96,"hex_timestamp":"0000019f329119f0"} 
[2026-07-05 19:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514431232001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514431232001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:31:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514431232001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":122727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:31:10] local.INFO: GPS data processed {"connection_id":122727,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:31:10] local.INFO: Acknowledgment sent {"connection_id":122727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:31:34] local.INFO: TCP Data received {"connection_id":123491,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f329488d8012d18c140072154b00040014724..."} 
[2026-07-05 19:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329488d8012d18c140072154b00040014724..."} 
[2026-07-05 19:31:34] local.INFO: Processing buffer {"connection_id":123491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329488d8012d18c140072154b00040014724..."} 
[2026-07-05 19:31:34] local.INFO: Packet analysis {"connection_id":123491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3294"} 
[2026-07-05 19:31:34] local.INFO: Extracted packet for processing {"connection_id":123491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3294"} 
[2026-07-05 19:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756597056,"raw_latitude":119624880,"longitude_deg":75.6597056,"latitude_deg":11.962488,"altitude":64,"angle":327,"satellites":36,"speed":30,"hex_longitude":"2d18c140","hex_latitude":"072154b0","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514565376001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4716638595186688,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014224994304,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783260023000,"timestamp_ms":1783260023000,"timestamp_seconds":1783260023,"priority":1,"record_length":96,"hex_timestamp":"0000019f329488d8"} 
[2026-07-05 19:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:31: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-07-05 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-05 19:31: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-07-05 19: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-07-05 19:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":123491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":123491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":123491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514565376001,"66":13396,"121":206,"28":31744,"24":30,"16":4716638595186688,"45":1784481014224994304},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514565376001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:31:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:31:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4716638595186688,"km_value":4716638595186.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014224994304,"description":"Unknown IO ID 45"} 
[2026-07-05 19:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514565376001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784481014224994304}} 
[2026-07-05 19:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":123491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:31:34] local.INFO: GPS data processed {"connection_id":123491,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:31:34] local.INFO: Acknowledgment sent {"connection_id":123491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:31:42] local.INFO: TCP Data received {"connection_id":122727,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:31:42] local.INFO: Processing buffer {"connection_id":122727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:31:42] local.INFO: Packet analysis {"connection_id":122727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:31:42] local.INFO: Extracted packet for processing {"connection_id":122727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:31:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514431232001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:31:42] 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-07-05 19:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783259798000,"timestamp_ms":1783259798000,"timestamp_seconds":1783259798,"priority":1,"record_length":96,"hex_timestamp":"0000019f329119f0"} 
[2026-07-05 19:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:31: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-07-05 19:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514431232001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514431232001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:31:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:31:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514431232001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":122727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:31:42] local.INFO: GPS data processed {"connection_id":122727,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:31:42] local.INFO: Acknowledgment sent {"connection_id":122727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:31:56] local.INFO: TCP Data received {"connection_id":122781,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:31:56] local.INFO: Processing buffer {"connection_id":122781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:31:56] local.INFO: IMEI packet received {"connection_id":122781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":122781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:32:02] local.INFO: TCP Data received {"connection_id":122781,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:32:02] local.INFO: Processing buffer {"connection_id":122781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:32:02] local.INFO: IMEI packet received {"connection_id":122781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":122781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:32:03] local.INFO: TCP Data received {"connection_id":122781,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f3294b3d0012d18ad4007216fd00044013c23..."} 
[2026-07-05 19:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3294b3d0012d18ad4007216fd00044013c23..."} 
[2026-07-05 19:32:03] local.INFO: Processing buffer {"connection_id":122781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3294b3d0012d18ad4007216fd00044013c23..."} 
[2026-07-05 19:32:03] local.INFO: Packet analysis {"connection_id":122781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3294"} 
[2026-07-05 19:32:03] local.INFO: Extracted packet for processing {"connection_id":122781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3294"} 
[2026-07-05 19:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119631824,"longitude_deg":75.6591936,"latitude_deg":11.9631824,"altitude":68,"angle":316,"satellites":35,"speed":27,"hex_longitude":"2d18ad40","hex_latitude":"07216fd0","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514565888001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4717055207014400,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783777326783574016,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783260034000,"timestamp_ms":1783260034000,"timestamp_seconds":1783260034,"priority":1,"record_length":96,"hex_timestamp":"0000019f3294b3d0"} 
[2026-07-05 19:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:32: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-07-05 19: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-05 19:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514565888001,"66":13472,"121":206,"28":31744,"24":27,"16":4717055207014400,"45":1783777326783574016},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514565888001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:32:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:32:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4717055207014400,"km_value":4717055207014.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783777326783574016,"description":"Unknown IO ID 45"} 
[2026-07-05 19:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514565888001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1783777326783574016}} 
[2026-07-05 19:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":122781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:32:03] local.INFO: GPS data processed {"connection_id":122781,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:32:03] local.INFO: Acknowledgment sent {"connection_id":122781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:32:09] local.INFO: TCP Data received {"connection_id":123492,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:32:09] local.INFO: Processing buffer {"connection_id":123492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:32:09] local.INFO: IMEI packet received {"connection_id":123492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":123492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:32:14] local.INFO: TCP Data received {"connection_id":123492,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:32:14] local.INFO: Processing buffer {"connection_id":123492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:32:14] local.INFO: IMEI packet received {"connection_id":123492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":123492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:32:15] local.INFO: TCP Data received {"connection_id":123492,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:32:15] local.INFO: Processing buffer {"connection_id":123492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329119f0012cb2a24007823a980043013b26..."} 
[2026-07-05 19:32:15] local.INFO: Packet analysis {"connection_id":123492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:32:15] local.INFO: Extracted packet for processing {"connection_id":123492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3291"} 
[2026-07-05 19:32:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514431232001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:15] 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-07-05 19:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783259798000,"timestamp_ms":1783259798000,"timestamp_seconds":1783259798,"priority":1,"record_length":96,"hex_timestamp":"0000019f329119f0"} 
[2026-07-05 19:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:32:15] 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-07-05 19:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514431232001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514431232001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:32:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:32:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514431232001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":123492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:32:15] local.INFO: GPS data processed {"connection_id":123492,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:32:15] local.INFO: Acknowledgment sent {"connection_id":123492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:32:19] local.INFO: TCP Data received {"connection_id":122782,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:32:19] local.INFO: Processing buffer {"connection_id":122782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:32:19] local.INFO: IMEI packet received {"connection_id":122782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":122782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:32:35] local.INFO: TCP Data received {"connection_id":122781,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f3294bba0012d18a980072172f80045012b25..."} 
[2026-07-05 19:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3294bba0012d18a980072172f80045012b25..."} 
[2026-07-05 19:32:35] local.INFO: Processing buffer {"connection_id":122781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3294bba0012d18a980072172f80045012b25..."} 
[2026-07-05 19:32:35] local.INFO: Packet analysis {"connection_id":122781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3294"} 
[2026-07-05 19:32:35] local.INFO: Extracted packet for processing {"connection_id":122781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3294"} 
[2026-07-05 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119632632,"longitude_deg":75.6590976,"latitude_deg":11.9632632,"altitude":69,"angle":299,"satellites":37,"speed":25,"hex_longitude":"2d18a980","hex_latitude":"072172f8","is_valid_coordinates":true} 
[2026-07-05 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514568704001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4717119631523840,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778147827251138560,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783260036000,"timestamp_ms":1783260036000,"timestamp_seconds":1783260036,"priority":1,"record_length":96,"hex_timestamp":"0000019f3294bba0"} 
[2026-07-05 19:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-05 19:32: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-07-05 19:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514568704001,"66":13439,"121":206,"28":31744,"24":25,"16":4717119631523840,"45":1778147827251138560},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514568704001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:32:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:32:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4717119631523840,"km_value":4717119631523.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778147827251138560,"description":"Unknown IO ID 45"} 
[2026-07-05 19:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514568704001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1778147827251138560}} 
[2026-07-05 19:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":122781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:32:35] local.INFO: GPS data processed {"connection_id":122781,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:32:35] local.INFO: Acknowledgment sent {"connection_id":122781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:32:46] local.INFO: TCP Data received {"connection_id":123492,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:32:46] local.INFO: Processing buffer {"connection_id":123492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:32:46] local.INFO: Packet analysis {"connection_id":123492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:32:46] local.INFO: Extracted packet for processing {"connection_id":123492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:32:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514508288001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:32:46] 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-07-05 19:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783260099000,"timestamp_ms":1783260099000,"timestamp_seconds":1783260099,"priority":1,"record_length":96,"hex_timestamp":"0000019f3295b1b8"} 
[2026-07-05 19:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:32: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-07-05 19:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":123492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":123492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":123492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514508288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514508288001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:32:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:32:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:32:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514508288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":123492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:32:46] local.INFO: GPS data processed {"connection_id":123492,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:32:46] local.INFO: Acknowledgment sent {"connection_id":123492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:32:56] local.INFO: TCP Data received {"connection_id":122783,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:32:56] local.INFO: Processing buffer {"connection_id":122783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:32:56] local.INFO: IMEI packet received {"connection_id":122783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":122783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:33:01] local.INFO: TCP Data received {"connection_id":122783,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:33:01] local.INFO: Processing buffer {"connection_id":122783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:33:01] local.INFO: IMEI packet received {"connection_id":122783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":122783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:33:03] local.INFO: TCP Data received {"connection_id":122783,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f3294c370012d18a4c0072174f80045012026..."} 
[2026-07-05 19:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3294c370012d18a4c0072174f80045012026..."} 
[2026-07-05 19:33:03] local.INFO: Processing buffer {"connection_id":122783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3294c370012d18a4c0072174f80045012026..."} 
[2026-07-05 19:33:03] local.INFO: Packet analysis {"connection_id":122783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3294"} 
[2026-07-05 19:33:03] local.INFO: Extracted packet for processing {"connection_id":122783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3294"} 
[2026-07-05 19:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756589760,"raw_latitude":119633144,"longitude_deg":75.658976,"latitude_deg":11.9633144,"altitude":69,"angle":288,"satellites":38,"speed":26,"hex_longitude":"2d18a4c0","hex_latitude":"072174f8","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514569216001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4717179761065984,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777092296088680448,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783260038000,"timestamp_ms":1783260038000,"timestamp_seconds":1783260038,"priority":1,"record_length":96,"hex_timestamp":"0000019f3294c370"} 
[2026-07-05 19:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:33: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-07-05 19: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-05 19:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514569216001,"66":13526,"121":206,"28":31744,"24":26,"16":4717179761065984,"45":1777092296088680448},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514569216001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:33:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:33:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4717179761065984,"km_value":4717179761065.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777092296088680448,"description":"Unknown IO ID 45"} 
[2026-07-05 19:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514569216001,"power":13526,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1777092296088680448}} 
[2026-07-05 19:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":122783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:33:03] local.INFO: GPS data processed {"connection_id":122783,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:33:03] local.INFO: Acknowledgment sent {"connection_id":122783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:33:04] local.INFO: TCP Data received {"connection_id":123493,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:33:04] local.INFO: Processing buffer {"connection_id":123493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:33:04] local.INFO: IMEI packet received {"connection_id":123493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":123493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:33:09] local.INFO: TCP Data received {"connection_id":122728,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:33:09] local.INFO: Processing buffer {"connection_id":122728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:33:09] local.INFO: IMEI packet received {"connection_id":122728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":122728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:33:09] local.INFO: TCP Data received {"connection_id":123493,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:33:09] local.INFO: Processing buffer {"connection_id":123493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:33:09] local.INFO: IMEI packet received {"connection_id":123493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":123493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:33:10] local.INFO: TCP Data received {"connection_id":123493,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:33:10] local.INFO: Processing buffer {"connection_id":123493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:33:10] local.INFO: Packet analysis {"connection_id":123493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:33:10] local.INFO: Extracted packet for processing {"connection_id":123493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514508288001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:10] 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-07-05 19:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783260099000,"timestamp_ms":1783260099000,"timestamp_seconds":1783260099,"priority":1,"record_length":96,"hex_timestamp":"0000019f3295b1b8"} 
[2026-07-05 19:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514508288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514508288001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:33:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514508288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":123493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:33:10] local.INFO: GPS data processed {"connection_id":123493,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:33:10] local.INFO: Acknowledgment sent {"connection_id":123493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:33:34] local.INFO: TCP Data received {"connection_id":122783,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f3296caf8012d18260007219ed0004b013727..."} 
[2026-07-05 19:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3296caf8012d18260007219ed0004b013727..."} 
[2026-07-05 19:33:34] local.INFO: Processing buffer {"connection_id":122783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3296caf8012d18260007219ed0004b013727..."} 
[2026-07-05 19:33:34] local.INFO: Packet analysis {"connection_id":122783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3296"} 
[2026-07-05 19:33:34] local.INFO: Extracted packet for processing {"connection_id":122783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3296"} 
[2026-07-05 19:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119643856,"longitude_deg":75.6557312,"latitude_deg":11.9643856,"altitude":75,"angle":311,"satellites":39,"speed":11,"hex_longitude":"2d182600","hex_latitude":"07219ed0","is_valid_coordinates":true} 
[2026-07-05 19:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514603264001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4718837618442240,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740359811630739456,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783260171000,"timestamp_ms":1783260171000,"timestamp_seconds":1783260171,"priority":1,"record_length":96,"hex_timestamp":"0000019f3296caf8"} 
[2026-07-05 19:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:33: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-07-05 19:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-05 19:33:34] 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-07-05 19:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":122783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":122783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":122783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514603264001,"66":12689,"120":206,"28":31744,"24":11,"16":4718837618442240,"45":1740359811630739456},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-05 19:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514603264001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:33:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-05 19:33:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4718837618442240,"km_value":4718837618442.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740359811630739456,"description":"Unknown IO ID 45"} 
[2026-07-05 19:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514603264001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1740359811630739456}} 
[2026-07-05 19:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":122783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:33:34] local.INFO: GPS data processed {"connection_id":122783,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:33:34] local.INFO: Acknowledgment sent {"connection_id":122783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:33:41] local.INFO: TCP Data received {"connection_id":123493,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:33:41] local.INFO: Processing buffer {"connection_id":123493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:33:41] local.INFO: Packet analysis {"connection_id":123493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:33:41] local.INFO: Extracted packet for processing {"connection_id":123493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:33:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514508288001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:33:41] 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-07-05 19:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783260099000,"timestamp_ms":1783260099000,"timestamp_seconds":1783260099,"priority":1,"record_length":96,"hex_timestamp":"0000019f3295b1b8"} 
[2026-07-05 19:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:33: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-07-05 19: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-07-05 19:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514508288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514508288001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:33:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514508288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":123493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:33:41] local.INFO: GPS data processed {"connection_id":123493,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:33:41] local.INFO: Acknowledgment sent {"connection_id":123493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:33:57] local.INFO: TCP Data received {"connection_id":123494,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:33:57] local.INFO: Processing buffer {"connection_id":123494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:33:57] local.INFO: IMEI packet received {"connection_id":123494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":123494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:34:01] local.INFO: TCP Data received {"connection_id":123494,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:01] local.INFO: Processing buffer {"connection_id":123494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:01] local.INFO: IMEI packet received {"connection_id":123494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":123494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:34:02] local.INFO: TCP Data received {"connection_id":123494,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:02] local.INFO: Processing buffer {"connection_id":123494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:02] local.INFO: IMEI packet received {"connection_id":123494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":123494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:34:04] local.INFO: TCP Data received {"connection_id":122729,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:34:04] local.INFO: Processing buffer {"connection_id":122729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:34:04] local.INFO: IMEI packet received {"connection_id":122729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":122729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:34:06] local.INFO: TCP Data received {"connection_id":123494,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:06] local.INFO: Processing buffer {"connection_id":123494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:06] local.INFO: IMEI packet received {"connection_id":123494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":123494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:34:08] local.INFO: TCP Data received {"connection_id":123494,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f3296e650012d181f800721a4900049012423..."} 
[2026-07-05 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3296e650012d181f800721a4900049012423..."} 
[2026-07-05 19:34:08] local.INFO: Processing buffer {"connection_id":123494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3296e650012d181f800721a4900049012423..."} 
[2026-07-05 19:34:08] local.INFO: Packet analysis {"connection_id":123494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3296"} 
[2026-07-05 19:34:08] local.INFO: Extracted packet for processing {"connection_id":123494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3296"} 
[2026-07-05 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645328,"longitude_deg":75.6555648,"latitude_deg":11.9645328,"altitude":73,"angle":292,"satellites":35,"speed":6,"hex_longitude":"2d181f80","hex_latitude":"0721a490","is_valid_coordinates":true} 
[2026-07-05 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514603776001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4718944992624640,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336654102528,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783260178000,"timestamp_ms":1783260178000,"timestamp_seconds":1783260178,"priority":1,"record_length":96,"hex_timestamp":"0000019f3296e650"} 
[2026-07-05 19:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:34:08] 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-07-05 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-05 19:34:08] 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-07-05 19:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":123494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":123494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":123494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514603776001,"66":12776,"120":206,"28":31744,"24":6,"16":4718944992624640,"45":1740078336654102528},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-05 19:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514603776001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:34:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-05 19:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4718944992624640,"km_value":4718944992624.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336654102528,"description":"Unknown IO ID 45"} 
[2026-07-05 19:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514603776001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740078336654102528}} 
[2026-07-05 19:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":123494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:34:08] local.INFO: GPS data processed {"connection_id":123494,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:34:08] local.INFO: Acknowledgment sent {"connection_id":123494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:34:09] local.INFO: TCP Data received {"connection_id":122729,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:34:09] local.INFO: Processing buffer {"connection_id":122729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:34:09] local.INFO: IMEI packet received {"connection_id":122729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":122729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:34:12] local.INFO: TCP Data received {"connection_id":123494,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f329728b8012d181dc00721a6a0004a003626..."} 
[2026-07-05 19:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329728b8012d181dc00721a6a0004a003626..."} 
[2026-07-05 19:34:12] local.INFO: Processing buffer {"connection_id":123494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329728b8012d181dc00721a6a0004a003626..."} 
[2026-07-05 19:34:12] local.INFO: Packet analysis {"connection_id":123494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3297"} 
[2026-07-05 19:34:12] local.INFO: Extracted packet for processing {"connection_id":123494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3297"} 
[2026-07-05 19:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645856,"longitude_deg":75.65552,"latitude_deg":11.9645856,"altitude":74,"angle":54,"satellites":38,"speed":6,"hex_longitude":"2d181dc0","hex_latitude":"0721a6a0","is_valid_coordinates":true} 
[2026-07-05 19:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514605568001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4718996532232192,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305860096,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783260195000,"timestamp_ms":1783260195000,"timestamp_seconds":1783260195,"priority":1,"record_length":96,"hex_timestamp":"0000019f329728b8"} 
[2026-07-05 19:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:34:12] 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-07-05 19:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-05 19:34:12] 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-07-05 19:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514605568001,"66":13646,"120":206,"28":31744,"24":6,"16":4718996532232192,"45":1738248749305860096},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-07-05 19:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514605568001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:34:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-07-05 19:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4718996532232192,"km_value":4718996532232.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305860096,"description":"Unknown IO ID 45"} 
[2026-07-05 19:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514605568001,"power":13646,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738248749305860096}} 
[2026-07-05 19:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":123494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:34:12] local.INFO: GPS data processed {"connection_id":123494,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:34:12] local.INFO: Acknowledgment sent {"connection_id":123494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:34:13] local.INFO: TCP Data received {"connection_id":122729,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:34:13] local.INFO: Processing buffer {"connection_id":122729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:34:13] local.INFO: Packet analysis {"connection_id":122729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:34:13] local.INFO: Extracted packet for processing {"connection_id":122729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:34:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514508288001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:13] 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-07-05 19:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783260099000,"timestamp_ms":1783260099000,"timestamp_seconds":1783260099,"priority":1,"record_length":96,"hex_timestamp":"0000019f3295b1b8"} 
[2026-07-05 19:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514508288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514508288001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:34:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514508288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":122729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:34:13] local.INFO: GPS data processed {"connection_id":122729,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:34:13] local.INFO: Acknowledgment sent {"connection_id":122729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:34:47] local.INFO: TCP Data received {"connection_id":122729,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:34:47] local.INFO: Processing buffer {"connection_id":122729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:34:47] local.INFO: Packet analysis {"connection_id":122729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:34:47] local.INFO: Extracted packet for processing {"connection_id":122729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:34:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514508288001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:34:47] 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-07-05 19:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783260099000,"timestamp_ms":1783260099000,"timestamp_seconds":1783260099,"priority":1,"record_length":96,"hex_timestamp":"0000019f3295b1b8"} 
[2026-07-05 19:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514508288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514508288001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:34:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:34:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514508288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":122729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:34:47] local.INFO: GPS data processed {"connection_id":122729,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:34:47] local.INFO: Acknowledgment sent {"connection_id":122729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:34:53] local.INFO: TCP Data received {"connection_id":122730,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:53] local.INFO: Processing buffer {"connection_id":122730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:53] local.INFO: IMEI packet received {"connection_id":122730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":122730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:34:57] local.INFO: TCP Data received {"connection_id":122730,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:57] local.INFO: Processing buffer {"connection_id":122730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:57] local.INFO: IMEI packet received {"connection_id":122730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":122730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:34:57] local.INFO: TCP Data received {"connection_id":122730,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:57] local.INFO: Processing buffer {"connection_id":122730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:57] local.INFO: IMEI packet received {"connection_id":122730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":122730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:34:59] local.INFO: TCP Data received {"connection_id":122730,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:59] local.INFO: Processing buffer {"connection_id":122730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:34:59] local.INFO: IMEI packet received {"connection_id":122730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":122730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:35:00] local.INFO: TCP Data received {"connection_id":122730,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f329849c8012d18c400072152e00047009824..."} 
[2026-07-05 19:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329849c8012d18c400072152e00047009824..."} 
[2026-07-05 19:35:00] local.INFO: Processing buffer {"connection_id":122730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329849c8012d18c400072152e00047009824..."} 
[2026-07-05 19:35:00] local.INFO: Packet analysis {"connection_id":122730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3298"} 
[2026-07-05 19:35:00] local.INFO: Extracted packet for processing {"connection_id":122730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3298"} 
[2026-07-05 19:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119624416,"longitude_deg":75.659776,"latitude_deg":11.9624416,"altitude":71,"angle":152,"satellites":36,"speed":35,"hex_longitude":"2d18c400","hex_latitude":"072152e0","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514626816001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4721388829016064,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779836677111175168,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783260269000,"timestamp_ms":1783260269000,"timestamp_seconds":1783260269,"priority":1,"record_length":96,"hex_timestamp":"0000019f329849c8"} 
[2026-07-05 19:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-05 19:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":122730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":122730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":122730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514626816001,"66":13439,"121":206,"28":31744,"24":35,"16":4721388829016064,"45":1779836677111175168},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514626816001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:35:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:35:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4721388829016064,"km_value":4721388829016.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779836677111175168,"description":"Unknown IO ID 45"} 
[2026-07-05 19:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514626816001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1779836677111175168}} 
[2026-07-05 19:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":122730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:35:00] local.INFO: GPS data processed {"connection_id":122730,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:35:00] local.INFO: Acknowledgment sent {"connection_id":122730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:35:01] local.INFO: TCP Data received {"connection_id":122730,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32985198012d18c5c007214bf0004500ad24..."} 
[2026-07-05 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32985198012d18c5c007214bf0004500ad24..."} 
[2026-07-05 19:35:01] local.INFO: Processing buffer {"connection_id":122730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32985198012d18c5c007214bf0004500ad24..."} 
[2026-07-05 19:35:01] local.INFO: Packet analysis {"connection_id":122730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3298"} 
[2026-07-05 19:35:01] local.INFO: Extracted packet for processing {"connection_id":122730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3298"} 
[2026-07-05 19:35:01] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119622640,"longitude_deg":75.6598208,"latitude_deg":11.962264,"altitude":69,"angle":173,"satellites":36,"speed":36,"hex_longitude":"2d18c5c0","hex_latitude":"07214bf0","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514628864001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4721474728361984,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382969409536,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783260271000,"timestamp_ms":1783260271000,"timestamp_seconds":1783260271,"priority":1,"record_length":96,"hex_timestamp":"0000019f32985198"} 
[2026-07-05 19:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:35:01] 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-07-05 19: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-05 19:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":122730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":122730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":122730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514628864001,"66":13450,"121":206,"28":31744,"24":36,"16":4721474728361984,"45":1784551382969409536},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514628864001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:35:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:35:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4721474728361984,"km_value":4721474728361.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382969409536,"description":"Unknown IO ID 45"} 
[2026-07-05 19:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514628864001,"power":13450,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1784551382969409536}} 
[2026-07-05 19:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":122730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:35:01] local.INFO: GPS data processed {"connection_id":122730,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:35:01] local.INFO: Acknowledgment sent {"connection_id":122730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:35:04] local.INFO: TCP Data received {"connection_id":122785,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:35:04] local.INFO: Processing buffer {"connection_id":122785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:35:04] local.INFO: IMEI packet received {"connection_id":122785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":122785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:35:09] local.INFO: TCP Data received {"connection_id":122785,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:35:09] local.INFO: Processing buffer {"connection_id":122785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:35:09] local.INFO: IMEI packet received {"connection_id":122785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":122785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:35:10] local.INFO: TCP Data received {"connection_id":122785,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:35:10] local.INFO: Processing buffer {"connection_id":122785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:35:10] local.INFO: Packet analysis {"connection_id":122785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:35:10] local.INFO: Extracted packet for processing {"connection_id":122785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514508288001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:10] 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-07-05 19:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783260099000,"timestamp_ms":1783260099000,"timestamp_seconds":1783260099,"priority":1,"record_length":96,"hex_timestamp":"0000019f3295b1b8"} 
[2026-07-05 19:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514508288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514508288001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:35:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514508288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":122785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:35:10] local.INFO: GPS data processed {"connection_id":122785,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:35:10] local.INFO: Acknowledgment sent {"connection_id":122785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:35:33] local.INFO: TCP Data received {"connection_id":122730,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32986520012d18c80007213a400043009d22..."} 
[2026-07-05 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32986520012d18c80007213a400043009d22..."} 
[2026-07-05 19:35:33] local.INFO: Processing buffer {"connection_id":122730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32986520012d18c80007213a400043009d22..."} 
[2026-07-05 19:35:33] local.INFO: Packet analysis {"connection_id":122730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3298"} 
[2026-07-05 19:35:33] local.INFO: Extracted packet for processing {"connection_id":122730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3298"} 
[2026-07-05 19:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119618112,"longitude_deg":75.6598784,"latitude_deg":11.9618112,"altitude":67,"angle":157,"satellites":34,"speed":35,"hex_longitude":"2d18c800","hex_latitude":"07213a40","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514629376001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4721698066661376,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964178198528,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783260276000,"timestamp_ms":1783260276000,"timestamp_seconds":1783260276,"priority":1,"record_length":96,"hex_timestamp":"0000019f32986520"} 
[2026-07-05 19:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:35:33] 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-07-05 19: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-05 19:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":122730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":122730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":122730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514629376001,"66":13526,"121":206,"28":31744,"24":35,"16":4721698066661376,"45":1785043964178198528},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514629376001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:35:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:35:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4721698066661376,"km_value":4721698066661.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964178198528,"description":"Unknown IO ID 45"} 
[2026-07-05 19:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514629376001,"power":13526,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1785043964178198528}} 
[2026-07-05 19:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":122730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:35:33] local.INFO: GPS data processed {"connection_id":122730,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:35:33] local.INFO: Acknowledgment sent {"connection_id":122730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:35:41] local.INFO: TCP Data received {"connection_id":122785,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:35:41] local.INFO: Processing buffer {"connection_id":122785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:35:41] local.INFO: Packet analysis {"connection_id":122785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:35:41] local.INFO: Extracted packet for processing {"connection_id":122785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:35:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514508288001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:35:41] 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-07-05 19:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783260099000,"timestamp_ms":1783260099000,"timestamp_seconds":1783260099,"priority":1,"record_length":96,"hex_timestamp":"0000019f3295b1b8"} 
[2026-07-05 19:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:35: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-07-05 19:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514508288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514508288001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:35:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514508288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":122785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:35:41] local.INFO: GPS data processed {"connection_id":122785,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:35:41] local.INFO: Acknowledgment sent {"connection_id":122785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:35:55] local.INFO: TCP Data received {"connection_id":124708,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:35:55] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:35:55] local.INFO: IMEI packet received {"connection_id":124708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":124708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:35:56] local.INFO: TCP Data received {"connection_id":124708,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:35:56] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:35:56] local.INFO: IMEI packet received {"connection_id":124708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":124708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:36:01] local.INFO: TCP Data received {"connection_id":124708,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:36:01] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:36:01] local.INFO: IMEI packet received {"connection_id":124708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":124708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:36:03] local.INFO: TCP Data received {"connection_id":124708,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32990d18012d192f400720bb50002e007320..."} 
[2026-07-05 19:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32990d18012d192f400720bb50002e007320..."} 
[2026-07-05 19:36:03] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32990d18012d192f400720bb50002e007320..."} 
[2026-07-05 19:36:03] local.INFO: Packet analysis {"connection_id":124708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3299"} 
[2026-07-05 19:36:03] local.INFO: Extracted packet for processing {"connection_id":124708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3299"} 
[2026-07-05 19:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756625216,"raw_latitude":119585616,"longitude_deg":75.6625216,"latitude_deg":11.9585616,"altitude":46,"angle":115,"satellites":32,"speed":54,"hex_longitude":"2d192f40","hex_latitude":"0720bb50","is_valid_coordinates":true} 
[2026-07-05 19:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514639872001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4723871320113152,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805239793748600832,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783260319000,"timestamp_ms":1783260319000,"timestamp_seconds":1783260319,"priority":1,"record_length":96,"hex_timestamp":"0000019f32990d18"} 
[2026-07-05 19:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:36:03] 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-07-05 19:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-05 19:36:03] 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-07-05 19:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514639872001,"66":13450,"121":206,"28":31744,"24":54,"16":4723871320113152,"45":1805239793748600832},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514639872001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:36:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4723871320113152,"km_value":4723871320113.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805239793748600832,"description":"Unknown IO ID 45"} 
[2026-07-05 19:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514639872001,"power":13450,"unknown_121":206,"unknown_28":31744,"ignition":54,"odometer":null,"unknown_45":1805239793748600832}} 
[2026-07-05 19:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":124708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:36:03] local.INFO: GPS data processed {"connection_id":124708,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:36:03] local.INFO: Acknowledgment sent {"connection_id":124708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:36:09] local.INFO: TCP Data received {"connection_id":122787,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:36:09] local.INFO: Processing buffer {"connection_id":122787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:36:09] local.INFO: IMEI packet received {"connection_id":122787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":122787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:36:14] local.INFO: TCP Data received {"connection_id":122787,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:36:14] local.INFO: Processing buffer {"connection_id":122787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:36:14] local.INFO: IMEI packet received {"connection_id":122787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":122787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:36:15] local.INFO: TCP Data received {"connection_id":122787,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:36:15] local.INFO: Processing buffer {"connection_id":122787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:36:15] local.INFO: Packet analysis {"connection_id":122787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:36:15] local.INFO: Extracted packet for processing {"connection_id":122787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:36:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514508288001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:15] 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-07-05 19:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783260099000,"timestamp_ms":1783260099000,"timestamp_seconds":1783260099,"priority":1,"record_length":96,"hex_timestamp":"0000019f3295b1b8"} 
[2026-07-05 19:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514508288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514508288001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:36:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:36:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514508288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":122787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:36:15] local.INFO: GPS data processed {"connection_id":122787,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:36:15] local.INFO: Acknowledgment sent {"connection_id":122787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:36:20] local.INFO: TCP Data received {"connection_id":122787,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:36:20] local.INFO: Processing buffer {"connection_id":122787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:36:20] local.INFO: Packet analysis {"connection_id":122787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:36:20] local.INFO: Extracted packet for processing {"connection_id":122787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:36:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514508288001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:20] 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-07-05 19:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783260099000,"timestamp_ms":1783260099000,"timestamp_seconds":1783260099,"priority":1,"record_length":96,"hex_timestamp":"0000019f3295b1b8"} 
[2026-07-05 19:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514508288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514508288001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:36:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:36:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514508288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":122787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:36:20] local.INFO: GPS data processed {"connection_id":122787,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:36:20] local.INFO: Acknowledgment sent {"connection_id":122787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:36:34] local.INFO: TCP Data received {"connection_id":124708,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f3299cc80012d19ae0007208eb8003000be23..."} 
[2026-07-05 19:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3299cc80012d19ae0007208eb8003000be23..."} 
[2026-07-05 19:36:34] local.INFO: Processing buffer {"connection_id":124708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3299cc80012d19ae0007208eb8003000be23..."} 
[2026-07-05 19:36:34] local.INFO: Packet analysis {"connection_id":124708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3299"} 
[2026-07-05 19:36:34] local.INFO: Extracted packet for processing {"connection_id":124708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3299"} 
[2026-07-05 19:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574200,"longitude_deg":75.6657664,"latitude_deg":11.95742,"altitude":48,"angle":190,"satellites":35,"speed":35,"hex_longitude":"2d19ae00","hex_latitude":"07208eb8","is_valid_coordinates":true} 
[2026-07-05 19:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514652672001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726061753434112,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227228538880,"note":"Value kept but may cause issues"} 
[2026-07-05 19:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783260368000,"timestamp_ms":1783260368000,"timestamp_seconds":1783260368,"priority":1,"record_length":96,"hex_timestamp":"0000019f3299cc80"} 
[2026-07-05 19:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:36:34] 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-07-05 19:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-05 19:36: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-07-05 19:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514652672001,"66":13374,"121":206,"28":31744,"24":35,"16":4726061753434112,"45":1853794227228538880},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514652672001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:36:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:36:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726061753434112,"km_value":4726061753434.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227228538880,"description":"Unknown IO ID 45"} 
[2026-07-05 19:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514652672001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1853794227228538880}} 
[2026-07-05 19:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":124708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:36:34] local.INFO: GPS data processed {"connection_id":124708,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:36:34] local.INFO: Acknowledgment sent {"connection_id":124708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:36:56] local.INFO: TCP Data received {"connection_id":123495,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:36:56] local.INFO: Processing buffer {"connection_id":123495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:36:56] local.INFO: IMEI packet received {"connection_id":123495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":123495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:36:58] local.INFO: TCP Data received {"connection_id":123495,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:36:58] local.INFO: Processing buffer {"connection_id":123495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:36:58] local.INFO: IMEI packet received {"connection_id":123495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":123495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:37:00] local.INFO: TCP Data received {"connection_id":123495,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:37:00] local.INFO: Processing buffer {"connection_id":123495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:37:00] local.INFO: IMEI packet received {"connection_id":123495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":123495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:37:01] local.INFO: TCP Data received {"connection_id":123495,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:37:01] local.INFO: Processing buffer {"connection_id":123495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:37:01] local.INFO: IMEI packet received {"connection_id":123495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":123495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:37:02] local.INFO: TCP Data received {"connection_id":123495,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f3299d068012d19ae0007208ae8002f00b123..."} 
[2026-07-05 19:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3299d068012d19ae0007208ae8002f00b123..."} 
[2026-07-05 19:37:02] local.INFO: Processing buffer {"connection_id":123495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3299d068012d19ae0007208ae8002f00b123..."} 
[2026-07-05 19:37:02] local.INFO: Packet analysis {"connection_id":123495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3299"} 
[2026-07-05 19:37:02] local.INFO: Extracted packet for processing {"connection_id":123495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3299"} 
[2026-07-05 19:37:02] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119573224,"longitude_deg":75.6657664,"latitude_deg":11.9573224,"altitude":47,"angle":177,"satellites":35,"speed":37,"hex_longitude":"2d19ae00","hex_latitude":"07208ae8","is_valid_coordinates":true} 
[2026-07-05 19:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514654208001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726108998074368,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506847744,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783260369000,"timestamp_ms":1783260369000,"timestamp_seconds":1783260369,"priority":1,"record_length":96,"hex_timestamp":"0000019f3299d068"} 
[2026-07-05 19:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-05 19:37: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-07-05 19:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":123495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":123495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":123495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514654208001,"66":13374,"121":206,"28":31744,"24":37,"16":4726108998074368,"45":1850416527506847744},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514654208001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:37:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:37:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726108998074368,"km_value":4726108998074.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506847744,"description":"Unknown IO ID 45"} 
[2026-07-05 19:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514654208001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1850416527506847744}} 
[2026-07-05 19:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":123495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:37:02] local.INFO: GPS data processed {"connection_id":123495,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:37:02] local.INFO: Acknowledgment sent {"connection_id":123495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:37:03] local.INFO: TCP Data received {"connection_id":123495,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f3299dc20012d19b10007207e30002d00a523..."} 
[2026-07-05 19:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3299dc20012d19b10007207e30002d00a523..."} 
[2026-07-05 19:37:03] local.INFO: Processing buffer {"connection_id":123495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3299dc20012d19b10007207e30002d00a523..."} 
[2026-07-05 19:37:03] local.INFO: Packet analysis {"connection_id":123495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3299"} 
[2026-07-05 19:37:03] local.INFO: Extracted packet for processing {"connection_id":123495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3299"} 
[2026-07-05 19:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756658432,"raw_latitude":119569968,"longitude_deg":75.6658432,"latitude_deg":11.9569968,"altitude":45,"angle":165,"satellites":35,"speed":46,"hex_longitude":"2d19b100","hex_latitude":"07207e30","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514654464001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726272206831616,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506597888,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783260372000,"timestamp_ms":1783260372000,"timestamp_seconds":1783260372,"priority":1,"record_length":96,"hex_timestamp":"0000019f3299dc20"} 
[2026-07-05 19:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:37:03] 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-07-05 19: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-05 19:37:03] 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-07-05 19: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-07-05 19:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":123495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":123495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":123495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514654464001,"66":13374,"121":206,"28":31744,"24":46,"16":4726272206831616,"45":1850416527506597888},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514654464001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:37:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:37:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726272206831616,"km_value":4726272206831.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506597888,"description":"Unknown IO ID 45"} 
[2026-07-05 19:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514654464001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1850416527506597888}} 
[2026-07-05 19:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":123495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:37:03] local.INFO: GPS data processed {"connection_id":123495,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:37:03] local.INFO: Acknowledgment sent {"connection_id":123495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:37:04] local.INFO: TCP Data received {"connection_id":122732,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:37:04] local.INFO: Processing buffer {"connection_id":122732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:37:04] local.INFO: IMEI packet received {"connection_id":122732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":122732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:37:09] local.INFO: TCP Data received {"connection_id":122732,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:37:09] local.INFO: Processing buffer {"connection_id":122732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:37:09] local.INFO: IMEI packet received {"connection_id":122732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":122732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:37:10] local.INFO: TCP Data received {"connection_id":122732,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:37:10] local.INFO: Processing buffer {"connection_id":122732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3295b1b8012cb2a24007823a980043013b27..."} 
[2026-07-05 19:37:10] local.INFO: Packet analysis {"connection_id":122732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:37:10] local.INFO: Extracted packet for processing {"connection_id":122732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3295"} 
[2026-07-05 19:37:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":67,"angle":315,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514508288001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:10] 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-07-05 19:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783260099000,"timestamp_ms":1783260099000,"timestamp_seconds":1783260099,"priority":1,"record_length":96,"hex_timestamp":"0000019f3295b1b8"} 
[2026-07-05 19:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514508288001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514508288001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:37:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514508288001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":122732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:37:10] local.INFO: GPS data processed {"connection_id":122732,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:37:10] local.INFO: Acknowledgment sent {"connection_id":122732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:37:34] local.INFO: TCP Data received {"connection_id":123495,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f3299fb60012d19bb8007205980002c00a924..."} 
[2026-07-05 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3299fb60012d19bb8007205980002c00a924..."} 
[2026-07-05 19:37:34] local.INFO: Processing buffer {"connection_id":123495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3299fb60012d19bb8007205980002c00a924..."} 
[2026-07-05 19:37:34] local.INFO: Packet analysis {"connection_id":123495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3299"} 
[2026-07-05 19:37:34] local.INFO: Extracted packet for processing {"connection_id":123495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3299"} 
[2026-07-05 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119560576,"longitude_deg":75.666112,"latitude_deg":11.9560576,"altitude":44,"angle":169,"satellites":36,"speed":46,"hex_longitude":"2d19bb80","hex_latitude":"07205980","is_valid_coordinates":true} 
[2026-07-05 19:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514655232001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4726744653234176,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851260952435896320,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783260380000,"timestamp_ms":1783260380000,"timestamp_seconds":1783260380,"priority":1,"record_length":96,"hex_timestamp":"0000019f3299fb60"} 
[2026-07-05 19:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:37:34] 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-07-05 19:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-05 19:37:34] 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-07-05 19:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":123495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":123495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":123495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514655232001,"66":13472,"121":206,"28":31744,"24":46,"16":4726744653234176,"45":1851260952435896320},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514655232001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:37:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:37:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4726744653234176,"km_value":4726744653234.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851260952435896320,"description":"Unknown IO ID 45"} 
[2026-07-05 19:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514655232001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1851260952435896320}} 
[2026-07-05 19:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":123495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:37:35] local.INFO: GPS data processed {"connection_id":123495,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:37:35] local.INFO: Acknowledgment sent {"connection_id":123495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:37:41] local.INFO: TCP Data received {"connection_id":122732,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:37:41] local.INFO: Processing buffer {"connection_id":122732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:37:41] local.INFO: Packet analysis {"connection_id":122732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:37:41] local.INFO: Extracted packet for processing {"connection_id":122732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:37:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514585344001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:37:41] 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-07-05 19:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783260400000,"timestamp_ms":1783260400000,"timestamp_seconds":1783260400,"priority":1,"record_length":96,"hex_timestamp":"0000019f329a4980"} 
[2026-07-05 19:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19: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-07-05 19: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-07-05 19:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514585344001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514585344001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514585344001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":122732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:37:41] local.INFO: GPS data processed {"connection_id":122732,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:37:41] local.INFO: Acknowledgment sent {"connection_id":122732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:37:56] local.INFO: TCP Data received {"connection_id":122788,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:37:56] local.INFO: Processing buffer {"connection_id":122788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:37:56] local.INFO: IMEI packet received {"connection_id":122788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":122788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:38:01] local.INFO: TCP Data received {"connection_id":122788,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:38:01] local.INFO: Processing buffer {"connection_id":122788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:38:01] local.INFO: IMEI packet received {"connection_id":122788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":122788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:38:02] local.INFO: TCP Data received {"connection_id":122788,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ac298012d1a3ac0071fe970002c006821..."} 
[2026-07-05 19:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ac298012d1a3ac0071fe970002c006821..."} 
[2026-07-05 19:38:02] local.INFO: Processing buffer {"connection_id":122788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ac298012d1a3ac0071fe970002c006821..."} 
[2026-07-05 19:38:02] local.INFO: Packet analysis {"connection_id":122788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:38:02] local.INFO: Extracted packet for processing {"connection_id":122788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:38:02] local.INFO: GPS Element Parsed {"raw_longitude":756693696,"raw_latitude":119531888,"longitude_deg":75.6693696,"latitude_deg":11.9531888,"altitude":44,"angle":104,"satellites":33,"speed":43,"hex_longitude":"2d1a3ac0","hex_latitude":"071fe970","is_valid_coordinates":true} 
[2026-07-05 19:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514668032001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4729102590279680,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879689925074614272,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783260431000,"timestamp_ms":1783260431000,"timestamp_seconds":1783260431,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ac298"} 
[2026-07-05 19:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-05 19:38:02] 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-07-05 19:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":122788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":122788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":122788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514668032001,"66":13493,"121":206,"28":31744,"24":43,"16":4729102590279680,"45":1879689925074614272},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514668032001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:38:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:38:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4729102590279680,"km_value":4729102590279.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879689925074614272,"description":"Unknown IO ID 45"} 
[2026-07-05 19:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514668032001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1879689925074614272}} 
[2026-07-05 19:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":122788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:38:02] local.INFO: GPS data processed {"connection_id":122788,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:38:02] local.INFO: Acknowledgment sent {"connection_id":122788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:38:04] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:38:04] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:38:04] local.INFO: IMEI packet received {"connection_id":124709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":124709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:38:09] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:38:09] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:38:09] local.INFO: IMEI packet received {"connection_id":124709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":124709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:38:10] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:38:10] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:38:10] local.INFO: Packet analysis {"connection_id":124709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:38:10] local.INFO: Extracted packet for processing {"connection_id":124709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514585344001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:10] 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-07-05 19:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783260400000,"timestamp_ms":1783260400000,"timestamp_seconds":1783260400,"priority":1,"record_length":96,"hex_timestamp":"0000019f329a4980"} 
[2026-07-05 19:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514585344001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514585344001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:38:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514585344001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":124709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:38:10] local.INFO: GPS data processed {"connection_id":124709,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:38:10] local.INFO: Acknowledgment sent {"connection_id":124709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:38:38] local.INFO: TCP Data received {"connection_id":122788,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ad620012d1a4f40071fe2a0002d007924..."} 
[2026-07-05 19:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ad620012d1a4f40071fe2a0002d007924..."} 
[2026-07-05 19:38:38] local.INFO: Processing buffer {"connection_id":122788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ad620012d1a4f40071fe2a0002d007924..."} 
[2026-07-05 19:38:38] local.INFO: Packet analysis {"connection_id":122788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:38:38] local.INFO: Extracted packet for processing {"connection_id":122788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756698944,"raw_latitude":119530144,"longitude_deg":75.6698944,"latitude_deg":11.9530144,"altitude":45,"angle":121,"satellites":36,"speed":42,"hex_longitude":"2d1a4f40","hex_latitude":"071fe2a0","is_valid_coordinates":true} 
[2026-07-05 19:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514670336001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4729364583284736,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890034130468040704,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783260436000,"timestamp_ms":1783260436000,"timestamp_seconds":1783260436,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ad620"} 
[2026-07-05 19:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:38: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-07-05 19:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-05 19:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":122788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":122788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":122788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514670336001,"66":13396,"121":206,"28":31744,"24":42,"16":4729364583284736,"45":1890034130468040704},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514670336001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:38:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4729364583284736,"km_value":4729364583284.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890034130468040704,"description":"Unknown IO ID 45"} 
[2026-07-05 19:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514670336001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1890034130468040704}} 
[2026-07-05 19:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":122788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:38:38] local.INFO: GPS data processed {"connection_id":122788,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:38:38] local.INFO: Acknowledgment sent {"connection_id":122788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:38:41] local.INFO: TCP Data received {"connection_id":124709,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:38:41] local.INFO: Processing buffer {"connection_id":124709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:38:41] local.INFO: Packet analysis {"connection_id":124709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:38:41] local.INFO: Extracted packet for processing {"connection_id":124709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514585344001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:38:41] 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-07-05 19:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783260400000,"timestamp_ms":1783260400000,"timestamp_seconds":1783260400,"priority":1,"record_length":96,"hex_timestamp":"0000019f329a4980"} 
[2026-07-05 19:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19: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-07-05 19: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-07-05 19:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514585344001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514585344001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:38:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514585344001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":124709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:38:41] local.INFO: GPS data processed {"connection_id":124709,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:38:41] local.INFO: Acknowledgment sent {"connection_id":124709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:38:44] local.INFO: TCP Data received {"connection_id":122733,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:38:44] local.INFO: Processing buffer {"connection_id":122733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:38:44] local.INFO: IMEI packet received {"connection_id":122733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":122733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:39:01] local.INFO: TCP Data received {"connection_id":124710,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:01] local.INFO: Processing buffer {"connection_id":124710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:01] local.INFO: IMEI packet received {"connection_id":124710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":124710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:39:03] local.INFO: TCP Data received {"connection_id":124710,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:03] local.INFO: Processing buffer {"connection_id":124710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:03] local.INFO: IMEI packet received {"connection_id":124710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":124710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:39:03] local.INFO: TCP Data received {"connection_id":122734,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:39:03] local.INFO: Processing buffer {"connection_id":122734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:39:03] local.INFO: IMEI packet received {"connection_id":122734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":122734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:39:04] local.INFO: TCP Data received {"connection_id":122789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:39:04] local.INFO: Processing buffer {"connection_id":122789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:39:04] local.INFO: IMEI packet received {"connection_id":122789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":122789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:39:06] local.INFO: TCP Data received {"connection_id":124710,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:06] local.INFO: Processing buffer {"connection_id":124710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:06] local.INFO: IMEI packet received {"connection_id":124710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":124710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:39:07] local.INFO: TCP Data received {"connection_id":124710,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ae9a8012d1a5fc0071fda68002d006822..."} 
[2026-07-05 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ae9a8012d1a5fc0071fda68002d006822..."} 
[2026-07-05 19:39:07] local.INFO: Processing buffer {"connection_id":124710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ae9a8012d1a5fc0071fda68002d006822..."} 
[2026-07-05 19:39:07] local.INFO: Packet analysis {"connection_id":124710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:39:07] local.INFO: Extracted packet for processing {"connection_id":124710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756703168,"raw_latitude":119528040,"longitude_deg":75.6703168,"latitude_deg":11.952804,"altitude":45,"angle":104,"satellites":34,"speed":38,"hex_longitude":"2d1a5fc0","hex_latitude":"071fda68","is_valid_coordinates":true} 
[2026-07-05 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-07-05 19:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514671616001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4729592216551424,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895804367490162688,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783260441000,"timestamp_ms":1783260441000,"timestamp_seconds":1783260441,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ae9a8"} 
[2026-07-05 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-07-05 19:39:07] 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-07-05 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-05 19:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 19:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514671616001,"66":13559,"121":206,"28":31744,"24":38,"16":4729592216551424,"45":1895804367490162688},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514671616001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:39:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4729592216551424,"km_value":4729592216551.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895804367490162688,"description":"Unknown IO ID 45"} 
[2026-07-05 19:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514671616001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1895804367490162688}} 
[2026-07-05 19:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":124710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:39:07] local.INFO: GPS data processed {"connection_id":124710,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:39:07] local.INFO: Acknowledgment sent {"connection_id":124710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:39:09] local.INFO: TCP Data received {"connection_id":122789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:39:09] local.INFO: Processing buffer {"connection_id":122789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:39:09] local.INFO: IMEI packet received {"connection_id":122789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":122789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:39:10] local.INFO: TCP Data received {"connection_id":122789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:39:10] local.INFO: Processing buffer {"connection_id":122789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:39:10] local.INFO: Packet analysis {"connection_id":122789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:39:10] local.INFO: Extracted packet for processing {"connection_id":122789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:39:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514585344001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:10] 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-07-05 19:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783260400000,"timestamp_ms":1783260400000,"timestamp_seconds":1783260400,"priority":1,"record_length":96,"hex_timestamp":"0000019f329a4980"} 
[2026-07-05 19:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514585344001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514585344001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:39:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514585344001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":122789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:39:10] local.INFO: GPS data processed {"connection_id":122789,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:39:10] local.INFO: Acknowledgment sent {"connection_id":122789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:39:41] local.INFO: TCP Data received {"connection_id":122789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:39:41] local.INFO: Processing buffer {"connection_id":122789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:39:41] local.INFO: Packet analysis {"connection_id":122789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:39:41] local.INFO: Extracted packet for processing {"connection_id":122789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:39:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514585344001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:41] 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-07-05 19:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783260400000,"timestamp_ms":1783260400000,"timestamp_seconds":1783260400,"priority":1,"record_length":96,"hex_timestamp":"0000019f329a4980"} 
[2026-07-05 19:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19: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-07-05 19: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-07-05 19:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514585344001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514585344001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:39:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514585344001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":122789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:39:41] local.INFO: GPS data processed {"connection_id":122789,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:39:41] local.INFO: Acknowledgment sent {"connection_id":122789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:39:44] local.INFO: TCP Data received {"connection_id":124710,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f329afd30012d1a7080071fd5a0002f007a23..."} 
[2026-07-05 19:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329afd30012d1a7080071fd5a0002f007a23..."} 
[2026-07-05 19:39:44] local.INFO: Processing buffer {"connection_id":124710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329afd30012d1a7080071fd5a0002f007a23..."} 
[2026-07-05 19:39:44] local.INFO: Packet analysis {"connection_id":124710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:39:44] local.INFO: Extracted packet for processing {"connection_id":124710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:39:44] local.INFO: GPS Element Parsed {"raw_longitude":756707456,"raw_latitude":119526816,"longitude_deg":75.6707456,"latitude_deg":11.9526816,"altitude":47,"angle":122,"satellites":35,"speed":35,"hex_longitude":"2d1a7080","hex_latitude":"071fd5a0","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514672896001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4729806964916224,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900448704605349888,"note":"Value kept but may cause issues"} 
[2026-07-05 19:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783260446000,"timestamp_ms":1783260446000,"timestamp_seconds":1783260446,"priority":1,"record_length":96,"hex_timestamp":"0000019f329afd30"} 
[2026-07-05 19:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:39:44] 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-07-05 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-05 19:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514672896001,"66":13396,"121":206,"28":31744,"24":35,"16":4729806964916224,"45":1900448704605349888},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514672896001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:39:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:39:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4729806964916224,"km_value":4729806964916.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900448704605349888,"description":"Unknown IO ID 45"} 
[2026-07-05 19:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514672896001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1900448704605349888}} 
[2026-07-05 19:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":124710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:39:44] local.INFO: GPS data processed {"connection_id":124710,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:39:44] local.INFO: Acknowledgment sent {"connection_id":124710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:39:56] local.INFO: TCP Data received {"connection_id":123496,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:56] local.INFO: Processing buffer {"connection_id":123496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:56] local.INFO: IMEI packet received {"connection_id":123496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":123496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:39:57] local.INFO: TCP Data received {"connection_id":123496,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:57] local.INFO: Processing buffer {"connection_id":123496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:39:57] local.INFO: IMEI packet received {"connection_id":123496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":123496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:40:01] local.INFO: TCP Data received {"connection_id":123496,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:40:01] local.INFO: Processing buffer {"connection_id":123496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:40:01] local.INFO: IMEI packet received {"connection_id":123496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":123496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:40:02] local.INFO: TCP Data received {"connection_id":123496,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f329c9758012d1ac440071fcbb8003f01671e..."} 
[2026-07-05 19:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329c9758012d1ac440071fcbb8003f01671e..."} 
[2026-07-05 19:40:02] local.INFO: Processing buffer {"connection_id":123496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329c9758012d1ac440071fcbb8003f01671e..."} 
[2026-07-05 19:40:02] local.INFO: Packet analysis {"connection_id":123496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329c"} 
[2026-07-05 19:40:02] local.INFO: Extracted packet for processing {"connection_id":123496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329c"} 
[2026-07-05 19:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756728896,"raw_latitude":119524280,"longitude_deg":75.6728896,"latitude_deg":11.952428,"altitude":63,"angle":359,"satellites":30,"speed":15,"hex_longitude":"2d1ac440","hex_latitude":"071fcbb8","is_valid_coordinates":true} 
[2026-07-05 19:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514697984001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4731688160591872,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927751777344061440,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783260551000,"timestamp_ms":1783260551000,"timestamp_seconds":1783260551,"priority":1,"record_length":96,"hex_timestamp":"0000019f329c9758"} 
[2026-07-05 19:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:40:02] 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-07-05 19:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-05 19:40:02] 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-07-05 19:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":123496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":123496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":123496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514697984001,"66":13624,"121":206,"28":31744,"24":15,"16":4731688160591872,"45":1927751777344061440},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514697984001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:40:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:40:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4731688160591872,"km_value":4731688160591.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927751777344061440,"description":"Unknown IO ID 45"} 
[2026-07-05 19:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514697984001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1927751777344061440}} 
[2026-07-05 19:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":123496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:40:02] local.INFO: GPS data processed {"connection_id":123496,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:40:02] local.INFO: Acknowledgment sent {"connection_id":123496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:40:09] local.INFO: TCP Data received {"connection_id":124711,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:40:09] local.INFO: Processing buffer {"connection_id":124711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:40:09] local.INFO: IMEI packet received {"connection_id":124711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":124711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:40:14] local.INFO: TCP Data received {"connection_id":124711,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:40:14] local.INFO: Processing buffer {"connection_id":124711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:40:14] local.INFO: IMEI packet received {"connection_id":124711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":124711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:40:15] local.INFO: TCP Data received {"connection_id":124711,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:40:15] local.INFO: Processing buffer {"connection_id":124711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:40:15] local.INFO: Packet analysis {"connection_id":124711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:40:15] local.INFO: Extracted packet for processing {"connection_id":124711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:40:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514585344001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:15] 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-07-05 19:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783260400000,"timestamp_ms":1783260400000,"timestamp_seconds":1783260400,"priority":1,"record_length":96,"hex_timestamp":"0000019f329a4980"} 
[2026-07-05 19:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514585344001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514585344001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:40:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:40:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514585344001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":124711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:40:15] local.INFO: GPS data processed {"connection_id":124711,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:40:15] local.INFO: Acknowledgment sent {"connection_id":124711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:40:31] local.INFO: TCP Data received {"connection_id":124711,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:40:31] local.INFO: Processing buffer {"connection_id":124711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:40:31] local.INFO: Packet analysis {"connection_id":124711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:40:31] local.INFO: Extracted packet for processing {"connection_id":124711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:40:31] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514585344001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:31] 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-07-05 19:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783260400000,"timestamp_ms":1783260400000,"timestamp_seconds":1783260400,"priority":1,"record_length":96,"hex_timestamp":"0000019f329a4980"} 
[2026-07-05 19:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:40: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-07-05 19:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514585344001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514585344001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:40:31] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514585344001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":124711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:40:31] local.INFO: GPS data processed {"connection_id":124711,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:40:31] local.INFO: Acknowledgment sent {"connection_id":124711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:40:34] local.INFO: TCP Data received {"connection_id":123496,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f329d27e0012d1ab5c0071fef600048011824..."} 
[2026-07-05 19:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329d27e0012d1ab5c0071fef600048011824..."} 
[2026-07-05 19:40:34] local.INFO: Processing buffer {"connection_id":123496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329d27e0012d1ab5c0071fef600048011824..."} 
[2026-07-05 19:40:34] local.INFO: Packet analysis {"connection_id":123496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329d"} 
[2026-07-05 19:40:34] local.INFO: Extracted packet for processing {"connection_id":123496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329d"} 
[2026-07-05 19:40:34] local.INFO: GPS Element Parsed {"raw_longitude":756725184,"raw_latitude":119533408,"longitude_deg":75.6725184,"latitude_deg":11.9533408,"altitude":72,"angle":280,"satellites":36,"speed":9,"hex_longitude":"2d1ab5c0","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 19:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514710272001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4732250801307648,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924866658836353024,"note":"Value kept but may cause issues"} 
[2026-07-05 19:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783260588000,"timestamp_ms":1783260588000,"timestamp_seconds":1783260588,"priority":1,"record_length":96,"hex_timestamp":"0000019f329d27e0"} 
[2026-07-05 19:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:40:34] 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-07-05 19:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-05 19:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":123496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":123496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":123496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514710272001,"66":13363,"121":206,"28":31744,"24":9,"16":4732250801307648,"45":1924866658836353024},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514710272001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:40:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:40:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4732250801307648,"km_value":4732250801307.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924866658836353024,"description":"Unknown IO ID 45"} 
[2026-07-05 19:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514710272001,"power":13363,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1924866658836353024}} 
[2026-07-05 19:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":123496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:40:34] local.INFO: GPS data processed {"connection_id":123496,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:40:34] local.INFO: Acknowledgment sent {"connection_id":123496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:41:01] local.INFO: TCP Data received {"connection_id":122790,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:41:01] local.INFO: Processing buffer {"connection_id":122790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:41:01] local.INFO: IMEI packet received {"connection_id":122790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":122790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:41:01] local.INFO: TCP Data received {"connection_id":122790,"ip":"117.224.187.82","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-05 19:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122790,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-05 19:41:01] local.INFO: Processing buffer {"connection_id":122790,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-05 19:41:01] local.INFO: IMEI packet received {"connection_id":122790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":122790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:41:02] local.INFO: TCP Data received {"connection_id":122790,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:41:02] local.INFO: Processing buffer {"connection_id":122790,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-05 19:41:02] local.INFO: IMEI packet received {"connection_id":122790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":122790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:41:10] local.INFO: TCP Data received {"connection_id":122792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:41:10] local.INFO: Processing buffer {"connection_id":122792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:41:10] local.INFO: IMEI packet received {"connection_id":122792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":122792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:41:14] local.INFO: TCP Data received {"connection_id":122792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:41:14] local.INFO: Processing buffer {"connection_id":122792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:41:14] local.INFO: IMEI packet received {"connection_id":122792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":122792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:41:15] local.INFO: TCP Data received {"connection_id":122792,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:41:15] local.INFO: Processing buffer {"connection_id":122792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:41:15] local.INFO: Packet analysis {"connection_id":122792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:41:15] local.INFO: Extracted packet for processing {"connection_id":122792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:41:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514585344001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:41:15] 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-07-05 19:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783260400000,"timestamp_ms":1783260400000,"timestamp_seconds":1783260400,"priority":1,"record_length":96,"hex_timestamp":"0000019f329a4980"} 
[2026-07-05 19:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514585344001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514585344001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:41:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514585344001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":122792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:41:15] local.INFO: GPS data processed {"connection_id":122792,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:41:15] local.INFO: Acknowledgment sent {"connection_id":122792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:41:19] local.INFO: TCP Data received {"connection_id":122792,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:41:19] local.INFO: Processing buffer {"connection_id":122792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:41:19] local.INFO: Packet analysis {"connection_id":122792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:41:19] local.INFO: Extracted packet for processing {"connection_id":122792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:41:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514585344001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:41:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:41:19] 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-07-05 19:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783260400000,"timestamp_ms":1783260400000,"timestamp_seconds":1783260400,"priority":1,"record_length":96,"hex_timestamp":"0000019f329a4980"} 
[2026-07-05 19:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:41: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-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514585344001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514585344001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:41:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514585344001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":122792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:41:20] local.INFO: GPS data processed {"connection_id":122792,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:41:20] local.INFO: Acknowledgment sent {"connection_id":122792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:42:04] local.INFO: TCP Data received {"connection_id":122736,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:42:04] local.INFO: Processing buffer {"connection_id":122736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:42:04] local.INFO: IMEI packet received {"connection_id":122736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":122736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:42:09] local.INFO: TCP Data received {"connection_id":122736,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:42:09] local.INFO: Processing buffer {"connection_id":122736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:42:09] local.INFO: IMEI packet received {"connection_id":122736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":122736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:42:10] local.INFO: TCP Data received {"connection_id":122736,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:42:10] local.INFO: Processing buffer {"connection_id":122736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:42:10] local.INFO: Packet analysis {"connection_id":122736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:42:10] local.INFO: Extracted packet for processing {"connection_id":122736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514585344001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:42:10] 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-07-05 19:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783260400000,"timestamp_ms":1783260400000,"timestamp_seconds":1783260400,"priority":1,"record_length":96,"hex_timestamp":"0000019f329a4980"} 
[2026-07-05 19:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514585344001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514585344001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:42:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514585344001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":122736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:42:10] local.INFO: GPS data processed {"connection_id":122736,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:42:10] local.INFO: Acknowledgment sent {"connection_id":122736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:42:15] local.INFO: TCP Data received {"connection_id":122736,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:42:15] local.INFO: Processing buffer {"connection_id":122736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329a4980012cb2a24007823a980048013b24..."} 
[2026-07-05 19:42:15] local.INFO: Packet analysis {"connection_id":122736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:42:15] local.INFO: Extracted packet for processing {"connection_id":122736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329a"} 
[2026-07-05 19:42:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514585344001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:42:15] 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-07-05 19:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783260400000,"timestamp_ms":1783260400000,"timestamp_seconds":1783260400,"priority":1,"record_length":96,"hex_timestamp":"0000019f329a4980"} 
[2026-07-05 19:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514585344001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514585344001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:42:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514585344001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":122736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:42:15] local.INFO: GPS data processed {"connection_id":122736,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:42:15] local.INFO: Acknowledgment sent {"connection_id":122736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:42:45] local.INFO: TCP Data received {"connection_id":122736,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:42:45] local.INFO: Processing buffer {"connection_id":122736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:42:45] local.INFO: Packet analysis {"connection_id":122736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:42:45] local.INFO: Extracted packet for processing {"connection_id":122736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:42: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-07-05 19:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514662400001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:42:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:42:45] 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-07-05 19:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783260701000,"timestamp_ms":1783260701000,"timestamp_seconds":1783260701,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ee148"} 
[2026-07-05 19:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:42: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-07-05 19:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514662400001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514662400001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:42:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:42:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514662400001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":122736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:42:45] local.INFO: GPS data processed {"connection_id":122736,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:42:45] local.INFO: Acknowledgment sent {"connection_id":122736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:43:04] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:43:04] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:43:04] local.INFO: IMEI packet received {"connection_id":124714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":124714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:43:09] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:43:09] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:43:09] local.INFO: IMEI packet received {"connection_id":124714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":124714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:43:10] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:43:10] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:43:10] local.INFO: Packet analysis {"connection_id":124714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:43:10] local.INFO: Extracted packet for processing {"connection_id":124714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514662400001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:43:10] 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-07-05 19:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783260701000,"timestamp_ms":1783260701000,"timestamp_seconds":1783260701,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ee148"} 
[2026-07-05 19:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19: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-07-05 19:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514662400001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514662400001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:43:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514662400001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":124714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:43:10] local.INFO: GPS data processed {"connection_id":124714,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:43:10] local.INFO: Acknowledgment sent {"connection_id":124714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:43:41] local.INFO: TCP Data received {"connection_id":124714,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:43:41] local.INFO: Processing buffer {"connection_id":124714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:43:41] local.INFO: Packet analysis {"connection_id":124714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:43:41] local.INFO: Extracted packet for processing {"connection_id":124714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514662400001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:43:41] 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-07-05 19:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783260701000,"timestamp_ms":1783260701000,"timestamp_seconds":1783260701,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ee148"} 
[2026-07-05 19:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19: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-07-05 19: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-07-05 19:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514662400001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514662400001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:43:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514662400001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":124714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:43:41] local.INFO: GPS data processed {"connection_id":124714,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:43:41] local.INFO: Acknowledgment sent {"connection_id":124714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:44:04] local.INFO: TCP Data received {"connection_id":122794,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:44:04] local.INFO: Processing buffer {"connection_id":122794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:44:04] local.INFO: IMEI packet received {"connection_id":122794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":122794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:44:09] local.INFO: TCP Data received {"connection_id":122794,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:44:09] local.INFO: Processing buffer {"connection_id":122794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:44:09] local.INFO: IMEI packet received {"connection_id":122794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":122794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:44:10] local.INFO: TCP Data received {"connection_id":122794,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:44:10] local.INFO: Processing buffer {"connection_id":122794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:44:10] local.INFO: Packet analysis {"connection_id":122794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:44:10] local.INFO: Extracted packet for processing {"connection_id":122794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514662400001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:44:10] 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-07-05 19:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783260701000,"timestamp_ms":1783260701000,"timestamp_seconds":1783260701,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ee148"} 
[2026-07-05 19:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:44: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-07-05 19:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514662400001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514662400001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:44:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514662400001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":122794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:44:10] local.INFO: GPS data processed {"connection_id":122794,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:44:10] local.INFO: Acknowledgment sent {"connection_id":122794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:44:34] local.INFO: TCP Data received {"connection_id":123498,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:44:34] local.INFO: Processing buffer {"connection_id":123498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:44:34] local.INFO: IMEI packet received {"connection_id":123498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":123498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:44:41] local.INFO: TCP Data received {"connection_id":122794,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:44:41] local.INFO: Processing buffer {"connection_id":122794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:44:41] local.INFO: Packet analysis {"connection_id":122794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:44:41] local.INFO: Extracted packet for processing {"connection_id":122794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514662400001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:44:41] 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-07-05 19:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783260701000,"timestamp_ms":1783260701000,"timestamp_seconds":1783260701,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ee148"} 
[2026-07-05 19:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:44: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-07-05 19:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514662400001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514662400001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:44:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514662400001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":122794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:44:41] local.INFO: GPS data processed {"connection_id":122794,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:44:41] local.INFO: Acknowledgment sent {"connection_id":122794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:45:03] local.INFO: TCP Data received {"connection_id":122739,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:45:03] local.INFO: Processing buffer {"connection_id":122739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:45:03] local.INFO: IMEI packet received {"connection_id":122739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":122739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:45:04] local.INFO: TCP Data received {"connection_id":122740,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:45:04] local.INFO: Processing buffer {"connection_id":122740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:45:04] local.INFO: IMEI packet received {"connection_id":122740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":122740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:45:09] local.INFO: TCP Data received {"connection_id":122739,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:45:09] local.INFO: Processing buffer {"connection_id":122739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:45:09] local.INFO: IMEI packet received {"connection_id":122739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 19:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":122739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:45:09] local.INFO: TCP Data received {"connection_id":122740,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:45:09] local.INFO: Processing buffer {"connection_id":122740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:45:09] local.INFO: IMEI packet received {"connection_id":122740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":122740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:45:10] local.INFO: TCP Data received {"connection_id":122739,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f327671b8012cb2a10007823b380045000025..."} 
[2026-07-05 19:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f327671b8012cb2a10007823b380045000025..."} 
[2026-07-05 19:45:10] local.INFO: Processing buffer {"connection_id":122739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f327671b8012cb2a10007823b380045000025..."} 
[2026-07-05 19:45:10] local.INFO: Packet analysis {"connection_id":122739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3276"} 
[2026-07-05 19:45:10] local.INFO: Extracted packet for processing {"connection_id":122739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3276"} 
[2026-07-05 19:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":69,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 19:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456513984000001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 19:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 19:45:10] 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-07-05 19:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783258051000,"timestamp_ms":1783258051000,"timestamp_seconds":1783258051,"priority":1,"record_length":96,"hex_timestamp":"0000019f327671b8"} 
[2026-07-05 19:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 19:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 19:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 19:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 19:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456513984000001,"66":25321,"184":206,"85":36096,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 19:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 19:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456513984000001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:45:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 19:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456513984000001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 19:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":122739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:45:10] local.INFO: GPS data processed {"connection_id":122739,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:45:10] local.INFO: Acknowledgment sent {"connection_id":122739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:45:10] local.INFO: TCP Data received {"connection_id":122740,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:45:10] local.INFO: Processing buffer {"connection_id":122740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:45:10] local.INFO: Packet analysis {"connection_id":122740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:45:10] local.INFO: Extracted packet for processing {"connection_id":122740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514662400001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:45:10] 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-07-05 19:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783260701000,"timestamp_ms":1783260701000,"timestamp_seconds":1783260701,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ee148"} 
[2026-07-05 19:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:45: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-07-05 19:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514662400001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514662400001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:45:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514662400001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":122740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:45:10] local.INFO: GPS data processed {"connection_id":122740,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:45:10] local.INFO: Acknowledgment sent {"connection_id":122740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:45:41] local.INFO: TCP Data received {"connection_id":122740,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:45:41] local.INFO: Processing buffer {"connection_id":122740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:45:41] local.INFO: Packet analysis {"connection_id":122740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:45:41] local.INFO: Extracted packet for processing {"connection_id":122740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514662400001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:45:41] 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-07-05 19:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783260701000,"timestamp_ms":1783260701000,"timestamp_seconds":1783260701,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ee148"} 
[2026-07-05 19:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:45: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-07-05 19: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-07-05 19:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514662400001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514662400001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:45:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514662400001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":122740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:45:41] local.INFO: GPS data processed {"connection_id":122740,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:45:41] local.INFO: Acknowledgment sent {"connection_id":122740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:45:54] local.INFO: TCP Data received {"connection_id":124715,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:45:54] local.INFO: Processing buffer {"connection_id":124715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:45:54] local.INFO: IMEI packet received {"connection_id":124715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":124715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:46:06] local.INFO: TCP Data received {"connection_id":122795,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:46:06] local.INFO: Processing buffer {"connection_id":122795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:46:06] local.INFO: IMEI packet received {"connection_id":122795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":122795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:46:08] local.INFO: TCP Data received {"connection_id":122795,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a17d40012d19ec0007202a58003600f824..."} 
[2026-07-05 19:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a17d40012d19ec0007202a58003600f824..."} 
[2026-07-05 19:46:08] local.INFO: Processing buffer {"connection_id":122795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a17d40012d19ec0007202a58003600f824..."} 
[2026-07-05 19:46:08] local.INFO: Packet analysis {"connection_id":122795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a1"} 
[2026-07-05 19:46:08] local.INFO: Extracted packet for processing {"connection_id":122795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a1"} 
[2026-07-05 19:46:08] local.INFO: GPS Element Parsed {"raw_longitude":756673536,"raw_latitude":119548504,"longitude_deg":75.6673536,"latitude_deg":11.9548504,"altitude":54,"angle":248,"satellites":36,"speed":38,"hex_longitude":"2d19ec00","hex_latitude":"07202a58","is_valid_coordinates":true} 
[2026-07-05 19:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514780928001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4736863596183552,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875538169172875264,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783260872000,"timestamp_ms":1783260872000,"timestamp_seconds":1783260872,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a17d40"} 
[2026-07-05 19:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:46:08] 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-07-05 19:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-05 19:46: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-07-05 19:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":122795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":122795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":122795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514780928001,"66":12798,"121":206,"28":31744,"24":38,"16":4736863596183552,"45":1875538169172875264},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514780928001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:46:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4736863596183552,"km_value":4736863596183.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875538169172875264,"description":"Unknown IO ID 45"} 
[2026-07-05 19:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514780928001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1875538169172875264}} 
[2026-07-05 19:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":122795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:46:08] local.INFO: GPS data processed {"connection_id":122795,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:46:08] local.INFO: Acknowledgment sent {"connection_id":122795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:46:09] local.INFO: TCP Data received {"connection_id":122796,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:46:09] local.INFO: Processing buffer {"connection_id":122796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:46:09] local.INFO: IMEI packet received {"connection_id":122796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":122796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:46:14] local.INFO: TCP Data received {"connection_id":122796,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:46:14] local.INFO: Processing buffer {"connection_id":122796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:46:14] local.INFO: IMEI packet received {"connection_id":122796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":122796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:46:15] local.INFO: TCP Data received {"connection_id":122796,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:46:15] local.INFO: Processing buffer {"connection_id":122796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:46:15] local.INFO: Packet analysis {"connection_id":122796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:46:15] local.INFO: Extracted packet for processing {"connection_id":122796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:46:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514662400001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:15] 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-07-05 19:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783260701000,"timestamp_ms":1783260701000,"timestamp_seconds":1783260701,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ee148"} 
[2026-07-05 19:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:46:15] 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-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514662400001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514662400001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:46:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:46:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514662400001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":122796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:46:15] local.INFO: GPS data processed {"connection_id":122796,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:46:15] local.INFO: Acknowledgment sent {"connection_id":122796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:46:19] local.INFO: TCP Data received {"connection_id":122796,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:46:19] local.INFO: Processing buffer {"connection_id":122796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:46:19] local.INFO: Packet analysis {"connection_id":122796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:46:19] local.INFO: Extracted packet for processing {"connection_id":122796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:46:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514662400001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:19] 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-07-05 19:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783260701000,"timestamp_ms":1783260701000,"timestamp_seconds":1783260701,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ee148"} 
[2026-07-05 19:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:46:19] 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-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514662400001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514662400001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:46:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514662400001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":122796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:46:20] local.INFO: GPS data processed {"connection_id":122796,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:46:20] local.INFO: Acknowledgment sent {"connection_id":122796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:46:39] local.INFO: TCP Data received {"connection_id":122795,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a27f10012d19ce0007201990002d008f22..."} 
[2026-07-05 19:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a27f10012d19ce0007201990002d008f22..."} 
[2026-07-05 19:46:39] local.INFO: Processing buffer {"connection_id":122795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a27f10012d19ce0007201990002d008f22..."} 
[2026-07-05 19:46:39] local.INFO: Packet analysis {"connection_id":122795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a2"} 
[2026-07-05 19:46:39] local.INFO: Extracted packet for processing {"connection_id":122795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a2"} 
[2026-07-05 19:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":34,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514799360001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783260938000,"timestamp_ms":1783260938000,"timestamp_seconds":1783260938,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a27f10"} 
[2026-07-05 19:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:46:39] 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-07-05 19:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-05 19:46:39] 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-07-05 19: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-07-05 19:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":122795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":122795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":122795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514799360001,"66":12645,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514799360001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:46:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514799360001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":122795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:46:39] local.INFO: GPS data processed {"connection_id":122795,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:46:39] local.INFO: Acknowledgment sent {"connection_id":122795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:46:56] local.INFO: TCP Data received {"connection_id":124716,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:46:56] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:46:56] local.INFO: IMEI packet received {"connection_id":124716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":124716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:46:57] local.INFO: TCP Data received {"connection_id":124716,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:46:57] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:46:57] local.INFO: IMEI packet received {"connection_id":124716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":124716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:47:01] local.INFO: TCP Data received {"connection_id":124716,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:47:01] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:47:01] local.INFO: IMEI packet received {"connection_id":124716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":124716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:47:03] local.INFO: TCP Data received {"connection_id":124716,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a282f8012d19ce0007201990002d008f22..."} 
[2026-07-05 19:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a282f8012d19ce0007201990002d008f22..."} 
[2026-07-05 19:47:03] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a282f8012d19ce0007201990002d008f22..."} 
[2026-07-05 19:47:03] local.INFO: Packet analysis {"connection_id":124716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a2"} 
[2026-07-05 19:47:03] local.INFO: Extracted packet for processing {"connection_id":124716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a2"} 
[2026-07-05 19:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":34,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:47: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-07-05 19:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514800128001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783260939000,"timestamp_ms":1783260939000,"timestamp_seconds":1783260939,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a282f8"} 
[2026-07-05 19:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:47:03] 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-07-05 19:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-05 19:47: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-07-05 19:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514800128001,"66":12711,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514800128001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:47:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:47:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514800128001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":124716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:47:03] local.INFO: GPS data processed {"connection_id":124716,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:47:03] local.INFO: Acknowledgment sent {"connection_id":124716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:47:04] local.INFO: TCP Data received {"connection_id":123499,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:47:04] local.INFO: Processing buffer {"connection_id":123499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:47:04] local.INFO: IMEI packet received {"connection_id":123499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":123499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:47:07] local.INFO: TCP Data received {"connection_id":124716,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a2c560012d19ce0007201990002d008f25..."} 
[2026-07-05 19:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a2c560012d19ce0007201990002d008f25..."} 
[2026-07-05 19:47:07] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a2c560012d19ce0007201990002d008f25..."} 
[2026-07-05 19:47:07] local.INFO: Packet analysis {"connection_id":124716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a2"} 
[2026-07-05 19:47:07] local.INFO: Extracted packet for processing {"connection_id":124716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a2"} 
[2026-07-05 19:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514800384001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783260956000,"timestamp_ms":1783260956000,"timestamp_seconds":1783260956,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a2c560"} 
[2026-07-05 19:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:47:07] 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-07-05 19:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-05 19:47:07] 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-07-05 19:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":124716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":124716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":124716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514800384001,"66":12645,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514800384001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:47:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514800384001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":124716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:47:07] local.INFO: GPS data processed {"connection_id":124716,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:47:07] local.INFO: Acknowledgment sent {"connection_id":124716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:47:09] local.INFO: TCP Data received {"connection_id":123499,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:47:09] local.INFO: Processing buffer {"connection_id":123499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:47:09] local.INFO: IMEI packet received {"connection_id":123499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":123499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:47:10] local.INFO: TCP Data received {"connection_id":123499,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:47:10] local.INFO: Processing buffer {"connection_id":123499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f329ee148012cb2a24007823a980048013b25..."} 
[2026-07-05 19:47:10] local.INFO: Packet analysis {"connection_id":123499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:47:10] local.INFO: Extracted packet for processing {"connection_id":123499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f329e"} 
[2026-07-05 19:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514662400001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:10] 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-07-05 19:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783260701000,"timestamp_ms":1783260701000,"timestamp_seconds":1783260701,"priority":1,"record_length":96,"hex_timestamp":"0000019f329ee148"} 
[2026-07-05 19:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:47: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-07-05 19:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514662400001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514662400001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:47:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514662400001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":123499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:47:10] local.INFO: GPS data processed {"connection_id":123499,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:47:10] local.INFO: Acknowledgment sent {"connection_id":123499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:47:38] local.INFO: TCP Data received {"connection_id":124716,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a31768012d19ce0007201990002d008f24..."} 
[2026-07-05 19:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a31768012d19ce0007201990002d008f24..."} 
[2026-07-05 19:47:38] local.INFO: Processing buffer {"connection_id":124716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a31768012d19ce0007201990002d008f24..."} 
[2026-07-05 19:47:38] local.INFO: Packet analysis {"connection_id":124716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:47:38] local.INFO: Extracted packet for processing {"connection_id":124716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":36,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514804736001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783260977000,"timestamp_ms":1783260977000,"timestamp_seconds":1783260977,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a31768"} 
[2026-07-05 19:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:47:38] 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-07-05 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-05 19:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":124716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":124716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":124716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514804736001,"66":12602,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514804736001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:47:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514804736001,"power":12602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":124716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:47:38] local.INFO: GPS data processed {"connection_id":124716,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:47:38] local.INFO: Acknowledgment sent {"connection_id":124716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:47:41] local.INFO: TCP Data received {"connection_id":123499,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:47:41] local.INFO: Processing buffer {"connection_id":123499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:47:41] local.INFO: Packet analysis {"connection_id":123499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:47:41] local.INFO: Extracted packet for processing {"connection_id":123499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:47:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514739456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:47:41] 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-07-05 19:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261002000,"timestamp_ms":1783261002000,"timestamp_seconds":1783261002,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a37910"} 
[2026-07-05 19:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 19:47: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-07-05 19:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514739456001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514739456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:47:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514739456001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":123499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:47:41] local.INFO: GPS data processed {"connection_id":123499,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:47:41] local.INFO: Acknowledgment sent {"connection_id":123499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:47:56] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:47:56] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:47:56] local.INFO: IMEI packet received {"connection_id":124717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":124717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:47:58] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:47:58] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:47:58] local.INFO: IMEI packet received {"connection_id":124717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":124717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:48:00] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a36970012d19ce0007201990002d008f24..."} 
[2026-07-05 19:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a36970012d19ce0007201990002d008f24..."} 
[2026-07-05 19:48:00] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a36970012d19ce0007201990002d008f24..."} 
[2026-07-05 19:48:00] local.INFO: Packet analysis {"connection_id":124717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:48:00] local.INFO: Extracted packet for processing {"connection_id":124717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:48:00] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":36,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514810112001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783260998000,"timestamp_ms":1783260998000,"timestamp_seconds":1783260998,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a36970"} 
[2026-07-05 19:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-05 19:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":124717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514810112001,"66":12667,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514810112001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:48:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514810112001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":124717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:48:00] local.INFO: GPS data processed {"connection_id":124717,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:48:00] local.INFO: Acknowledgment sent {"connection_id":124717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:48:04] local.INFO: TCP Data received {"connection_id":122797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:48:04] local.INFO: Processing buffer {"connection_id":122797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:48:04] local.INFO: IMEI packet received {"connection_id":122797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":122797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:48:09] local.INFO: TCP Data received {"connection_id":122797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:48:09] local.INFO: Processing buffer {"connection_id":122797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:48:09] local.INFO: IMEI packet received {"connection_id":122797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":122797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:48:10] local.INFO: TCP Data received {"connection_id":122797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:48:10] local.INFO: Processing buffer {"connection_id":122797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:48:10] local.INFO: Packet analysis {"connection_id":122797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:48:10] local.INFO: Extracted packet for processing {"connection_id":122797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514739456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:10] 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-07-05 19:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261002000,"timestamp_ms":1783261002000,"timestamp_seconds":1783261002,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a37910"} 
[2026-07-05 19:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 19:48: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-07-05 19:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514739456001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514739456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:48:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514739456001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":122797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:48:10] local.INFO: GPS data processed {"connection_id":122797,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:48:10] local.INFO: Acknowledgment sent {"connection_id":122797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:48:31] local.INFO: TCP Data received {"connection_id":124717,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a3bb78012d19ce0007201990002d008f27..."} 
[2026-07-05 19:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a3bb78012d19ce0007201990002d008f27..."} 
[2026-07-05 19:48:31] local.INFO: Processing buffer {"connection_id":124717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a3bb78012d19ce0007201990002d008f27..."} 
[2026-07-05 19:48:31] local.INFO: Packet analysis {"connection_id":124717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:48:31] local.INFO: Extracted packet for processing {"connection_id":124717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514815488001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783261019000,"timestamp_ms":1783261019000,"timestamp_seconds":1783261019,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a3bb78"} 
[2026-07-05 19:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-05 19:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514815488001,"66":12504,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514815488001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:48:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514815488001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":124717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:48:31] local.INFO: GPS data processed {"connection_id":124717,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:48:31] local.INFO: Acknowledgment sent {"connection_id":124717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:48:41] local.INFO: TCP Data received {"connection_id":122797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:48:41] local.INFO: Processing buffer {"connection_id":122797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:48:41] local.INFO: Packet analysis {"connection_id":122797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:48:41] local.INFO: Extracted packet for processing {"connection_id":122797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514739456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:48:41] 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-07-05 19:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261002000,"timestamp_ms":1783261002000,"timestamp_seconds":1783261002,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a37910"} 
[2026-07-05 19:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 19:48: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-07-05 19:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514739456001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514739456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:48:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514739456001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":122797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:48:41] local.INFO: GPS data processed {"connection_id":122797,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:48:41] local.INFO: Acknowledgment sent {"connection_id":122797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:48:57] local.INFO: TCP Data received {"connection_id":123500,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:48:57] local.INFO: Processing buffer {"connection_id":123500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:48:57] local.INFO: IMEI packet received {"connection_id":123500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":123500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:49:01] local.INFO: TCP Data received {"connection_id":123500,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:49:01] local.INFO: Processing buffer {"connection_id":123500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:49:01] local.INFO: IMEI packet received {"connection_id":123500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":123500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:49:03] local.INFO: TCP Data received {"connection_id":123500,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a40d80012d19ce0007201990002d008f27..."} 
[2026-07-05 19:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a40d80012d19ce0007201990002d008f27..."} 
[2026-07-05 19:49:03] local.INFO: Processing buffer {"connection_id":123500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a40d80012d19ce0007201990002d008f27..."} 
[2026-07-05 19:49:03] local.INFO: Packet analysis {"connection_id":123500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a4"} 
[2026-07-05 19:49:03] local.INFO: Extracted packet for processing {"connection_id":123500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a4"} 
[2026-07-05 19:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514820864001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783261040000,"timestamp_ms":1783261040000,"timestamp_seconds":1783261040,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a40d80"} 
[2026-07-05 19:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:49:03] 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-07-05 19:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-05 19:49:03] 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-07-05 19:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":123500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":123500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":123500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514820864001,"66":12613,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514820864001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:49:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:49:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514820864001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":123500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:49:03] local.INFO: GPS data processed {"connection_id":123500,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:49:03] local.INFO: Acknowledgment sent {"connection_id":123500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:49:04] local.INFO: TCP Data received {"connection_id":122798,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:49:04] local.INFO: Processing buffer {"connection_id":122798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:49:04] local.INFO: IMEI packet received {"connection_id":122798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":122798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:49:09] local.INFO: TCP Data received {"connection_id":122798,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:49:09] local.INFO: Processing buffer {"connection_id":122798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:49:09] local.INFO: IMEI packet received {"connection_id":122798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":122798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:49:10] local.INFO: TCP Data received {"connection_id":122798,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:49:10] local.INFO: Processing buffer {"connection_id":122798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:49:10] local.INFO: Packet analysis {"connection_id":122798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:49:10] local.INFO: Extracted packet for processing {"connection_id":122798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:49:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514739456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:10] 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-07-05 19:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261002000,"timestamp_ms":1783261002000,"timestamp_seconds":1783261002,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a37910"} 
[2026-07-05 19:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:49: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-07-05 19:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 19:49: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-07-05 19:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514739456001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514739456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:49:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514739456001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":122798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:49:10] local.INFO: GPS data processed {"connection_id":122798,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:49:10] local.INFO: Acknowledgment sent {"connection_id":122798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:49:34] local.INFO: TCP Data received {"connection_id":123500,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a45f88012d19ce0007201990002d008f26..."} 
[2026-07-05 19:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a45f88012d19ce0007201990002d008f26..."} 
[2026-07-05 19:49:34] local.INFO: Processing buffer {"connection_id":123500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a45f88012d19ce0007201990002d008f26..."} 
[2026-07-05 19:49:34] local.INFO: Packet analysis {"connection_id":123500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a4"} 
[2026-07-05 19:49:34] local.INFO: Extracted packet for processing {"connection_id":123500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a4"} 
[2026-07-05 19:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514826240001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783261061000,"timestamp_ms":1783261061000,"timestamp_seconds":1783261061,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a45f88"} 
[2026-07-05 19:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-05 19:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":123500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":123500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":123500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514826240001,"66":12613,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514826240001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:49:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:49:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514826240001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":123500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:49:34] local.INFO: GPS data processed {"connection_id":123500,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:49:34] local.INFO: Acknowledgment sent {"connection_id":123500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:49:41] local.INFO: TCP Data received {"connection_id":122798,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:49:41] local.INFO: Processing buffer {"connection_id":122798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:49:41] local.INFO: Packet analysis {"connection_id":122798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:49:41] local.INFO: Extracted packet for processing {"connection_id":122798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514739456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:49:41] 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-07-05 19:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261002000,"timestamp_ms":1783261002000,"timestamp_seconds":1783261002,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a37910"} 
[2026-07-05 19:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 19:49: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-07-05 19:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514739456001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514739456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:49:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514739456001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":122798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:49:41] local.INFO: GPS data processed {"connection_id":122798,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:49:41] local.INFO: Acknowledgment sent {"connection_id":122798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:49:56] local.INFO: TCP Data received {"connection_id":122799,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:49:56] local.INFO: Processing buffer {"connection_id":122799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:49:56] local.INFO: IMEI packet received {"connection_id":122799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":122799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:50:01] local.INFO: TCP Data received {"connection_id":122799,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:50:01] local.INFO: Processing buffer {"connection_id":122799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:50:01] local.INFO: IMEI packet received {"connection_id":122799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":122799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:50:02] local.INFO: TCP Data received {"connection_id":122799,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a4b190012d19ce0007201990002d008f24..."} 
[2026-07-05 19:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a4b190012d19ce0007201990002d008f24..."} 
[2026-07-05 19:50:02] local.INFO: Processing buffer {"connection_id":122799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a4b190012d19ce0007201990002d008f24..."} 
[2026-07-05 19:50:02] local.INFO: Packet analysis {"connection_id":122799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a4"} 
[2026-07-05 19:50:02] local.INFO: Extracted packet for processing {"connection_id":122799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a4"} 
[2026-07-05 19:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":36,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514831616001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783261082000,"timestamp_ms":1783261082000,"timestamp_seconds":1783261082,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a4b190"} 
[2026-07-05 19:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:50:02] 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-07-05 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-05 19:50: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-07-05 19: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-07-05 19:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":122799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":122799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":122799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514831616001,"66":12232,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514831616001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:50:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:50:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514831616001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":122799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:50:02] local.INFO: GPS data processed {"connection_id":122799,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:50:02] local.INFO: Acknowledgment sent {"connection_id":122799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:50:10] local.INFO: TCP Data received {"connection_id":122743,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:50:10] local.INFO: Processing buffer {"connection_id":122743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:50:10] local.INFO: IMEI packet received {"connection_id":122743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":122743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:50:17] local.INFO: TCP Data received {"connection_id":122743,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:50:17] local.INFO: Processing buffer {"connection_id":122743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:50:17] local.INFO: IMEI packet received {"connection_id":122743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":122743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:50:18] local.INFO: TCP Data received {"connection_id":122743,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:50:18] local.INFO: Processing buffer {"connection_id":122743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:50:18] local.INFO: Packet analysis {"connection_id":122743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:50:18] local.INFO: Extracted packet for processing {"connection_id":122743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:50:18] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:50: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-07-05 19:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514739456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:18] 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-07-05 19:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783261002000,"timestamp_ms":1783261002000,"timestamp_seconds":1783261002,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a37910"} 
[2026-07-05 19:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:50:18] 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-07-05 19:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 19:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:50: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-07-05 19:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514739456001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514739456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:50:18] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:50:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:50:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514739456001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":122743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:50:18] local.INFO: GPS data processed {"connection_id":122743,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:50:18] local.INFO: Acknowledgment sent {"connection_id":122743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:50:19] local.INFO: TCP Data received {"connection_id":122743,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:50:19] local.INFO: Processing buffer {"connection_id":122743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:50:19] local.INFO: Packet analysis {"connection_id":122743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:50:19] local.INFO: Extracted packet for processing {"connection_id":122743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:50:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514739456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:19] 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-07-05 19:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783261002000,"timestamp_ms":1783261002000,"timestamp_seconds":1783261002,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a37910"} 
[2026-07-05 19:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:50:19] 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-07-05 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 19:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514739456001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514739456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:50:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:50:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:50:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514739456001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":122743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:50:19] local.INFO: GPS data processed {"connection_id":122743,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:50:19] local.INFO: Acknowledgment sent {"connection_id":122743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:50:33] local.INFO: TCP Data received {"connection_id":122799,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a50398012d19ce0007201990002d008f28..."} 
[2026-07-05 19:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a50398012d19ce0007201990002d008f28..."} 
[2026-07-05 19:50:33] local.INFO: Processing buffer {"connection_id":122799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a50398012d19ce0007201990002d008f28..."} 
[2026-07-05 19:50:33] local.INFO: Packet analysis {"connection_id":122799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a5"} 
[2026-07-05 19:50:33] local.INFO: Extracted packet for processing {"connection_id":122799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a5"} 
[2026-07-05 19:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514836992001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783261103000,"timestamp_ms":1783261103000,"timestamp_seconds":1783261103,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a50398"} 
[2026-07-05 19:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:50:33] 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-07-05 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 19:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":122799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":122799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":122799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514836992001,"66":12645,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514836992001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:50:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:50:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514836992001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":122799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:50:34] local.INFO: GPS data processed {"connection_id":122799,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:50:34] local.INFO: Acknowledgment sent {"connection_id":122799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:50:56] local.INFO: TCP Data received {"connection_id":124719,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:50:56] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:50:56] local.INFO: IMEI packet received {"connection_id":124719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":124719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:51:01] local.INFO: TCP Data received {"connection_id":124719,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:51:01] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:51:01] local.INFO: IMEI packet received {"connection_id":124719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":124719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:51:02] local.INFO: TCP Data received {"connection_id":124719,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a555a0012d19ce0007201990002d008f27..."} 
[2026-07-05 19:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a555a0012d19ce0007201990002d008f27..."} 
[2026-07-05 19:51:02] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a555a0012d19ce0007201990002d008f27..."} 
[2026-07-05 19:51:02] local.INFO: Packet analysis {"connection_id":124719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a5"} 
[2026-07-05 19:51:02] local.INFO: Extracted packet for processing {"connection_id":124719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a5"} 
[2026-07-05 19:51:02] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514842368001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783261124000,"timestamp_ms":1783261124000,"timestamp_seconds":1783261124,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a555a0"} 
[2026-07-05 19:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:51:02] 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-07-05 19:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-05 19:51: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-07-05 19:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514842368001,"66":12504,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514842368001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:51:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:51:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514842368001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":124719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:51:02] local.INFO: GPS data processed {"connection_id":124719,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:51:02] local.INFO: Acknowledgment sent {"connection_id":124719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:51:04] local.INFO: TCP Data received {"connection_id":123501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:51:04] local.INFO: Processing buffer {"connection_id":123501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:51:04] local.INFO: IMEI packet received {"connection_id":123501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":123501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:51:09] local.INFO: TCP Data received {"connection_id":123501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:51:09] local.INFO: Processing buffer {"connection_id":123501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:51:09] local.INFO: IMEI packet received {"connection_id":123501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":123501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:51:10] local.INFO: TCP Data received {"connection_id":123501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:51:10] local.INFO: Processing buffer {"connection_id":123501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:51:10] local.INFO: Packet analysis {"connection_id":123501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:51:10] local.INFO: Extracted packet for processing {"connection_id":123501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:51:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514739456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:10] 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-07-05 19:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261002000,"timestamp_ms":1783261002000,"timestamp_seconds":1783261002,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a37910"} 
[2026-07-05 19:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:51: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-07-05 19:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 19:51: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-07-05 19:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514739456001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514739456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:51:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514739456001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":123501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:51:10] local.INFO: GPS data processed {"connection_id":123501,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:51:10] local.INFO: Acknowledgment sent {"connection_id":123501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:51:24] local.INFO: TCP Data received {"connection_id":122744,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:51:24] local.INFO: Processing buffer {"connection_id":122744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:51:24] local.INFO: IMEI packet received {"connection_id":122744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":122744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:51:34] local.INFO: TCP Data received {"connection_id":124719,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a5a7a8012d19ce0007201990002d008f26..."} 
[2026-07-05 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a5a7a8012d19ce0007201990002d008f26..."} 
[2026-07-05 19:51:34] local.INFO: Processing buffer {"connection_id":124719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a5a7a8012d19ce0007201990002d008f26..."} 
[2026-07-05 19:51:34] local.INFO: Packet analysis {"connection_id":124719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a5"} 
[2026-07-05 19:51:34] local.INFO: Extracted packet for processing {"connection_id":124719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a5"} 
[2026-07-05 19:51:34] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514847744001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783261145000,"timestamp_ms":1783261145000,"timestamp_seconds":1783261145,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a5a7a8"} 
[2026-07-05 19:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-05 19:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514847744001,"66":12591,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514847744001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:51:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:51:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514847744001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":124719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:51:34] local.INFO: GPS data processed {"connection_id":124719,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:51:34] local.INFO: Acknowledgment sent {"connection_id":124719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:51:41] local.INFO: TCP Data received {"connection_id":123501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:51:41] local.INFO: Processing buffer {"connection_id":123501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:51:41] local.INFO: Packet analysis {"connection_id":123501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:51:41] local.INFO: Extracted packet for processing {"connection_id":123501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:51:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514739456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:51:41] 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-07-05 19:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261002000,"timestamp_ms":1783261002000,"timestamp_seconds":1783261002,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a37910"} 
[2026-07-05 19:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":200,"data_length":795,"current_offset":136} 
[2026-07-05 19:51: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-07-05 19: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-07-05 19:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514739456001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514739456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:51:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514739456001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":123501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:51:41] local.INFO: GPS data processed {"connection_id":123501,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:51:41] local.INFO: Acknowledgment sent {"connection_id":123501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:52:01] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:52:01] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:52:01] local.INFO: IMEI packet received {"connection_id":122745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":122745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:52:03] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:52:03] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:52:03] local.INFO: IMEI packet received {"connection_id":122801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":122801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:52:04] local.INFO: TCP Data received {"connection_id":122802,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:52:04] local.INFO: Processing buffer {"connection_id":122802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:52:04] local.INFO: IMEI packet received {"connection_id":122802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":122802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:52:06] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:52:06] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:52:06] local.INFO: IMEI packet received {"connection_id":122745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":122745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:52:07] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a5f9b0012d19ce0007201990002d008f26..."} 
[2026-07-05 19:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a5f9b0012d19ce0007201990002d008f26..."} 
[2026-07-05 19:52:07] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a5f9b0012d19ce0007201990002d008f26..."} 
[2026-07-05 19:52:07] local.INFO: Packet analysis {"connection_id":122745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a5"} 
[2026-07-05 19:52:07] local.INFO: Extracted packet for processing {"connection_id":122745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a5"} 
[2026-07-05 19:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 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-07-05 19:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514853120001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783261166000,"timestamp_ms":1783261166000,"timestamp_seconds":1783261166,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a5f9b0"} 
[2026-07-05 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-07-05 19:52: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-07-05 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-05 19:52:07] 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-07-05 19: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-07-05 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-07-05 19:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":122745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514853120001,"66":12548,"70":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-05 19:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514853120001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:52:07] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-05 19:52:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514853120001,"power":12548,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":122745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:52:07] local.INFO: GPS data processed {"connection_id":122745,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:52:07] local.INFO: Acknowledgment sent {"connection_id":122745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:52:09] local.INFO: TCP Data received {"connection_id":122802,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:52:09] local.INFO: Processing buffer {"connection_id":122802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:52:09] local.INFO: IMEI packet received {"connection_id":122802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":122802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:52:10] local.INFO: TCP Data received {"connection_id":122802,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:52:10] local.INFO: Processing buffer {"connection_id":122802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a37910012cb2a24007823a980048013b23..."} 
[2026-07-05 19:52:10] local.INFO: Packet analysis {"connection_id":122802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:52:10] local.INFO: Extracted packet for processing {"connection_id":122802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a3"} 
[2026-07-05 19:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":35,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514739456001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:10] 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-07-05 19:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261002000,"timestamp_ms":1783261002000,"timestamp_seconds":1783261002,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a37910"} 
[2026-07-05 19:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:52: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-07-05 19:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 19:52: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-07-05 19:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514739456001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514739456001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:52:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514739456001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":122802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:52:10] local.INFO: GPS data processed {"connection_id":122802,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:52:10] local.INFO: Acknowledgment sent {"connection_id":122802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:52:12] local.INFO: TCP Data received {"connection_id":122745,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a64bb8012d19ce0007201990002d008f25..."} 
[2026-07-05 19:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a64bb8012d19ce0007201990002d008f25..."} 
[2026-07-05 19:52:12] local.INFO: Processing buffer {"connection_id":122745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a64bb8012d19ce0007201990002d008f25..."} 
[2026-07-05 19:52:12] local.INFO: Packet analysis {"connection_id":122745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a6"} 
[2026-07-05 19:52:12] local.INFO: Extracted packet for processing {"connection_id":122745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a6"} 
[2026-07-05 19:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514858496001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783261187000,"timestamp_ms":1783261187000,"timestamp_seconds":1783261187,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a64bb8"} 
[2026-07-05 19:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:52:12] 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-07-05 19:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-05 19:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3566862336,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:12] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2763100161,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-05 19:52:12] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:12] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:12] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,70,28,24,241,158,16,212,159,167,45,25,38,10,66,121,85,39,3,1,240,101,50,32,4,113,205,95,206,144,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-05 19:52:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242749125078286336,"timestamp_seconds":3242749125078286.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 19:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514858496001,"66":12537,"70":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-05 19:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514858496001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:52:12] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-05 19:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514858496001,"power":12537,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":122745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:52:12] local.INFO: GPS data processed {"connection_id":122745,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:52:12] local.INFO: Acknowledgment sent {"connection_id":122745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:52:41] local.INFO: TCP Data received {"connection_id":122802,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:52:41] local.INFO: Processing buffer {"connection_id":122802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:52:41] local.INFO: Packet analysis {"connection_id":122802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:52:41] local.INFO: Extracted packet for processing {"connection_id":122802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:52:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514816512001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:52:41] 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-07-05 19:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261303000,"timestamp_ms":1783261303000,"timestamp_seconds":1783261303,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a810d8"} 
[2026-07-05 19:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514816512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514816512001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:52:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514816512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":122802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:52:41] local.INFO: GPS data processed {"connection_id":122802,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:52:41] local.INFO: Acknowledgment sent {"connection_id":122802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:52:56] local.INFO: TCP Data received {"connection_id":122803,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:52:56] local.INFO: Processing buffer {"connection_id":122803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:52:56] local.INFO: IMEI packet received {"connection_id":122803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":122803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:53:03] local.INFO: TCP Data received {"connection_id":122803,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:53:03] local.INFO: Processing buffer {"connection_id":122803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:53:03] local.INFO: IMEI packet received {"connection_id":122803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":122803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:53:04] local.INFO: TCP Data received {"connection_id":122803,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a69dc0012d19ce0007201990002d008f27..."} 
[2026-07-05 19:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a69dc0012d19ce0007201990002d008f27..."} 
[2026-07-05 19:53:04] local.INFO: Processing buffer {"connection_id":122803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a69dc0012d19ce0007201990002d008f27..."} 
[2026-07-05 19:53:04] local.INFO: Packet analysis {"connection_id":122803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a6"} 
[2026-07-05 19:53:04] local.INFO: Extracted packet for processing {"connection_id":122803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a6"} 
[2026-07-05 19:53:04] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514863872001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783261208000,"timestamp_ms":1783261208000,"timestamp_seconds":1783261208,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a69dc0"} 
[2026-07-05 19:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:53:04] 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-07-05 19: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-05 19:53:04] 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-07-05 19: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-07-05 19:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":122803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":122803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":122803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514863872001,"66":12591,"70":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-05 19:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514863872001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:53:04] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-05 19:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514863872001,"power":12591,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":122803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:53:05] local.INFO: GPS data processed {"connection_id":122803,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:53:05] local.INFO: Acknowledgment sent {"connection_id":122803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:53:09] local.INFO: TCP Data received {"connection_id":124720,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:53:09] local.INFO: Processing buffer {"connection_id":124720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:53:09] local.INFO: IMEI packet received {"connection_id":124720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":124720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:53:14] local.INFO: TCP Data received {"connection_id":124720,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:53:14] local.INFO: Processing buffer {"connection_id":124720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:53:14] local.INFO: IMEI packet received {"connection_id":124720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":124720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:53:15] local.INFO: TCP Data received {"connection_id":124720,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:53:15] local.INFO: Processing buffer {"connection_id":124720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:53:15] local.INFO: Packet analysis {"connection_id":124720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:53:15] local.INFO: Extracted packet for processing {"connection_id":124720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:53:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514816512001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:15] 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-07-05 19:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783261303000,"timestamp_ms":1783261303000,"timestamp_seconds":1783261303,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a810d8"} 
[2026-07-05 19:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514816512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514816512001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:53:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:53:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514816512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":124720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:53:15] local.INFO: GPS data processed {"connection_id":124720,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:53:15] local.INFO: Acknowledgment sent {"connection_id":124720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:53:19] local.INFO: TCP Data received {"connection_id":124720,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:53:19] local.INFO: Processing buffer {"connection_id":124720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:53:19] local.INFO: Packet analysis {"connection_id":124720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:53:19] local.INFO: Extracted packet for processing {"connection_id":124720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:53:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514816512001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:19] 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-07-05 19:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783261303000,"timestamp_ms":1783261303000,"timestamp_seconds":1783261303,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a810d8"} 
[2026-07-05 19:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:53: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-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514816512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514816512001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:53:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514816512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":124720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:53:19] local.INFO: GPS data processed {"connection_id":124720,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:53:19] local.INFO: Acknowledgment sent {"connection_id":124720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:53:36] local.INFO: TCP Data received {"connection_id":122803,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a6efc8012d19ce0007201990002d008f21..."} 
[2026-07-05 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a6efc8012d19ce0007201990002d008f21..."} 
[2026-07-05 19:53:36] local.INFO: Processing buffer {"connection_id":122803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a6efc8012d19ce0007201990002d008f21..."} 
[2026-07-05 19:53:36] local.INFO: Packet analysis {"connection_id":122803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a6"} 
[2026-07-05 19:53:36] local.INFO: Extracted packet for processing {"connection_id":122803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a6"} 
[2026-07-05 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":33,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514869248001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783261229000,"timestamp_ms":1783261229000,"timestamp_seconds":1783261229,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a6efc8"} 
[2026-07-05 19:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:53: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-07-05 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-05 19:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":122803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":122803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":122803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514869248001,"66":12287,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514869248001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:53:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514869248001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":122803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:53:36] local.INFO: GPS data processed {"connection_id":122803,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:53:36] local.INFO: Acknowledgment sent {"connection_id":122803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:53:55] local.INFO: TCP Data received {"connection_id":122805,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:53:55] local.INFO: Processing buffer {"connection_id":122805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:53:55] local.INFO: IMEI packet received {"connection_id":122805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":122805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:53:56] local.INFO: TCP Data received {"connection_id":122805,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:53:56] local.INFO: Processing buffer {"connection_id":122805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:53:56] local.INFO: IMEI packet received {"connection_id":122805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":122805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:54:01] local.INFO: TCP Data received {"connection_id":122805,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:54:01] local.INFO: Processing buffer {"connection_id":122805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:54:01] local.INFO: IMEI packet received {"connection_id":122805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":122805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:54:03] local.INFO: TCP Data received {"connection_id":122805,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a741d0012d19ce0007201990002d008f26..."} 
[2026-07-05 19:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a741d0012d19ce0007201990002d008f26..."} 
[2026-07-05 19:54:03] local.INFO: Processing buffer {"connection_id":122805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a741d0012d19ce0007201990002d008f26..."} 
[2026-07-05 19:54:03] local.INFO: Packet analysis {"connection_id":122805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a7"} 
[2026-07-05 19:54:03] local.INFO: Extracted packet for processing {"connection_id":122805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a7"} 
[2026-07-05 19:54:03] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514874624001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783261250000,"timestamp_ms":1783261250000,"timestamp_seconds":1783261250,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a741d0"} 
[2026-07-05 19:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:54: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-07-05 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 19:54: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-07-05 19: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-07-05 19:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514874624001,"66":12558,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514874624001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:54:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514874624001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":122805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:54:03] local.INFO: GPS data processed {"connection_id":122805,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:54:03] local.INFO: Acknowledgment sent {"connection_id":122805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:54:04] local.INFO: TCP Data received {"connection_id":124722,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:54:04] local.INFO: Processing buffer {"connection_id":124722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:54:04] local.INFO: IMEI packet received {"connection_id":124722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":124722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:54:09] local.INFO: TCP Data received {"connection_id":124722,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:54:09] local.INFO: Processing buffer {"connection_id":124722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:54:09] local.INFO: IMEI packet received {"connection_id":124722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":124722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:54:10] local.INFO: TCP Data received {"connection_id":124722,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:54:10] local.INFO: Processing buffer {"connection_id":124722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:54:10] local.INFO: Packet analysis {"connection_id":124722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:54:10] local.INFO: Extracted packet for processing {"connection_id":124722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514816512001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:10] 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-07-05 19:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261303000,"timestamp_ms":1783261303000,"timestamp_seconds":1783261303,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a810d8"} 
[2026-07-05 19:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514816512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514816512001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:54:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514816512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":124722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:54:10] local.INFO: GPS data processed {"connection_id":124722,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:54:10] local.INFO: Acknowledgment sent {"connection_id":124722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:54:34] local.INFO: TCP Data received {"connection_id":122805,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a793d8012d19ce0007201990002d008f25..."} 
[2026-07-05 19:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a793d8012d19ce0007201990002d008f25..."} 
[2026-07-05 19:54:34] local.INFO: Processing buffer {"connection_id":122805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a793d8012d19ce0007201990002d008f25..."} 
[2026-07-05 19:54:34] local.INFO: Packet analysis {"connection_id":122805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a7"} 
[2026-07-05 19:54:34] local.INFO: Extracted packet for processing {"connection_id":122805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a7"} 
[2026-07-05 19:54:34] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514880000001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783261271000,"timestamp_ms":1783261271000,"timestamp_seconds":1783261271,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a793d8"} 
[2026-07-05 19:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3566862336,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249855105639389584,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2784604161,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":167,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:34] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,212,159,239,45,25,33,10,66,157,39,70,75,1,240,249,50,32,4,113,205,167,206,144,38,49,2,7,231,60],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-07-05 19:54:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242749125078286336,"timestamp_seconds":3242749125078286.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 19:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":122805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":122805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":122805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514880000001,"66":12558,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514880000001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:54:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:54:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514880000001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":122805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:54:34] local.INFO: GPS data processed {"connection_id":122805,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:54:34] local.INFO: Acknowledgment sent {"connection_id":122805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:54:41] local.INFO: TCP Data received {"connection_id":124722,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:54:41] local.INFO: Processing buffer {"connection_id":124722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:54:41] local.INFO: Packet analysis {"connection_id":124722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:54:41] local.INFO: Extracted packet for processing {"connection_id":124722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514816512001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:54:41] 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-07-05 19:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261303000,"timestamp_ms":1783261303000,"timestamp_seconds":1783261303,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a810d8"} 
[2026-07-05 19:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19: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-07-05 19: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-07-05 19:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514816512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514816512001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:54:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514816512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":124722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:54:41] local.INFO: GPS data processed {"connection_id":124722,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:54:41] local.INFO: Acknowledgment sent {"connection_id":124722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:54:56] local.INFO: TCP Data received {"connection_id":122806,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:54:56] local.INFO: Processing buffer {"connection_id":122806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:54:56] local.INFO: IMEI packet received {"connection_id":122806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":122806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:54:58] local.INFO: TCP Data received {"connection_id":122806,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:54:58] local.INFO: Processing buffer {"connection_id":122806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:54:58] local.INFO: IMEI packet received {"connection_id":122806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":122806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:55:02] local.INFO: TCP Data received {"connection_id":122806,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:55:02] local.INFO: Processing buffer {"connection_id":122806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:55:02] local.INFO: IMEI packet received {"connection_id":122806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":122806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:55:03] local.INFO: TCP Data received {"connection_id":122806,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a7e5e0012d19ce0007201990002d008f25..."} 
[2026-07-05 19:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a7e5e0012d19ce0007201990002d008f25..."} 
[2026-07-05 19:55:03] local.INFO: Processing buffer {"connection_id":122806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a7e5e0012d19ce0007201990002d008f25..."} 
[2026-07-05 19:55:03] local.INFO: Packet analysis {"connection_id":122806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a7"} 
[2026-07-05 19:55:03] local.INFO: Extracted packet for processing {"connection_id":122806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a7"} 
[2026-07-05 19:55:03] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514885376001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783261292000,"timestamp_ms":1783261292000,"timestamp_seconds":1783261292,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a7e5e0"} 
[2026-07-05 19:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:55: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-07-05 19:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3566862336,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249855105639389584,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2789980161,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880124622,"corrected_to":0} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:03] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,212,159,65,45,25,38,10,66,239,33,157,1,240,47,50,32,4,113,205,249,206,144,49,70,2,7,231,60],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3880124622,"validated":0}]} 
[2026-07-05 19:55:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242749120783319040,"timestamp_seconds":3242749120783319.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 19:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514885376001,"66":12537,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514885376001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:55:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:55:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514885376001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":122806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:55:03] local.INFO: GPS data processed {"connection_id":122806,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:55:03] local.INFO: Acknowledgment sent {"connection_id":122806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:55:04] local.INFO: TCP Data received {"connection_id":122807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:55:04] local.INFO: Processing buffer {"connection_id":122807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:55:04] local.INFO: IMEI packet received {"connection_id":122807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":122807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:55:09] local.INFO: TCP Data received {"connection_id":122807,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:55:09] local.INFO: Processing buffer {"connection_id":122807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:55:09] local.INFO: IMEI packet received {"connection_id":122807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":122807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:55:10] local.INFO: TCP Data received {"connection_id":122807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:55:10] local.INFO: Processing buffer {"connection_id":122807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:55:10] local.INFO: Packet analysis {"connection_id":122807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:55:10] local.INFO: Extracted packet for processing {"connection_id":122807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:55:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514816512001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:10] 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-07-05 19:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261303000,"timestamp_ms":1783261303000,"timestamp_seconds":1783261303,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a810d8"} 
[2026-07-05 19:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514816512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514816512001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:55:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514816512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":122807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:55:10] local.INFO: GPS data processed {"connection_id":122807,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:55:10] local.INFO: Acknowledgment sent {"connection_id":122807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:55:35] local.INFO: TCP Data received {"connection_id":122806,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a837e8012d19ce0007201990002d008f24..."} 
[2026-07-05 19:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a837e8012d19ce0007201990002d008f24..."} 
[2026-07-05 19:55:35] local.INFO: Processing buffer {"connection_id":122806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a837e8012d19ce0007201990002d008f24..."} 
[2026-07-05 19:55:35] local.INFO: Packet analysis {"connection_id":122806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:55:35] local.INFO: Extracted packet for processing {"connection_id":122806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:55:35] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":36,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514890752001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783261313000,"timestamp_ms":1783261313000,"timestamp_seconds":1783261313,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a837e8"} 
[2026-07-05 19:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 19:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-05 19:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514890752001,"66":12526,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514890752001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:55:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:55:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514890752001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":122806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:55:35] local.INFO: GPS data processed {"connection_id":122806,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:55:35] local.INFO: Acknowledgment sent {"connection_id":122806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:55:41] local.INFO: TCP Data received {"connection_id":122807,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:55:41] local.INFO: Processing buffer {"connection_id":122807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:55:41] local.INFO: Packet analysis {"connection_id":122807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:55:41] local.INFO: Extracted packet for processing {"connection_id":122807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:55:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514816512001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:55:41] 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-07-05 19:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261303000,"timestamp_ms":1783261303000,"timestamp_seconds":1783261303,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a810d8"} 
[2026-07-05 19:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19: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-07-05 19: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-07-05 19:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514816512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514816512001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:55:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514816512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":122807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:55:41] local.INFO: GPS data processed {"connection_id":122807,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:55:41] local.INFO: Acknowledgment sent {"connection_id":122807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:55:56] local.INFO: TCP Data received {"connection_id":122808,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:55:56] local.INFO: Processing buffer {"connection_id":122808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:55:56] local.INFO: IMEI packet received {"connection_id":122808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":122808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:56:02] local.INFO: TCP Data received {"connection_id":122808,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:56:02] local.INFO: Processing buffer {"connection_id":122808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:56:02] local.INFO: IMEI packet received {"connection_id":122808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":122808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:56:03] local.INFO: TCP Data received {"connection_id":122808,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a889f0012d19ce0007201990002d008f26..."} 
[2026-07-05 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a889f0012d19ce0007201990002d008f26..."} 
[2026-07-05 19:56:03] local.INFO: Processing buffer {"connection_id":122808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a889f0012d19ce0007201990002d008f26..."} 
[2026-07-05 19:56:03] local.INFO: Packet analysis {"connection_id":122808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:56:03] local.INFO: Extracted packet for processing {"connection_id":122808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514896128001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783261334000,"timestamp_ms":1783261334000,"timestamp_seconds":1783261334,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a889f0"} 
[2026-07-05 19:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:56: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-07-05 19:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-05 19:56:03] 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-07-05 19:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514896128001,"66":12548,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514896128001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:56:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514896128001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":122808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:56:03] local.INFO: GPS data processed {"connection_id":122808,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:56:03] local.INFO: Acknowledgment sent {"connection_id":122808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:56:04] local.INFO: TCP Data received {"connection_id":122746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:56:04] local.INFO: Processing buffer {"connection_id":122746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:56:04] local.INFO: IMEI packet received {"connection_id":122746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":122746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:56:09] local.INFO: TCP Data received {"connection_id":122746,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:56:09] local.INFO: Processing buffer {"connection_id":122746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:56:09] local.INFO: IMEI packet received {"connection_id":122746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":122746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:56:10] local.INFO: TCP Data received {"connection_id":122746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:56:10] local.INFO: Processing buffer {"connection_id":122746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:56:10] local.INFO: Packet analysis {"connection_id":122746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:56:10] local.INFO: Extracted packet for processing {"connection_id":122746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514816512001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:10] 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-07-05 19:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261303000,"timestamp_ms":1783261303000,"timestamp_seconds":1783261303,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a810d8"} 
[2026-07-05 19:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514816512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514816512001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:56:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514816512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":122746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:56:10] local.INFO: GPS data processed {"connection_id":122746,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:56:10] local.INFO: Acknowledgment sent {"connection_id":122746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:56:34] local.INFO: TCP Data received {"connection_id":122808,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a8dbf8012d19ce0007201990002d008f27..."} 
[2026-07-05 19:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a8dbf8012d19ce0007201990002d008f27..."} 
[2026-07-05 19:56:34] local.INFO: Processing buffer {"connection_id":122808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a8dbf8012d19ce0007201990002d008f27..."} 
[2026-07-05 19:56:34] local.INFO: Packet analysis {"connection_id":122808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:56:34] local.INFO: Extracted packet for processing {"connection_id":122808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:56:34] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514901504001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783261355000,"timestamp_ms":1783261355000,"timestamp_seconds":1783261355,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a8dbf8"} 
[2026-07-05 19:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:56:34] 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-07-05 19:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-05 19:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3566862336,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:34] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2806108161,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-05 19:56:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242791,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:34] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5044258204389742592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:34] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,212,159,55,45,25,36,10,66,229,37,147,1,240,14,50,32,4,113,205,239,206,144,33,47,2,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-05 19:56:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242749125078286336,"timestamp_seconds":3242749125078286.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 19:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":122808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":122808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":122808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514901504001,"66":12113,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514901504001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:56:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:56:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514901504001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":122808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:56:35] local.INFO: GPS data processed {"connection_id":122808,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:56:35] local.INFO: Acknowledgment sent {"connection_id":122808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:56:41] local.INFO: TCP Data received {"connection_id":122746,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:56:41] local.INFO: Processing buffer {"connection_id":122746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:56:41] local.INFO: Packet analysis {"connection_id":122746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:56:41] local.INFO: Extracted packet for processing {"connection_id":122746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:56:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514816512001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:56:41] 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-07-05 19:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261303000,"timestamp_ms":1783261303000,"timestamp_seconds":1783261303,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a810d8"} 
[2026-07-05 19:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19: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-07-05 19: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-07-05 19:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514816512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514816512001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:56:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514816512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":122746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:56:41] local.INFO: GPS data processed {"connection_id":122746,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:56:41] local.INFO: Acknowledgment sent {"connection_id":122746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:56:56] local.INFO: TCP Data received {"connection_id":122810,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:56:56] local.INFO: Processing buffer {"connection_id":122810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:56:56] local.INFO: IMEI packet received {"connection_id":122810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":122810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:57:01] local.INFO: TCP Data received {"connection_id":122810,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:57:01] local.INFO: Processing buffer {"connection_id":122810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:57:01] local.INFO: IMEI packet received {"connection_id":122810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":122810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:57:03] local.INFO: TCP Data received {"connection_id":122810,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a92e00012d19ce0007201990002d008f25..."} 
[2026-07-05 19:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a92e00012d19ce0007201990002d008f25..."} 
[2026-07-05 19:57:03] local.INFO: Processing buffer {"connection_id":122810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a92e00012d19ce0007201990002d008f25..."} 
[2026-07-05 19:57:03] local.INFO: Packet analysis {"connection_id":122810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a9"} 
[2026-07-05 19:57:03] local.INFO: Extracted packet for processing {"connection_id":122810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a9"} 
[2026-07-05 19:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514906880001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783261376000,"timestamp_ms":1783261376000,"timestamp_seconds":1783261376,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a92e00"} 
[2026-07-05 19:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:57: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-07-05 19: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-05 19:57: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-07-05 19: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-07-05 19:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514906880001,"66":12548,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514906880001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:57:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:57:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514906880001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":122810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:57:03] local.INFO: GPS data processed {"connection_id":122810,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:57:03] local.INFO: Acknowledgment sent {"connection_id":122810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:57:04] local.INFO: TCP Data received {"connection_id":122812,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:57:04] local.INFO: Processing buffer {"connection_id":122812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:57:04] local.INFO: IMEI packet received {"connection_id":122812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":122812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:57:09] local.INFO: TCP Data received {"connection_id":122812,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:57:09] local.INFO: Processing buffer {"connection_id":122812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:57:09] local.INFO: IMEI packet received {"connection_id":122812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":122812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:57:10] local.INFO: TCP Data received {"connection_id":122812,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:57:10] local.INFO: Processing buffer {"connection_id":122812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a810d8012cb2a24007823a980048013b24..."} 
[2026-07-05 19:57:10] local.INFO: Packet analysis {"connection_id":122812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:57:10] local.INFO: Extracted packet for processing {"connection_id":122812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a8"} 
[2026-07-05 19:57:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514816512001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:10] 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-07-05 19:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261303000,"timestamp_ms":1783261303000,"timestamp_seconds":1783261303,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a810d8"} 
[2026-07-05 19:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514816512001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514816512001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:57:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514816512001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":122812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:57:10] local.INFO: GPS data processed {"connection_id":122812,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:57:10] local.INFO: Acknowledgment sent {"connection_id":122812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:57:29] local.INFO: TCP Data received {"connection_id":122811,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:57:29] local.INFO: Processing buffer {"connection_id":122811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:57:29] local.INFO: IMEI packet received {"connection_id":122811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":122811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:57:34] local.INFO: TCP Data received {"connection_id":122810,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a98008012d19ce0007201990002d008f27..."} 
[2026-07-05 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a98008012d19ce0007201990002d008f27..."} 
[2026-07-05 19:57:34] local.INFO: Processing buffer {"connection_id":122810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a98008012d19ce0007201990002d008f27..."} 
[2026-07-05 19:57:34] local.INFO: Packet analysis {"connection_id":122810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a9"} 
[2026-07-05 19:57:34] local.INFO: Extracted packet for processing {"connection_id":122810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a9"} 
[2026-07-05 19:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 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-07-05 19:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514912256001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783261397000,"timestamp_ms":1783261397000,"timestamp_seconds":1783261397,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a98008"} 
[2026-07-05 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-07-05 19:57:34] 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-07-05 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-05 19:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3566862336,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:34] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2816860161,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-07-05 19:57:34] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:34] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:34] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,212,159,219,45,25,39,10,66,137,38,55,1,240,238,50,32,4,113,205,147,206,144,37,239,49,2,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-07-05 19:57:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242749120783319040,"timestamp_seconds":3242749120783319.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 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-07-05 19:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":122810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":122810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":122810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514912256001,"66":11602,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514912256001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:57:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:57:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514912256001,"power":11602,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":122810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:57:35] local.INFO: GPS data processed {"connection_id":122810,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:57:35] local.INFO: Acknowledgment sent {"connection_id":122810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:57:41] local.INFO: TCP Data received {"connection_id":122812,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:57:41] local.INFO: Processing buffer {"connection_id":122812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:57:41] local.INFO: Packet analysis {"connection_id":122812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 19:57:41] local.INFO: Extracted packet for processing {"connection_id":122812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 19:57:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514893568001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:57:41] 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-07-05 19:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261604000,"timestamp_ms":1783261604000,"timestamp_seconds":1783261604,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aca8a0"} 
[2026-07-05 19:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:57: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-07-05 19:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514893568001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514893568001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:57:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514893568001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":122812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:57:41] local.INFO: GPS data processed {"connection_id":122812,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:57:41] local.INFO: Acknowledgment sent {"connection_id":122812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:58:02] local.INFO: TCP Data received {"connection_id":123502,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:58:02] local.INFO: Processing buffer {"connection_id":123502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:58:02] local.INFO: IMEI packet received {"connection_id":123502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":123502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:58:03] local.INFO: TCP Data received {"connection_id":122814,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:58:03] local.INFO: Processing buffer {"connection_id":122814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 19:58:03] local.INFO: IMEI packet received {"connection_id":122814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 19:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":122814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:58:04] local.INFO: TCP Data received {"connection_id":122813,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:58:04] local.INFO: Processing buffer {"connection_id":122813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:58:04] local.INFO: IMEI packet received {"connection_id":122813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":122813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:58:06] local.INFO: TCP Data received {"connection_id":123502,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:58:06] local.INFO: Processing buffer {"connection_id":123502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:58:06] local.INFO: IMEI packet received {"connection_id":123502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":123502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:58:08] local.INFO: TCP Data received {"connection_id":123502,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32a9d210012d19ce0007201990002d008f26..."} 
[2026-07-05 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32a9d210012d19ce0007201990002d008f26..."} 
[2026-07-05 19:58:08] local.INFO: Processing buffer {"connection_id":123502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32a9d210012d19ce0007201990002d008f26..."} 
[2026-07-05 19:58:08] local.INFO: Packet analysis {"connection_id":123502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32a9"} 
[2026-07-05 19:58:08] local.INFO: Extracted packet for processing {"connection_id":123502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32a9"} 
[2026-07-05 19:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514917632001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783261418000,"timestamp_ms":1783261418000,"timestamp_seconds":1783261418,"priority":1,"record_length":96,"hex_timestamp":"0000019f32a9d210"} 
[2026-07-05 19:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:58:08] 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-07-05 19: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-05 19:58:08] 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-07-05 19: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-07-05 19:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":123502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":123502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":123502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514917632001,"66":12537,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514917632001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:58:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514917632001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":123502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:58:08] local.INFO: GPS data processed {"connection_id":123502,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:58:08] local.INFO: Acknowledgment sent {"connection_id":123502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:58:09] local.INFO: TCP Data received {"connection_id":123502,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aa2418012d19ce0007201990002d008f26..."} 
[2026-07-05 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aa2418012d19ce0007201990002d008f26..."} 
[2026-07-05 19:58:09] local.INFO: Processing buffer {"connection_id":123502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aa2418012d19ce0007201990002d008f26..."} 
[2026-07-05 19:58:09] local.INFO: Packet analysis {"connection_id":123502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32aa"} 
[2026-07-05 19:58:09] local.INFO: Extracted packet for processing {"connection_id":123502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32aa"} 
[2026-07-05 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514923008001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783261439000,"timestamp_ms":1783261439000,"timestamp_seconds":1783261439,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aa2418"} 
[2026-07-05 19:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:58:09] 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-07-05 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-05 19:58:09] 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-07-05 19:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":123502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":123502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":123502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514923008001,"66":12526,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514923008001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:58:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514923008001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":123502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:58:09] local.INFO: GPS data processed {"connection_id":123502,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:58:09] local.INFO: Acknowledgment sent {"connection_id":123502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:58:09] local.INFO: TCP Data received {"connection_id":122813,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:58:09] local.INFO: Processing buffer {"connection_id":122813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:58:09] local.INFO: IMEI packet received {"connection_id":122813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":122813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:58:10] local.INFO: TCP Data received {"connection_id":122813,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:58:10] local.INFO: Processing buffer {"connection_id":122813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:58:10] local.INFO: Packet analysis {"connection_id":122813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 19:58:10] local.INFO: Extracted packet for processing {"connection_id":122813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 19:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514893568001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:10] 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-07-05 19:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261604000,"timestamp_ms":1783261604000,"timestamp_seconds":1783261604,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aca8a0"} 
[2026-07-05 19:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514893568001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514893568001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:58:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514893568001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":122813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:58:10] local.INFO: GPS data processed {"connection_id":122813,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:58:10] local.INFO: Acknowledgment sent {"connection_id":122813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:58:40] local.INFO: TCP Data received {"connection_id":123502,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aa7620012d19ce0007201990002d008f26..."} 
[2026-07-05 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aa7620012d19ce0007201990002d008f26..."} 
[2026-07-05 19:58:40] local.INFO: Processing buffer {"connection_id":123502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aa7620012d19ce0007201990002d008f26..."} 
[2026-07-05 19:58:40] local.INFO: Packet analysis {"connection_id":123502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32aa"} 
[2026-07-05 19:58:40] local.INFO: Extracted packet for processing {"connection_id":123502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32aa"} 
[2026-07-05 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514928384001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783261460000,"timestamp_ms":1783261460000,"timestamp_seconds":1783261460,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aa7620"} 
[2026-07-05 19:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:58:40] 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-07-05 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-05 19:58:40] 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-07-05 19: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-07-05 19:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":123502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":123502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":123502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514928384001,"66":12504,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514928384001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:58:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:58:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514928384001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":123502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:58:41] local.INFO: GPS data processed {"connection_id":123502,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:58:41] local.INFO: Acknowledgment sent {"connection_id":123502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:58:41] local.INFO: TCP Data received {"connection_id":122813,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:58:41] local.INFO: Processing buffer {"connection_id":122813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:58:41] local.INFO: Packet analysis {"connection_id":122813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 19:58:41] local.INFO: Extracted packet for processing {"connection_id":122813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 19:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514893568001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:58:41] 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-07-05 19:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261604000,"timestamp_ms":1783261604000,"timestamp_seconds":1783261604,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aca8a0"} 
[2026-07-05 19:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:58: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-07-05 19:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514893568001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514893568001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:58:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514893568001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":122813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:58:41] local.INFO: GPS data processed {"connection_id":122813,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:58:41] local.INFO: Acknowledgment sent {"connection_id":122813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:58:56] local.INFO: TCP Data received {"connection_id":122815,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:58:56] local.INFO: Processing buffer {"connection_id":122815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:58:56] local.INFO: IMEI packet received {"connection_id":122815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":122815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:59:01] local.INFO: TCP Data received {"connection_id":122815,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:59:01] local.INFO: Processing buffer {"connection_id":122815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:59:01] local.INFO: IMEI packet received {"connection_id":122815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 19:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":122815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:59:03] local.INFO: TCP Data received {"connection_id":122815,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aac828012d19ce0007201990002d008f24..."} 
[2026-07-05 19:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aac828012d19ce0007201990002d008f24..."} 
[2026-07-05 19:59:03] local.INFO: Processing buffer {"connection_id":122815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aac828012d19ce0007201990002d008f24..."} 
[2026-07-05 19:59:03] local.INFO: Packet analysis {"connection_id":122815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32aa"} 
[2026-07-05 19:59:03] local.INFO: Extracted packet for processing {"connection_id":122815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32aa"} 
[2026-07-05 19:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":36,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514933760001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783261481000,"timestamp_ms":1783261481000,"timestamp_seconds":1783261481,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aac828"} 
[2026-07-05 19:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:59:03] 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-07-05 19:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-05 19:59:03] 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-07-05 19:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514933760001,"66":12504,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514933760001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:59:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514933760001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":122815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:59:03] local.INFO: GPS data processed {"connection_id":122815,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:59:03] local.INFO: Acknowledgment sent {"connection_id":122815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:59:04] local.INFO: TCP Data received {"connection_id":122747,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:59:04] local.INFO: Processing buffer {"connection_id":122747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:59:04] local.INFO: IMEI packet received {"connection_id":122747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 19:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":122747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 19:59:09] local.INFO: TCP Data received {"connection_id":122747,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:59:09] local.INFO: Processing buffer {"connection_id":122747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 19:59:09] local.INFO: IMEI packet received {"connection_id":122747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 19:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":122747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 19:59:14] local.INFO: TCP Data received {"connection_id":122747,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:59:14] local.INFO: Processing buffer {"connection_id":122747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:59:14] local.INFO: Packet analysis {"connection_id":122747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 19:59:14] local.INFO: Extracted packet for processing {"connection_id":122747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 19:59:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514893568001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:14] 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-07-05 19:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783261604000,"timestamp_ms":1783261604000,"timestamp_seconds":1783261604,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aca8a0"} 
[2026-07-05 19:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514893568001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514893568001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:59:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:59:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:59:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514893568001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":122747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:59:14] local.INFO: GPS data processed {"connection_id":122747,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:59:14] local.INFO: Acknowledgment sent {"connection_id":122747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:59:35] local.INFO: TCP Data received {"connection_id":122815,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ab1a30012d19ce0007201990002d008f25..."} 
[2026-07-05 19:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ab1a30012d19ce0007201990002d008f25..."} 
[2026-07-05 19:59:35] local.INFO: Processing buffer {"connection_id":122815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ab1a30012d19ce0007201990002d008f25..."} 
[2026-07-05 19:59:35] local.INFO: Packet analysis {"connection_id":122815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ab"} 
[2026-07-05 19:59:35] local.INFO: Extracted packet for processing {"connection_id":122815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ab"} 
[2026-07-05 19:59:35] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 19: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-07-05 19:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514939136001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 19:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783261502000,"timestamp_ms":1783261502000,"timestamp_seconds":1783261502,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ab1a30"} 
[2026-07-05 19:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:59:35] 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-07-05 19: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":216,"data_length":795,"current_offset":136} 
[2026-07-05 19:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19: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-07-05 19:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 19:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 19:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 19:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514939136001,"66":12515,"121":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 19:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 19:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 19:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514939136001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:59:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 19:59:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 19:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 19:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514939136001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 19:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":122815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:59:35] local.INFO: GPS data processed {"connection_id":122815,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:59:35] local.INFO: Acknowledgment sent {"connection_id":122815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:59:45] local.INFO: TCP Data received {"connection_id":122747,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:59:45] local.INFO: Processing buffer {"connection_id":122747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 19:59:45] local.INFO: Packet analysis {"connection_id":122747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 19:59:45] local.INFO: Extracted packet for processing {"connection_id":122747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 19:59:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 19:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 19:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514893568001,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 19:59:45] 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-07-05 19:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783261604000,"timestamp_ms":1783261604000,"timestamp_seconds":1783261604,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aca8a0"} 
[2026-07-05 19:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 19:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 19:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 19:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 19:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 19:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 19:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 19:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 19:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 19:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 19:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 19:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 19:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514893568001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 19:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 19:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 19:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514893568001,"description":"Unknown IO ID 0"} 
[2026-07-05 19:59:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 19:59:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 19:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 19:59:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 19:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514893568001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 19:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":122747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 19:59:45] local.INFO: GPS data processed {"connection_id":122747,"processed":1,"errors":0,"total":1} 
[2026-07-05 19:59:45] local.INFO: Acknowledgment sent {"connection_id":122747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 19:59:56] local.INFO: TCP Data received {"connection_id":123503,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:59:56] local.INFO: Processing buffer {"connection_id":123503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 19:59:56] local.INFO: IMEI packet received {"connection_id":123503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 19:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":123503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:00:02] local.INFO: TCP Data received {"connection_id":123503,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:00:02] local.INFO: Processing buffer {"connection_id":123503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:00:02] local.INFO: IMEI packet received {"connection_id":123503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":123503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:00:03] local.INFO: TCP Data received {"connection_id":123503,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ab6c38012d19ce0007201990002d008f26..."} 
[2026-07-05 20:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ab6c38012d19ce0007201990002d008f26..."} 
[2026-07-05 20:00:03] local.INFO: Processing buffer {"connection_id":123503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ab6c38012d19ce0007201990002d008f26..."} 
[2026-07-05 20:00:03] local.INFO: Packet analysis {"connection_id":123503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ab"} 
[2026-07-05 20:00:03] local.INFO: Extracted packet for processing {"connection_id":123503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ab"} 
[2026-07-05 20:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514944512001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783261523000,"timestamp_ms":1783261523000,"timestamp_seconds":1783261523,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ab6c38"} 
[2026-07-05 20:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:00:03] 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-07-05 20: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-05 20:00:03] 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-07-05 20: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-07-05 20:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":123503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":123503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":123503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514944512001,"66":12504,"70":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-05 20:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514944512001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:00:03] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-05 20:00:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 20:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514944512001,"power":12504,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 20:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":123503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:00:03] local.INFO: GPS data processed {"connection_id":123503,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:00:03] local.INFO: Acknowledgment sent {"connection_id":123503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:00:04] local.INFO: TCP Data received {"connection_id":123505,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:00:04] local.INFO: Processing buffer {"connection_id":123505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:00:04] local.INFO: IMEI packet received {"connection_id":123505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":123505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:00:09] local.INFO: TCP Data received {"connection_id":123505,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:00:09] local.INFO: Processing buffer {"connection_id":123505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:00:09] local.INFO: IMEI packet received {"connection_id":123505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":123505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:00:10] local.INFO: TCP Data received {"connection_id":123505,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:00:10] local.INFO: Processing buffer {"connection_id":123505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:00:10] local.INFO: Packet analysis {"connection_id":123505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:00:10] local.INFO: Extracted packet for processing {"connection_id":123505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514893568001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:10] 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-07-05 20:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261604000,"timestamp_ms":1783261604000,"timestamp_seconds":1783261604,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aca8a0"} 
[2026-07-05 20:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514893568001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514893568001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:00:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514893568001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":123505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:00:10] local.INFO: GPS data processed {"connection_id":123505,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:00:10] local.INFO: Acknowledgment sent {"connection_id":123505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:00:35] local.INFO: TCP Data received {"connection_id":123503,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32abbe40012d19ce0007201990002d008f27..."} 
[2026-07-05 20:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32abbe40012d19ce0007201990002d008f27..."} 
[2026-07-05 20:00:35] local.INFO: Processing buffer {"connection_id":123503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32abbe40012d19ce0007201990002d008f27..."} 
[2026-07-05 20:00:35] local.INFO: Packet analysis {"connection_id":123503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ab"} 
[2026-07-05 20:00:35] local.INFO: Extracted packet for processing {"connection_id":123503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ab"} 
[2026-07-05 20:00:35] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514949888001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783261544000,"timestamp_ms":1783261544000,"timestamp_seconds":1783261544,"priority":1,"record_length":96,"hex_timestamp":"0000019f32abbe40"} 
[2026-07-05 20:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 20:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-05 20:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":123503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":123503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":123503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514949888001,"66":12461,"70":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-05 20:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514949888001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:00:35] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-05 20:00:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 20:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514949888001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 20:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":123503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:00:35] local.INFO: GPS data processed {"connection_id":123503,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:00:35] local.INFO: Acknowledgment sent {"connection_id":123503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:00:41] local.INFO: TCP Data received {"connection_id":123505,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:00:41] local.INFO: Processing buffer {"connection_id":123505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:00:41] local.INFO: Packet analysis {"connection_id":123505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:00:41] local.INFO: Extracted packet for processing {"connection_id":123505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514893568001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:00:41] 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-07-05 20:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261604000,"timestamp_ms":1783261604000,"timestamp_seconds":1783261604,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aca8a0"} 
[2026-07-05 20:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20: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-07-05 20: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-07-05 20:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514893568001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514893568001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:00:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514893568001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":123505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:00:41] local.INFO: GPS data processed {"connection_id":123505,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:00:41] local.INFO: Acknowledgment sent {"connection_id":123505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:00:55] local.INFO: TCP Data received {"connection_id":123506,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:00:55] local.INFO: Processing buffer {"connection_id":123506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:00:55] local.INFO: IMEI packet received {"connection_id":123506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":123506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:00:56] local.INFO: TCP Data received {"connection_id":123506,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:00:56] local.INFO: Processing buffer {"connection_id":123506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:00:56] local.INFO: IMEI packet received {"connection_id":123506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":123506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:01:01] local.INFO: TCP Data received {"connection_id":123506,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:01:01] local.INFO: Processing buffer {"connection_id":123506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:01:01] local.INFO: IMEI packet received {"connection_id":123506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":123506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:01:03] local.INFO: TCP Data received {"connection_id":123506,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32af4498012d19ce0007201990002d008f24..."} 
[2026-07-05 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32af4498012d19ce0007201990002d008f24..."} 
[2026-07-05 20:01:03] local.INFO: Processing buffer {"connection_id":123506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32af4498012d19ce0007201990002d008f24..."} 
[2026-07-05 20:01:03] local.INFO: Packet analysis {"connection_id":123506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32af"} 
[2026-07-05 20:01:03] local.INFO: Extracted packet for processing {"connection_id":123506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32af"} 
[2026-07-05 20:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":36,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 20:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515009024001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783261775000,"timestamp_ms":1783261775000,"timestamp_seconds":1783261775,"priority":1,"record_length":96,"hex_timestamp":"0000019f32af4498"} 
[2026-07-05 20:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:01:03] 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-07-05 20:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-05 20:01:03] 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-07-05 20:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":123506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":123506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":123506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515009024001,"66":12461,"70":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-05 20:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515009024001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:01:03] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-05 20:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 20:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515009024001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 20:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":123506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:01:03] local.INFO: GPS data processed {"connection_id":123506,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:01:03] local.INFO: Acknowledgment sent {"connection_id":123506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:01:09] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:01:09] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:01:09] local.INFO: IMEI packet received {"connection_id":124725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":124725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:01:14] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:01:14] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:01:14] local.INFO: IMEI packet received {"connection_id":124725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":124725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:01:15] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:01:15] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:01:15] local.INFO: Packet analysis {"connection_id":124725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:01:15] local.INFO: Extracted packet for processing {"connection_id":124725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:01:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514893568001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:15] 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-07-05 20:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783261604000,"timestamp_ms":1783261604000,"timestamp_seconds":1783261604,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aca8a0"} 
[2026-07-05 20:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514893568001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514893568001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:01:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:01:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514893568001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":124725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:01:15] local.INFO: GPS data processed {"connection_id":124725,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:01:15] local.INFO: Acknowledgment sent {"connection_id":124725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:01:19] local.INFO: TCP Data received {"connection_id":124725,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:01:19] local.INFO: Processing buffer {"connection_id":124725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:01:19] local.INFO: Packet analysis {"connection_id":124725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:01:19] local.INFO: Extracted packet for processing {"connection_id":124725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:01:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514893568001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:19] 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-07-05 20:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783261604000,"timestamp_ms":1783261604000,"timestamp_seconds":1783261604,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aca8a0"} 
[2026-07-05 20:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:01: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-07-05 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514893568001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514893568001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:01:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:01:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:01:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514893568001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":124725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:01:19] local.INFO: GPS data processed {"connection_id":124725,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:01:19] local.INFO: Acknowledgment sent {"connection_id":124725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:01:35] local.INFO: TCP Data received {"connection_id":123506,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32af96a0012d19ce0007201990002d008f27..."} 
[2026-07-05 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32af96a0012d19ce0007201990002d008f27..."} 
[2026-07-05 20:01:35] local.INFO: Processing buffer {"connection_id":123506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32af96a0012d19ce0007201990002d008f27..."} 
[2026-07-05 20:01:35] local.INFO: Packet analysis {"connection_id":123506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32af"} 
[2026-07-05 20:01:35] local.INFO: Extracted packet for processing {"connection_id":123506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32af"} 
[2026-07-05 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515014400001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783261796000,"timestamp_ms":1783261796000,"timestamp_seconds":1783261796,"priority":1,"record_length":96,"hex_timestamp":"0000019f32af96a0"} 
[2026-07-05 20:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:01:35] 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-07-05 20: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-05 20:01: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-07-05 20: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-07-05 20:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":123506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":123506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":123506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515014400001,"66":12504,"70":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-05 20:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515014400001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:01:35] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-05 20:01:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 20:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515014400001,"power":12504,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 20:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":123506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:01:35] local.INFO: GPS data processed {"connection_id":123506,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:01:35] local.INFO: Acknowledgment sent {"connection_id":123506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:01:56] local.INFO: TCP Data received {"connection_id":124726,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:01:56] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:01:56] local.INFO: IMEI packet received {"connection_id":124726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":124726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:01:58] local.INFO: TCP Data received {"connection_id":124726,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:01:58] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:01:58] local.INFO: IMEI packet received {"connection_id":124726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":124726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:02:02] local.INFO: TCP Data received {"connection_id":124726,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:02:02] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:02:02] local.INFO: IMEI packet received {"connection_id":124726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":124726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:02:03] local.INFO: TCP Data received {"connection_id":124726,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32afe8a8012d19ce0007201990002d008f28..."} 
[2026-07-05 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32afe8a8012d19ce0007201990002d008f28..."} 
[2026-07-05 20:02:03] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32afe8a8012d19ce0007201990002d008f28..."} 
[2026-07-05 20:02:03] local.INFO: Packet analysis {"connection_id":124726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32af"} 
[2026-07-05 20:02:03] local.INFO: Extracted packet for processing {"connection_id":124726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32af"} 
[2026-07-05 20:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 20:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515019776001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783261817000,"timestamp_ms":1783261817000,"timestamp_seconds":1783261817,"priority":1,"record_length":96,"hex_timestamp":"0000019f32afe8a8"} 
[2026-07-05 20:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:02:03] 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-07-05 20:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-05 20:02:03] 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-07-05 20:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515019776001,"66":12428,"70":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-05 20:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515019776001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:02:03] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-05 20:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 20:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515019776001,"power":12428,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 20:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":124726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:02:03] local.INFO: GPS data processed {"connection_id":124726,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:02:03] local.INFO: Acknowledgment sent {"connection_id":124726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:02:04] local.INFO: TCP Data received {"connection_id":122817,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:02:04] local.INFO: Processing buffer {"connection_id":122817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:02:04] local.INFO: IMEI packet received {"connection_id":122817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":122817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:02:09] local.INFO: TCP Data received {"connection_id":122817,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:02:09] local.INFO: Processing buffer {"connection_id":122817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:02:09] local.INFO: IMEI packet received {"connection_id":122817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":122817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:02:10] local.INFO: TCP Data received {"connection_id":122817,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:02:10] local.INFO: Processing buffer {"connection_id":122817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:02:10] local.INFO: Packet analysis {"connection_id":122817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:02:10] local.INFO: Extracted packet for processing {"connection_id":122817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514893568001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:10] 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-07-05 20:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261604000,"timestamp_ms":1783261604000,"timestamp_seconds":1783261604,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aca8a0"} 
[2026-07-05 20:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514893568001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514893568001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:02:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514893568001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":122817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:02:10] local.INFO: GPS data processed {"connection_id":122817,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:02:10] local.INFO: Acknowledgment sent {"connection_id":122817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:02:15] local.INFO: TCP Data received {"connection_id":122817,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:02:15] local.INFO: Processing buffer {"connection_id":122817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32aca8a0012cb2a24007823a980048013b25..."} 
[2026-07-05 20:02:15] local.INFO: Packet analysis {"connection_id":122817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:02:15] local.INFO: Extracted packet for processing {"connection_id":122817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ac"} 
[2026-07-05 20:02:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514893568001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:15] 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-07-05 20:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783261604000,"timestamp_ms":1783261604000,"timestamp_seconds":1783261604,"priority":1,"record_length":96,"hex_timestamp":"0000019f32aca8a0"} 
[2026-07-05 20:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514893568001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514893568001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:02:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:02:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514893568001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":122817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:02:15] local.INFO: GPS data processed {"connection_id":122817,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:02:15] local.INFO: Acknowledgment sent {"connection_id":122817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:02:35] local.INFO: TCP Data received {"connection_id":124726,"ip":"117.224.187.82","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b03ab0012d19ce0007201990002d008f27..."} 
[2026-07-05 20:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b03ab0012d19ce0007201990002d008f27..."} 
[2026-07-05 20:02:35] local.INFO: Processing buffer {"connection_id":124726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b03ab0012d19ce0007201990002d008f27..."} 
[2026-07-05 20:02:35] local.INFO: Packet analysis {"connection_id":124726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b0"} 
[2026-07-05 20:02:35] local.INFO: Extracted packet for processing {"connection_id":124726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b0"} 
[2026-07-05 20:02:35] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544208,"longitude_deg":75.6665856,"latitude_deg":11.9544208,"altitude":45,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"07201990","is_valid_coordinates":true} 
[2026-07-05 20:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515025152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4737357517422592,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753910784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783261838000,"timestamp_ms":1783261838000,"timestamp_seconds":1783261838,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b03ab0"} 
[2026-07-05 20:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:02:35] 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-07-05 20:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-05 20:02:35] 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-07-05 20:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.187.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515025152001,"66":12461,"70":206,"28":31744,"24":0,"16":4737357517422592,"45":1859423726753910784},"client_ip":"117.224.187.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-07-05 20:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515025152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:02:35] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-07-05 20:02:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4737357517422592,"km_value":4737357517422.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753910784,"description":"Unknown IO ID 45"} 
[2026-07-05 20:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515025152001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859423726753910784}} 
[2026-07-05 20:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":124726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:02:35] local.INFO: GPS data processed {"connection_id":124726,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:02:35] local.INFO: Acknowledgment sent {"connection_id":124726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:02:45] local.INFO: TCP Data received {"connection_id":122817,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:02:45] local.INFO: Processing buffer {"connection_id":122817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:02:45] local.INFO: Packet analysis {"connection_id":122817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:02:45] local.INFO: Extracted packet for processing {"connection_id":122817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:02:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514970624001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:02:45] 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-07-05 20:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783261905000,"timestamp_ms":1783261905000,"timestamp_seconds":1783261905,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b14068"} 
[2026-07-05 20:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514970624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514970624001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:02:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514970624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":122817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:02:45] local.INFO: GPS data processed {"connection_id":122817,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:02:45] local.INFO: Acknowledgment sent {"connection_id":122817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:02:58] local.INFO: TCP Data received {"connection_id":122748,"ip":"117.224.187.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:02:58] local.INFO: Processing buffer {"connection_id":122748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:02:58] local.INFO: IMEI packet received {"connection_id":122748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":122748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:03:04] local.INFO: TCP Data received {"connection_id":122749,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:03:04] local.INFO: Processing buffer {"connection_id":122749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:03:04] local.INFO: IMEI packet received {"connection_id":122749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":122749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:03:05] local.INFO: TCP Data received {"connection_id":122748,"ip":"117.224.187.82","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-05 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122748,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-05 20:03:05] local.INFO: Processing buffer {"connection_id":122748,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-05 20:03:05] local.INFO: IMEI packet received {"connection_id":122748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":122748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:03:09] local.INFO: TCP Data received {"connection_id":122749,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:03:09] local.INFO: Processing buffer {"connection_id":122749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:03:09] local.INFO: IMEI packet received {"connection_id":122749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":122749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:03:10] local.INFO: TCP Data received {"connection_id":122749,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:03:10] local.INFO: Processing buffer {"connection_id":122749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:03:10] local.INFO: Packet analysis {"connection_id":122749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:03:10] local.INFO: Extracted packet for processing {"connection_id":122749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514970624001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:03:10] 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-07-05 20:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261905000,"timestamp_ms":1783261905000,"timestamp_seconds":1783261905,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b14068"} 
[2026-07-05 20:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514970624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514970624001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:03:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514970624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":122749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:03:10] local.INFO: GPS data processed {"connection_id":122749,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:03:10] local.INFO: Acknowledgment sent {"connection_id":122749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:03:29] local.INFO: TCP Data received {"connection_id":122818,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:03:29] local.INFO: Processing buffer {"connection_id":122818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:03:29] local.INFO: IMEI packet received {"connection_id":122818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":122818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:03:42] local.INFO: TCP Data received {"connection_id":122749,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:03:42] local.INFO: Processing buffer {"connection_id":122749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:03:42] local.INFO: Packet analysis {"connection_id":122749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:03:42] local.INFO: Extracted packet for processing {"connection_id":122749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:03:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514970624001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:03:42] 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-07-05 20:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783261905000,"timestamp_ms":1783261905000,"timestamp_seconds":1783261905,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b14068"} 
[2026-07-05 20:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:03: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-07-05 20:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514970624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514970624001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:03:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514970624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":122749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:03:42] local.INFO: GPS data processed {"connection_id":122749,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:03:42] local.INFO: Acknowledgment sent {"connection_id":122749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:04:03] local.INFO: TCP Data received {"connection_id":124728,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:04:03] local.INFO: Processing buffer {"connection_id":124728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:04:03] local.INFO: IMEI packet received {"connection_id":124728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":124728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:04:04] local.INFO: TCP Data received {"connection_id":122819,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:04:04] local.INFO: Processing buffer {"connection_id":122819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:04:04] local.INFO: IMEI packet received {"connection_id":122819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":122819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:04:09] local.INFO: TCP Data received {"connection_id":122819,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:04:09] local.INFO: Processing buffer {"connection_id":122819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:04:09] local.INFO: IMEI packet received {"connection_id":122819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":122819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:04:10] local.INFO: TCP Data received {"connection_id":122819,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:04:10] local.INFO: Processing buffer {"connection_id":122819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:04:10] local.INFO: Packet analysis {"connection_id":122819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:04:10] local.INFO: Extracted packet for processing {"connection_id":122819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514970624001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:04:10] 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-07-05 20:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261905000,"timestamp_ms":1783261905000,"timestamp_seconds":1783261905,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b14068"} 
[2026-07-05 20:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514970624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514970624001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:04:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514970624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":122819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:04:10] local.INFO: GPS data processed {"connection_id":122819,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:04:10] local.INFO: Acknowledgment sent {"connection_id":122819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:04:41] local.INFO: TCP Data received {"connection_id":122819,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:04:41] local.INFO: Processing buffer {"connection_id":122819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:04:41] local.INFO: Packet analysis {"connection_id":122819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:04:41] local.INFO: Extracted packet for processing {"connection_id":122819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514970624001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:04:41] 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-07-05 20:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261905000,"timestamp_ms":1783261905000,"timestamp_seconds":1783261905,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b14068"} 
[2026-07-05 20:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20: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-07-05 20: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-07-05 20:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514970624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514970624001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:04:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514970624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":122819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:04:41] local.INFO: GPS data processed {"connection_id":122819,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:04:41] local.INFO: Acknowledgment sent {"connection_id":122819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:05:04] local.INFO: TCP Data received {"connection_id":124729,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:05:04] local.INFO: Processing buffer {"connection_id":124729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:05:04] local.INFO: IMEI packet received {"connection_id":124729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":124729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:05:09] local.INFO: TCP Data received {"connection_id":124729,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:05:09] local.INFO: Processing buffer {"connection_id":124729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:05:09] local.INFO: IMEI packet received {"connection_id":124729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":124729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:05:10] local.INFO: TCP Data received {"connection_id":124729,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:05:10] local.INFO: Processing buffer {"connection_id":124729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:05:10] local.INFO: Packet analysis {"connection_id":124729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:05:10] local.INFO: Extracted packet for processing {"connection_id":124729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514970624001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:05:10] 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-07-05 20:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261905000,"timestamp_ms":1783261905000,"timestamp_seconds":1783261905,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b14068"} 
[2026-07-05 20:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514970624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514970624001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514970624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":124729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:05:10] local.INFO: GPS data processed {"connection_id":124729,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:05:10] local.INFO: Acknowledgment sent {"connection_id":124729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:05:41] local.INFO: TCP Data received {"connection_id":124729,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:05:41] local.INFO: Processing buffer {"connection_id":124729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:05:41] local.INFO: Packet analysis {"connection_id":124729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:05:41] local.INFO: Extracted packet for processing {"connection_id":124729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:05:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514970624001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:05:41] 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-07-05 20:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783261905000,"timestamp_ms":1783261905000,"timestamp_seconds":1783261905,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b14068"} 
[2026-07-05 20:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20: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-07-05 20: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-07-05 20:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514970624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514970624001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:05:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514970624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":124729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:05:41] local.INFO: GPS data processed {"connection_id":124729,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:05:41] local.INFO: Acknowledgment sent {"connection_id":124729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:06:09] local.INFO: TCP Data received {"connection_id":122752,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:06:09] local.INFO: Processing buffer {"connection_id":122752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:06:09] local.INFO: IMEI packet received {"connection_id":122752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":122752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:06:14] local.INFO: TCP Data received {"connection_id":122752,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:06:14] local.INFO: Processing buffer {"connection_id":122752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:06:14] local.INFO: IMEI packet received {"connection_id":122752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":122752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:06:15] local.INFO: TCP Data received {"connection_id":122752,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:06:15] local.INFO: Processing buffer {"connection_id":122752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:06:15] local.INFO: Packet analysis {"connection_id":122752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:06:15] local.INFO: Extracted packet for processing {"connection_id":122752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20:06: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-07-05 20:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514970624001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:06:15] 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-07-05 20:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783261905000,"timestamp_ms":1783261905000,"timestamp_seconds":1783261905,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b14068"} 
[2026-07-05 20:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:06: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-07-05 20:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514970624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514970624001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514970624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":122752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:06:15] local.INFO: GPS data processed {"connection_id":122752,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:06:15] local.INFO: Acknowledgment sent {"connection_id":122752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:06:20] local.INFO: TCP Data received {"connection_id":122752,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:06:20] local.INFO: Processing buffer {"connection_id":122752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:06:20] local.INFO: Packet analysis {"connection_id":122752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:06:20] local.INFO: Extracted packet for processing {"connection_id":122752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:06:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514970624001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:06:20] 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-07-05 20:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783261905000,"timestamp_ms":1783261905000,"timestamp_seconds":1783261905,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b14068"} 
[2026-07-05 20:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514970624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514970624001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:06:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514970624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":122752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:06:20] local.INFO: GPS data processed {"connection_id":122752,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:06:20] local.INFO: Acknowledgment sent {"connection_id":122752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:07:04] local.INFO: TCP Data received {"connection_id":122820,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:07:04] local.INFO: Processing buffer {"connection_id":122820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:07:04] local.INFO: IMEI packet received {"connection_id":122820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":122820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:07:09] local.INFO: TCP Data received {"connection_id":122820,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:07:09] local.INFO: Processing buffer {"connection_id":122820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:07:09] local.INFO: IMEI packet received {"connection_id":122820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":122820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:07:10] local.INFO: TCP Data received {"connection_id":122820,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:07:10] local.INFO: Processing buffer {"connection_id":122820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b14068012cb2a24007823a980048013b24..."} 
[2026-07-05 20:07:10] local.INFO: Packet analysis {"connection_id":122820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:07:10] local.INFO: Extracted packet for processing {"connection_id":122820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b1"} 
[2026-07-05 20:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456514970624001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:07:10] 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-07-05 20:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783261905000,"timestamp_ms":1783261905000,"timestamp_seconds":1783261905,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b14068"} 
[2026-07-05 20:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456514970624001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456514970624001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:07:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456514970624001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":122820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:07:10] local.INFO: GPS data processed {"connection_id":122820,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:07:10] local.INFO: Acknowledgment sent {"connection_id":122820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:07:41] local.INFO: TCP Data received {"connection_id":122820,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b5d830012cb2a24007823a980048013b25..."} 
[2026-07-05 20:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b5d830012cb2a24007823a980048013b25..."} 
[2026-07-05 20:07:41] local.INFO: Processing buffer {"connection_id":122820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b5d830012cb2a24007823a980048013b25..."} 
[2026-07-05 20:07:41] local.INFO: Packet analysis {"connection_id":122820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b5"} 
[2026-07-05 20:07:41] local.INFO: Extracted packet for processing {"connection_id":122820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b5"} 
[2026-07-05 20:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515047680001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:07:41] 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-07-05 20:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783262206000,"timestamp_ms":1783262206000,"timestamp_seconds":1783262206,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b5d830"} 
[2026-07-05 20:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515047680001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515047680001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:07:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515047680001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":122820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:07:41] local.INFO: GPS data processed {"connection_id":122820,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:07:41] local.INFO: Acknowledgment sent {"connection_id":122820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:08:04] local.INFO: TCP Data received {"connection_id":124730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:08:04] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:08:04] local.INFO: IMEI packet received {"connection_id":124730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":124730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:08:09] local.INFO: TCP Data received {"connection_id":124730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:08:09] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:08:09] local.INFO: IMEI packet received {"connection_id":124730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":124730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:08:10] local.INFO: TCP Data received {"connection_id":124730,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b5d830012cb2a24007823a980048013b25..."} 
[2026-07-05 20:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b5d830012cb2a24007823a980048013b25..."} 
[2026-07-05 20:08:10] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b5d830012cb2a24007823a980048013b25..."} 
[2026-07-05 20:08:10] local.INFO: Packet analysis {"connection_id":124730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b5"} 
[2026-07-05 20:08:10] local.INFO: Extracted packet for processing {"connection_id":124730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b5"} 
[2026-07-05 20:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515047680001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:08:10] 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-07-05 20:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783262206000,"timestamp_ms":1783262206000,"timestamp_seconds":1783262206,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b5d830"} 
[2026-07-05 20:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:08: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-07-05 20:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515047680001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515047680001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:08:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515047680001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":124730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:08:10] local.INFO: GPS data processed {"connection_id":124730,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:08:10] local.INFO: Acknowledgment sent {"connection_id":124730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:08:41] local.INFO: TCP Data received {"connection_id":124730,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b5d830012cb2a24007823a980048013b25..."} 
[2026-07-05 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b5d830012cb2a24007823a980048013b25..."} 
[2026-07-05 20:08:41] local.INFO: Processing buffer {"connection_id":124730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b5d830012cb2a24007823a980048013b25..."} 
[2026-07-05 20:08:41] local.INFO: Packet analysis {"connection_id":124730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b5"} 
[2026-07-05 20:08:41] local.INFO: Extracted packet for processing {"connection_id":124730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b5"} 
[2026-07-05 20:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975192,"longitude_deg":74.9904448,"latitude_deg":12.5975192,"altitude":72,"angle":315,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a98","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515047680001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:08:41] 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-07-05 20:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783262206000,"timestamp_ms":1783262206000,"timestamp_seconds":1783262206,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b5d830"} 
[2026-07-05 20:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:08: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-07-05 20: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-07-05 20:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515047680001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515047680001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:08:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515047680001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":124730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:08:41] local.INFO: GPS data processed {"connection_id":124730,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:08:41] local.INFO: Acknowledgment sent {"connection_id":124730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:09:04] local.INFO: TCP Data received {"connection_id":123510,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:09:04] local.INFO: Processing buffer {"connection_id":123510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:09:04] local.INFO: IMEI packet received {"connection_id":123510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":123510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:09:09] local.INFO: TCP Data received {"connection_id":123510,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:09:09] local.INFO: Processing buffer {"connection_id":123510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:09:09] local.INFO: IMEI packet received {"connection_id":123510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":123510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:09:10] local.INFO: TCP Data received {"connection_id":123510,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:09:10] local.INFO: Processing buffer {"connection_id":123510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:09:10] local.INFO: Packet analysis {"connection_id":123510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:09:10] local.INFO: Extracted packet for processing {"connection_id":123510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749904384,"raw_latitude":125975016,"longitude_deg":74.9904384,"latitude_deg":12.5975016,"altitude":75,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2cb2a200","hex_latitude":"078239e8","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515124736001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:09:10] 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-07-05 20:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783262340000,"timestamp_ms":1783262340000,"timestamp_seconds":1783262340,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b7e3a0"} 
[2026-07-05 20:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515124736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515124736001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:09:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515124736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":123510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:09:10] local.INFO: GPS data processed {"connection_id":123510,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:09:10] local.INFO: Acknowledgment sent {"connection_id":123510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:09:29] local.INFO: TCP Data received {"connection_id":123509,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:09:29] local.INFO: Processing buffer {"connection_id":123509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:09:29] local.INFO: IMEI packet received {"connection_id":123509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":123509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:09:41] local.INFO: TCP Data received {"connection_id":123510,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:09:41] local.INFO: Processing buffer {"connection_id":123510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:09:41] local.INFO: Packet analysis {"connection_id":123510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:09:41] local.INFO: Extracted packet for processing {"connection_id":123510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749904384,"raw_latitude":125975016,"longitude_deg":74.9904384,"latitude_deg":12.5975016,"altitude":75,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2cb2a200","hex_latitude":"078239e8","is_valid_coordinates":true} 
[2026-07-05 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515124736001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:09:41] 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-07-05 20:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783262340000,"timestamp_ms":1783262340000,"timestamp_seconds":1783262340,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b7e3a0"} 
[2026-07-05 20:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20: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-07-05 20:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515124736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515124736001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:09:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515124736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":123510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:09:41] local.INFO: GPS data processed {"connection_id":123510,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:09:41] local.INFO: Acknowledgment sent {"connection_id":123510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:09:56] local.INFO: TCP Data received {"connection_id":122822,"ip":"117.225.211.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:09:56] local.INFO: Processing buffer {"connection_id":122822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:09:56] local.INFO: IMEI packet received {"connection_id":122822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":122822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:10:01] local.INFO: TCP Data received {"connection_id":122822,"ip":"117.225.211.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:10:01] local.INFO: Processing buffer {"connection_id":122822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:10:01] local.INFO: IMEI packet received {"connection_id":122822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":122822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:10:03] local.INFO: TCP Data received {"connection_id":122822,"ip":"117.225.211.200","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b2f9d0012d197f00071fecc0003500ec2a..."} 
[2026-07-05 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b2f9d0012d197f00071fecc0003500ec2a..."} 
[2026-07-05 20:10:03] local.INFO: Processing buffer {"connection_id":122822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b2f9d0012d197f00071fecc0003500ec2a..."} 
[2026-07-05 20:10:03] local.INFO: Packet analysis {"connection_id":122822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:10:03] local.INFO: Extracted packet for processing {"connection_id":122822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756645632,"raw_latitude":119532736,"longitude_deg":75.6645632,"latitude_deg":11.9532736,"altitude":53,"angle":236,"satellites":42,"speed":17,"hex_longitude":"2d197f00","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-07-05 20:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076608001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590832128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783262018000,"timestamp_ms":1783262018000,"timestamp_seconds":1783262018,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b2f9d0"} 
[2026-07-05 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-07-05 20:10: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-07-05 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671929307136,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3584688128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182113745502464,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5587559757631607168,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4027056181,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4611949905517543680,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301374594780568102,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540836868083228,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84752256792469488,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.WARNING: Large IO value detected {"io_id":120,"raw_value":13511963472562688,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,214,159,242,45,192,238,53,42,10,66,239,230,64,1,240,41,50,31,4,113,205,152,163,112,40,2,7,9,52,124,165,69,168,120],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-05 20:10:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819312149144076527,"timestamp_seconds":3819312149144076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 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-07-05 20:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.211.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076608001,"66":12819,"121":206,"28":31744,"24":17,"16":4738963835191296,"45":1837187203590832128},"client_ip":"117.225.211.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076608001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:10:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:10:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590832128,"description":"Unknown IO ID 45"} 
[2026-07-05 20:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076608001,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1837187203590832128}} 
[2026-07-05 20:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":122822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:10:03] local.INFO: GPS data processed {"connection_id":122822,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:10:03] local.INFO: Acknowledgment sent {"connection_id":122822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:10:03] local.INFO: TCP Data received {"connection_id":122753,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:10:03] local.INFO: Processing buffer {"connection_id":122753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:10:03] local.INFO: IMEI packet received {"connection_id":122753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":122753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:10:04] local.INFO: TCP Data received {"connection_id":124731,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:10:04] local.INFO: Processing buffer {"connection_id":124731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:10:04] local.INFO: IMEI packet received {"connection_id":124731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":124731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:10:09] local.INFO: TCP Data received {"connection_id":124731,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:10:09] local.INFO: Processing buffer {"connection_id":124731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:10:09] local.INFO: IMEI packet received {"connection_id":124731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":124731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:10:10] local.INFO: TCP Data received {"connection_id":124731,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:10:10] local.INFO: Processing buffer {"connection_id":124731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:10:10] local.INFO: Packet analysis {"connection_id":124731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:10:10] local.INFO: Extracted packet for processing {"connection_id":124731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:10:10] local.INFO: GPS Element Parsed {"raw_longitude":749904384,"raw_latitude":125975016,"longitude_deg":74.9904384,"latitude_deg":12.5975016,"altitude":75,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2cb2a200","hex_latitude":"078239e8","is_valid_coordinates":true} 
[2026-07-05 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-07-05 20:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515124736001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:10] 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-07-05 20:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783262340000,"timestamp_ms":1783262340000,"timestamp_seconds":1783262340,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b7e3a0"} 
[2026-07-05 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-07-05 20:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 20:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515124736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515124736001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:10:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515124736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":124731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:10:10] local.INFO: GPS data processed {"connection_id":124731,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:10:10] local.INFO: Acknowledgment sent {"connection_id":124731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:10:16] local.INFO: TCP Data received {"connection_id":122754,"ip":"194.165.16.163","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-05 20:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122754,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-05 20:10:16] local.INFO: Processing buffer {"connection_id":122754,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-05 20:10:16] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":122754,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-07-05 20:10:35] local.INFO: TCP Data received {"connection_id":122822,"ip":"117.225.211.200","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b2f9d0012d197f00071fecc0003500ec2a..."} 
[2026-07-05 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b2f9d0012d197f00071fecc0003500ec2a..."} 
[2026-07-05 20:10:35] local.INFO: Processing buffer {"connection_id":122822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b2f9d0012d197f00071fecc0003500ec2a..."} 
[2026-07-05 20:10:35] local.INFO: Packet analysis {"connection_id":122822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:10:35] local.INFO: Extracted packet for processing {"connection_id":122822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":756645632,"raw_latitude":119532736,"longitude_deg":75.6645632,"latitude_deg":11.9532736,"altitude":53,"angle":236,"satellites":42,"speed":17,"hex_longitude":"2d197f00","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-07-05 20:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076608001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590832128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783262018000,"timestamp_ms":1783262018000,"timestamp_seconds":1783262018,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b2f9d0"} 
[2026-07-05 20:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671931207680,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3585540096,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648197817414116,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5579863176237177664,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4042784821,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4611949905517543680,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301981525266202920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195175680,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.WARNING: Large IO value detected {"io_id":32,"raw_value":13793485677138688,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:35] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,214,159,249,45,236,53,42,10,66,242,192,238,1,240,146,50,31,4,113,205,13,163,8,39,239,2,7,11,124,170,69,32],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-05 20:10:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819312149144076319,"timestamp_seconds":3819312149144076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 20:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.211.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076608001,"66":12819,"121":206,"28":31744,"24":17,"16":4738963835191296,"45":1837187203590832128},"client_ip":"117.225.211.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076608001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:10:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590832128,"description":"Unknown IO ID 45"} 
[2026-07-05 20:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076608001,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1837187203590832128}} 
[2026-07-05 20:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":122822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:10:35] local.INFO: GPS data processed {"connection_id":122822,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:10:35] local.INFO: Acknowledgment sent {"connection_id":122822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:10:41] local.INFO: TCP Data received {"connection_id":124731,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:10:41] local.INFO: Processing buffer {"connection_id":124731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:10:41] local.INFO: Packet analysis {"connection_id":124731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:10:41] local.INFO: Extracted packet for processing {"connection_id":124731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:10:41] local.INFO: GPS Element Parsed {"raw_longitude":749904384,"raw_latitude":125975016,"longitude_deg":74.9904384,"latitude_deg":12.5975016,"altitude":75,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2cb2a200","hex_latitude":"078239e8","is_valid_coordinates":true} 
[2026-07-05 20:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515124736001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:10:41] 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-07-05 20:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783262340000,"timestamp_ms":1783262340000,"timestamp_seconds":1783262340,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b7e3a0"} 
[2026-07-05 20:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515124736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515124736001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:10:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:10:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515124736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":124731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:10:41] local.INFO: GPS data processed {"connection_id":124731,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:10:41] local.INFO: Acknowledgment sent {"connection_id":124731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:11:04] local.INFO: TCP Data received {"connection_id":124732,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:11:04] local.INFO: Processing buffer {"connection_id":124732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:11:04] local.INFO: IMEI packet received {"connection_id":124732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":124732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:11:09] local.INFO: TCP Data received {"connection_id":124732,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:11:09] local.INFO: Processing buffer {"connection_id":124732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:11:09] local.INFO: IMEI packet received {"connection_id":124732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":124732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:11:10] local.INFO: TCP Data received {"connection_id":124732,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:11:10] local.INFO: Processing buffer {"connection_id":124732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:11:10] local.INFO: Packet analysis {"connection_id":124732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:11:10] local.INFO: Extracted packet for processing {"connection_id":124732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":749904384,"raw_latitude":125975016,"longitude_deg":74.9904384,"latitude_deg":12.5975016,"altitude":75,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2cb2a200","hex_latitude":"078239e8","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515124736001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:11:10] 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-07-05 20:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783262340000,"timestamp_ms":1783262340000,"timestamp_seconds":1783262340,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b7e3a0"} 
[2026-07-05 20:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515124736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515124736001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:11:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515124736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":124732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:11:10] local.INFO: GPS data processed {"connection_id":124732,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:11:10] local.INFO: Acknowledgment sent {"connection_id":124732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:11:41] local.INFO: TCP Data received {"connection_id":124732,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:11:41] local.INFO: Processing buffer {"connection_id":124732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:11:41] local.INFO: Packet analysis {"connection_id":124732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:11:41] local.INFO: Extracted packet for processing {"connection_id":124732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:11:41] local.INFO: GPS Element Parsed {"raw_longitude":749904384,"raw_latitude":125975016,"longitude_deg":74.9904384,"latitude_deg":12.5975016,"altitude":75,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2cb2a200","hex_latitude":"078239e8","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515124736001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:11:41] 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-07-05 20:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783262340000,"timestamp_ms":1783262340000,"timestamp_seconds":1783262340,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b7e3a0"} 
[2026-07-05 20:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20: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-07-05 20: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-07-05 20:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515124736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515124736001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:11:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515124736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":124732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:11:41] local.INFO: GPS data processed {"connection_id":124732,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:11:41] local.INFO: Acknowledgment sent {"connection_id":124732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:11:51] local.INFO: TCP Data received {"connection_id":122755,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:11:51] local.INFO: Processing buffer {"connection_id":122755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:11:51] local.INFO: IMEI packet received {"connection_id":122755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":122755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:11:59] local.INFO: TCP Data received {"connection_id":122755,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:11:59] local.INFO: Processing buffer {"connection_id":122755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:11:59] local.INFO: IMEI packet received {"connection_id":122755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":122755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:12:01] local.INFO: TCP Data received {"connection_id":122755,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:12:01] local.INFO: Processing buffer {"connection_id":122755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:12:01] local.INFO: Packet analysis {"connection_id":122755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:12:01] local.INFO: Extracted packet for processing {"connection_id":122755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:12:01] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532536,"longitude_deg":75.6645248,"latitude_deg":11.9532536,"altitude":53,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d197d80","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-07-05 20:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076608001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590832128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783262019000,"timestamp_ms":1783262019000,"timestamp_seconds":1783262019,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b2fdb8"} 
[2026-07-05 20:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671931535360,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522506370588,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5577664152981626048,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4023386165,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301744030754600232,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84752163376930802,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.WARNING: Large IO value detected {"io_id":72,"raw_value":14919278243350784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:01] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,214,159,249,45,236,53,42,10,66,242,192,1,240,146,50,31,4,113,205,14,230,133,248,239,2,7,124,183,69,88,72],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-05 20:12:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819312149144076354,"timestamp_seconds":3819312149144076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 20:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":122755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":122755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":122755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076608001,"66":3057,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1837187203590832128},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076608001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:12:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:12:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590832128,"description":"Unknown IO ID 45"} 
[2026-07-05 20:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076608001,"power":3057,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837187203590832128}} 
[2026-07-05 20:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":122755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:12:02] local.INFO: GPS data processed {"connection_id":122755,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:12:02] local.INFO: Acknowledgment sent {"connection_id":122755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:12:04] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:12:04] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:12:04] local.INFO: IMEI packet received {"connection_id":124733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":124733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:12:09] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:12:09] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:12:09] local.INFO: IMEI packet received {"connection_id":124733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":124733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:12:10] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:12:10] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:12:10] local.INFO: Packet analysis {"connection_id":124733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:12:10] local.INFO: Extracted packet for processing {"connection_id":124733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749904384,"raw_latitude":125975016,"longitude_deg":74.9904384,"latitude_deg":12.5975016,"altitude":75,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2cb2a200","hex_latitude":"078239e8","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515124736001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:10] 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-07-05 20:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783262340000,"timestamp_ms":1783262340000,"timestamp_seconds":1783262340,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b7e3a0"} 
[2026-07-05 20:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515124736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515124736001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:12:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515124736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":124733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:12:10] local.INFO: GPS data processed {"connection_id":124733,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:12:10] local.INFO: Acknowledgment sent {"connection_id":124733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:12:33] local.INFO: TCP Data received {"connection_id":122755,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:12:33] local.INFO: Processing buffer {"connection_id":122755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:12:33] local.INFO: Packet analysis {"connection_id":122755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:12:33] local.INFO: Extracted packet for processing {"connection_id":122755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532536,"longitude_deg":75.6645248,"latitude_deg":11.9532536,"altitude":53,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d197d80","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076608001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590832128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1783262019000,"timestamp_ms":1783262019000,"timestamp_seconds":1783262019,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b2fdb8"} 
[2026-07-05 20:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671931535360,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522506370588,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5577664152981626048,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4023386165,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301744030754600232,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84752163376930802,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.WARNING: Large IO value detected {"io_id":72,"raw_value":14919278243350784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,214,159,249,45,236,53,42,10,66,242,192,1,240,146,50,31,4,113,205,14,230,133,248,239,2,7,124,183,69,88,72],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-05 20:12:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819312149144076354,"timestamp_seconds":3819312149144076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 20:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":122755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":122755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":122755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076608001,"66":3057,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1837187203590832128},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076608001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:12:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:12:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590832128,"description":"Unknown IO ID 45"} 
[2026-07-05 20:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076608001,"power":3057,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837187203590832128}} 
[2026-07-05 20:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":122755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:12:33] local.INFO: GPS data processed {"connection_id":122755,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:12:33] local.INFO: Acknowledgment sent {"connection_id":122755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:12:41] local.INFO: TCP Data received {"connection_id":124733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:12:41] local.INFO: Processing buffer {"connection_id":124733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b7e3a0012cb2a200078239e8004b00c922..."} 
[2026-07-05 20:12:41] local.INFO: Packet analysis {"connection_id":124733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:12:41] local.INFO: Extracted packet for processing {"connection_id":124733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b7"} 
[2026-07-05 20:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749904384,"raw_latitude":125975016,"longitude_deg":74.9904384,"latitude_deg":12.5975016,"altitude":75,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2cb2a200","hex_latitude":"078239e8","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515124736001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737425920,"note":"Value kept but may cause issues"} 
[2026-07-05 20:12:41] 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-07-05 20:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783262340000,"timestamp_ms":1783262340000,"timestamp_seconds":1783262340,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b7e3a0"} 
[2026-07-05 20:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515124736001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737425920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515124736001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:12:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737425920,"description":"Unknown IO ID 44"} 
[2026-07-05 20:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515124736001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737425920}} 
[2026-07-05 20:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":124733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:12:41] local.INFO: GPS data processed {"connection_id":124733,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:12:41] local.INFO: Acknowledgment sent {"connection_id":124733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:13:06] local.INFO: TCP Data received {"connection_id":122757,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:13:06] local.INFO: Processing buffer {"connection_id":122757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:13:06] local.INFO: IMEI packet received {"connection_id":122757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":122757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:13:09] local.INFO: TCP Data received {"connection_id":122757,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:13:09] local.INFO: Processing buffer {"connection_id":122757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:13:09] local.INFO: IMEI packet received {"connection_id":122757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":122757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:13:12] local.INFO: TCP Data received {"connection_id":124734,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:13:12] local.INFO: Processing buffer {"connection_id":124734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:13:12] local.INFO: IMEI packet received {"connection_id":124734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":124734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:13:17] local.INFO: TCP Data received {"connection_id":124734,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:13:17] local.INFO: Processing buffer {"connection_id":124734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:13:17] local.INFO: IMEI packet received {"connection_id":124734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":124734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:13:18] local.INFO: TCP Data received {"connection_id":124734,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:13:18] local.INFO: Processing buffer {"connection_id":124734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:13:18] local.INFO: Packet analysis {"connection_id":124734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:13:18] local.INFO: Extracted packet for processing {"connection_id":124734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532536,"longitude_deg":75.6645248,"latitude_deg":11.9532536,"altitude":53,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d197d80","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076608001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590832128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783262019000,"timestamp_ms":1783262019000,"timestamp_seconds":1783262019,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b2fdb8"} 
[2026-07-05 20:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:13:18] 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-07-05 20: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671931535360,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522506370588,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5577664152981626048,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4023386165,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301744030754600232,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84752163376930802,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.WARNING: Large IO value detected {"io_id":72,"raw_value":14919278243350784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:13:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,214,159,249,45,236,53,42,10,66,242,192,1,240,146,50,31,4,113,205,14,230,133,248,239,2,7,124,183,69,88,72],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-05 20:13:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819312149144076354,"timestamp_seconds":3819312149144076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 20:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076608001,"66":3057,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1837187203590832128},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076608001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:13:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:13:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590832128,"description":"Unknown IO ID 45"} 
[2026-07-05 20:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076608001,"power":3057,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837187203590832128}} 
[2026-07-05 20:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":124734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:13:18] local.INFO: GPS data processed {"connection_id":124734,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:13:18] local.INFO: Acknowledgment sent {"connection_id":124734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:13:56] local.INFO: TCP Data received {"connection_id":124735,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:13:56] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:13:56] local.INFO: IMEI packet received {"connection_id":124735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":124735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:14:01] local.INFO: TCP Data received {"connection_id":124735,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:14:01] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:14:01] local.INFO: IMEI packet received {"connection_id":124735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":124735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:14:03] local.INFO: TCP Data received {"connection_id":124735,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:14:03] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:14:03] local.INFO: Packet analysis {"connection_id":124735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:14:03] local.INFO: Extracted packet for processing {"connection_id":124735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532536,"longitude_deg":75.6645248,"latitude_deg":11.9532536,"altitude":53,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d197d80","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-07-05 20:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076608001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590832128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783262019000,"timestamp_ms":1783262019000,"timestamp_seconds":1783262019,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b2fdb8"} 
[2026-07-05 20:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:14: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-07-05 20:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671931535360,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522506370588,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5577664152981626048,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4023386165,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301744030754600232,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84752163376930802,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.WARNING: Large IO value detected {"io_id":72,"raw_value":14919278243350784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,214,159,249,45,236,53,42,10,66,242,192,1,240,146,50,31,4,113,205,14,230,133,248,239,2,7,124,183,69,88,72],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-05 20:14:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819312149144076354,"timestamp_seconds":3819312149144076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 20:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076608001,"66":3057,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1837187203590832128},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076608001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:14:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590832128,"description":"Unknown IO ID 45"} 
[2026-07-05 20:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076608001,"power":3057,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837187203590832128}} 
[2026-07-05 20:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":124735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:14:03] local.INFO: GPS data processed {"connection_id":124735,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:14:03] local.INFO: Acknowledgment sent {"connection_id":124735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:14:04] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:14:04] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:14:04] local.INFO: IMEI packet received {"connection_id":124736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":124736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:14:09] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:14:09] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:14:09] local.INFO: IMEI packet received {"connection_id":124736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":124736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:14:10] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:14:10] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:14:10] local.INFO: Packet analysis {"connection_id":124736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:14:10] local.INFO: Extracted packet for processing {"connection_id":124736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515159040001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574893356481648640,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:10] 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-07-05 20:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783262641000,"timestamp_ms":1783262641000,"timestamp_seconds":1783262641,"priority":1,"record_length":96,"hex_timestamp":"0000019f32bc7b68"} 
[2026-07-05 20:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:14: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-07-05 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515159040001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574893356481648640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515159040001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:14:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574893356481648640,"description":"Unknown IO ID 44"} 
[2026-07-05 20:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515159040001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574893356481648640}} 
[2026-07-05 20:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":124736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:14:10] local.INFO: GPS data processed {"connection_id":124736,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:14:10] local.INFO: Acknowledgment sent {"connection_id":124736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:14:34] local.INFO: TCP Data received {"connection_id":124735,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:14:34] local.INFO: Processing buffer {"connection_id":124735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:14:34] local.INFO: Packet analysis {"connection_id":124735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:14:34] local.INFO: Extracted packet for processing {"connection_id":124735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532536,"longitude_deg":75.6645248,"latitude_deg":11.9532536,"altitude":53,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d197d80","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-07-05 20:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076608001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590832128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783262019000,"timestamp_ms":1783262019000,"timestamp_seconds":1783262019,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b2fdb8"} 
[2026-07-05 20:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:14: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-07-05 20:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671931535360,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522506370588,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5577664152981626048,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4023386165,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301744030754600232,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84752163376930802,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.WARNING: Large IO value detected {"io_id":72,"raw_value":14919278243350784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,214,159,249,45,236,53,42,10,66,242,192,1,240,146,50,31,4,113,205,14,230,133,248,239,2,7,124,183,69,88,72],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-05 20:14:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819312149144076354,"timestamp_seconds":3819312149144076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 20:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076608001,"66":3057,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1837187203590832128},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076608001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:14:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590832128,"description":"Unknown IO ID 45"} 
[2026-07-05 20:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076608001,"power":3057,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837187203590832128}} 
[2026-07-05 20:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":124735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:14:34] local.INFO: GPS data processed {"connection_id":124735,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:14:34] local.INFO: Acknowledgment sent {"connection_id":124735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:14:41] local.INFO: TCP Data received {"connection_id":124736,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:14:41] local.INFO: Processing buffer {"connection_id":124736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:14:41] local.INFO: Packet analysis {"connection_id":124736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:14:41] local.INFO: Extracted packet for processing {"connection_id":124736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:14:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515159040001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574893356481648640,"note":"Value kept but may cause issues"} 
[2026-07-05 20:14:41] 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-07-05 20:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783262641000,"timestamp_ms":1783262641000,"timestamp_seconds":1783262641,"priority":1,"record_length":96,"hex_timestamp":"0000019f32bc7b68"} 
[2026-07-05 20:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:14: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-07-05 20:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515159040001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574893356481648640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515159040001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:14:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574893356481648640,"description":"Unknown IO ID 44"} 
[2026-07-05 20:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515159040001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574893356481648640}} 
[2026-07-05 20:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":124736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:14:41] local.INFO: GPS data processed {"connection_id":124736,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:14:41] local.INFO: Acknowledgment sent {"connection_id":124736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:14:56] local.INFO: TCP Data received {"connection_id":122825,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:14:56] local.INFO: Processing buffer {"connection_id":122825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:14:56] local.INFO: IMEI packet received {"connection_id":122825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":122825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:15:01] local.INFO: TCP Data received {"connection_id":122825,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:15:01] local.INFO: Processing buffer {"connection_id":122825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:15:01] local.INFO: IMEI packet received {"connection_id":122825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":122825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:15:03] local.INFO: TCP Data received {"connection_id":122825,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:15:03] local.INFO: Processing buffer {"connection_id":122825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:15:03] local.INFO: Packet analysis {"connection_id":122825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:15:03] local.INFO: Extracted packet for processing {"connection_id":122825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532536,"longitude_deg":75.6645248,"latitude_deg":11.9532536,"altitude":53,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d197d80","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-07-05 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076608001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590832128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783262019000,"timestamp_ms":1783262019000,"timestamp_seconds":1783262019,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b2fdb8"} 
[2026-07-05 20:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:15: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-07-05 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671931535360,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522506370588,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5577664152981626048,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4023386165,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301744030754600232,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84752163376930802,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.WARNING: Large IO value detected {"io_id":72,"raw_value":14919278243350784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,214,159,249,45,236,53,42,10,66,242,192,1,240,146,50,31,4,113,205,14,230,133,248,239,2,7,124,183,69,88,72],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-05 20:15:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819312149144076354,"timestamp_seconds":3819312149144076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 20:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076608001,"66":3057,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1837187203590832128},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076608001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:15:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590832128,"description":"Unknown IO ID 45"} 
[2026-07-05 20:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076608001,"power":3057,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837187203590832128}} 
[2026-07-05 20:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":122825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:15:03] local.INFO: GPS data processed {"connection_id":122825,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:15:03] local.INFO: Acknowledgment sent {"connection_id":122825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:15:04] local.INFO: TCP Data received {"connection_id":123512,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:15:04] local.INFO: Processing buffer {"connection_id":123512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:15:04] local.INFO: IMEI packet received {"connection_id":123512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":123512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:15:09] local.INFO: TCP Data received {"connection_id":123512,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:15:09] local.INFO: Processing buffer {"connection_id":123512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:15:09] local.INFO: IMEI packet received {"connection_id":123512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":123512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:15:28] local.INFO: TCP Data received {"connection_id":122758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:15:28] local.INFO: Processing buffer {"connection_id":122758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:15:28] local.INFO: IMEI packet received {"connection_id":122758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":122758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:15:34] local.INFO: TCP Data received {"connection_id":122825,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:15:34] local.INFO: Processing buffer {"connection_id":122825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:15:34] local.INFO: Packet analysis {"connection_id":122825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:15:34] local.INFO: Extracted packet for processing {"connection_id":122825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532536,"longitude_deg":75.6645248,"latitude_deg":11.9532536,"altitude":53,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d197d80","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-07-05 20:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076608001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590832128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783262019000,"timestamp_ms":1783262019000,"timestamp_seconds":1783262019,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b2fdb8"} 
[2026-07-05 20:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:15: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-07-05 20:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671931535360,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522506370588,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5577664152981626048,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4023386165,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301744030754600232,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84752163376930802,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.WARNING: Large IO value detected {"io_id":72,"raw_value":14919278243350784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,214,159,249,45,236,53,42,10,66,242,192,1,240,146,50,31,4,113,205,14,230,133,248,239,2,7,124,183,69,88,72],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-05 20:15:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819312149144076354,"timestamp_seconds":3819312149144076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 20:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":122825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":122825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":122825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076608001,"66":3057,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1837187203590832128},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076608001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:15:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:15:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590832128,"description":"Unknown IO ID 45"} 
[2026-07-05 20:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076608001,"power":3057,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837187203590832128}} 
[2026-07-05 20:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":122825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:15:34] local.INFO: GPS data processed {"connection_id":122825,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:15:34] local.INFO: Acknowledgment sent {"connection_id":122825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:15:35] local.INFO: TCP Data received {"connection_id":123512,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:15:35] local.INFO: Processing buffer {"connection_id":123512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:15:35] local.INFO: Packet analysis {"connection_id":123512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:15:35] local.INFO: Extracted packet for processing {"connection_id":123512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:15:35] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 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-07-05 20:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515159040001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574893356481648640,"note":"Value kept but may cause issues"} 
[2026-07-05 20:15:35] 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-07-05 20:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783262641000,"timestamp_ms":1783262641000,"timestamp_seconds":1783262641,"priority":1,"record_length":96,"hex_timestamp":"0000019f32bc7b68"} 
[2026-07-05 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-07-05 20:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:15: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-07-05 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-07-05 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-07-05 20:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":123512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":123512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":123512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515159040001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574893356481648640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515159040001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:15:35] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:15:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:15:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574893356481648640,"description":"Unknown IO ID 44"} 
[2026-07-05 20:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515159040001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574893356481648640}} 
[2026-07-05 20:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":123512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:15:35] local.INFO: GPS data processed {"connection_id":123512,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:15:35] local.INFO: Acknowledgment sent {"connection_id":123512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:16:01] local.INFO: TCP Data received {"connection_id":124737,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:16:01] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:16:01] local.INFO: IMEI packet received {"connection_id":124737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":124737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:16:03] local.INFO: TCP Data received {"connection_id":124738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:16:03] local.INFO: Processing buffer {"connection_id":124738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:16:03] local.INFO: IMEI packet received {"connection_id":124738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":124738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:16:04] local.INFO: TCP Data received {"connection_id":124739,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:16:04] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:16:04] local.INFO: IMEI packet received {"connection_id":124739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":124739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:16:06] local.INFO: TCP Data received {"connection_id":124737,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:16:06] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:16:06] local.INFO: IMEI packet received {"connection_id":124737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":124737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:16:08] local.INFO: TCP Data received {"connection_id":124737,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:16:08] local.INFO: Processing buffer {"connection_id":124737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32b2fdb8012d197d80071febf8003500f82a..."} 
[2026-07-05 20:16:08] local.INFO: Packet analysis {"connection_id":124737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:16:08] local.INFO: Extracted packet for processing {"connection_id":124737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32b2"} 
[2026-07-05 20:16:08] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532536,"longitude_deg":75.6645248,"latitude_deg":11.9532536,"altitude":53,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d197d80","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-07-05 20:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076608001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203590832128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783262019000,"timestamp_ms":1783262019000,"timestamp_seconds":1783262019,"priority":1,"record_length":96,"hex_timestamp":"0000019f32b2fdb8"} 
[2026-07-05 20:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:16: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-07-05 20:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503671931535360,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522506370588,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5577664152981626048,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4023386165,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301744030754600232,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195248128,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84752163376930802,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.WARNING: Large IO value detected {"io_id":72,"raw_value":14919278243350784,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:08] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,214,159,249,45,236,53,42,10,66,242,192,1,240,146,50,31,4,113,205,14,230,133,248,239,2,7,124,183,69,88,72],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-07-05 20:16:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819312149144076354,"timestamp_seconds":3819312149144076.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 20:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":124737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":124737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":124737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076608001,"66":3057,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1837187203590832128},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076608001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:16:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203590832128,"description":"Unknown IO ID 45"} 
[2026-07-05 20:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076608001,"power":3057,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1837187203590832128}} 
[2026-07-05 20:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":124737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:16:08] local.INFO: GPS data processed {"connection_id":124737,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:16:08] local.INFO: Acknowledgment sent {"connection_id":124737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:16:09] local.INFO: TCP Data received {"connection_id":124739,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:16:09] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:16:09] local.INFO: IMEI packet received {"connection_id":124739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":124739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:16:10] local.INFO: TCP Data received {"connection_id":124739,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:16:10] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:16:10] local.INFO: Packet analysis {"connection_id":124739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:16:10] local.INFO: Extracted packet for processing {"connection_id":124739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515159040001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574893356481648640,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:10] 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-07-05 20:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783262641000,"timestamp_ms":1783262641000,"timestamp_seconds":1783262641,"priority":1,"record_length":96,"hex_timestamp":"0000019f32bc7b68"} 
[2026-07-05 20:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515159040001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574893356481648640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515159040001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:16:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574893356481648640,"description":"Unknown IO ID 44"} 
[2026-07-05 20:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515159040001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574893356481648640}} 
[2026-07-05 20:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":124739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:16:10] local.INFO: GPS data processed {"connection_id":124739,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:16:10] local.INFO: Acknowledgment sent {"connection_id":124739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:16:41] local.INFO: TCP Data received {"connection_id":124739,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:16:41] local.INFO: Processing buffer {"connection_id":124739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:16:41] local.INFO: Packet analysis {"connection_id":124739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:16:41] local.INFO: Extracted packet for processing {"connection_id":124739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515159040001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574893356481648640,"note":"Value kept but may cause issues"} 
[2026-07-05 20:16:41] 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-07-05 20:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783262641000,"timestamp_ms":1783262641000,"timestamp_seconds":1783262641,"priority":1,"record_length":96,"hex_timestamp":"0000019f32bc7b68"} 
[2026-07-05 20:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:16: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-07-05 20: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-07-05 20:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515159040001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574893356481648640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515159040001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:16:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574893356481648640,"description":"Unknown IO ID 44"} 
[2026-07-05 20:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515159040001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574893356481648640}} 
[2026-07-05 20:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":124739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:16:41] local.INFO: GPS data processed {"connection_id":124739,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:16:41] local.INFO: Acknowledgment sent {"connection_id":124739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:17:01] local.INFO: TCP Data received {"connection_id":123513,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:17:01] local.INFO: Processing buffer {"connection_id":123513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:17:01] local.INFO: IMEI packet received {"connection_id":123513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":123513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:17:04] local.INFO: TCP Data received {"connection_id":123515,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:17:04] local.INFO: Processing buffer {"connection_id":123515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:17:04] local.INFO: IMEI packet received {"connection_id":123515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":123515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:17:06] local.INFO: TCP Data received {"connection_id":123513,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:17:06] local.INFO: Processing buffer {"connection_id":123513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:17:06] local.INFO: IMEI packet received {"connection_id":123513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":123513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:17:08] local.INFO: TCP Data received {"connection_id":123513,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:17:08] local.INFO: Processing buffer {"connection_id":123513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:17:08] local.INFO: Packet analysis {"connection_id":123513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:17:08] local.INFO: Extracted packet for processing {"connection_id":123513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076864001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125714944,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783262759000,"timestamp_ms":1783262759000,"timestamp_seconds":1783262759,"priority":1,"record_length":96,"hex_timestamp":"0000019f32be4858"} 
[2026-07-05 20:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:17:08] 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-07-05 20:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-05 20:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":123513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":123513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":123513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076864001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1836764991125714944},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076864001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:17:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125714944,"description":"Unknown IO ID 45"} 
[2026-07-05 20:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076864001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1836764991125714944}} 
[2026-07-05 20:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":123513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:17:08] local.INFO: GPS data processed {"connection_id":123513,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:17:08] local.INFO: Acknowledgment sent {"connection_id":123513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:17:09] local.INFO: TCP Data received {"connection_id":123515,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:17:09] local.INFO: Processing buffer {"connection_id":123515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:17:09] local.INFO: IMEI packet received {"connection_id":123515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":123515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:17:10] local.INFO: TCP Data received {"connection_id":123515,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:17:10] local.INFO: Processing buffer {"connection_id":123515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:17:10] local.INFO: Packet analysis {"connection_id":123515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:17:10] local.INFO: Extracted packet for processing {"connection_id":123515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:17:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515159040001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574893356481648640,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:10] 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-07-05 20:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783262641000,"timestamp_ms":1783262641000,"timestamp_seconds":1783262641,"priority":1,"record_length":96,"hex_timestamp":"0000019f32bc7b68"} 
[2026-07-05 20:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:17: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-07-05 20:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515159040001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574893356481648640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515159040001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:17:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574893356481648640,"description":"Unknown IO ID 44"} 
[2026-07-05 20:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515159040001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574893356481648640}} 
[2026-07-05 20:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":123515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:17:10] local.INFO: GPS data processed {"connection_id":123515,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:17:10] local.INFO: Acknowledgment sent {"connection_id":123515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:17:39] local.INFO: TCP Data received {"connection_id":123513,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:17:39] local.INFO: Processing buffer {"connection_id":123513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:17:39] local.INFO: Packet analysis {"connection_id":123513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:17:39] local.INFO: Extracted packet for processing {"connection_id":123513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076864001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125714944,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1783262759000,"timestamp_ms":1783262759000,"timestamp_seconds":1783262759,"priority":1,"record_length":96,"hex_timestamp":"0000019f32be4858"} 
[2026-07-05 20:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:17: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-07-05 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-05 20:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":123513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":123513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":123513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076864001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1836764991125714944},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076864001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:17:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:17:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125714944,"description":"Unknown IO ID 45"} 
[2026-07-05 20:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076864001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1836764991125714944}} 
[2026-07-05 20:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":123513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:17:39] local.INFO: GPS data processed {"connection_id":123513,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:17:39] local.INFO: Acknowledgment sent {"connection_id":123513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:17:42] local.INFO: TCP Data received {"connection_id":123515,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:17:42] local.INFO: Processing buffer {"connection_id":123515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:17:42] local.INFO: Packet analysis {"connection_id":123515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:17:42] local.INFO: Extracted packet for processing {"connection_id":123515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515159040001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574893356481648640,"note":"Value kept but may cause issues"} 
[2026-07-05 20:17:42] 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-07-05 20:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783262641000,"timestamp_ms":1783262641000,"timestamp_seconds":1783262641,"priority":1,"record_length":96,"hex_timestamp":"0000019f32bc7b68"} 
[2026-07-05 20:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515159040001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574893356481648640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515159040001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:17:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574893356481648640,"description":"Unknown IO ID 44"} 
[2026-07-05 20:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515159040001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574893356481648640}} 
[2026-07-05 20:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":123515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:17:42] local.INFO: GPS data processed {"connection_id":123515,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:17:42] local.INFO: Acknowledgment sent {"connection_id":123515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:17:56] local.INFO: TCP Data received {"connection_id":124740,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:17:56] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:17:56] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:18:01] local.INFO: TCP Data received {"connection_id":124740,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:18:01] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:18:01] local.INFO: IMEI packet received {"connection_id":124740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":124740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:18:03] local.INFO: TCP Data received {"connection_id":124740,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:18:03] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:18:03] local.INFO: Packet analysis {"connection_id":124740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:18:03] local.INFO: Extracted packet for processing {"connection_id":124740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 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-07-05 20:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076864001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125714944,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783262759000,"timestamp_ms":1783262759000,"timestamp_seconds":1783262759,"priority":1,"record_length":96,"hex_timestamp":"0000019f32be4858"} 
[2026-07-05 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-07-05 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-05 20:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 20:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076864001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1836764991125714944},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076864001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:18:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125714944,"description":"Unknown IO ID 45"} 
[2026-07-05 20:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076864001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1836764991125714944}} 
[2026-07-05 20:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":124740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:18:03] local.INFO: GPS data processed {"connection_id":124740,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:18:03] local.INFO: Acknowledgment sent {"connection_id":124740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:18:04] local.INFO: TCP Data received {"connection_id":123516,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:18:04] local.INFO: Processing buffer {"connection_id":123516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:18:04] local.INFO: IMEI packet received {"connection_id":123516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":123516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:18:09] local.INFO: TCP Data received {"connection_id":123516,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:18:09] local.INFO: Processing buffer {"connection_id":123516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:18:09] local.INFO: IMEI packet received {"connection_id":123516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":123516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:18:10] local.INFO: TCP Data received {"connection_id":123516,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:18:10] local.INFO: Processing buffer {"connection_id":123516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:18:10] local.INFO: Packet analysis {"connection_id":123516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:18:10] local.INFO: Extracted packet for processing {"connection_id":123516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515159040001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574893356481648640,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:10] 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-07-05 20:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783262641000,"timestamp_ms":1783262641000,"timestamp_seconds":1783262641,"priority":1,"record_length":96,"hex_timestamp":"0000019f32bc7b68"} 
[2026-07-05 20:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:18: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-07-05 20:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515159040001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574893356481648640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515159040001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:18:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574893356481648640,"description":"Unknown IO ID 44"} 
[2026-07-05 20:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515159040001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574893356481648640}} 
[2026-07-05 20:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":123516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:18:10] local.INFO: GPS data processed {"connection_id":123516,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:18:10] local.INFO: Acknowledgment sent {"connection_id":123516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:18:37] local.INFO: TCP Data received {"connection_id":124740,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:18:37] local.INFO: Processing buffer {"connection_id":124740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:18:37] local.INFO: Packet analysis {"connection_id":124740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:18:37] local.INFO: Extracted packet for processing {"connection_id":124740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076864001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125714944,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783262759000,"timestamp_ms":1783262759000,"timestamp_seconds":1783262759,"priority":1,"record_length":96,"hex_timestamp":"0000019f32be4858"} 
[2026-07-05 20:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-05 20:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076864001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1836764991125714944},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076864001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:18:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125714944,"description":"Unknown IO ID 45"} 
[2026-07-05 20:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076864001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1836764991125714944}} 
[2026-07-05 20:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":124740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:18:37] local.INFO: GPS data processed {"connection_id":124740,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:18:37] local.INFO: Acknowledgment sent {"connection_id":124740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:18:41] local.INFO: TCP Data received {"connection_id":123516,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:18:41] local.INFO: Processing buffer {"connection_id":123516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32bc7b68012cb2a24007823a68004800c924..."} 
[2026-07-05 20:18:41] local.INFO: Packet analysis {"connection_id":123516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:18:41] local.INFO: Extracted packet for processing {"connection_id":123516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32bc"} 
[2026-07-05 20:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515159040001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574893356481648640,"note":"Value kept but may cause issues"} 
[2026-07-05 20:18:41] 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-07-05 20:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783262641000,"timestamp_ms":1783262641000,"timestamp_seconds":1783262641,"priority":1,"record_length":96,"hex_timestamp":"0000019f32bc7b68"} 
[2026-07-05 20:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20: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-07-05 20: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-07-05 20:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515159040001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574893356481648640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515159040001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:18:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574893356481648640,"description":"Unknown IO ID 44"} 
[2026-07-05 20:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515159040001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574893356481648640}} 
[2026-07-05 20:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":123516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:18:41] local.INFO: GPS data processed {"connection_id":123516,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:18:41] local.INFO: Acknowledgment sent {"connection_id":123516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:19:01] local.INFO: TCP Data received {"connection_id":122827,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:19:01] local.INFO: Processing buffer {"connection_id":122827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:19:01] local.INFO: IMEI packet received {"connection_id":122827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":122827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:19:06] local.INFO: TCP Data received {"connection_id":122827,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:19:06] local.INFO: Processing buffer {"connection_id":122827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:19:06] local.INFO: IMEI packet received {"connection_id":122827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":122827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:19:08] local.INFO: TCP Data received {"connection_id":122827,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:19:08] local.INFO: Processing buffer {"connection_id":122827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:19:08] local.INFO: Packet analysis {"connection_id":122827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:19:08] local.INFO: Extracted packet for processing {"connection_id":122827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076864001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125714944,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783262759000,"timestamp_ms":1783262759000,"timestamp_seconds":1783262759,"priority":1,"record_length":96,"hex_timestamp":"0000019f32be4858"} 
[2026-07-05 20:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:19:08] 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-07-05 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-05 20:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":122827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":122827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":122827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076864001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1836764991125714944},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076864001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:19:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125714944,"description":"Unknown IO ID 45"} 
[2026-07-05 20:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076864001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1836764991125714944}} 
[2026-07-05 20:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":122827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:19:08] local.INFO: GPS data processed {"connection_id":122827,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:19:08] local.INFO: Acknowledgment sent {"connection_id":122827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:19:09] local.INFO: TCP Data received {"connection_id":124742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:19:09] local.INFO: Processing buffer {"connection_id":124742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:19:09] local.INFO: IMEI packet received {"connection_id":124742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":124742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:19:12] local.INFO: TCP Data received {"connection_id":122827,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:19:12] local.INFO: Processing buffer {"connection_id":122827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:19:12] local.INFO: Packet analysis {"connection_id":122827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:19:12] local.INFO: Extracted packet for processing {"connection_id":122827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076864001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125714944,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783262759000,"timestamp_ms":1783262759000,"timestamp_seconds":1783262759,"priority":1,"record_length":96,"hex_timestamp":"0000019f32be4858"} 
[2026-07-05 20:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:19:12] 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-07-05 20:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-05 20:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076864001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1836764991125714944},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076864001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:19:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:19:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125714944,"description":"Unknown IO ID 45"} 
[2026-07-05 20:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076864001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1836764991125714944}} 
[2026-07-05 20:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":122827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:19:12] local.INFO: GPS data processed {"connection_id":122827,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:19:12] local.INFO: Acknowledgment sent {"connection_id":122827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:19:14] local.INFO: TCP Data received {"connection_id":124742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:19:14] local.INFO: Processing buffer {"connection_id":124742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:19:14] local.INFO: IMEI packet received {"connection_id":124742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":124742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:19:15] local.INFO: TCP Data received {"connection_id":124742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:19:15] local.INFO: Processing buffer {"connection_id":124742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:19:15] local.INFO: Packet analysis {"connection_id":124742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:19:15] local.INFO: Extracted packet for processing {"connection_id":124742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:19:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515236096001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:15] 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-07-05 20:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783262942000,"timestamp_ms":1783262942000,"timestamp_seconds":1783262942,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c11330"} 
[2026-07-05 20:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515236096001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515236096001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:19:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:19:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:19:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515236096001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":124742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:19:15] local.INFO: GPS data processed {"connection_id":124742,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:19:15] local.INFO: Acknowledgment sent {"connection_id":124742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:19:19] local.INFO: TCP Data received {"connection_id":124742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:19:19] local.INFO: Processing buffer {"connection_id":124742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:19:19] local.INFO: Packet analysis {"connection_id":124742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:19:19] local.INFO: Extracted packet for processing {"connection_id":124742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:19:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515236096001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:19:19] 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-07-05 20:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783262942000,"timestamp_ms":1783262942000,"timestamp_seconds":1783262942,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c11330"} 
[2026-07-05 20:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:19: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-07-05 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515236096001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515236096001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:19:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:19:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515236096001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":124742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:19:19] local.INFO: GPS data processed {"connection_id":124742,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:19:19] local.INFO: Acknowledgment sent {"connection_id":124742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:19:56] local.INFO: TCP Data received {"connection_id":122828,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:19:56] local.INFO: Processing buffer {"connection_id":122828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:19:56] local.INFO: IMEI packet received {"connection_id":122828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":122828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:20:01] local.INFO: TCP Data received {"connection_id":122828,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:20:01] local.INFO: Processing buffer {"connection_id":122828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:20:01] local.INFO: IMEI packet received {"connection_id":122828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":122828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:20:03] local.INFO: TCP Data received {"connection_id":122828,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:20:03] local.INFO: Processing buffer {"connection_id":122828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:20:03] local.INFO: Packet analysis {"connection_id":122828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:20:03] local.INFO: Extracted packet for processing {"connection_id":122828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076864001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125714944,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783262759000,"timestamp_ms":1783262759000,"timestamp_seconds":1783262759,"priority":1,"record_length":96,"hex_timestamp":"0000019f32be4858"} 
[2026-07-05 20:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-05 20:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076864001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1836764991125714944},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076864001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:20:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:20:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125714944,"description":"Unknown IO ID 45"} 
[2026-07-05 20:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076864001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1836764991125714944}} 
[2026-07-05 20:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":122828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:20:03] local.INFO: GPS data processed {"connection_id":122828,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:20:03] local.INFO: Acknowledgment sent {"connection_id":122828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:20:04] local.INFO: TCP Data received {"connection_id":122759,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:20:04] local.INFO: Processing buffer {"connection_id":122759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:20:04] local.INFO: IMEI packet received {"connection_id":122759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":122759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:20:09] local.INFO: TCP Data received {"connection_id":122759,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:20:09] local.INFO: Processing buffer {"connection_id":122759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:20:09] local.INFO: IMEI packet received {"connection_id":122759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":122759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:20:14] local.INFO: TCP Data received {"connection_id":122759,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:20:14] local.INFO: Processing buffer {"connection_id":122759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:20:14] local.INFO: Packet analysis {"connection_id":122759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:20:14] local.INFO: Extracted packet for processing {"connection_id":122759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:20:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515236096001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:14] 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-07-05 20:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783262942000,"timestamp_ms":1783262942000,"timestamp_seconds":1783262942,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c11330"} 
[2026-07-05 20:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515236096001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515236096001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:20:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:20:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:20:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515236096001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":122759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:20:14] local.INFO: GPS data processed {"connection_id":122759,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:20:14] local.INFO: Acknowledgment sent {"connection_id":122759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:20:34] local.INFO: TCP Data received {"connection_id":122828,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:20:34] local.INFO: Processing buffer {"connection_id":122828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:20:34] local.INFO: Packet analysis {"connection_id":122828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:20:34] local.INFO: Extracted packet for processing {"connection_id":122828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076864001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125714944,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783262759000,"timestamp_ms":1783262759000,"timestamp_seconds":1783262759,"priority":1,"record_length":96,"hex_timestamp":"0000019f32be4858"} 
[2026-07-05 20:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-05 20:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":122828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":122828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":122828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076864001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1836764991125714944},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076864001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:20:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:20:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125714944,"description":"Unknown IO ID 45"} 
[2026-07-05 20:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076864001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1836764991125714944}} 
[2026-07-05 20:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":122828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:20:34] local.INFO: GPS data processed {"connection_id":122828,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:20:34] local.INFO: Acknowledgment sent {"connection_id":122828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:20:50] local.INFO: TCP Data received {"connection_id":122759,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:20:50] local.INFO: Processing buffer {"connection_id":122759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:20:50] local.INFO: Packet analysis {"connection_id":122759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:20:50] local.INFO: Extracted packet for processing {"connection_id":122759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:20:50] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515236096001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:20:50] 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-07-05 20:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1783262942000,"timestamp_ms":1783262942000,"timestamp_seconds":1783262942,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c11330"} 
[2026-07-05 20:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:20: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-07-05 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":122759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":122759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":122759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515236096001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515236096001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:20:50] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515236096001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":122759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:20:50] local.INFO: GPS data processed {"connection_id":122759,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:20:50] local.INFO: Acknowledgment sent {"connection_id":122759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:20:56] local.INFO: TCP Data received {"connection_id":122761,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:20:56] local.INFO: Processing buffer {"connection_id":122761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:20:56] local.INFO: IMEI packet received {"connection_id":122761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":122761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:21:01] local.INFO: TCP Data received {"connection_id":122761,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:21:01] local.INFO: Processing buffer {"connection_id":122761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:21:01] local.INFO: IMEI packet received {"connection_id":122761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":122761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:21:03] local.INFO: TCP Data received {"connection_id":122761,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:21:03] local.INFO: Processing buffer {"connection_id":122761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:21:03] local.INFO: Packet analysis {"connection_id":122761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:21:03] local.INFO: Extracted packet for processing {"connection_id":122761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076864001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125714944,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783262759000,"timestamp_ms":1783262759000,"timestamp_seconds":1783262759,"priority":1,"record_length":96,"hex_timestamp":"0000019f32be4858"} 
[2026-07-05 20:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-05 20:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076864001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1836764991125714944},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076864001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:21:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125714944,"description":"Unknown IO ID 45"} 
[2026-07-05 20:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076864001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1836764991125714944}} 
[2026-07-05 20:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":122761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:21:03] local.INFO: GPS data processed {"connection_id":122761,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:21:03] local.INFO: Acknowledgment sent {"connection_id":122761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:21:07] local.INFO: TCP Data received {"connection_id":123517,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:21:07] local.INFO: Processing buffer {"connection_id":123517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:21:07] local.INFO: IMEI packet received {"connection_id":123517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":123517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:21:09] local.INFO: TCP Data received {"connection_id":123517,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:21:09] local.INFO: Processing buffer {"connection_id":123517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:21:09] local.INFO: IMEI packet received {"connection_id":123517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":123517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:21:09] local.INFO: TCP Data received {"connection_id":123517,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:21:09] local.INFO: Processing buffer {"connection_id":123517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:21:09] local.INFO: Packet analysis {"connection_id":123517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:21:09] local.INFO: Extracted packet for processing {"connection_id":123517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:21:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515236096001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:09] 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-07-05 20:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783262942000,"timestamp_ms":1783262942000,"timestamp_seconds":1783262942,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c11330"} 
[2026-07-05 20:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":123517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":123517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":123517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515236096001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515236096001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:21:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515236096001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":123517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:21:09] local.INFO: GPS data processed {"connection_id":123517,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:21:09] local.INFO: Acknowledgment sent {"connection_id":123517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:21:14] local.INFO: TCP Data received {"connection_id":123517,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:21:14] local.INFO: Processing buffer {"connection_id":123517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:21:14] local.INFO: Packet analysis {"connection_id":123517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:21:14] local.INFO: Extracted packet for processing {"connection_id":123517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:21:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515236096001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:14] 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-07-05 20:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783262942000,"timestamp_ms":1783262942000,"timestamp_seconds":1783262942,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c11330"} 
[2026-07-05 20:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":123517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":123517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":123517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515236096001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515236096001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:21:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:21:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:21:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515236096001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":123517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:21:14] local.INFO: GPS data processed {"connection_id":123517,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:21:14] local.INFO: Acknowledgment sent {"connection_id":123517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:21:34] local.INFO: TCP Data received {"connection_id":123518,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:21:34] local.INFO: Processing buffer {"connection_id":123518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:21:34] local.INFO: IMEI packet received {"connection_id":123518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":123518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:21:34] local.INFO: TCP Data received {"connection_id":122761,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:21:34] local.INFO: Processing buffer {"connection_id":122761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32be4858012d196840071fef60003700f823..."} 
[2026-07-05 20:21:34] local.INFO: Packet analysis {"connection_id":122761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:21:34] local.INFO: Extracted packet for processing {"connection_id":122761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32be"} 
[2026-07-05 20:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515076864001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125714944,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783262759000,"timestamp_ms":1783262759000,"timestamp_seconds":1783262759,"priority":1,"record_length":96,"hex_timestamp":"0000019f32be4858"} 
[2026-07-05 20:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-07-05 20:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2422,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":122761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":122761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":122761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515076864001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1836764991125714944},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515076864001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:21:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:21:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125714944,"description":"Unknown IO ID 45"} 
[2026-07-05 20:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515076864001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1836764991125714944}} 
[2026-07-05 20:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":122761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:21:34] local.INFO: GPS data processed {"connection_id":122761,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:21:34] local.INFO: Acknowledgment sent {"connection_id":122761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:21:46] local.INFO: TCP Data received {"connection_id":123517,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:21:46] local.INFO: Processing buffer {"connection_id":123517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:21:46] local.INFO: Packet analysis {"connection_id":123517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:21:46] local.INFO: Extracted packet for processing {"connection_id":123517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:21:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515236096001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:21:46] 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-07-05 20:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783262942000,"timestamp_ms":1783262942000,"timestamp_seconds":1783262942,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c11330"} 
[2026-07-05 20:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":123517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":123517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":123517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515236096001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515236096001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:21:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:21:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:21:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515236096001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":123517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:21:46] local.INFO: GPS data processed {"connection_id":123517,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:21:46] local.INFO: Acknowledgment sent {"connection_id":123517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:21:56] local.INFO: TCP Data received {"connection_id":124743,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:21:56] local.INFO: Processing buffer {"connection_id":124743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:21:56] local.INFO: IMEI packet received {"connection_id":124743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":124743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:22:01] local.INFO: TCP Data received {"connection_id":124743,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:22:01] local.INFO: Processing buffer {"connection_id":124743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:22:01] local.INFO: IMEI packet received {"connection_id":124743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":124743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:22:02] local.INFO: TCP Data received {"connection_id":124743,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:22:02] local.INFO: Processing buffer {"connection_id":124743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:22:02] local.INFO: Packet analysis {"connection_id":124743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:22:02] local.INFO: Extracted packet for processing {"connection_id":124743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:22:02] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515266304001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783263060000,"timestamp_ms":1783263060000,"timestamp_seconds":1783263060,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c2e020"} 
[2026-07-05 20:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:22:02] 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-07-05 20:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515266304001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515266304001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:22:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:22:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515266304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":124743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:22:02] local.INFO: GPS data processed {"connection_id":124743,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:22:02] local.INFO: Acknowledgment sent {"connection_id":124743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:22:03] local.INFO: TCP Data received {"connection_id":122830,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:22:03] local.INFO: Processing buffer {"connection_id":122830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:22:03] local.INFO: IMEI packet received {"connection_id":122830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":122830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:22:04] local.INFO: TCP Data received {"connection_id":122829,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:22:04] local.INFO: Processing buffer {"connection_id":122829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:22:04] local.INFO: IMEI packet received {"connection_id":122829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":122829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:22:09] local.INFO: TCP Data received {"connection_id":122829,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:22:09] local.INFO: Processing buffer {"connection_id":122829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:22:09] local.INFO: IMEI packet received {"connection_id":122829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":122829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:22:10] local.INFO: TCP Data received {"connection_id":122829,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:22:10] local.INFO: Processing buffer {"connection_id":122829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:22:10] local.INFO: Packet analysis {"connection_id":122829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:22:10] local.INFO: Extracted packet for processing {"connection_id":122829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515236096001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:10] 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-07-05 20:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783262942000,"timestamp_ms":1783262942000,"timestamp_seconds":1783262942,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c11330"} 
[2026-07-05 20:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515236096001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515236096001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:22:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515236096001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":122829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:22:10] local.INFO: GPS data processed {"connection_id":122829,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:22:10] local.INFO: Acknowledgment sent {"connection_id":122829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:22:34] local.INFO: TCP Data received {"connection_id":124743,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:22:34] local.INFO: Processing buffer {"connection_id":124743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:22:34] local.INFO: Packet analysis {"connection_id":124743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:22:34] local.INFO: Extracted packet for processing {"connection_id":124743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:22:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515266304001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783263060000,"timestamp_ms":1783263060000,"timestamp_seconds":1783263060,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c2e020"} 
[2026-07-05 20:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:22:34] 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-07-05 20:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515266304001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515266304001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:22:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:22:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515266304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":124743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:22:34] local.INFO: GPS data processed {"connection_id":124743,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:22:34] local.INFO: Acknowledgment sent {"connection_id":124743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:22:41] local.INFO: TCP Data received {"connection_id":122829,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:22:41] local.INFO: Processing buffer {"connection_id":122829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:22:41] local.INFO: Packet analysis {"connection_id":122829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:22:41] local.INFO: Extracted packet for processing {"connection_id":122829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:22:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515236096001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:22:41] 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-07-05 20:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783262942000,"timestamp_ms":1783262942000,"timestamp_seconds":1783262942,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c11330"} 
[2026-07-05 20:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:22: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-07-05 20:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515236096001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515236096001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:22:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515236096001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":122829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:22:41] local.INFO: GPS data processed {"connection_id":122829,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:22:41] local.INFO: Acknowledgment sent {"connection_id":122829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:22:56] local.INFO: TCP Data received {"connection_id":122762,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:22:56] local.INFO: Processing buffer {"connection_id":122762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:22:56] local.INFO: IMEI packet received {"connection_id":122762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":122762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:23:01] local.INFO: TCP Data received {"connection_id":122762,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:23:01] local.INFO: Processing buffer {"connection_id":122762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:23:01] local.INFO: IMEI packet received {"connection_id":122762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":122762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:23:03] local.INFO: TCP Data received {"connection_id":122762,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:23:03] local.INFO: Processing buffer {"connection_id":122762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:23:03] local.INFO: Packet analysis {"connection_id":122762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:23:03] local.INFO: Extracted packet for processing {"connection_id":122762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515266304001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783263060000,"timestamp_ms":1783263060000,"timestamp_seconds":1783263060,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c2e020"} 
[2026-07-05 20:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:23:03] 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-07-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515266304001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515266304001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:23:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515266304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":122762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:23:03] local.INFO: GPS data processed {"connection_id":122762,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:23:03] local.INFO: Acknowledgment sent {"connection_id":122762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:23:04] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:23:04] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:23:04] local.INFO: IMEI packet received {"connection_id":124744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":124744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:23:09] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:23:09] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:23:09] local.INFO: IMEI packet received {"connection_id":124744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":124744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:23:10] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:23:10] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:23:10] local.INFO: Packet analysis {"connection_id":124744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:23:10] local.INFO: Extracted packet for processing {"connection_id":124744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:23:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515236096001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:10] 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-07-05 20:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783262942000,"timestamp_ms":1783262942000,"timestamp_seconds":1783262942,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c11330"} 
[2026-07-05 20:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515236096001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515236096001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:23:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515236096001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":124744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:23:10] local.INFO: GPS data processed {"connection_id":124744,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:23:10] local.INFO: Acknowledgment sent {"connection_id":124744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:23:34] local.INFO: TCP Data received {"connection_id":122762,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:23:34] local.INFO: Processing buffer {"connection_id":122762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:23:34] local.INFO: Packet analysis {"connection_id":122762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:23:34] local.INFO: Extracted packet for processing {"connection_id":122762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 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-07-05 20:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515266304001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783263060000,"timestamp_ms":1783263060000,"timestamp_seconds":1783263060,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c2e020"} 
[2026-07-05 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-07-05 20:23:34] 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-07-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 20:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":122762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":122762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":122762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515266304001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515266304001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:23:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:23:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515266304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":122762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:23:35] local.INFO: GPS data processed {"connection_id":122762,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:23:35] local.INFO: Acknowledgment sent {"connection_id":122762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:23:42] local.INFO: TCP Data received {"connection_id":124744,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:23:42] local.INFO: Processing buffer {"connection_id":124744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c11330012cb2a24007823a68004800c926..."} 
[2026-07-05 20:23:42] local.INFO: Packet analysis {"connection_id":124744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:23:42] local.INFO: Extracted packet for processing {"connection_id":124744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c1"} 
[2026-07-05 20:23:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515236096001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:23:42] 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-07-05 20:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783262942000,"timestamp_ms":1783262942000,"timestamp_seconds":1783262942,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c11330"} 
[2026-07-05 20:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:23: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-07-05 20: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-07-05 20:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515236096001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515236096001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:23:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:23:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:23:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515236096001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":124744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:23:43] local.INFO: GPS data processed {"connection_id":124744,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:23:43] local.INFO: Acknowledgment sent {"connection_id":124744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:24:01] local.INFO: TCP Data received {"connection_id":122832,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:24:01] local.INFO: Processing buffer {"connection_id":122832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:24:01] local.INFO: IMEI packet received {"connection_id":122832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":122832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:24:05] local.INFO: TCP Data received {"connection_id":123520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:24:05] local.INFO: Processing buffer {"connection_id":123520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:24:05] local.INFO: IMEI packet received {"connection_id":123520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":123520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:24:06] local.INFO: TCP Data received {"connection_id":122832,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:24:06] local.INFO: Processing buffer {"connection_id":122832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:24:06] local.INFO: IMEI packet received {"connection_id":122832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":122832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:24:08] local.INFO: TCP Data received {"connection_id":122832,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:24:08] local.INFO: Processing buffer {"connection_id":122832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:24:08] local.INFO: Packet analysis {"connection_id":122832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:24:08] local.INFO: Extracted packet for processing {"connection_id":122832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515266304001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783263060000,"timestamp_ms":1783263060000,"timestamp_seconds":1783263060,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c2e020"} 
[2026-07-05 20:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:24:08] 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-07-05 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":122832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":122832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":122832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515266304001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515266304001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515266304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":122832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:24:08] local.INFO: GPS data processed {"connection_id":122832,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:24:08] local.INFO: Acknowledgment sent {"connection_id":122832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:24:09] local.INFO: TCP Data received {"connection_id":123520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:24:09] local.INFO: Processing buffer {"connection_id":123520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:24:09] local.INFO: IMEI packet received {"connection_id":123520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":123520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:24:14] local.INFO: TCP Data received {"connection_id":123520,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:24:14] local.INFO: Processing buffer {"connection_id":123520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:24:14] local.INFO: IMEI packet received {"connection_id":123520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":123520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:24:15] local.INFO: TCP Data received {"connection_id":123520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:24:15] local.INFO: Processing buffer {"connection_id":123520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:24:15] local.INFO: Packet analysis {"connection_id":123520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:24:15] local.INFO: Extracted packet for processing {"connection_id":123520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:24:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515313152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:15] 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-07-05 20:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783263243000,"timestamp_ms":1783263243000,"timestamp_seconds":1783263243,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c5aaf8"} 
[2026-07-05 20:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 20:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515313152001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515313152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:24:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:24:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515313152001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":123520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:24:15] local.INFO: GPS data processed {"connection_id":123520,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:24:15] local.INFO: Acknowledgment sent {"connection_id":123520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:24:19] local.INFO: TCP Data received {"connection_id":123520,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:24:19] local.INFO: Processing buffer {"connection_id":123520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:24:19] local.INFO: Packet analysis {"connection_id":123520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:24:19] local.INFO: Extracted packet for processing {"connection_id":123520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:24:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515313152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:19] 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-07-05 20:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783263243000,"timestamp_ms":1783263243000,"timestamp_seconds":1783263243,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c5aaf8"} 
[2026-07-05 20:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:24: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-07-05 20: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 20:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":123520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":123520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":123520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515313152001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515313152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:24:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515313152001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":123520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:24:19] local.INFO: GPS data processed {"connection_id":123520,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:24:19] local.INFO: Acknowledgment sent {"connection_id":123520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:24:40] local.INFO: TCP Data received {"connection_id":122832,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:24:40] local.INFO: Processing buffer {"connection_id":122832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:24:40] local.INFO: Packet analysis {"connection_id":122832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:24:40] local.INFO: Extracted packet for processing {"connection_id":122832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:24:40] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515266304001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783263060000,"timestamp_ms":1783263060000,"timestamp_seconds":1783263060,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c2e020"} 
[2026-07-05 20:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:24:40] 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-07-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":122832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":122832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":122832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515266304001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515266304001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:24:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:24:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515266304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":122832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:24:40] local.INFO: GPS data processed {"connection_id":122832,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:24:40] local.INFO: Acknowledgment sent {"connection_id":122832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:24:56] local.INFO: TCP Data received {"connection_id":122763,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:24:56] local.INFO: Processing buffer {"connection_id":122763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:24:56] local.INFO: IMEI packet received {"connection_id":122763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":122763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:25:01] local.INFO: TCP Data received {"connection_id":122763,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:25:01] local.INFO: Processing buffer {"connection_id":122763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:25:01] local.INFO: IMEI packet received {"connection_id":122763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":122763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:25:02] local.INFO: TCP Data received {"connection_id":122763,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:25:02] local.INFO: Processing buffer {"connection_id":122763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:25:02] local.INFO: Packet analysis {"connection_id":122763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:25:02] local.INFO: Extracted packet for processing {"connection_id":122763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:25:02] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 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-07-05 20:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515266304001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783263060000,"timestamp_ms":1783263060000,"timestamp_seconds":1783263060,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c2e020"} 
[2026-07-05 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-07-05 20:25:02] 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-07-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 20:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":122763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":122763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":122763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515266304001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515266304001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:25:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:25:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515266304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":122763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:25:02] local.INFO: GPS data processed {"connection_id":122763,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:25:02] local.INFO: Acknowledgment sent {"connection_id":122763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:25:04] local.INFO: TCP Data received {"connection_id":122764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:25:04] local.INFO: Processing buffer {"connection_id":122764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:25:04] local.INFO: IMEI packet received {"connection_id":122764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":122764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:25:09] local.INFO: TCP Data received {"connection_id":122764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:25:09] local.INFO: Processing buffer {"connection_id":122764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:25:09] local.INFO: IMEI packet received {"connection_id":122764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":122764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:25:10] local.INFO: TCP Data received {"connection_id":122764,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:25:10] local.INFO: Processing buffer {"connection_id":122764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:25:10] local.INFO: Packet analysis {"connection_id":122764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:25:10] local.INFO: Extracted packet for processing {"connection_id":122764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515313152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:10] 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-07-05 20:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783263243000,"timestamp_ms":1783263243000,"timestamp_seconds":1783263243,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c5aaf8"} 
[2026-07-05 20:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 20:25: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-07-05 20:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515313152001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515313152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:25:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515313152001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":122764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:25:10] local.INFO: GPS data processed {"connection_id":122764,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:25:10] local.INFO: Acknowledgment sent {"connection_id":122764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:25:34] local.INFO: TCP Data received {"connection_id":122763,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:25:34] local.INFO: Processing buffer {"connection_id":122763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:25:34] local.INFO: Packet analysis {"connection_id":122763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:25:34] local.INFO: Extracted packet for processing {"connection_id":122763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:25:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515266304001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783263060000,"timestamp_ms":1783263060000,"timestamp_seconds":1783263060,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c2e020"} 
[2026-07-05 20:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:25:34] 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-07-05 20:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":122763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":122763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":122763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515266304001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515266304001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:25:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:25:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515266304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":122763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:25:34] local.INFO: GPS data processed {"connection_id":122763,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:25:34] local.INFO: Acknowledgment sent {"connection_id":122763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:25:41] local.INFO: TCP Data received {"connection_id":122764,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:25:41] local.INFO: Processing buffer {"connection_id":122764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:25:41] local.INFO: Packet analysis {"connection_id":122764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:25:41] local.INFO: Extracted packet for processing {"connection_id":122764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:25:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515313152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:25:41] 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-07-05 20:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783263243000,"timestamp_ms":1783263243000,"timestamp_seconds":1783263243,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c5aaf8"} 
[2026-07-05 20:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":124,"data_length":795,"current_offset":136} 
[2026-07-05 20:25: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-07-05 20: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-07-05 20:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515313152001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515313152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:25:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515313152001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":122764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:25:41] local.INFO: GPS data processed {"connection_id":122764,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:25:41] local.INFO: Acknowledgment sent {"connection_id":122764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:25:56] local.INFO: TCP Data received {"connection_id":122833,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:25:56] local.INFO: Processing buffer {"connection_id":122833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:25:56] local.INFO: IMEI packet received {"connection_id":122833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":122833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:26:01] local.INFO: TCP Data received {"connection_id":122833,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:26:01] local.INFO: Processing buffer {"connection_id":122833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:26:01] local.INFO: IMEI packet received {"connection_id":122833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":122833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:26:03] local.INFO: TCP Data received {"connection_id":122833,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:26:03] local.INFO: Processing buffer {"connection_id":122833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:26:03] local.INFO: Packet analysis {"connection_id":122833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:26:03] local.INFO: Extracted packet for processing {"connection_id":122833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515266304001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783263060000,"timestamp_ms":1783263060000,"timestamp_seconds":1783263060,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c2e020"} 
[2026-07-05 20:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:26:03] 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-07-05 20: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":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515266304001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515266304001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:26:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515266304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":122833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:26:03] local.INFO: GPS data processed {"connection_id":122833,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:26:03] local.INFO: Acknowledgment sent {"connection_id":122833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:26:35] local.INFO: TCP Data received {"connection_id":122833,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:26:35] local.INFO: Processing buffer {"connection_id":122833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c2e020012d196840071fef60003700f822..."} 
[2026-07-05 20:26:35] local.INFO: Packet analysis {"connection_id":122833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:26:35] local.INFO: Extracted packet for processing {"connection_id":122833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c2"} 
[2026-07-05 20:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515266304001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783263060000,"timestamp_ms":1783263060000,"timestamp_seconds":1783263060,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c2e020"} 
[2026-07-05 20:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:26:35] 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-07-05 20: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":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515266304001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515266304001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:26:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:26:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515266304001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":122833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:26:35] local.INFO: GPS data processed {"connection_id":122833,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:26:35] local.INFO: Acknowledgment sent {"connection_id":122833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:26:39] local.INFO: TCP Data received {"connection_id":122765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:26:39] local.INFO: Processing buffer {"connection_id":122765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:26:39] local.INFO: IMEI packet received {"connection_id":122765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":122765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:26:44] local.INFO: TCP Data received {"connection_id":122765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:26:44] local.INFO: Processing buffer {"connection_id":122765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:26:44] local.INFO: IMEI packet received {"connection_id":122765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":122765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:26:45] local.INFO: TCP Data received {"connection_id":122765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:26:45] local.INFO: Processing buffer {"connection_id":122765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:26:45] local.INFO: Packet analysis {"connection_id":122765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:26:45] local.INFO: Extracted packet for processing {"connection_id":122765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:26:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515313152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:26:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:26:45] 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-07-05 20:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783263243000,"timestamp_ms":1783263243000,"timestamp_seconds":1783263243,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c5aaf8"} 
[2026-07-05 20:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 20:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515313152001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515313152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:26:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:26:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:26:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515313152001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":122765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:26:45] local.INFO: GPS data processed {"connection_id":122765,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:26:45] local.INFO: Acknowledgment sent {"connection_id":122765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:26:56] local.INFO: TCP Data received {"connection_id":122834,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:26:56] local.INFO: Processing buffer {"connection_id":122834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:26:56] local.INFO: IMEI packet received {"connection_id":122834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":122834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:27:01] local.INFO: TCP Data received {"connection_id":122834,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:27:01] local.INFO: Processing buffer {"connection_id":122834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:27:01] local.INFO: IMEI packet received {"connection_id":122834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":122834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:27:03] local.INFO: TCP Data received {"connection_id":122834,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:27:03] local.INFO: Processing buffer {"connection_id":122834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:27:03] local.INFO: Packet analysis {"connection_id":122834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:27:03] local.INFO: Extracted packet for processing {"connection_id":122834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515343360001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783263361000,"timestamp_ms":1783263361000,"timestamp_seconds":1783263361,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c777e8"} 
[2026-07-05 20:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:27:03] 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-07-05 20:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515343360001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515343360001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:27:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515343360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":122834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:27:03] local.INFO: GPS data processed {"connection_id":122834,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:27:03] local.INFO: Acknowledgment sent {"connection_id":122834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:27:09] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:27:09] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:27:09] local.INFO: IMEI packet received {"connection_id":124747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":124747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:27:14] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:27:14] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:27:14] local.INFO: IMEI packet received {"connection_id":124747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":124747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:27:15] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:27:15] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:27:15] local.INFO: Packet analysis {"connection_id":124747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:27:15] local.INFO: Extracted packet for processing {"connection_id":124747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:27:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515313152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:15] 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-07-05 20:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783263243000,"timestamp_ms":1783263243000,"timestamp_seconds":1783263243,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c5aaf8"} 
[2026-07-05 20:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 20:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515313152001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515313152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:27:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:27:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515313152001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":124747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:27:15] local.INFO: GPS data processed {"connection_id":124747,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:27:15] local.INFO: Acknowledgment sent {"connection_id":124747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:27:35] local.INFO: TCP Data received {"connection_id":122834,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:27:35] local.INFO: Processing buffer {"connection_id":122834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:27:35] local.INFO: Packet analysis {"connection_id":122834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:27:35] local.INFO: Extracted packet for processing {"connection_id":122834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515343360001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783263361000,"timestamp_ms":1783263361000,"timestamp_seconds":1783263361,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c777e8"} 
[2026-07-05 20:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:27:35] 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-07-05 20: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":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515343360001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515343360001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:27:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:27:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515343360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":122834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:27:35] local.INFO: GPS data processed {"connection_id":122834,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:27:35] local.INFO: Acknowledgment sent {"connection_id":122834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:27:46] local.INFO: TCP Data received {"connection_id":124747,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:27:46] local.INFO: Processing buffer {"connection_id":124747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:27:46] local.INFO: Packet analysis {"connection_id":124747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:27:46] local.INFO: Extracted packet for processing {"connection_id":124747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:27:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515313152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:27:46] 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-07-05 20:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783263243000,"timestamp_ms":1783263243000,"timestamp_seconds":1783263243,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c5aaf8"} 
[2026-07-05 20:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 20:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515313152001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515313152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:27:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:27:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:27:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515313152001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":124747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:27:46] local.INFO: GPS data processed {"connection_id":124747,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:27:46] local.INFO: Acknowledgment sent {"connection_id":124747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:27:56] local.INFO: TCP Data received {"connection_id":123522,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:27:56] local.INFO: Processing buffer {"connection_id":123522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:27:56] local.INFO: IMEI packet received {"connection_id":123522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":123522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:28:01] local.INFO: TCP Data received {"connection_id":123522,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:28:01] local.INFO: Processing buffer {"connection_id":123522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:28:01] local.INFO: IMEI packet received {"connection_id":123522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":123522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:28:03] local.INFO: TCP Data received {"connection_id":123522,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:28:03] local.INFO: Processing buffer {"connection_id":123522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:28:03] local.INFO: Packet analysis {"connection_id":123522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:28:03] local.INFO: Extracted packet for processing {"connection_id":123522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 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-07-05 20:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515343360001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783263361000,"timestamp_ms":1783263361000,"timestamp_seconds":1783263361,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c777e8"} 
[2026-07-05 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-07-05 20:28:03] 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-07-05 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 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-07-05 20:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":123522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":123522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":123522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515343360001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515343360001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:28:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515343360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":123522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:28:03] local.INFO: GPS data processed {"connection_id":123522,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:28:03] local.INFO: Acknowledgment sent {"connection_id":123522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:28:03] local.INFO: TCP Data received {"connection_id":124748,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:28:03] local.INFO: Processing buffer {"connection_id":124748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:28:03] local.INFO: IMEI packet received {"connection_id":124748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":124748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:28:04] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:28:04] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:28:04] local.INFO: IMEI packet received {"connection_id":124749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":124749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:28:09] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:28:09] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:28:09] local.INFO: IMEI packet received {"connection_id":124749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":124749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:28:10] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:28:10] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:28:10] local.INFO: Packet analysis {"connection_id":124749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:28:10] local.INFO: Extracted packet for processing {"connection_id":124749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515313152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:10] 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-07-05 20:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783263243000,"timestamp_ms":1783263243000,"timestamp_seconds":1783263243,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c5aaf8"} 
[2026-07-05 20:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 20:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515313152001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515313152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:28:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515313152001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":124749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:28:10] local.INFO: GPS data processed {"connection_id":124749,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:28:10] local.INFO: Acknowledgment sent {"connection_id":124749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:28:35] local.INFO: TCP Data received {"connection_id":123522,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:28:35] local.INFO: Processing buffer {"connection_id":123522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:28:35] local.INFO: Packet analysis {"connection_id":123522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:28:35] local.INFO: Extracted packet for processing {"connection_id":123522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:28:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515343360001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783263361000,"timestamp_ms":1783263361000,"timestamp_seconds":1783263361,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c777e8"} 
[2026-07-05 20:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:28:35] 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-07-05 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":123522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":123522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":123522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515343360001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515343360001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:28:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:28:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515343360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":123522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:28:35] local.INFO: GPS data processed {"connection_id":123522,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:28:35] local.INFO: Acknowledgment sent {"connection_id":123522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:28:41] local.INFO: TCP Data received {"connection_id":124749,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:28:41] local.INFO: Processing buffer {"connection_id":124749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c5aaf8012cb2a24007823a68004700c929..."} 
[2026-07-05 20:28:41] local.INFO: Packet analysis {"connection_id":124749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:28:41] local.INFO: Extracted packet for processing {"connection_id":124749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c5"} 
[2026-07-05 20:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515313152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:28:41] 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-07-05 20:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783263243000,"timestamp_ms":1783263243000,"timestamp_seconds":1783263243,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c5aaf8"} 
[2026-07-05 20:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 20:28: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-07-05 20:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515313152001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515313152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:28:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515313152001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":124749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:28:41] local.INFO: GPS data processed {"connection_id":124749,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:28:41] local.INFO: Acknowledgment sent {"connection_id":124749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:28:56] local.INFO: TCP Data received {"connection_id":124750,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:28:56] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:28:56] local.INFO: IMEI packet received {"connection_id":124750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":124750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:29:01] local.INFO: TCP Data received {"connection_id":124750,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:29:01] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:29:01] local.INFO: IMEI packet received {"connection_id":124750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":124750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:29:03] local.INFO: TCP Data received {"connection_id":124750,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:29:03] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:29:03] local.INFO: Packet analysis {"connection_id":124750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:29:03] local.INFO: Extracted packet for processing {"connection_id":124750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515343360001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783263361000,"timestamp_ms":1783263361000,"timestamp_seconds":1783263361,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c777e8"} 
[2026-07-05 20:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:29:03] 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-07-05 20: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":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515343360001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515343360001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:29:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515343360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":124750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:29:03] local.INFO: GPS data processed {"connection_id":124750,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:29:03] local.INFO: Acknowledgment sent {"connection_id":124750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:29:06] local.INFO: TCP Data received {"connection_id":123524,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:29:06] local.INFO: Processing buffer {"connection_id":123524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:29:06] local.INFO: IMEI packet received {"connection_id":123524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":123524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:29:09] local.INFO: TCP Data received {"connection_id":123524,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:29:09] local.INFO: Processing buffer {"connection_id":123524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:29:09] local.INFO: IMEI packet received {"connection_id":123524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":123524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:29:14] local.INFO: TCP Data received {"connection_id":123524,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:29:14] local.INFO: Processing buffer {"connection_id":123524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:29:14] local.INFO: IMEI packet received {"connection_id":123524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":123524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:29:15] local.INFO: TCP Data received {"connection_id":123524,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:29:15] local.INFO: Processing buffer {"connection_id":123524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:29:15] local.INFO: Packet analysis {"connection_id":123524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:29:15] local.INFO: Extracted packet for processing {"connection_id":123524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:29:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:29: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-07-05 20:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515390208001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:15] 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-07-05 20:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783263544000,"timestamp_ms":1783263544000,"timestamp_seconds":1783263544,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ca42c0"} 
[2026-07-05 20:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:29: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-07-05 20:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515390208001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515390208001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:29:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:29:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:29:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515390208001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":123524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:29:15] local.INFO: GPS data processed {"connection_id":123524,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:29:15] local.INFO: Acknowledgment sent {"connection_id":123524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:29:19] local.INFO: TCP Data received {"connection_id":123524,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:29:19] local.INFO: Processing buffer {"connection_id":123524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:29:19] local.INFO: Packet analysis {"connection_id":123524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:29:19] local.INFO: Extracted packet for processing {"connection_id":123524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:29:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515390208001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:19] 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-07-05 20:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783263544000,"timestamp_ms":1783263544000,"timestamp_seconds":1783263544,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ca42c0"} 
[2026-07-05 20:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:29: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-07-05 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":123524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":123524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":123524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515390208001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515390208001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:29:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:29:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:29:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515390208001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":123524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:29:19] local.INFO: GPS data processed {"connection_id":123524,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:29:19] local.INFO: Acknowledgment sent {"connection_id":123524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:29:37] local.INFO: TCP Data received {"connection_id":124750,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:29:37] local.INFO: Processing buffer {"connection_id":124750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:29:37] local.INFO: Packet analysis {"connection_id":124750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:29:37] local.INFO: Extracted packet for processing {"connection_id":124750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515343360001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783263361000,"timestamp_ms":1783263361000,"timestamp_seconds":1783263361,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c777e8"} 
[2026-07-05 20:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:29:37] 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-07-05 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":124750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":124750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":124750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515343360001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515343360001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:29:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515343360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":124750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:29:37] local.INFO: GPS data processed {"connection_id":124750,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:29:37] local.INFO: Acknowledgment sent {"connection_id":124750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:30:01] local.INFO: TCP Data received {"connection_id":122766,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:30:01] local.INFO: Processing buffer {"connection_id":122766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:30:01] local.INFO: IMEI packet received {"connection_id":122766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":122766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:30:04] local.INFO: TCP Data received {"connection_id":123525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:30:04] local.INFO: Processing buffer {"connection_id":123525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:30:04] local.INFO: IMEI packet received {"connection_id":123525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":123525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:30:07] local.INFO: TCP Data received {"connection_id":122766,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:30:07] local.INFO: Processing buffer {"connection_id":122766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:30:07] local.INFO: IMEI packet received {"connection_id":122766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":122766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:30:08] local.INFO: TCP Data received {"connection_id":122766,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:30:08] local.INFO: Processing buffer {"connection_id":122766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:30:08] local.INFO: Packet analysis {"connection_id":122766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:30:08] local.INFO: Extracted packet for processing {"connection_id":122766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515343360001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783263361000,"timestamp_ms":1783263361000,"timestamp_seconds":1783263361,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c777e8"} 
[2026-07-05 20:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":122766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":122766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":122766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515343360001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515343360001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:30:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:30:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515343360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":122766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:30:08] local.INFO: GPS data processed {"connection_id":122766,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:30:08] local.INFO: Acknowledgment sent {"connection_id":122766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:30:12] local.INFO: TCP Data received {"connection_id":123525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:30:12] local.INFO: Processing buffer {"connection_id":123525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:30:12] local.INFO: IMEI packet received {"connection_id":123525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":123525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:30:12] local.INFO: TCP Data received {"connection_id":122766,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:30:12] local.INFO: Processing buffer {"connection_id":122766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:30:12] local.INFO: Packet analysis {"connection_id":122766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:30:12] local.INFO: Extracted packet for processing {"connection_id":122766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515343360001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783263361000,"timestamp_ms":1783263361000,"timestamp_seconds":1783263361,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c777e8"} 
[2026-07-05 20:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:30:12] 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-07-05 20:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515343360001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515343360001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:30:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515343360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":122766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:30:12] local.INFO: GPS data processed {"connection_id":122766,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:30:12] local.INFO: Acknowledgment sent {"connection_id":122766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:30:13] local.INFO: TCP Data received {"connection_id":123525,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:30:13] local.INFO: Processing buffer {"connection_id":123525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:30:13] local.INFO: Packet analysis {"connection_id":123525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:30:13] local.INFO: Extracted packet for processing {"connection_id":123525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:30:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515390208001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:13] 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-07-05 20:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783263544000,"timestamp_ms":1783263544000,"timestamp_seconds":1783263544,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ca42c0"} 
[2026-07-05 20:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":123525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":123525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":123525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515390208001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515390208001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:30:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:30:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515390208001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":123525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:30:13] local.INFO: GPS data processed {"connection_id":123525,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:30:13] local.INFO: Acknowledgment sent {"connection_id":123525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:30:44] local.INFO: TCP Data received {"connection_id":123525,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:30:44] local.INFO: Processing buffer {"connection_id":123525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:30:44] local.INFO: Packet analysis {"connection_id":123525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:30:44] local.INFO: Extracted packet for processing {"connection_id":123525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:30:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515390208001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:30:44] 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-07-05 20:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783263544000,"timestamp_ms":1783263544000,"timestamp_seconds":1783263544,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ca42c0"} 
[2026-07-05 20:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":123525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":123525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":123525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515390208001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515390208001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:30:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:30:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515390208001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":123525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:30:44] local.INFO: GPS data processed {"connection_id":123525,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:30:44] local.INFO: Acknowledgment sent {"connection_id":123525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:30:56] local.INFO: TCP Data received {"connection_id":122768,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:30:56] local.INFO: Processing buffer {"connection_id":122768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:30:56] local.INFO: IMEI packet received {"connection_id":122768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":122768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:31:01] local.INFO: TCP Data received {"connection_id":122768,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:31:01] local.INFO: Processing buffer {"connection_id":122768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:31:01] local.INFO: IMEI packet received {"connection_id":122768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":122768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:31:03] local.INFO: TCP Data received {"connection_id":122768,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:31:03] local.INFO: Processing buffer {"connection_id":122768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:31:03] local.INFO: Packet analysis {"connection_id":122768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:31:03] local.INFO: Extracted packet for processing {"connection_id":122768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515343360001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783263361000,"timestamp_ms":1783263361000,"timestamp_seconds":1783263361,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c777e8"} 
[2026-07-05 20:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:31:03] 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-07-05 20:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515343360001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515343360001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:31:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515343360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":122768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:31:03] local.INFO: GPS data processed {"connection_id":122768,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:31:03] local.INFO: Acknowledgment sent {"connection_id":122768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:31:04] local.INFO: TCP Data received {"connection_id":122769,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:31:04] local.INFO: Processing buffer {"connection_id":122769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:31:04] local.INFO: IMEI packet received {"connection_id":122769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":122769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:31:09] local.INFO: TCP Data received {"connection_id":122769,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:31:09] local.INFO: Processing buffer {"connection_id":122769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:31:09] local.INFO: IMEI packet received {"connection_id":122769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":122769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:31:10] local.INFO: TCP Data received {"connection_id":122769,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:31:10] local.INFO: Processing buffer {"connection_id":122769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:31:10] local.INFO: Packet analysis {"connection_id":122769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:31:10] local.INFO: Extracted packet for processing {"connection_id":122769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515390208001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:10] 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-07-05 20:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783263544000,"timestamp_ms":1783263544000,"timestamp_seconds":1783263544,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ca42c0"} 
[2026-07-05 20:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515390208001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515390208001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:31:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515390208001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":122769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:31:10] local.INFO: GPS data processed {"connection_id":122769,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:31:10] local.INFO: Acknowledgment sent {"connection_id":122769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:31:35] local.INFO: TCP Data received {"connection_id":122768,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:31:35] local.INFO: Processing buffer {"connection_id":122768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c777e8012d196840071fef60003700f825..."} 
[2026-07-05 20:31:35] local.INFO: Packet analysis {"connection_id":122768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:31:35] local.INFO: Extracted packet for processing {"connection_id":122768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c7"} 
[2026-07-05 20:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":37,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515343360001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783263361000,"timestamp_ms":1783263361000,"timestamp_seconds":1783263361,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c777e8"} 
[2026-07-05 20:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:31:35] 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-07-05 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515343360001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515343360001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:31:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:31:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515343360001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":122768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:31:35] local.INFO: GPS data processed {"connection_id":122768,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:31:35] local.INFO: Acknowledgment sent {"connection_id":122768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:31:41] local.INFO: TCP Data received {"connection_id":122769,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:31:41] local.INFO: Processing buffer {"connection_id":122769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:31:41] local.INFO: Packet analysis {"connection_id":122769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:31:41] local.INFO: Extracted packet for processing {"connection_id":122769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:31:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515390208001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:31:41] 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-07-05 20:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783263544000,"timestamp_ms":1783263544000,"timestamp_seconds":1783263544,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ca42c0"} 
[2026-07-05 20:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:31: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-07-05 20: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-07-05 20:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515390208001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515390208001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:31:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515390208001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":122769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:31:41] local.INFO: GPS data processed {"connection_id":122769,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:31:41] local.INFO: Acknowledgment sent {"connection_id":122769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:32:01] local.INFO: TCP Data received {"connection_id":123526,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:32:01] local.INFO: Processing buffer {"connection_id":123526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:32:01] local.INFO: IMEI packet received {"connection_id":123526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":123526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:32:04] local.INFO: TCP Data received {"connection_id":124752,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:32:04] local.INFO: Processing buffer {"connection_id":124752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:32:04] local.INFO: IMEI packet received {"connection_id":124752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":124752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:32:06] local.INFO: TCP Data received {"connection_id":123526,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:32:06] local.INFO: Processing buffer {"connection_id":123526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:32:06] local.INFO: IMEI packet received {"connection_id":123526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":123526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:32:09] local.INFO: TCP Data received {"connection_id":124752,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:32:09] local.INFO: Processing buffer {"connection_id":124752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:32:09] local.INFO: IMEI packet received {"connection_id":124752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":124752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:32:10] local.INFO: TCP Data received {"connection_id":124752,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:32:10] local.INFO: Processing buffer {"connection_id":124752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:32:10] local.INFO: Packet analysis {"connection_id":124752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:32:10] local.INFO: Extracted packet for processing {"connection_id":124752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515390208001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:10] 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-07-05 20:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783263544000,"timestamp_ms":1783263544000,"timestamp_seconds":1783263544,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ca42c0"} 
[2026-07-05 20:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515390208001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515390208001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:32:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515390208001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":124752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:32:10] local.INFO: GPS data processed {"connection_id":124752,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:32:10] local.INFO: Acknowledgment sent {"connection_id":124752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:32:11] local.INFO: TCP Data received {"connection_id":123526,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:32:11] local.INFO: Processing buffer {"connection_id":123526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:32:11] local.INFO: Packet analysis {"connection_id":123526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:32:11] local.INFO: Extracted packet for processing {"connection_id":123526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515420416001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783263663000,"timestamp_ms":1783263663000,"timestamp_seconds":1783263663,"priority":1,"record_length":96,"hex_timestamp":"0000019f32cc1398"} 
[2026-07-05 20:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":123526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":123526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":123526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515420416001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515420416001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:32:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515420416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":123526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:32:11] local.INFO: GPS data processed {"connection_id":123526,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:32:11] local.INFO: Acknowledgment sent {"connection_id":123526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:32:13] local.INFO: TCP Data received {"connection_id":123526,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:32:13] local.INFO: Processing buffer {"connection_id":123526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:32:13] local.INFO: Packet analysis {"connection_id":123526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:32:13] local.INFO: Extracted packet for processing {"connection_id":123526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:32:13] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515420416001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783263663000,"timestamp_ms":1783263663000,"timestamp_seconds":1783263663,"priority":1,"record_length":96,"hex_timestamp":"0000019f32cc1398"} 
[2026-07-05 20:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":123526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":123526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":123526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515420416001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515420416001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:32:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:32:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515420416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":123526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:32:13] local.INFO: GPS data processed {"connection_id":123526,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:32:13] local.INFO: Acknowledgment sent {"connection_id":123526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:32:41] local.INFO: TCP Data received {"connection_id":124752,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:32:41] local.INFO: Processing buffer {"connection_id":124752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:32:41] local.INFO: Packet analysis {"connection_id":124752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:32:41] local.INFO: Extracted packet for processing {"connection_id":124752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515390208001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:32:41] 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-07-05 20:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783263544000,"timestamp_ms":1783263544000,"timestamp_seconds":1783263544,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ca42c0"} 
[2026-07-05 20:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:32: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-07-05 20:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515390208001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515390208001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:32:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515390208001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":124752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:32:41] local.INFO: GPS data processed {"connection_id":124752,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:32:41] local.INFO: Acknowledgment sent {"connection_id":124752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:32:56] local.INFO: TCP Data received {"connection_id":122835,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:32:56] local.INFO: Processing buffer {"connection_id":122835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:32:56] local.INFO: IMEI packet received {"connection_id":122835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":122835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:33:01] local.INFO: TCP Data received {"connection_id":122835,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:33:01] local.INFO: Processing buffer {"connection_id":122835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:33:01] local.INFO: IMEI packet received {"connection_id":122835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":122835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:33:03] local.INFO: TCP Data received {"connection_id":122835,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:33:03] local.INFO: Processing buffer {"connection_id":122835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:33:03] local.INFO: Packet analysis {"connection_id":122835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:33:03] local.INFO: Extracted packet for processing {"connection_id":122835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515420416001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783263663000,"timestamp_ms":1783263663000,"timestamp_seconds":1783263663,"priority":1,"record_length":96,"hex_timestamp":"0000019f32cc1398"} 
[2026-07-05 20:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515420416001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515420416001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:33:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:33:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515420416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":122835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:33:03] local.INFO: GPS data processed {"connection_id":122835,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:33:03] local.INFO: Acknowledgment sent {"connection_id":122835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:33:04] local.INFO: TCP Data received {"connection_id":123527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:33:04] local.INFO: Processing buffer {"connection_id":123527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:33:04] local.INFO: IMEI packet received {"connection_id":123527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":123527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:33:09] local.INFO: TCP Data received {"connection_id":123527,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:33:09] local.INFO: Processing buffer {"connection_id":123527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:33:09] local.INFO: IMEI packet received {"connection_id":123527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":123527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:33:10] local.INFO: TCP Data received {"connection_id":123527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:33:10] local.INFO: Processing buffer {"connection_id":123527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:33:10] local.INFO: Packet analysis {"connection_id":123527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:33:10] local.INFO: Extracted packet for processing {"connection_id":123527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515390208001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:10] 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-07-05 20:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783263544000,"timestamp_ms":1783263544000,"timestamp_seconds":1783263544,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ca42c0"} 
[2026-07-05 20:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515390208001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515390208001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:33:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515390208001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":123527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:33:10] local.INFO: GPS data processed {"connection_id":123527,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:33:10] local.INFO: Acknowledgment sent {"connection_id":123527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:33:24] local.INFO: TCP Data received {"connection_id":122771,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:33:24] local.INFO: Processing buffer {"connection_id":122771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:33:24] local.INFO: IMEI packet received {"connection_id":122771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":122771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:33:35] local.INFO: TCP Data received {"connection_id":122835,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:33:35] local.INFO: Processing buffer {"connection_id":122835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:33:35] local.INFO: Packet analysis {"connection_id":122835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:33:35] local.INFO: Extracted packet for processing {"connection_id":122835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515420416001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783263663000,"timestamp_ms":1783263663000,"timestamp_seconds":1783263663,"priority":1,"record_length":96,"hex_timestamp":"0000019f32cc1398"} 
[2026-07-05 20:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":122835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":122835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":122835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515420416001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515420416001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:33:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:33:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515420416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":122835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:33:35] local.INFO: GPS data processed {"connection_id":122835,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:33:35] local.INFO: Acknowledgment sent {"connection_id":122835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:33:40] local.INFO: TCP Data received {"connection_id":123527,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:33:40] local.INFO: Processing buffer {"connection_id":123527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ca42c0012cb2a24007823a68004400c925..."} 
[2026-07-05 20:33:40] local.INFO: Packet analysis {"connection_id":123527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:33:40] local.INFO: Extracted packet for processing {"connection_id":123527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ca"} 
[2026-07-05 20:33:40] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515390208001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:33:40] 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-07-05 20:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783263544000,"timestamp_ms":1783263544000,"timestamp_seconds":1783263544,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ca42c0"} 
[2026-07-05 20:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:33: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-07-05 20:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":123527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":123527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":123527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515390208001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515390208001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:33:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:33:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515390208001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":123527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:33:40] local.INFO: GPS data processed {"connection_id":123527,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:33:40] local.INFO: Acknowledgment sent {"connection_id":123527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:33:56] local.INFO: TCP Data received {"connection_id":122772,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:33:56] local.INFO: Processing buffer {"connection_id":122772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:33:56] local.INFO: IMEI packet received {"connection_id":122772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":122772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:34:03] local.INFO: TCP Data received {"connection_id":122772,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:34:03] local.INFO: Processing buffer {"connection_id":122772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:34:03] local.INFO: IMEI packet received {"connection_id":122772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":122772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:34:03] local.INFO: TCP Data received {"connection_id":122836,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:34:03] local.INFO: Processing buffer {"connection_id":122836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:34:03] local.INFO: IMEI packet received {"connection_id":122836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":122836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:34:04] local.INFO: TCP Data received {"connection_id":122772,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:34:04] local.INFO: Processing buffer {"connection_id":122772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:34:04] local.INFO: Packet analysis {"connection_id":122772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:34:04] local.INFO: Extracted packet for processing {"connection_id":122772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515420416001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783263663000,"timestamp_ms":1783263663000,"timestamp_seconds":1783263663,"priority":1,"record_length":96,"hex_timestamp":"0000019f32cc1398"} 
[2026-07-05 20:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":122772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":122772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":122772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515420416001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515420416001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:34:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515420416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":122772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:34:04] local.INFO: GPS data processed {"connection_id":122772,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:34:04] local.INFO: Acknowledgment sent {"connection_id":122772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:34:07] local.INFO: TCP Data received {"connection_id":122773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:34:07] local.INFO: Processing buffer {"connection_id":122773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:34:07] local.INFO: IMEI packet received {"connection_id":122773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":122773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:34:09] local.INFO: TCP Data received {"connection_id":122836,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:34:09] local.INFO: Processing buffer {"connection_id":122836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:34:09] local.INFO: IMEI packet received {"connection_id":122836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 20:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":122836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:34:09] local.INFO: TCP Data received {"connection_id":122773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:34:09] local.INFO: Processing buffer {"connection_id":122773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:34:09] local.INFO: IMEI packet received {"connection_id":122773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":122773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:34:14] local.INFO: TCP Data received {"connection_id":122773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:34:14] local.INFO: Processing buffer {"connection_id":122773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:34:14] local.INFO: IMEI packet received {"connection_id":122773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":122773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:34:15] local.INFO: TCP Data received {"connection_id":122773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:34:15] local.INFO: Processing buffer {"connection_id":122773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:34:15] local.INFO: Packet analysis {"connection_id":122773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:34:15] local.INFO: Extracted packet for processing {"connection_id":122773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:34:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:34: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-07-05 20:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515467264001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:15] 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-07-05 20:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783263843000,"timestamp_ms":1783263843000,"timestamp_seconds":1783263843,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ced2b8"} 
[2026-07-05 20:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:34: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-07-05 20:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515467264001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515467264001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:34:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:34:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515467264001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":122773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:34:15] local.INFO: GPS data processed {"connection_id":122773,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:34:15] local.INFO: Acknowledgment sent {"connection_id":122773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:34:19] local.INFO: TCP Data received {"connection_id":122836,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f32c48600012cb2a10007823b380045000025..."} 
[2026-07-05 20:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32c48600012cb2a10007823b380045000025..."} 
[2026-07-05 20:34:19] local.INFO: Processing buffer {"connection_id":122836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32c48600012cb2a10007823b380045000025..."} 
[2026-07-05 20:34:19] local.INFO: Packet analysis {"connection_id":122836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32c4"} 
[2026-07-05 20:34:19] local.INFO: Extracted packet for processing {"connection_id":122836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32c4"} 
[2026-07-05 20:34:19] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":69,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515293952001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:19] 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-07-05 20:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783263168000,"timestamp_ms":1783263168000,"timestamp_seconds":1783263168,"priority":1,"record_length":96,"hex_timestamp":"0000019f32c48600"} 
[2026-07-05 20:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-05 20:34:19] 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-07-05 20: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-07-05 20:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 20:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 20:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 20:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 20:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515293952001,"66":25234,"184":206,"85":36096,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 20:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 20:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515293952001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:34:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:34:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:34:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 20:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515293952001,"power":25234,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 20:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":122836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436630,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:34:19] local.INFO: GPS data processed {"connection_id":122836,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:34:19] local.INFO: Acknowledgment sent {"connection_id":122836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:34:19] local.INFO: TCP Data received {"connection_id":122773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:34:19] local.INFO: Processing buffer {"connection_id":122773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:34:19] local.INFO: Packet analysis {"connection_id":122773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:34:19] local.INFO: Extracted packet for processing {"connection_id":122773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:34:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515467264001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:19] 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-07-05 20:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783263843000,"timestamp_ms":1783263843000,"timestamp_seconds":1783263843,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ced2b8"} 
[2026-07-05 20:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:34: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-07-05 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515467264001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515467264001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:34:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:34:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:34:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515467264001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":122773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:34:19] local.INFO: GPS data processed {"connection_id":122773,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:34:19] local.INFO: Acknowledgment sent {"connection_id":122773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:34:36] local.INFO: TCP Data received {"connection_id":122772,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:34:36] local.INFO: Processing buffer {"connection_id":122772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:34:36] local.INFO: Packet analysis {"connection_id":122772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:34:36] local.INFO: Extracted packet for processing {"connection_id":122772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515420416001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783263663000,"timestamp_ms":1783263663000,"timestamp_seconds":1783263663,"priority":1,"record_length":96,"hex_timestamp":"0000019f32cc1398"} 
[2026-07-05 20:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":122772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":122772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":122772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515420416001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515420416001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:34:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515420416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":122772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:34:36] local.INFO: GPS data processed {"connection_id":122772,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:34:36] local.INFO: Acknowledgment sent {"connection_id":122772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:34:54] local.INFO: TCP Data received {"connection_id":124753,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:34:54] local.INFO: Processing buffer {"connection_id":124753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:34:54] local.INFO: IMEI packet received {"connection_id":124753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":124753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:34:56] local.INFO: TCP Data received {"connection_id":122837,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:34:56] local.INFO: Processing buffer {"connection_id":122837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:34:56] local.INFO: IMEI packet received {"connection_id":122837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":122837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:35:01] local.INFO: TCP Data received {"connection_id":122837,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:35:01] local.INFO: Processing buffer {"connection_id":122837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:35:01] local.INFO: IMEI packet received {"connection_id":122837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":122837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:35:04] local.INFO: TCP Data received {"connection_id":123528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:35:04] local.INFO: Processing buffer {"connection_id":123528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:35:04] local.INFO: IMEI packet received {"connection_id":123528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":123528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:35:05] local.INFO: TCP Data received {"connection_id":122837,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:35:05] local.INFO: Processing buffer {"connection_id":122837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:35:05] local.INFO: Packet analysis {"connection_id":122837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:35:05] local.INFO: Extracted packet for processing {"connection_id":122837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515420416001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783263663000,"timestamp_ms":1783263663000,"timestamp_seconds":1783263663,"priority":1,"record_length":96,"hex_timestamp":"0000019f32cc1398"} 
[2026-07-05 20:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":122837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":122837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":122837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515420416001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515420416001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:35:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515420416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":122837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:35:05] local.INFO: GPS data processed {"connection_id":122837,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:35:05] local.INFO: Acknowledgment sent {"connection_id":122837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:35:09] local.INFO: TCP Data received {"connection_id":123528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:35:09] local.INFO: Processing buffer {"connection_id":123528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:35:09] local.INFO: IMEI packet received {"connection_id":123528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":123528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:35:10] local.INFO: TCP Data received {"connection_id":123528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:35:10] local.INFO: Processing buffer {"connection_id":123528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:35:10] local.INFO: Packet analysis {"connection_id":123528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:35:10] local.INFO: Extracted packet for processing {"connection_id":123528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515467264001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:10] 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-07-05 20:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783263843000,"timestamp_ms":1783263843000,"timestamp_seconds":1783263843,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ced2b8"} 
[2026-07-05 20:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515467264001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515467264001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:35:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515467264001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":123528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:35:10] local.INFO: GPS data processed {"connection_id":123528,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:35:10] local.INFO: Acknowledgment sent {"connection_id":123528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:35:37] local.INFO: TCP Data received {"connection_id":122837,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:35:37] local.INFO: Processing buffer {"connection_id":122837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:35:37] local.INFO: Packet analysis {"connection_id":122837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:35:37] local.INFO: Extracted packet for processing {"connection_id":122837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515420416001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783263663000,"timestamp_ms":1783263663000,"timestamp_seconds":1783263663,"priority":1,"record_length":96,"hex_timestamp":"0000019f32cc1398"} 
[2026-07-05 20:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":122837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":122837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":122837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515420416001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515420416001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:35:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515420416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":122837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:35:37] local.INFO: GPS data processed {"connection_id":122837,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:35:37] local.INFO: Acknowledgment sent {"connection_id":122837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:35:40] local.INFO: TCP Data received {"connection_id":123528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:35:40] local.INFO: Processing buffer {"connection_id":123528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:35:40] local.INFO: Packet analysis {"connection_id":123528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:35:40] local.INFO: Extracted packet for processing {"connection_id":123528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:35:40] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515467264001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:35:40] 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-07-05 20:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783263843000,"timestamp_ms":1783263843000,"timestamp_seconds":1783263843,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ced2b8"} 
[2026-07-05 20:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:35: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-07-05 20:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":123528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":123528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":123528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515467264001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515467264001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:35:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515467264001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":123528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:35:40] local.INFO: GPS data processed {"connection_id":123528,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:35:40] local.INFO: Acknowledgment sent {"connection_id":123528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:36:01] local.INFO: TCP Data received {"connection_id":122774,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:36:01] local.INFO: Processing buffer {"connection_id":122774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:36:01] local.INFO: IMEI packet received {"connection_id":122774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":122774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:36:04] local.INFO: TCP Data received {"connection_id":122838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:36:04] local.INFO: Processing buffer {"connection_id":122838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:36:04] local.INFO: IMEI packet received {"connection_id":122838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":122838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:36:06] local.INFO: TCP Data received {"connection_id":122774,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:36:06] local.INFO: Processing buffer {"connection_id":122774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:36:06] local.INFO: IMEI packet received {"connection_id":122774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":122774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:36:07] local.INFO: TCP Data received {"connection_id":122774,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:36:07] local.INFO: Processing buffer {"connection_id":122774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:36:07] local.INFO: Packet analysis {"connection_id":122774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:36:07] local.INFO: Extracted packet for processing {"connection_id":122774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 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-07-05 20:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515420416001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1783263663000,"timestamp_ms":1783263663000,"timestamp_seconds":1783263663,"priority":1,"record_length":96,"hex_timestamp":"0000019f32cc1398"} 
[2026-07-05 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-07-05 20:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 20:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":122774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":122774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":122774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515420416001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515420416001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:36:07] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515420416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":122774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:36:08] local.INFO: GPS data processed {"connection_id":122774,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:36:08] local.INFO: Acknowledgment sent {"connection_id":122774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:36:09] local.INFO: TCP Data received {"connection_id":122838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:36:09] local.INFO: Processing buffer {"connection_id":122838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:36:09] local.INFO: IMEI packet received {"connection_id":122838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":122838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:36:10] local.INFO: TCP Data received {"connection_id":122838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:36:10] local.INFO: Processing buffer {"connection_id":122838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:36:10] local.INFO: Packet analysis {"connection_id":122838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:36:10] local.INFO: Extracted packet for processing {"connection_id":122838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515467264001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:10] 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-07-05 20:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783263843000,"timestamp_ms":1783263843000,"timestamp_seconds":1783263843,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ced2b8"} 
[2026-07-05 20:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515467264001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515467264001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:36:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515467264001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":122838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:36:10] local.INFO: GPS data processed {"connection_id":122838,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:36:10] local.INFO: Acknowledgment sent {"connection_id":122838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:36:11] local.INFO: TCP Data received {"connection_id":122774,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:36:11] local.INFO: Processing buffer {"connection_id":122774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32cc1398012d196840071fef60003700f822..."} 
[2026-07-05 20:36:11] local.INFO: Packet analysis {"connection_id":122774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:36:11] local.INFO: Extracted packet for processing {"connection_id":122774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32cc"} 
[2026-07-05 20:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515420416001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783263663000,"timestamp_ms":1783263663000,"timestamp_seconds":1783263663,"priority":1,"record_length":96,"hex_timestamp":"0000019f32cc1398"} 
[2026-07-05 20:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515420416001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515420416001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:36:11] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515420416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":122774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:36:11] local.INFO: GPS data processed {"connection_id":122774,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:36:11] local.INFO: Acknowledgment sent {"connection_id":122774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:36:41] local.INFO: TCP Data received {"connection_id":122838,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:36:41] local.INFO: Processing buffer {"connection_id":122838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:36:41] local.INFO: Packet analysis {"connection_id":122838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:36:41] local.INFO: Extracted packet for processing {"connection_id":122838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515467264001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:36:41] 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-07-05 20:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783263843000,"timestamp_ms":1783263843000,"timestamp_seconds":1783263843,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ced2b8"} 
[2026-07-05 20:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:36: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-07-05 20: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-07-05 20:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515467264001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515467264001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:36:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515467264001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":122838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:36:41] local.INFO: GPS data processed {"connection_id":122838,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:36:41] local.INFO: Acknowledgment sent {"connection_id":122838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:36:57] local.INFO: TCP Data received {"connection_id":124754,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:36:57] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:36:57] local.INFO: IMEI packet received {"connection_id":124754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":124754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:37:01] local.INFO: TCP Data received {"connection_id":124754,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:37:01] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:37:01] local.INFO: IMEI packet received {"connection_id":124754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":124754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:37:03] local.INFO: TCP Data received {"connection_id":124754,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:37:03] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:37:03] local.INFO: Packet analysis {"connection_id":124754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:37:03] local.INFO: Extracted packet for processing {"connection_id":124754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515497728001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783263964000,"timestamp_ms":1783263964000,"timestamp_seconds":1783263964,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d0ab60"} 
[2026-07-05 20:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515497728001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515497728001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:37:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:37:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515497728001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":124754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:37:03] local.INFO: GPS data processed {"connection_id":124754,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:37:03] local.INFO: Acknowledgment sent {"connection_id":124754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:37:04] local.INFO: TCP Data received {"connection_id":122839,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:37:04] local.INFO: Processing buffer {"connection_id":122839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:37:04] local.INFO: IMEI packet received {"connection_id":122839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":122839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:37:09] local.INFO: TCP Data received {"connection_id":122839,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:37:09] local.INFO: Processing buffer {"connection_id":122839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:37:09] local.INFO: IMEI packet received {"connection_id":122839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":122839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:37:10] local.INFO: TCP Data received {"connection_id":122839,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:37:10] local.INFO: Processing buffer {"connection_id":122839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:37:10] local.INFO: Packet analysis {"connection_id":122839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:37:10] local.INFO: Extracted packet for processing {"connection_id":122839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:37:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515467264001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:10] 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-07-05 20:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783263843000,"timestamp_ms":1783263843000,"timestamp_seconds":1783263843,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ced2b8"} 
[2026-07-05 20:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515467264001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515467264001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:37:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515467264001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":122839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:37:10] local.INFO: GPS data processed {"connection_id":122839,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:37:10] local.INFO: Acknowledgment sent {"connection_id":122839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:37:35] local.INFO: TCP Data received {"connection_id":124754,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:37:35] local.INFO: Processing buffer {"connection_id":124754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:37:35] local.INFO: Packet analysis {"connection_id":124754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:37:35] local.INFO: Extracted packet for processing {"connection_id":124754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515497728001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783263964000,"timestamp_ms":1783263964000,"timestamp_seconds":1783263964,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d0ab60"} 
[2026-07-05 20:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515497728001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515497728001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:37:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:37:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515497728001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":124754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:37:35] local.INFO: GPS data processed {"connection_id":124754,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:37:35] local.INFO: Acknowledgment sent {"connection_id":124754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:37:41] local.INFO: TCP Data received {"connection_id":122839,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:37:41] local.INFO: Processing buffer {"connection_id":122839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:37:41] local.INFO: Packet analysis {"connection_id":122839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:37:41] local.INFO: Extracted packet for processing {"connection_id":122839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:37:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515467264001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:37:41] 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-07-05 20:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783263843000,"timestamp_ms":1783263843000,"timestamp_seconds":1783263843,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ced2b8"} 
[2026-07-05 20:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20: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-07-05 20: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-07-05 20:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515467264001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515467264001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:37:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515467264001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":122839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:37:41] local.INFO: GPS data processed {"connection_id":122839,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:37:41] local.INFO: Acknowledgment sent {"connection_id":122839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:37:56] local.INFO: TCP Data received {"connection_id":124755,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:37:56] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:37:56] local.INFO: IMEI packet received {"connection_id":124755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":124755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:38:01] local.INFO: TCP Data received {"connection_id":124755,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:38:01] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:38:01] local.INFO: IMEI packet received {"connection_id":124755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":124755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:38:03] local.INFO: TCP Data received {"connection_id":124755,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:38:03] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:38:03] local.INFO: Packet analysis {"connection_id":124755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:38:03] local.INFO: Extracted packet for processing {"connection_id":124755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515497728001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783263964000,"timestamp_ms":1783263964000,"timestamp_seconds":1783263964,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d0ab60"} 
[2026-07-05 20:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515497728001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515497728001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:38:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:38:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515497728001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":124755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:38:03] local.INFO: GPS data processed {"connection_id":124755,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:38:03] local.INFO: Acknowledgment sent {"connection_id":124755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:38:09] local.INFO: TCP Data received {"connection_id":122776,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:38:09] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:38:09] local.INFO: IMEI packet received {"connection_id":122776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":122776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:38:14] local.INFO: TCP Data received {"connection_id":122776,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:38:14] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:38:14] local.INFO: IMEI packet received {"connection_id":122776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":122776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:38:15] local.INFO: TCP Data received {"connection_id":122776,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:38:15] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:38:15] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:38:15] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:38:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515467264001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:15] 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-07-05 20:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783263843000,"timestamp_ms":1783263843000,"timestamp_seconds":1783263843,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ced2b8"} 
[2026-07-05 20:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515467264001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515467264001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:38:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:38:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:38:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515467264001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:38:15] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:38:15] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:38:20] local.INFO: TCP Data received {"connection_id":122776,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:38:20] local.INFO: Processing buffer {"connection_id":122776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ced2b8012cb2a24007823a68004800c928..."} 
[2026-07-05 20:38:20] local.INFO: Packet analysis {"connection_id":122776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:38:20] local.INFO: Extracted packet for processing {"connection_id":122776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ce"} 
[2026-07-05 20:38:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515467264001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:20] 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-07-05 20:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783263843000,"timestamp_ms":1783263843000,"timestamp_seconds":1783263843,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ced2b8"} 
[2026-07-05 20:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515467264001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515467264001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:38:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515467264001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":122776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:38:20] local.INFO: GPS data processed {"connection_id":122776,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:38:20] local.INFO: Acknowledgment sent {"connection_id":122776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:38:35] local.INFO: TCP Data received {"connection_id":124755,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:38:35] local.INFO: Processing buffer {"connection_id":124755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:38:35] local.INFO: Packet analysis {"connection_id":124755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:38:35] local.INFO: Extracted packet for processing {"connection_id":124755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515497728001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783263964000,"timestamp_ms":1783263964000,"timestamp_seconds":1783263964,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d0ab60"} 
[2026-07-05 20:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515497728001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515497728001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:38:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:38:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515497728001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":124755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:38:35] local.INFO: GPS data processed {"connection_id":124755,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:38:35] local.INFO: Acknowledgment sent {"connection_id":124755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:38:56] local.INFO: TCP Data received {"connection_id":124756,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:38:56] local.INFO: Processing buffer {"connection_id":124756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:38:56] local.INFO: IMEI packet received {"connection_id":124756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":124756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:39:01] local.INFO: TCP Data received {"connection_id":124756,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:39:01] local.INFO: Processing buffer {"connection_id":124756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:39:01] local.INFO: IMEI packet received {"connection_id":124756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":124756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:39:03] local.INFO: TCP Data received {"connection_id":124756,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:39:03] local.INFO: Processing buffer {"connection_id":124756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:39:03] local.INFO: Packet analysis {"connection_id":124756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:39:03] local.INFO: Extracted packet for processing {"connection_id":124756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515497728001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783263964000,"timestamp_ms":1783263964000,"timestamp_seconds":1783263964,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d0ab60"} 
[2026-07-05 20:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":124756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":124756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":124756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515497728001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515497728001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:39:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515497728001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":124756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:39:03] local.INFO: GPS data processed {"connection_id":124756,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:39:03] local.INFO: Acknowledgment sent {"connection_id":124756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:39:04] local.INFO: TCP Data received {"connection_id":123531,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:39:04] local.INFO: Processing buffer {"connection_id":123531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:39:04] local.INFO: IMEI packet received {"connection_id":123531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":123531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:39:08] local.INFO: TCP Data received {"connection_id":123531,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:39:08] local.INFO: Processing buffer {"connection_id":123531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:39:08] local.INFO: IMEI packet received {"connection_id":123531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":123531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:39:09] local.INFO: TCP Data received {"connection_id":123531,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:39:09] local.INFO: Processing buffer {"connection_id":123531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:39:09] local.INFO: Packet analysis {"connection_id":123531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:39:09] local.INFO: Extracted packet for processing {"connection_id":123531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:39:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515543808001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:39:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:39:09] 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-07-05 20:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783264140000,"timestamp_ms":1783264140000,"timestamp_seconds":1783264140,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d35ae0"} 
[2026-07-05 20:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":123531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":123531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":123531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515543808001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515543808001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:39:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:39:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515543808001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":123531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:39:09] local.INFO: GPS data processed {"connection_id":123531,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:39:09] local.INFO: Acknowledgment sent {"connection_id":123531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:39:35] local.INFO: TCP Data received {"connection_id":124756,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:39:35] local.INFO: Processing buffer {"connection_id":124756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:39:35] local.INFO: Packet analysis {"connection_id":124756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:39:35] local.INFO: Extracted packet for processing {"connection_id":124756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515497728001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1783263964000,"timestamp_ms":1783263964000,"timestamp_seconds":1783263964,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d0ab60"} 
[2026-07-05 20:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":124756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":124756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":124756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515497728001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515497728001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:39:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:39:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515497728001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":124756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:39:35] local.INFO: GPS data processed {"connection_id":124756,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:39:35] local.INFO: Acknowledgment sent {"connection_id":124756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:40:02] local.INFO: TCP Data received {"connection_id":122840,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:40:02] local.INFO: Processing buffer {"connection_id":122840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:40:02] local.INFO: IMEI packet received {"connection_id":122840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":122840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:40:04] local.INFO: TCP Data received {"connection_id":122841,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:40:04] local.INFO: Processing buffer {"connection_id":122841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:40:04] local.INFO: IMEI packet received {"connection_id":122841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":122841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:40:04] local.INFO: TCP Data received {"connection_id":123531,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:40:04] local.INFO: Processing buffer {"connection_id":123531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:40:04] local.INFO: Packet analysis {"connection_id":123531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:40:04] local.INFO: Extracted packet for processing {"connection_id":123531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515543808001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:04] 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-07-05 20:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1783264140000,"timestamp_ms":1783264140000,"timestamp_seconds":1783264140,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d35ae0"} 
[2026-07-05 20:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:40: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-07-05 20: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-07-05 20:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":123531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":123531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":123531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515543808001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515543808001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:40:04] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:40:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:40:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515543808001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":123531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:40:04] local.INFO: GPS data processed {"connection_id":123531,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:40:04] local.INFO: Acknowledgment sent {"connection_id":123531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:40:06] local.INFO: TCP Data received {"connection_id":122840,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:40:06] local.INFO: Processing buffer {"connection_id":122840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:40:06] local.INFO: IMEI packet received {"connection_id":122840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":122840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:40:08] local.INFO: TCP Data received {"connection_id":122840,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:40:08] local.INFO: Processing buffer {"connection_id":122840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:40:08] local.INFO: Packet analysis {"connection_id":122840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:40:08] local.INFO: Extracted packet for processing {"connection_id":122840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:40:08] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515497728001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1783263964000,"timestamp_ms":1783263964000,"timestamp_seconds":1783263964,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d0ab60"} 
[2026-07-05 20:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":122840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":122840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":122840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515497728001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515497728001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:40:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515497728001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":122840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:40:08] local.INFO: GPS data processed {"connection_id":122840,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:40:08] local.INFO: Acknowledgment sent {"connection_id":122840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:40:09] local.INFO: TCP Data received {"connection_id":122841,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:40:09] local.INFO: Processing buffer {"connection_id":122841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:40:09] local.INFO: IMEI packet received {"connection_id":122841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":122841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:40:10] local.INFO: TCP Data received {"connection_id":122841,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:40:10] local.INFO: Processing buffer {"connection_id":122841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:40:10] local.INFO: Packet analysis {"connection_id":122841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:40:10] local.INFO: Extracted packet for processing {"connection_id":122841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515543808001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:10] 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-07-05 20:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783264140000,"timestamp_ms":1783264140000,"timestamp_seconds":1783264140,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d35ae0"} 
[2026-07-05 20:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515543808001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515543808001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:40:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515543808001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":122841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:40:10] local.INFO: GPS data processed {"connection_id":122841,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:40:10] local.INFO: Acknowledgment sent {"connection_id":122841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:40:12] local.INFO: TCP Data received {"connection_id":122840,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:40:12] local.INFO: Processing buffer {"connection_id":122840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:40:12] local.INFO: Packet analysis {"connection_id":122840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:40:12] local.INFO: Extracted packet for processing {"connection_id":122840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515497728001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783263964000,"timestamp_ms":1783263964000,"timestamp_seconds":1783263964,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d0ab60"} 
[2026-07-05 20:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515497728001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515497728001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:40:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:40:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515497728001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":122840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:40:12] local.INFO: GPS data processed {"connection_id":122840,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:40:12] local.INFO: Acknowledgment sent {"connection_id":122840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:40:14] local.INFO: TCP Data received {"connection_id":122777,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:40:14] local.INFO: Processing buffer {"connection_id":122777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:40:14] local.INFO: IMEI packet received {"connection_id":122777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":122777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:40:41] local.INFO: TCP Data received {"connection_id":122841,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:40:41] local.INFO: Processing buffer {"connection_id":122841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:40:41] local.INFO: Packet analysis {"connection_id":122841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:40:41] local.INFO: Extracted packet for processing {"connection_id":122841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:40:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515543808001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:40:41] 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-07-05 20:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783264140000,"timestamp_ms":1783264140000,"timestamp_seconds":1783264140,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d35ae0"} 
[2026-07-05 20:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:40: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-07-05 20: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-07-05 20:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515543808001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515543808001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:40:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515543808001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":122841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:40:41] local.INFO: GPS data processed {"connection_id":122841,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:40:41] local.INFO: Acknowledgment sent {"connection_id":122841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:40:56] local.INFO: TCP Data received {"connection_id":123532,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:40:56] local.INFO: Processing buffer {"connection_id":123532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:40:56] local.INFO: IMEI packet received {"connection_id":123532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":123532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:41:01] local.INFO: TCP Data received {"connection_id":123532,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:41:01] local.INFO: Processing buffer {"connection_id":123532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:41:01] local.INFO: IMEI packet received {"connection_id":123532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":123532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:41:05] local.INFO: TCP Data received {"connection_id":123532,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:41:05] local.INFO: Processing buffer {"connection_id":123532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:41:05] local.INFO: Packet analysis {"connection_id":123532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:41:05] local.INFO: Extracted packet for processing {"connection_id":123532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515497728001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783263964000,"timestamp_ms":1783263964000,"timestamp_seconds":1783263964,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d0ab60"} 
[2026-07-05 20:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":123532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":123532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":123532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515497728001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515497728001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:41:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515497728001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":123532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:41:05] local.INFO: GPS data processed {"connection_id":123532,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:41:05] local.INFO: Acknowledgment sent {"connection_id":123532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:41:09] local.INFO: TCP Data received {"connection_id":124758,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:41:09] local.INFO: Processing buffer {"connection_id":124758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:41:09] local.INFO: IMEI packet received {"connection_id":124758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":124758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:41:14] local.INFO: TCP Data received {"connection_id":124758,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:41:14] local.INFO: Processing buffer {"connection_id":124758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:41:14] local.INFO: IMEI packet received {"connection_id":124758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":124758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:41:15] local.INFO: TCP Data received {"connection_id":124758,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:41:15] local.INFO: Processing buffer {"connection_id":124758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:41:15] local.INFO: Packet analysis {"connection_id":124758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:41:15] local.INFO: Extracted packet for processing {"connection_id":124758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515543808001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:15] 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-07-05 20:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783264140000,"timestamp_ms":1783264140000,"timestamp_seconds":1783264140,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d35ae0"} 
[2026-07-05 20:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515543808001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515543808001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:41:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515543808001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":124758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:41:15] local.INFO: GPS data processed {"connection_id":124758,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:41:15] local.INFO: Acknowledgment sent {"connection_id":124758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:41:19] local.INFO: TCP Data received {"connection_id":124758,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:41:19] local.INFO: Processing buffer {"connection_id":124758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:41:19] local.INFO: Packet analysis {"connection_id":124758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:41:19] local.INFO: Extracted packet for processing {"connection_id":124758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:41:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515543808001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:19] 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-07-05 20:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783264140000,"timestamp_ms":1783264140000,"timestamp_seconds":1783264140,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d35ae0"} 
[2026-07-05 20:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:41: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-07-05 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515543808001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515543808001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:41:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:41:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:41:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515543808001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":124758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:41:19] local.INFO: GPS data processed {"connection_id":124758,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:41:19] local.INFO: Acknowledgment sent {"connection_id":124758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:41:37] local.INFO: TCP Data received {"connection_id":123532,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:41:37] local.INFO: Processing buffer {"connection_id":123532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d0ab60012d196840071fef60003700f822..."} 
[2026-07-05 20:41:37] local.INFO: Packet analysis {"connection_id":123532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:41:37] local.INFO: Extracted packet for processing {"connection_id":123532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d0"} 
[2026-07-05 20:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":34,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515497728001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1783263964000,"timestamp_ms":1783263964000,"timestamp_seconds":1783263964,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d0ab60"} 
[2026-07-05 20:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-05 20:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":123532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":123532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":123532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515497728001,"66":2166,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515497728001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:41:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515497728001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":123532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:41:37] local.INFO: GPS data processed {"connection_id":123532,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:41:37] local.INFO: Acknowledgment sent {"connection_id":123532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:41:56] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:41:56] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:41:56] local.INFO: IMEI packet received {"connection_id":124759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":124759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:42:01] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:42:01] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:42:01] local.INFO: IMEI packet received {"connection_id":124759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":124759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:42:02] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:42:02] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:42:02] local.INFO: Packet analysis {"connection_id":124759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d5"} 
[2026-07-05 20:42:02] local.INFO: Extracted packet for processing {"connection_id":124759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d5"} 
[2026-07-05 20:42:02] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 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-07-05 20:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515574784001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783264264000,"timestamp_ms":1783264264000,"timestamp_seconds":1783264264,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d53f40"} 
[2026-07-05 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-07-05 20:42:02] 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-07-05 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 20:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515574784001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515574784001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:42:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:42:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515574784001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":124759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:42:02] local.INFO: GPS data processed {"connection_id":124759,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:42:02] local.INFO: Acknowledgment sent {"connection_id":124759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:42:05] local.INFO: TCP Data received {"connection_id":122778,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:42:05] local.INFO: Processing buffer {"connection_id":122778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:42:05] local.INFO: IMEI packet received {"connection_id":122778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":122778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:42:09] local.INFO: TCP Data received {"connection_id":122778,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:42:09] local.INFO: Processing buffer {"connection_id":122778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:42:09] local.INFO: IMEI packet received {"connection_id":122778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":122778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:42:15] local.INFO: TCP Data received {"connection_id":122778,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:42:15] local.INFO: Processing buffer {"connection_id":122778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:42:15] local.INFO: Packet analysis {"connection_id":122778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:42:15] local.INFO: Extracted packet for processing {"connection_id":122778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515543808001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:15] 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-07-05 20:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783264140000,"timestamp_ms":1783264140000,"timestamp_seconds":1783264140,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d35ae0"} 
[2026-07-05 20:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515543808001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515543808001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515543808001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":122778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:42:15] local.INFO: GPS data processed {"connection_id":122778,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:42:15] local.INFO: Acknowledgment sent {"connection_id":122778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:42:15] local.INFO: TCP Data received {"connection_id":122778,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:42:15] local.INFO: Processing buffer {"connection_id":122778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:42:15] local.INFO: Packet analysis {"connection_id":122778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:42:15] local.INFO: Extracted packet for processing {"connection_id":122778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515543808001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:15] 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-07-05 20:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783264140000,"timestamp_ms":1783264140000,"timestamp_seconds":1783264140,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d35ae0"} 
[2026-07-05 20:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515543808001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515543808001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515543808001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":122778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:42:15] local.INFO: GPS data processed {"connection_id":122778,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:42:15] local.INFO: Acknowledgment sent {"connection_id":122778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:42:36] local.INFO: TCP Data received {"connection_id":124759,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:42:36] local.INFO: Processing buffer {"connection_id":124759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:42:36] local.INFO: Packet analysis {"connection_id":124759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d5"} 
[2026-07-05 20:42:36] local.INFO: Extracted packet for processing {"connection_id":124759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d5"} 
[2026-07-05 20:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515574784001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1783264264000,"timestamp_ms":1783264264000,"timestamp_seconds":1783264264,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d53f40"} 
[2026-07-05 20:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:42:36] 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-07-05 20:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":124759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":124759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515574784001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515574784001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:42:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515574784001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":124759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:42:36] local.INFO: GPS data processed {"connection_id":124759,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:42:36] local.INFO: Acknowledgment sent {"connection_id":124759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:42:47] local.INFO: TCP Data received {"connection_id":122778,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:42:47] local.INFO: Processing buffer {"connection_id":122778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:42:47] local.INFO: Packet analysis {"connection_id":122778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:42:47] local.INFO: Extracted packet for processing {"connection_id":122778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:42:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515543808001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:42:47] 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-07-05 20:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783264140000,"timestamp_ms":1783264140000,"timestamp_seconds":1783264140,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d35ae0"} 
[2026-07-05 20:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515543808001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515543808001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:42:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:42:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:42:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515543808001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":122778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:42:47] local.INFO: GPS data processed {"connection_id":122778,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:42:47] local.INFO: Acknowledgment sent {"connection_id":122778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:42:56] local.INFO: TCP Data received {"connection_id":124761,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:42:56] local.INFO: Processing buffer {"connection_id":124761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:42:56] local.INFO: IMEI packet received {"connection_id":124761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":124761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:43:01] local.INFO: TCP Data received {"connection_id":124761,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:43:01] local.INFO: Processing buffer {"connection_id":124761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:43:01] local.INFO: IMEI packet received {"connection_id":124761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":124761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:43:02] local.INFO: TCP Data received {"connection_id":124761,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:43:02] local.INFO: Processing buffer {"connection_id":124761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:43:02] local.INFO: Packet analysis {"connection_id":124761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d5"} 
[2026-07-05 20:43:02] local.INFO: Extracted packet for processing {"connection_id":124761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d5"} 
[2026-07-05 20:43:02] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515574784001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1783264264000,"timestamp_ms":1783264264000,"timestamp_seconds":1783264264,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d53f40"} 
[2026-07-05 20:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:43:02] 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-07-05 20:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":124761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":124761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":124761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515574784001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515574784001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:43:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:43:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515574784001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":124761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:43:03] local.INFO: GPS data processed {"connection_id":124761,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:43:03] local.INFO: Acknowledgment sent {"connection_id":124761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:43:04] local.INFO: TCP Data received {"connection_id":122843,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:43:04] local.INFO: Processing buffer {"connection_id":122843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:43:04] local.INFO: IMEI packet received {"connection_id":122843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":122843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:43:09] local.INFO: TCP Data received {"connection_id":122843,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:43:09] local.INFO: Processing buffer {"connection_id":122843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:43:09] local.INFO: IMEI packet received {"connection_id":122843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":122843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:43:10] local.INFO: TCP Data received {"connection_id":122843,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:43:10] local.INFO: Processing buffer {"connection_id":122843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:43:10] local.INFO: Packet analysis {"connection_id":122843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:43:10] local.INFO: Extracted packet for processing {"connection_id":122843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515543808001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:10] 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-07-05 20:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783264140000,"timestamp_ms":1783264140000,"timestamp_seconds":1783264140,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d35ae0"} 
[2026-07-05 20:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515543808001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515543808001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:43:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515543808001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":122843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:43:10] local.INFO: GPS data processed {"connection_id":122843,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:43:10] local.INFO: Acknowledgment sent {"connection_id":122843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:43:34] local.INFO: TCP Data received {"connection_id":124761,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:43:34] local.INFO: Processing buffer {"connection_id":124761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:43:34] local.INFO: Packet analysis {"connection_id":124761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d5"} 
[2026-07-05 20:43:34] local.INFO: Extracted packet for processing {"connection_id":124761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d5"} 
[2026-07-05 20:43:34] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515574784001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783264264000,"timestamp_ms":1783264264000,"timestamp_seconds":1783264264,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d53f40"} 
[2026-07-05 20:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:43:34] 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-07-05 20:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515574784001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515574784001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:43:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:43:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515574784001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":124761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:43:34] local.INFO: GPS data processed {"connection_id":124761,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:43:34] local.INFO: Acknowledgment sent {"connection_id":124761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:43:41] local.INFO: TCP Data received {"connection_id":122843,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:43:41] local.INFO: Processing buffer {"connection_id":122843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d35ae0012cb2a24007823a68004700c927..."} 
[2026-07-05 20:43:41] local.INFO: Packet analysis {"connection_id":122843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:43:41] local.INFO: Extracted packet for processing {"connection_id":122843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d3"} 
[2026-07-05 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515543808001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:43:41] 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-07-05 20:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783264140000,"timestamp_ms":1783264140000,"timestamp_seconds":1783264140,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d35ae0"} 
[2026-07-05 20:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:43: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-07-05 20: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-07-05 20:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515543808001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515543808001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:43:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515543808001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":122843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:43:41] local.INFO: GPS data processed {"connection_id":122843,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:43:41] local.INFO: Acknowledgment sent {"connection_id":122843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:43:56] local.INFO: TCP Data received {"connection_id":124763,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:43:56] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:43:56] local.INFO: IMEI packet received {"connection_id":124763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-05 20:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":124763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:44:01] local.INFO: TCP Data received {"connection_id":124763,"ip":"117.224.227.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:44:01] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-05 20:44:01] local.INFO: IMEI packet received {"connection_id":124763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-05 20:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":124763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:44:05] local.INFO: TCP Data received {"connection_id":124763,"ip":"117.224.227.100","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:44:05] local.INFO: Processing buffer {"connection_id":124763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d53f40012d196840071fef60003700f823..."} 
[2026-07-05 20:44:05] local.INFO: Packet analysis {"connection_id":124763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d5"} 
[2026-07-05 20:44:05] local.INFO: Extracted packet for processing {"connection_id":124763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d5"} 
[2026-07-05 20:44:05] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119533408,"longitude_deg":75.6639808,"latitude_deg":11.9533408,"altitude":55,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d196840","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-07-05 20:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515574784001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4738963835191296,"note":"Value kept but may cause issues"} 
[2026-07-05 20:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870836736,"note":"Value kept but may cause issues"} 
[2026-07-05 20:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 20:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783264264000,"timestamp_ms":1783264264000,"timestamp_seconds":1783264264,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d53f40"} 
[2026-07-05 20:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:44:05] 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-07-05 20:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-05 20:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-05 20:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.227.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-05 20:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-05 20:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515574784001,"66":2155,"121":206,"28":31744,"24":0,"16":4738963835191296,"45":1830783647870836736},"client_ip":"117.224.227.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-07-05 20:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-05 20:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-05 20:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515574784001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:44:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-05 20:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-07-05 20:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4738963835191296,"km_value":4738963835191.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870836736,"description":"Unknown IO ID 45"} 
[2026-07-05 20:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515574784001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830783647870836736}} 
[2026-07-05 20:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":124763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:44:05] local.INFO: GPS data processed {"connection_id":124763,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:44:05] local.INFO: Acknowledgment sent {"connection_id":124763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:44:19] local.INFO: TCP Data received {"connection_id":122779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:44:19] local.INFO: Processing buffer {"connection_id":122779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:44:19] local.INFO: IMEI packet received {"connection_id":122779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":122779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:44:24] local.INFO: TCP Data received {"connection_id":122779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:44:24] local.INFO: Processing buffer {"connection_id":122779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:44:24] local.INFO: IMEI packet received {"connection_id":122779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":122779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:44:25] local.INFO: TCP Data received {"connection_id":122779,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:44:25] local.INFO: Processing buffer {"connection_id":122779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:44:25] local.INFO: Packet analysis {"connection_id":122779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:44:25] local.INFO: Extracted packet for processing {"connection_id":122779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:44:25] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:44:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:44:25] 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-07-05 20:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 20:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:44:25] 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-07-05 20: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-07-05 20:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":122779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":122779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":122779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:44:25] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:44:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":122779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:44:25] local.INFO: GPS data processed {"connection_id":122779,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:44:25] local.INFO: Acknowledgment sent {"connection_id":122779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:44:29] local.INFO: TCP Data received {"connection_id":122779,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:44:29] local.INFO: Processing buffer {"connection_id":122779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:44:29] local.INFO: Packet analysis {"connection_id":122779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:44:29] local.INFO: Extracted packet for processing {"connection_id":122779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:44:29] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 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-07-05 20:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:44:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:44:29] 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-07-05 20:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 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-07-05 20:44: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-07-05 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 20:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":122779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":122779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":122779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:44:29] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:44:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":122779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:44:29] local.INFO: GPS data processed {"connection_id":122779,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:44:29] local.INFO: Acknowledgment sent {"connection_id":122779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:45:04] local.INFO: TCP Data received {"connection_id":123533,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:45:04] local.INFO: Processing buffer {"connection_id":123533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:45:04] local.INFO: IMEI packet received {"connection_id":123533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":123533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:45:14] local.INFO: TCP Data received {"connection_id":123533,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:45:14] local.INFO: Processing buffer {"connection_id":123533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:45:14] local.INFO: IMEI packet received {"connection_id":123533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":123533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:45:14] local.INFO: TCP Data received {"connection_id":123533,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:45:14] local.INFO: Processing buffer {"connection_id":123533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:45:14] local.INFO: Packet analysis {"connection_id":123533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:45:14] local.INFO: Extracted packet for processing {"connection_id":123533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:45:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:45:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:45:14] 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-07-05 20:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 20:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:45:14] 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-07-05 20:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":123533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":123533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":123533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:45:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:45:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:45:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":123533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:45:14] local.INFO: GPS data processed {"connection_id":123533,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:45:14] local.INFO: Acknowledgment sent {"connection_id":123533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:45:15] local.INFO: TCP Data received {"connection_id":123533,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:45:15] local.INFO: Processing buffer {"connection_id":123533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:45:15] local.INFO: Packet analysis {"connection_id":123533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:45:15] local.INFO: Extracted packet for processing {"connection_id":123533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:45:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:45: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-07-05 20:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:45:15] 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-07-05 20:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 20:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:45: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-07-05 20:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:45:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:45:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":123533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:45:15] local.INFO: GPS data processed {"connection_id":123533,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:45:15] local.INFO: Acknowledgment sent {"connection_id":123533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:45:46] local.INFO: TCP Data received {"connection_id":123533,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:45:46] local.INFO: Processing buffer {"connection_id":123533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:45:46] local.INFO: Packet analysis {"connection_id":123533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:45:46] local.INFO: Extracted packet for processing {"connection_id":123533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:45:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:45:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:45:46] 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-07-05 20:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 20:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:45:46] 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-07-05 20:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":123533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":123533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":123533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:45:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:45:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:45:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":123533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:45:46] local.INFO: GPS data processed {"connection_id":123533,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:45:46] local.INFO: Acknowledgment sent {"connection_id":123533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:46:03] local.INFO: TCP Data received {"connection_id":122845,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:46:03] local.INFO: Processing buffer {"connection_id":122845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:46:03] local.INFO: IMEI packet received {"connection_id":122845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":122845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:46:04] local.INFO: TCP Data received {"connection_id":122846,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:46:04] local.INFO: Processing buffer {"connection_id":122846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:46:04] local.INFO: IMEI packet received {"connection_id":122846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":122846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:46:09] local.INFO: TCP Data received {"connection_id":122846,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:46:09] local.INFO: Processing buffer {"connection_id":122846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:46:09] local.INFO: IMEI packet received {"connection_id":122846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":122846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:46:10] local.INFO: TCP Data received {"connection_id":122846,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:46:10] local.INFO: Processing buffer {"connection_id":122846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:46:10] local.INFO: Packet analysis {"connection_id":122846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:46:10] local.INFO: Extracted packet for processing {"connection_id":122846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:46:10] 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-07-05 20:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 20:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:46:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":122846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:46:10] local.INFO: GPS data processed {"connection_id":122846,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:46:10] local.INFO: Acknowledgment sent {"connection_id":122846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:46:41] local.INFO: TCP Data received {"connection_id":122846,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:46:41] local.INFO: Processing buffer {"connection_id":122846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:46:41] local.INFO: Packet analysis {"connection_id":122846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:46:41] local.INFO: Extracted packet for processing {"connection_id":122846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:46:41] 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-07-05 20:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 20:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:46: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-07-05 20: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-07-05 20:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:46:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":122846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:46:41] local.INFO: GPS data processed {"connection_id":122846,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:46:41] local.INFO: Acknowledgment sent {"connection_id":122846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:47:04] local.INFO: TCP Data received {"connection_id":122780,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:47:04] local.INFO: Processing buffer {"connection_id":122780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:47:04] local.INFO: IMEI packet received {"connection_id":122780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":122780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:47:09] local.INFO: TCP Data received {"connection_id":122780,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:47:09] local.INFO: Processing buffer {"connection_id":122780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:47:09] local.INFO: IMEI packet received {"connection_id":122780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":122780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:47:10] local.INFO: TCP Data received {"connection_id":122780,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:47:10] local.INFO: Processing buffer {"connection_id":122780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:47:10] local.INFO: Packet analysis {"connection_id":122780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:47:10] local.INFO: Extracted packet for processing {"connection_id":122780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:47:10] 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-07-05 20:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 20:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:47:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":122780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:47:10] local.INFO: GPS data processed {"connection_id":122780,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:47:10] local.INFO: Acknowledgment sent {"connection_id":122780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:47:41] local.INFO: TCP Data received {"connection_id":122780,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:47:41] local.INFO: Processing buffer {"connection_id":122780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:47:41] local.INFO: Packet analysis {"connection_id":122780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:47:41] local.INFO: Extracted packet for processing {"connection_id":122780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:47:41] 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-07-05 20:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 20:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:47: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-07-05 20:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:47:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":122780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:47:41] local.INFO: GPS data processed {"connection_id":122780,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:47:41] local.INFO: Acknowledgment sent {"connection_id":122780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:48:09] local.INFO: TCP Data received {"connection_id":123536,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:48:09] local.INFO: Processing buffer {"connection_id":123536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:48:09] local.INFO: IMEI packet received {"connection_id":123536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":123536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:48:14] local.INFO: TCP Data received {"connection_id":123536,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:48:14] local.INFO: Processing buffer {"connection_id":123536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:48:14] local.INFO: IMEI packet received {"connection_id":123536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":123536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:48:15] local.INFO: TCP Data received {"connection_id":123536,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:48:15] local.INFO: Processing buffer {"connection_id":123536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:48:15] local.INFO: Packet analysis {"connection_id":123536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:48:15] local.INFO: Extracted packet for processing {"connection_id":123536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:48:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:48:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:48:15] 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-07-05 20:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 20:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:48:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:48:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:48:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":123536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:48:15] local.INFO: GPS data processed {"connection_id":123536,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:48:15] local.INFO: Acknowledgment sent {"connection_id":123536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:48:21] local.INFO: TCP Data received {"connection_id":123536,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:48:21] local.INFO: Processing buffer {"connection_id":123536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:48:21] local.INFO: Packet analysis {"connection_id":123536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:48:21] local.INFO: Extracted packet for processing {"connection_id":123536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:48:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:48:21] 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-07-05 20:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 20:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:48:21] 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-07-05 20: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-07-05 20:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":123536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":123536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":123536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:48:21] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":123536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:48:21] local.INFO: GPS data processed {"connection_id":123536,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:48:21] local.INFO: Acknowledgment sent {"connection_id":123536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:49:04] local.INFO: TCP Data received {"connection_id":122781,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:49:04] local.INFO: Processing buffer {"connection_id":122781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:49:04] local.INFO: IMEI packet received {"connection_id":122781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":122781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:49:09] local.INFO: TCP Data received {"connection_id":122781,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:49:09] local.INFO: Processing buffer {"connection_id":122781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:49:09] local.INFO: IMEI packet received {"connection_id":122781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":122781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:49:13] local.INFO: TCP Data received {"connection_id":122781,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:49:13] local.INFO: Processing buffer {"connection_id":122781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32d7f690012cb2a24007823a68004600c928..."} 
[2026-07-05 20:49:13] local.INFO: Packet analysis {"connection_id":122781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:49:13] local.INFO: Extracted packet for processing {"connection_id":122781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32d7"} 
[2026-07-05 20:49:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515619840001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:49:13] 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-07-05 20:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783264442000,"timestamp_ms":1783264442000,"timestamp_seconds":1783264442,"priority":1,"record_length":96,"hex_timestamp":"0000019f32d7f690"} 
[2026-07-05 20:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 20:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":122781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":122781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":122781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515619840001,"66":25180,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515619840001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:49:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515619840001,"power":25180,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":122781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:49:13] local.INFO: GPS data processed {"connection_id":122781,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:49:13] local.INFO: Acknowledgment sent {"connection_id":122781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:49:45] local.INFO: TCP Data received {"connection_id":122781,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:49:45] local.INFO: Processing buffer {"connection_id":122781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:49:45] local.INFO: Packet analysis {"connection_id":122781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:49:45] local.INFO: Extracted packet for processing {"connection_id":122781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:49:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515697152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:49:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:49:45] 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-07-05 20:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783264746000,"timestamp_ms":1783264746000,"timestamp_seconds":1783264746,"priority":1,"record_length":96,"hex_timestamp":"0000019f32dc9a10"} 
[2026-07-05 20:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 20:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515697152001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515697152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:49:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:49:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:49:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515697152001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":122781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:49:45] local.INFO: GPS data processed {"connection_id":122781,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:49:45] local.INFO: Acknowledgment sent {"connection_id":122781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:50:04] local.INFO: TCP Data received {"connection_id":124765,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:50:04] local.INFO: Processing buffer {"connection_id":124765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:50:04] local.INFO: IMEI packet received {"connection_id":124765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":124765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:50:09] local.INFO: TCP Data received {"connection_id":124765,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:50:09] local.INFO: Processing buffer {"connection_id":124765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:50:09] local.INFO: IMEI packet received {"connection_id":124765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":124765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:50:10] local.INFO: TCP Data received {"connection_id":124765,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:50:10] local.INFO: Processing buffer {"connection_id":124765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:50:10] local.INFO: Packet analysis {"connection_id":124765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:50:10] local.INFO: Extracted packet for processing {"connection_id":124765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515697152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:50:10] 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-07-05 20:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783264746000,"timestamp_ms":1783264746000,"timestamp_seconds":1783264746,"priority":1,"record_length":96,"hex_timestamp":"0000019f32dc9a10"} 
[2026-07-05 20:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 20:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515697152001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515697152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:50:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515697152001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":124765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:50:10] local.INFO: GPS data processed {"connection_id":124765,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:50:10] local.INFO: Acknowledgment sent {"connection_id":124765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:50:41] local.INFO: TCP Data received {"connection_id":124765,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:50:41] local.INFO: Processing buffer {"connection_id":124765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:50:41] local.INFO: Packet analysis {"connection_id":124765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:50:41] local.INFO: Extracted packet for processing {"connection_id":124765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515697152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:50:41] 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-07-05 20:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783264746000,"timestamp_ms":1783264746000,"timestamp_seconds":1783264746,"priority":1,"record_length":96,"hex_timestamp":"0000019f32dc9a10"} 
[2026-07-05 20:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":92,"data_length":795,"current_offset":136} 
[2026-07-05 20:50: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-07-05 20: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-07-05 20:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515697152001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515697152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:50:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515697152001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":124765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:50:41] local.INFO: GPS data processed {"connection_id":124765,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:50:41] local.INFO: Acknowledgment sent {"connection_id":124765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:51:04] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:51:04] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:51:04] local.INFO: IMEI packet received {"connection_id":124768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":124768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:51:09] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:51:09] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:51:09] local.INFO: IMEI packet received {"connection_id":124768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":124768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:51:10] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:51:10] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:51:10] local.INFO: Packet analysis {"connection_id":124768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:51:10] local.INFO: Extracted packet for processing {"connection_id":124768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:51:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515697152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:51:10] 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-07-05 20:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783264746000,"timestamp_ms":1783264746000,"timestamp_seconds":1783264746,"priority":1,"record_length":96,"hex_timestamp":"0000019f32dc9a10"} 
[2026-07-05 20:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 20:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515697152001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515697152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:51:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515697152001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":124768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:51:10] local.INFO: GPS data processed {"connection_id":124768,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:51:10] local.INFO: Acknowledgment sent {"connection_id":124768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:51:24] local.INFO: TCP Data received {"connection_id":124767,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:51:24] local.INFO: Processing buffer {"connection_id":124767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:51:24] local.INFO: IMEI packet received {"connection_id":124767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":124767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:51:41] local.INFO: TCP Data received {"connection_id":124768,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:51:41] local.INFO: Processing buffer {"connection_id":124768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:51:41] local.INFO: Packet analysis {"connection_id":124768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:51:41] local.INFO: Extracted packet for processing {"connection_id":124768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:51:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515697152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:51:41] 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-07-05 20:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783264746000,"timestamp_ms":1783264746000,"timestamp_seconds":1783264746,"priority":1,"record_length":96,"hex_timestamp":"0000019f32dc9a10"} 
[2026-07-05 20:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":92,"data_length":795,"current_offset":136} 
[2026-07-05 20:51: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-07-05 20: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-07-05 20:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515697152001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515697152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:51:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515697152001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":124768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:51:41] local.INFO: GPS data processed {"connection_id":124768,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:51:41] local.INFO: Acknowledgment sent {"connection_id":124768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:52:03] local.INFO: TCP Data received {"connection_id":122847,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:52:03] local.INFO: Processing buffer {"connection_id":122847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:52:03] local.INFO: IMEI packet received {"connection_id":122847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":122847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:52:04] local.INFO: TCP Data received {"connection_id":123537,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:52:04] local.INFO: Processing buffer {"connection_id":123537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:52:04] local.INFO: IMEI packet received {"connection_id":123537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":123537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:52:09] local.INFO: TCP Data received {"connection_id":123537,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:52:09] local.INFO: Processing buffer {"connection_id":123537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:52:09] local.INFO: IMEI packet received {"connection_id":123537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":123537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:52:10] local.INFO: TCP Data received {"connection_id":123537,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:52:10] local.INFO: Processing buffer {"connection_id":123537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:52:10] local.INFO: Packet analysis {"connection_id":123537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:52:10] local.INFO: Extracted packet for processing {"connection_id":123537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515697152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:52:10] 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-07-05 20:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783264746000,"timestamp_ms":1783264746000,"timestamp_seconds":1783264746,"priority":1,"record_length":96,"hex_timestamp":"0000019f32dc9a10"} 
[2026-07-05 20:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 20:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515697152001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515697152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:52:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515697152001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":123537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:52:10] local.INFO: GPS data processed {"connection_id":123537,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:52:10] local.INFO: Acknowledgment sent {"connection_id":123537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:52:41] local.INFO: TCP Data received {"connection_id":123537,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:52:41] local.INFO: Processing buffer {"connection_id":123537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:52:41] local.INFO: Packet analysis {"connection_id":123537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:52:41] local.INFO: Extracted packet for processing {"connection_id":123537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:52:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515697152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:52:41] 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-07-05 20:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783264746000,"timestamp_ms":1783264746000,"timestamp_seconds":1783264746,"priority":1,"record_length":96,"hex_timestamp":"0000019f32dc9a10"} 
[2026-07-05 20:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 20:52: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-07-05 20:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515697152001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515697152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:52:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515697152001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":123537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:52:41] local.INFO: GPS data processed {"connection_id":123537,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:52:41] local.INFO: Acknowledgment sent {"connection_id":123537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:53:04] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:53:04] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:53:04] local.INFO: IMEI packet received {"connection_id":124770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":124770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:53:09] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:53:09] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:53:09] local.INFO: IMEI packet received {"connection_id":124770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":124770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:53:10] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:53:10] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:53:10] local.INFO: Packet analysis {"connection_id":124770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:53:10] local.INFO: Extracted packet for processing {"connection_id":124770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:53:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515697152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:53:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:53:10] 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-07-05 20:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783264746000,"timestamp_ms":1783264746000,"timestamp_seconds":1783264746,"priority":1,"record_length":96,"hex_timestamp":"0000019f32dc9a10"} 
[2026-07-05 20:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-05 20:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515697152001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515697152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:53:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:53:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515697152001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":124770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:53:10] local.INFO: GPS data processed {"connection_id":124770,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:53:10] local.INFO: Acknowledgment sent {"connection_id":124770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:53:41] local.INFO: TCP Data received {"connection_id":124770,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:53:41] local.INFO: Processing buffer {"connection_id":124770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32dc9a10012cb2a24007823a68004900c928..."} 
[2026-07-05 20:53:41] local.INFO: Packet analysis {"connection_id":124770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:53:41] local.INFO: Extracted packet for processing {"connection_id":124770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32dc"} 
[2026-07-05 20:53:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515697152001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:53:41] 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-07-05 20:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783264746000,"timestamp_ms":1783264746000,"timestamp_seconds":1783264746,"priority":1,"record_length":96,"hex_timestamp":"0000019f32dc9a10"} 
[2026-07-05 20:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":92,"data_length":795,"current_offset":136} 
[2026-07-05 20:53: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-07-05 20: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-07-05 20:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515697152001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515697152001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:53:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515697152001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":124770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:53:41] local.INFO: GPS data processed {"connection_id":124770,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:53:41] local.INFO: Acknowledgment sent {"connection_id":124770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:54:09] local.INFO: TCP Data received {"connection_id":122848,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:54:09] local.INFO: Processing buffer {"connection_id":122848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:54:09] local.INFO: IMEI packet received {"connection_id":122848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":122848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:54:11] local.INFO: TCP Data received {"connection_id":122848,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:54:11] local.INFO: Processing buffer {"connection_id":122848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:54:11] local.INFO: IMEI packet received {"connection_id":122848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":122848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:54:12] local.INFO: TCP Data received {"connection_id":122848,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:54:12] local.INFO: Processing buffer {"connection_id":122848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:54:12] local.INFO: Packet analysis {"connection_id":122848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:54:12] local.INFO: Extracted packet for processing {"connection_id":122848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:54:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515774976001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:54: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-07-05 20:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783265049000,"timestamp_ms":1783265049000,"timestamp_seconds":1783265049,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e139a8"} 
[2026-07-05 20:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":122848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":122848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":122848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515774976001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515774976001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:54:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515774976001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":122848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:54:12] local.INFO: GPS data processed {"connection_id":122848,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:54:12] local.INFO: Acknowledgment sent {"connection_id":122848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:54:43] local.INFO: TCP Data received {"connection_id":122848,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:54:43] local.INFO: Processing buffer {"connection_id":122848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:54:43] local.INFO: Packet analysis {"connection_id":122848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:54:43] local.INFO: Extracted packet for processing {"connection_id":122848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:54:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515774976001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:54:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:54:43] 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-07-05 20:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783265049000,"timestamp_ms":1783265049000,"timestamp_seconds":1783265049,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e139a8"} 
[2026-07-05 20:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:54: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-07-05 20:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515774976001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515774976001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:54:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:54:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515774976001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":122848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:54:43] local.INFO: GPS data processed {"connection_id":122848,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:54:43] local.INFO: Acknowledgment sent {"connection_id":122848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:55:04] local.INFO: TCP Data received {"connection_id":124771,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:55:04] local.INFO: Processing buffer {"connection_id":124771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:55:04] local.INFO: IMEI packet received {"connection_id":124771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":124771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:55:10] local.INFO: TCP Data received {"connection_id":124771,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:55:10] local.INFO: Processing buffer {"connection_id":124771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:55:10] local.INFO: IMEI packet received {"connection_id":124771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":124771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:55:11] local.INFO: TCP Data received {"connection_id":124771,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:55:11] local.INFO: Processing buffer {"connection_id":124771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:55:11] local.INFO: Packet analysis {"connection_id":124771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:55:11] local.INFO: Extracted packet for processing {"connection_id":124771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:55:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515774976001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:55:11] 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-07-05 20:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783265049000,"timestamp_ms":1783265049000,"timestamp_seconds":1783265049,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e139a8"} 
[2026-07-05 20:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515774976001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515774976001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:55:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515774976001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":124771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:55:11] local.INFO: GPS data processed {"connection_id":124771,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:55:11] local.INFO: Acknowledgment sent {"connection_id":124771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:55:42] local.INFO: TCP Data received {"connection_id":124771,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:55:42] local.INFO: Processing buffer {"connection_id":124771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:55:42] local.INFO: Packet analysis {"connection_id":124771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:55:42] local.INFO: Extracted packet for processing {"connection_id":124771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:55:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515774976001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:55:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:55:42] 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-07-05 20:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783265049000,"timestamp_ms":1783265049000,"timestamp_seconds":1783265049,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e139a8"} 
[2026-07-05 20:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515774976001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515774976001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:55:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:55:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:55:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515774976001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":124771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:55:42] local.INFO: GPS data processed {"connection_id":124771,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:55:42] local.INFO: Acknowledgment sent {"connection_id":124771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:56:09] local.INFO: TCP Data received {"connection_id":124773,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:56:09] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:56:09] local.INFO: IMEI packet received {"connection_id":124773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":124773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:56:15] local.INFO: TCP Data received {"connection_id":124773,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:56:15] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:56:15] local.INFO: IMEI packet received {"connection_id":124773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":124773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:56:17] local.INFO: TCP Data received {"connection_id":124773,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:56:17] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:56:17] local.INFO: Packet analysis {"connection_id":124773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:56:17] local.INFO: Extracted packet for processing {"connection_id":124773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:56:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515774976001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:56:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:56:17] 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-07-05 20:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783265049000,"timestamp_ms":1783265049000,"timestamp_seconds":1783265049,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e139a8"} 
[2026-07-05 20:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":124773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":124773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":124773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515774976001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515774976001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:56:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:56:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:56:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515774976001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":124773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:56:17] local.INFO: GPS data processed {"connection_id":124773,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:56:17] local.INFO: Acknowledgment sent {"connection_id":124773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:56:28] local.INFO: TCP Data received {"connection_id":124773,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:56:28] local.INFO: Processing buffer {"connection_id":124773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:56:28] local.INFO: Packet analysis {"connection_id":124773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:56:28] local.INFO: Extracted packet for processing {"connection_id":124773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:56:28] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515774976001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:56:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:56:28] 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-07-05 20:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783265049000,"timestamp_ms":1783265049000,"timestamp_seconds":1783265049,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e139a8"} 
[2026-07-05 20:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515774976001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515774976001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:56:28] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:56:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515774976001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":124773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:56:28] local.INFO: GPS data processed {"connection_id":124773,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:56:28] local.INFO: Acknowledgment sent {"connection_id":124773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:57:04] local.INFO: TCP Data received {"connection_id":122850,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:57:04] local.INFO: Processing buffer {"connection_id":122850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:57:04] local.INFO: IMEI packet received {"connection_id":122850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":122850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:57:09] local.INFO: TCP Data received {"connection_id":122850,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:57:09] local.INFO: Processing buffer {"connection_id":122850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:57:09] local.INFO: IMEI packet received {"connection_id":122850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":122850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:57:10] local.INFO: TCP Data received {"connection_id":122850,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:57:10] local.INFO: Processing buffer {"connection_id":122850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:57:10] local.INFO: Packet analysis {"connection_id":122850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:57:10] local.INFO: Extracted packet for processing {"connection_id":122850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:57:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515774976001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:57:10] 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-07-05 20:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265049000,"timestamp_ms":1783265049000,"timestamp_seconds":1783265049,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e139a8"} 
[2026-07-05 20:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515774976001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515774976001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:57:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:57:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515774976001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":122850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:57:10] local.INFO: GPS data processed {"connection_id":122850,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:57:10] local.INFO: Acknowledgment sent {"connection_id":122850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:57:34] local.INFO: TCP Data received {"connection_id":122784,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:57:34] local.INFO: Processing buffer {"connection_id":122784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:57:34] local.INFO: IMEI packet received {"connection_id":122784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":122784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:57:41] local.INFO: TCP Data received {"connection_id":122850,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:57:41] local.INFO: Processing buffer {"connection_id":122850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:57:41] local.INFO: Packet analysis {"connection_id":122850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:57:41] local.INFO: Extracted packet for processing {"connection_id":122850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:57:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515774976001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:57:41] 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-07-05 20:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783265049000,"timestamp_ms":1783265049000,"timestamp_seconds":1783265049,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e139a8"} 
[2026-07-05 20:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:57: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-07-05 20:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515774976001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515774976001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:57:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:57:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515774976001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":122850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:57:41] local.INFO: GPS data processed {"connection_id":122850,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:57:41] local.INFO: Acknowledgment sent {"connection_id":122850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:58:04] local.INFO: TCP Data received {"connection_id":123538,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:58:04] local.INFO: Processing buffer {"connection_id":123538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:58:04] local.INFO: IMEI packet received {"connection_id":123538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":123538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:58:09] local.INFO: TCP Data received {"connection_id":123539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:58:09] local.INFO: Processing buffer {"connection_id":123539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 20:58:09] local.INFO: IMEI packet received {"connection_id":123539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 20:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":123539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:58:09] local.INFO: TCP Data received {"connection_id":123538,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:58:09] local.INFO: Processing buffer {"connection_id":123538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:58:09] local.INFO: IMEI packet received {"connection_id":123538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":123538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:58:10] local.INFO: TCP Data received {"connection_id":123538,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:58:10] local.INFO: Processing buffer {"connection_id":123538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:58:10] local.INFO: Packet analysis {"connection_id":123538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:58:10] local.INFO: Extracted packet for processing {"connection_id":123538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20: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-07-05 20:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515774976001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:58:10] 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-07-05 20:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265049000,"timestamp_ms":1783265049000,"timestamp_seconds":1783265049,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e139a8"} 
[2026-07-05 20:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20: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-07-05 20:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515774976001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515774976001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:58:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515774976001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":123538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:58:10] local.INFO: GPS data processed {"connection_id":123538,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:58:10] local.INFO: Acknowledgment sent {"connection_id":123538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:58:41] local.INFO: TCP Data received {"connection_id":123538,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:58:41] local.INFO: Processing buffer {"connection_id":123538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:58:41] local.INFO: Packet analysis {"connection_id":123538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:58:41] local.INFO: Extracted packet for processing {"connection_id":123538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515774976001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:58:41] 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-07-05 20:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783265049000,"timestamp_ms":1783265049000,"timestamp_seconds":1783265049,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e139a8"} 
[2026-07-05 20:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:58: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-07-05 20:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515774976001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515774976001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:58:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515774976001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":123538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:58:41] local.INFO: GPS data processed {"connection_id":123538,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:58:41] local.INFO: Acknowledgment sent {"connection_id":123538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:59:04] local.INFO: TCP Data received {"connection_id":122851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:59:04] local.INFO: Processing buffer {"connection_id":122851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:59:04] local.INFO: IMEI packet received {"connection_id":122851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 20:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":122851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 20:59:09] local.INFO: TCP Data received {"connection_id":122851,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:59:09] local.INFO: Processing buffer {"connection_id":122851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 20:59:09] local.INFO: IMEI packet received {"connection_id":122851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 20:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":122851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 20:59:10] local.INFO: TCP Data received {"connection_id":122851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:59:10] local.INFO: Processing buffer {"connection_id":122851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e139a8012cb2a24007823a68004600c929..."} 
[2026-07-05 20:59:10] local.INFO: Packet analysis {"connection_id":122851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:59:10] local.INFO: Extracted packet for processing {"connection_id":122851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e1"} 
[2026-07-05 20:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515774976001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:59:10] 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-07-05 20:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265049000,"timestamp_ms":1783265049000,"timestamp_seconds":1783265049,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e139a8"} 
[2026-07-05 20:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 20:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 20:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515774976001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515774976001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:59:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515774976001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":122851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:59:10] local.INFO: GPS data processed {"connection_id":122851,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:59:10] local.INFO: Acknowledgment sent {"connection_id":122851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 20:59:41] local.INFO: TCP Data received {"connection_id":122851,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 20:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 20:59:41] local.INFO: Processing buffer {"connection_id":122851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 20:59:41] local.INFO: Packet analysis {"connection_id":122851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 20:59:41] local.INFO: Extracted packet for processing {"connection_id":122851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 20:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 20:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 20:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515852544001,"note":"Value kept but may cause issues"} 
[2026-07-05 20:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 20:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 20:59:41] 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-07-05 20:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783265350000,"timestamp_ms":1783265350000,"timestamp_seconds":1783265350,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e5d170"} 
[2026-07-05 20:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 20:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 20:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 20:59: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-07-05 20:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 20:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 20:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 20:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 20:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 20:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 20:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 20:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 20:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515852544001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 20:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 20:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 20:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515852544001,"description":"Unknown IO ID 0"} 
[2026-07-05 20:59:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 20:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 20:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 20:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 20:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515852544001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 20:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":122851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 20:59:41] local.INFO: GPS data processed {"connection_id":122851,"processed":1,"errors":0,"total":1} 
[2026-07-05 20:59:41] local.INFO: Acknowledgment sent {"connection_id":122851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:00:04] local.INFO: TCP Data received {"connection_id":122852,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:00:04] local.INFO: Processing buffer {"connection_id":122852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:00:04] local.INFO: IMEI packet received {"connection_id":122852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":122852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:00:09] local.INFO: TCP Data received {"connection_id":122852,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:00:09] local.INFO: Processing buffer {"connection_id":122852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:00:09] local.INFO: IMEI packet received {"connection_id":122852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":122852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:00:10] local.INFO: TCP Data received {"connection_id":122852,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:00:10] local.INFO: Processing buffer {"connection_id":122852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:00:10] local.INFO: Packet analysis {"connection_id":122852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:00:10] local.INFO: Extracted packet for processing {"connection_id":122852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:00:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515852544001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:00:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:00:10] 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-07-05 21:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265350000,"timestamp_ms":1783265350000,"timestamp_seconds":1783265350,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e5d170"} 
[2026-07-05 21:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515852544001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515852544001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:00:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:00:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:00:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515852544001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":122852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:00:10] local.INFO: GPS data processed {"connection_id":122852,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:00:10] local.INFO: Acknowledgment sent {"connection_id":122852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:00:41] local.INFO: TCP Data received {"connection_id":122852,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:00:41] local.INFO: Processing buffer {"connection_id":122852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:00:41] local.INFO: Packet analysis {"connection_id":122852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:00:41] local.INFO: Extracted packet for processing {"connection_id":122852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:00:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515852544001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:00:41] 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-07-05 21:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783265350000,"timestamp_ms":1783265350000,"timestamp_seconds":1783265350,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e5d170"} 
[2026-07-05 21:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:00: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-07-05 21: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-07-05 21:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515852544001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515852544001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:00:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:00:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515852544001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":122852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:00:41] local.INFO: GPS data processed {"connection_id":122852,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:00:41] local.INFO: Acknowledgment sent {"connection_id":122852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:01:04] local.INFO: TCP Data received {"connection_id":122853,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:01:04] local.INFO: Processing buffer {"connection_id":122853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:01:04] local.INFO: IMEI packet received {"connection_id":122853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":122853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:01:09] local.INFO: TCP Data received {"connection_id":122853,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:01:09] local.INFO: Processing buffer {"connection_id":122853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:01:09] local.INFO: IMEI packet received {"connection_id":122853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":122853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:01:10] local.INFO: TCP Data received {"connection_id":122853,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:01:10] local.INFO: Processing buffer {"connection_id":122853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:01:10] local.INFO: Packet analysis {"connection_id":122853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:01:10] local.INFO: Extracted packet for processing {"connection_id":122853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:01:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515852544001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:01:10] 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-07-05 21:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265350000,"timestamp_ms":1783265350000,"timestamp_seconds":1783265350,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e5d170"} 
[2026-07-05 21:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515852544001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515852544001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:01:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515852544001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":122853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:01:10] local.INFO: GPS data processed {"connection_id":122853,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:01:10] local.INFO: Acknowledgment sent {"connection_id":122853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:01:41] local.INFO: TCP Data received {"connection_id":122853,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:01:41] local.INFO: Processing buffer {"connection_id":122853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:01:41] local.INFO: Packet analysis {"connection_id":122853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:01:41] local.INFO: Extracted packet for processing {"connection_id":122853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:01:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515852544001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:01:41] 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-07-05 21:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783265350000,"timestamp_ms":1783265350000,"timestamp_seconds":1783265350,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e5d170"} 
[2026-07-05 21:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:01: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-07-05 21:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515852544001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515852544001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:01:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515852544001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":122853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:01:41] local.INFO: GPS data processed {"connection_id":122853,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:01:41] local.INFO: Acknowledgment sent {"connection_id":122853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:02:04] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:02:04] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:02:04] local.INFO: IMEI packet received {"connection_id":124776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":124776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:02:09] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:02:09] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:02:09] local.INFO: IMEI packet received {"connection_id":124776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":124776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:02:10] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:02:10] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:02:10] local.INFO: Packet analysis {"connection_id":124776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:02:10] local.INFO: Extracted packet for processing {"connection_id":124776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:02:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515852544001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:02:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:02:10] 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-07-05 21:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265350000,"timestamp_ms":1783265350000,"timestamp_seconds":1783265350,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e5d170"} 
[2026-07-05 21:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515852544001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515852544001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:02:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:02:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515852544001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":124776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:02:10] local.INFO: GPS data processed {"connection_id":124776,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:02:10] local.INFO: Acknowledgment sent {"connection_id":124776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:02:41] local.INFO: TCP Data received {"connection_id":124776,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:02:41] local.INFO: Processing buffer {"connection_id":124776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:02:41] local.INFO: Packet analysis {"connection_id":124776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:02:41] local.INFO: Extracted packet for processing {"connection_id":124776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:02:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515852544001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:02:41] 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-07-05 21:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783265350000,"timestamp_ms":1783265350000,"timestamp_seconds":1783265350,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e5d170"} 
[2026-07-05 21:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:02: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-07-05 21:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515852544001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515852544001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:02:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:02:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515852544001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":124776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:02:41] local.INFO: GPS data processed {"connection_id":124776,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:02:41] local.INFO: Acknowledgment sent {"connection_id":124776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:03:04] local.INFO: TCP Data received {"connection_id":123541,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:03:04] local.INFO: Processing buffer {"connection_id":123541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:03:04] local.INFO: IMEI packet received {"connection_id":123541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":123541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:03:09] local.INFO: TCP Data received {"connection_id":123541,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:03:09] local.INFO: Processing buffer {"connection_id":123541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:03:09] local.INFO: IMEI packet received {"connection_id":123541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":123541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:03:10] local.INFO: TCP Data received {"connection_id":123541,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:03:10] local.INFO: Processing buffer {"connection_id":123541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:03:10] local.INFO: Packet analysis {"connection_id":123541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:03:10] local.INFO: Extracted packet for processing {"connection_id":123541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515852544001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:03:10] 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-07-05 21:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265350000,"timestamp_ms":1783265350000,"timestamp_seconds":1783265350,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e5d170"} 
[2026-07-05 21:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515852544001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515852544001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:03:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515852544001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":123541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:03:10] local.INFO: GPS data processed {"connection_id":123541,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:03:10] local.INFO: Acknowledgment sent {"connection_id":123541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:03:29] local.INFO: TCP Data received {"connection_id":123540,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:03:29] local.INFO: Processing buffer {"connection_id":123540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:03:29] local.INFO: IMEI packet received {"connection_id":123540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":123540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:03:41] local.INFO: TCP Data received {"connection_id":123541,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:03:41] local.INFO: Processing buffer {"connection_id":123541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32e5d170012cb2a24007823a68004600c925..."} 
[2026-07-05 21:03:41] local.INFO: Packet analysis {"connection_id":123541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:03:41] local.INFO: Extracted packet for processing {"connection_id":123541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32e5"} 
[2026-07-05 21:03:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515852544001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:03:41] 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-07-05 21:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783265350000,"timestamp_ms":1783265350000,"timestamp_seconds":1783265350,"priority":1,"record_length":96,"hex_timestamp":"0000019f32e5d170"} 
[2026-07-05 21:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:03: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-07-05 21: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-07-05 21:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515852544001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515852544001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:03:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515852544001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":123541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:03:41] local.INFO: GPS data processed {"connection_id":123541,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:03:41] local.INFO: Acknowledgment sent {"connection_id":123541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:04:03] local.INFO: TCP Data received {"connection_id":123542,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:04:03] local.INFO: Processing buffer {"connection_id":123542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:04:03] local.INFO: IMEI packet received {"connection_id":123542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":123542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:04:09] local.INFO: TCP Data received {"connection_id":124777,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:04:09] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:04:09] local.INFO: IMEI packet received {"connection_id":124777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":124777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:04:13] local.INFO: TCP Data received {"connection_id":124777,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:04:13] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:04:13] local.INFO: IMEI packet received {"connection_id":124777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":124777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:04:14] local.INFO: TCP Data received {"connection_id":124777,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:04:14] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:04:14] local.INFO: Packet analysis {"connection_id":124777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:04:14] local.INFO: Extracted packet for processing {"connection_id":124777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:04:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:04:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:04:14] 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-07-05 21:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:04:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:04:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:04:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":124777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:04:14] local.INFO: GPS data processed {"connection_id":124777,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:04:14] local.INFO: Acknowledgment sent {"connection_id":124777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:04:15] local.INFO: TCP Data received {"connection_id":124777,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:04:15] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:04:15] local.INFO: Packet analysis {"connection_id":124777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:04:15] local.INFO: Extracted packet for processing {"connection_id":124777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:04:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:04:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:04:15] 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-07-05 21:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:04:15] 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-07-05 21: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-07-05 21:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:04:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:04:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:04:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":124777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:04:15] local.INFO: GPS data processed {"connection_id":124777,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:04:15] local.INFO: Acknowledgment sent {"connection_id":124777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:04:45] local.INFO: TCP Data received {"connection_id":124777,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:04:45] local.INFO: Processing buffer {"connection_id":124777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:04:45] local.INFO: Packet analysis {"connection_id":124777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:04:45] local.INFO: Extracted packet for processing {"connection_id":124777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:04:45] 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-07-05 21:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:04:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:04:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:04:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":124777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:04:45] local.INFO: GPS data processed {"connection_id":124777,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:04:45] local.INFO: Acknowledgment sent {"connection_id":124777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:05:04] local.INFO: TCP Data received {"connection_id":123543,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:05:04] local.INFO: Processing buffer {"connection_id":123543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:05:04] local.INFO: IMEI packet received {"connection_id":123543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":123543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:05:09] local.INFO: TCP Data received {"connection_id":123543,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:05:09] local.INFO: Processing buffer {"connection_id":123543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:05:09] local.INFO: IMEI packet received {"connection_id":123543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":123543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:05:10] local.INFO: TCP Data received {"connection_id":123543,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:05:10] local.INFO: Processing buffer {"connection_id":123543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:05:10] local.INFO: Packet analysis {"connection_id":123543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:05:10] local.INFO: Extracted packet for processing {"connection_id":123543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:05:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:05:10] 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-07-05 21:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:05: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-07-05 21: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-07-05 21:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:05:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":123543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:05:10] local.INFO: GPS data processed {"connection_id":123543,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:05:10] local.INFO: Acknowledgment sent {"connection_id":123543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:05:42] local.INFO: TCP Data received {"connection_id":123543,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:05:42] local.INFO: Processing buffer {"connection_id":123543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:05:42] local.INFO: Packet analysis {"connection_id":123543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:05:42] local.INFO: Extracted packet for processing {"connection_id":123543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:05:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:05:42] 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-07-05 21:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":123543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":123543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":123543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:05:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:05:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":123543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:05:42] local.INFO: GPS data processed {"connection_id":123543,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:05:42] local.INFO: Acknowledgment sent {"connection_id":123543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:06:04] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:06:04] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:06:04] local.INFO: IMEI packet received {"connection_id":124778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":124778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:06:10] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:06:10] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:06:10] local.INFO: IMEI packet received {"connection_id":124778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":124778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:06:11] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:06:11] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:06:11] local.INFO: Packet analysis {"connection_id":124778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:06:11] local.INFO: Extracted packet for processing {"connection_id":124778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:06:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:06:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:06:11] 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-07-05 21:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:06: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-07-05 21: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-07-05 21:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:06:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:06:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":124778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:06:11] local.INFO: GPS data processed {"connection_id":124778,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:06:11] local.INFO: Acknowledgment sent {"connection_id":124778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:06:49] local.INFO: TCP Data received {"connection_id":124778,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:06:49] local.INFO: Processing buffer {"connection_id":124778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:06:49] local.INFO: Packet analysis {"connection_id":124778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:06:49] local.INFO: Extracted packet for processing {"connection_id":124778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:06:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:06:49] 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-07-05 21:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:06:49] 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-07-05 21:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":124778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":124778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:06:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:06:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:06:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":124778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:06:49] local.INFO: GPS data processed {"connection_id":124778,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:06:49] local.INFO: Acknowledgment sent {"connection_id":124778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:07:04] local.INFO: TCP Data received {"connection_id":123544,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:07:04] local.INFO: Processing buffer {"connection_id":123544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:07:04] local.INFO: IMEI packet received {"connection_id":123544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":123544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:07:09] local.INFO: TCP Data received {"connection_id":123544,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:07:09] local.INFO: Processing buffer {"connection_id":123544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:07:09] local.INFO: IMEI packet received {"connection_id":123544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":123544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:07:10] local.INFO: TCP Data received {"connection_id":123544,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:07:10] local.INFO: Processing buffer {"connection_id":123544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:07:10] local.INFO: Packet analysis {"connection_id":123544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:07:10] local.INFO: Extracted packet for processing {"connection_id":123544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:07:10] 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-07-05 21:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:07: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-07-05 21:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:07:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":123544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:07:10] local.INFO: GPS data processed {"connection_id":123544,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:07:10] local.INFO: Acknowledgment sent {"connection_id":123544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:07:41] local.INFO: TCP Data received {"connection_id":123544,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:07:41] local.INFO: Processing buffer {"connection_id":123544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:07:41] local.INFO: Packet analysis {"connection_id":123544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:07:41] local.INFO: Extracted packet for processing {"connection_id":123544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:07:41] 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-07-05 21:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:07: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-07-05 21: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-07-05 21:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:07:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":123544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:07:41] local.INFO: GPS data processed {"connection_id":123544,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:07:41] local.INFO: Acknowledgment sent {"connection_id":123544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:08:09] local.INFO: TCP Data received {"connection_id":122856,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:08:09] local.INFO: Processing buffer {"connection_id":122856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:08:09] local.INFO: IMEI packet received {"connection_id":122856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":122856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:08:14] local.INFO: TCP Data received {"connection_id":122856,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:08:14] local.INFO: Processing buffer {"connection_id":122856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:08:14] local.INFO: IMEI packet received {"connection_id":122856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":122856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:08:15] local.INFO: TCP Data received {"connection_id":122856,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:08:15] local.INFO: Processing buffer {"connection_id":122856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:08:15] local.INFO: Packet analysis {"connection_id":122856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:08:15] local.INFO: Extracted packet for processing {"connection_id":122856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:08:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:08:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:08:15] 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-07-05 21:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:08:15] 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-07-05 21: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-07-05 21:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:08:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:08:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:08:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":122856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:08:15] local.INFO: GPS data processed {"connection_id":122856,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:08:15] local.INFO: Acknowledgment sent {"connection_id":122856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:08:20] local.INFO: TCP Data received {"connection_id":122856,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:08:20] local.INFO: Processing buffer {"connection_id":122856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:08:20] local.INFO: Packet analysis {"connection_id":122856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:08:20] local.INFO: Extracted packet for processing {"connection_id":122856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:08:20] 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-07-05 21:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:08:20] 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-07-05 21: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-07-05 21:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:08:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":122856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:08:20] local.INFO: GPS data processed {"connection_id":122856,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:08:20] local.INFO: Acknowledgment sent {"connection_id":122856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:09:04] local.INFO: TCP Data received {"connection_id":122857,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:09:04] local.INFO: Processing buffer {"connection_id":122857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:09:04] local.INFO: IMEI packet received {"connection_id":122857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":122857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:09:09] local.INFO: TCP Data received {"connection_id":122857,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:09:09] local.INFO: Processing buffer {"connection_id":122857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:09:09] local.INFO: IMEI packet received {"connection_id":122857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":122857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:09:10] local.INFO: TCP Data received {"connection_id":122857,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:09:10] local.INFO: Processing buffer {"connection_id":122857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ea6938012cb2a24007823a68004800c929..."} 
[2026-07-05 21:09:10] local.INFO: Packet analysis {"connection_id":122857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:09:10] local.INFO: Extracted packet for processing {"connection_id":122857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ea"} 
[2026-07-05 21:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456515929600001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:09:10] 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-07-05 21:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265651000,"timestamp_ms":1783265651000,"timestamp_seconds":1783265651,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ea6938"} 
[2026-07-05 21:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:09: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-07-05 21: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-07-05 21:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456515929600001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456515929600001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:09:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456515929600001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":122857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:09:10] local.INFO: GPS data processed {"connection_id":122857,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:09:10] local.INFO: Acknowledgment sent {"connection_id":122857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:09:29] local.INFO: TCP Data received {"connection_id":124779,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:09:29] local.INFO: Processing buffer {"connection_id":124779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:09:29] local.INFO: IMEI packet received {"connection_id":124779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":124779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:09:41] local.INFO: TCP Data received {"connection_id":122857,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:09:41] local.INFO: Processing buffer {"connection_id":122857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:09:41] local.INFO: Packet analysis {"connection_id":122857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:09:41] local.INFO: Extracted packet for processing {"connection_id":122857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516006656001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:09:41] 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-07-05 21:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783265952000,"timestamp_ms":1783265952000,"timestamp_seconds":1783265952,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ef0100"} 
[2026-07-05 21:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:09: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-07-05 21: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-07-05 21:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516006656001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516006656001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:09:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516006656001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":122857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:09:41] local.INFO: GPS data processed {"connection_id":122857,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:09:41] local.INFO: Acknowledgment sent {"connection_id":122857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:10:03] local.INFO: TCP Data received {"connection_id":123546,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:10:03] local.INFO: Processing buffer {"connection_id":123546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:10:03] local.INFO: IMEI packet received {"connection_id":123546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":123546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:10:04] local.INFO: TCP Data received {"connection_id":122858,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:10:04] local.INFO: Processing buffer {"connection_id":122858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:10:04] local.INFO: IMEI packet received {"connection_id":122858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":122858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:10:09] local.INFO: TCP Data received {"connection_id":122858,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:10:09] local.INFO: Processing buffer {"connection_id":122858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:10:09] local.INFO: IMEI packet received {"connection_id":122858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":122858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:10:10] local.INFO: TCP Data received {"connection_id":122858,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:10:10] local.INFO: Processing buffer {"connection_id":122858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:10:10] local.INFO: Packet analysis {"connection_id":122858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:10:10] local.INFO: Extracted packet for processing {"connection_id":122858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:10:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516006656001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:10:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:10:10] 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-07-05 21:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265952000,"timestamp_ms":1783265952000,"timestamp_seconds":1783265952,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ef0100"} 
[2026-07-05 21:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516006656001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516006656001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:10:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:10:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:10:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516006656001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":122858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:10:10] local.INFO: GPS data processed {"connection_id":122858,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:10:10] local.INFO: Acknowledgment sent {"connection_id":122858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:10:45] local.INFO: TCP Data received {"connection_id":122858,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:10:45] local.INFO: Processing buffer {"connection_id":122858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:10:45] local.INFO: Packet analysis {"connection_id":122858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:10:45] local.INFO: Extracted packet for processing {"connection_id":122858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516006656001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:10:45] 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-07-05 21:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783265952000,"timestamp_ms":1783265952000,"timestamp_seconds":1783265952,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ef0100"} 
[2026-07-05 21:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516006656001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516006656001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:10:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:10:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516006656001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":122858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:10:45] local.INFO: GPS data processed {"connection_id":122858,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:10:45] local.INFO: Acknowledgment sent {"connection_id":122858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:11:04] local.INFO: TCP Data received {"connection_id":124780,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:11:04] local.INFO: Processing buffer {"connection_id":124780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:11:04] local.INFO: IMEI packet received {"connection_id":124780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":124780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:11:09] local.INFO: TCP Data received {"connection_id":124780,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:11:09] local.INFO: Processing buffer {"connection_id":124780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:11:09] local.INFO: IMEI packet received {"connection_id":124780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":124780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:11:10] local.INFO: TCP Data received {"connection_id":124780,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:11:10] local.INFO: Processing buffer {"connection_id":124780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:11:10] local.INFO: Packet analysis {"connection_id":124780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:11:10] local.INFO: Extracted packet for processing {"connection_id":124780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:11:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516006656001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:11:10] 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-07-05 21:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265952000,"timestamp_ms":1783265952000,"timestamp_seconds":1783265952,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ef0100"} 
[2026-07-05 21:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516006656001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516006656001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:11:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516006656001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":124780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:11:10] local.INFO: GPS data processed {"connection_id":124780,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:11:10] local.INFO: Acknowledgment sent {"connection_id":124780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:11:41] local.INFO: TCP Data received {"connection_id":124780,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:11:41] local.INFO: Processing buffer {"connection_id":124780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:11:41] local.INFO: Packet analysis {"connection_id":124780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:11:41] local.INFO: Extracted packet for processing {"connection_id":124780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516006656001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:11:41] 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-07-05 21:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783265952000,"timestamp_ms":1783265952000,"timestamp_seconds":1783265952,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ef0100"} 
[2026-07-05 21:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:11: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-07-05 21:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516006656001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516006656001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:11:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516006656001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":124780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:11:41] local.INFO: GPS data processed {"connection_id":124780,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:11:41] local.INFO: Acknowledgment sent {"connection_id":124780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:12:09] local.INFO: TCP Data received {"connection_id":122788,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:12:09] local.INFO: Processing buffer {"connection_id":122788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:12:09] local.INFO: IMEI packet received {"connection_id":122788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":122788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:12:14] local.INFO: TCP Data received {"connection_id":122788,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:12:14] local.INFO: Processing buffer {"connection_id":122788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:12:14] local.INFO: IMEI packet received {"connection_id":122788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":122788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:12:15] local.INFO: TCP Data received {"connection_id":122788,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:12:15] local.INFO: Processing buffer {"connection_id":122788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:12:15] local.INFO: Packet analysis {"connection_id":122788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:12:15] local.INFO: Extracted packet for processing {"connection_id":122788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:12:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516006656001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:12:15] 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-07-05 21:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783265952000,"timestamp_ms":1783265952000,"timestamp_seconds":1783265952,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ef0100"} 
[2026-07-05 21:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516006656001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516006656001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:12:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:12:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516006656001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":122788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:12:15] local.INFO: GPS data processed {"connection_id":122788,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:12:15] local.INFO: Acknowledgment sent {"connection_id":122788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:12:19] local.INFO: TCP Data received {"connection_id":122788,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:12:19] local.INFO: Processing buffer {"connection_id":122788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:12:19] local.INFO: Packet analysis {"connection_id":122788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:12:19] local.INFO: Extracted packet for processing {"connection_id":122788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:12:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516006656001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:12:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:12:19] 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-07-05 21:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783265952000,"timestamp_ms":1783265952000,"timestamp_seconds":1783265952,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ef0100"} 
[2026-07-05 21:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:12: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-07-05 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516006656001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516006656001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:12:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:12:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:12:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516006656001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":122788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:12:19] local.INFO: GPS data processed {"connection_id":122788,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:12:19] local.INFO: Acknowledgment sent {"connection_id":122788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:13:04] local.INFO: TCP Data received {"connection_id":122790,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:13:04] local.INFO: Processing buffer {"connection_id":122790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:13:04] local.INFO: IMEI packet received {"connection_id":122790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":122790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:13:09] local.INFO: TCP Data received {"connection_id":122790,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:13:09] local.INFO: Processing buffer {"connection_id":122790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:13:09] local.INFO: IMEI packet received {"connection_id":122790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":122790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:13:10] local.INFO: TCP Data received {"connection_id":122790,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:13:10] local.INFO: Processing buffer {"connection_id":122790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:13:10] local.INFO: Packet analysis {"connection_id":122790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:13:10] local.INFO: Extracted packet for processing {"connection_id":122790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516006656001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:13:10] 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-07-05 21:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265952000,"timestamp_ms":1783265952000,"timestamp_seconds":1783265952,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ef0100"} 
[2026-07-05 21:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516006656001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516006656001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:13:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516006656001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":122790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:13:10] local.INFO: GPS data processed {"connection_id":122790,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:13:10] local.INFO: Acknowledgment sent {"connection_id":122790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:13:43] local.INFO: TCP Data received {"connection_id":122790,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:13:43] local.INFO: Processing buffer {"connection_id":122790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:13:43] local.INFO: Packet analysis {"connection_id":122790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:13:43] local.INFO: Extracted packet for processing {"connection_id":122790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:13:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516006656001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:13:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:13:43] 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-07-05 21:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783265952000,"timestamp_ms":1783265952000,"timestamp_seconds":1783265952,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ef0100"} 
[2026-07-05 21:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516006656001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516006656001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:13:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:13:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:13:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516006656001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":122790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:13:43] local.INFO: GPS data processed {"connection_id":122790,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:13:43] local.INFO: Acknowledgment sent {"connection_id":122790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:14:04] local.INFO: TCP Data received {"connection_id":122791,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:14:04] local.INFO: Processing buffer {"connection_id":122791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:14:04] local.INFO: IMEI packet received {"connection_id":122791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":122791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:14:09] local.INFO: TCP Data received {"connection_id":122791,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:14:09] local.INFO: Processing buffer {"connection_id":122791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:14:09] local.INFO: IMEI packet received {"connection_id":122791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":122791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:14:10] local.INFO: TCP Data received {"connection_id":122791,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:14:10] local.INFO: Processing buffer {"connection_id":122791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32ef0100012cb2a24007823a68004700c928..."} 
[2026-07-05 21:14:10] local.INFO: Packet analysis {"connection_id":122791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:14:10] local.INFO: Extracted packet for processing {"connection_id":122791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32ef"} 
[2026-07-05 21:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516006656001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:14:10] 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-07-05 21:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783265952000,"timestamp_ms":1783265952000,"timestamp_seconds":1783265952,"priority":1,"record_length":96,"hex_timestamp":"0000019f32ef0100"} 
[2026-07-05 21:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516006656001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516006656001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:14:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516006656001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":122791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:14:10] local.INFO: GPS data processed {"connection_id":122791,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:14:10] local.INFO: Acknowledgment sent {"connection_id":122791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:14:41] local.INFO: TCP Data received {"connection_id":122791,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:14:41] local.INFO: Processing buffer {"connection_id":122791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:14:41] local.INFO: Packet analysis {"connection_id":122791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:14:41] local.INFO: Extracted packet for processing {"connection_id":122791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:14:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516083712001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:14:41] 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-07-05 21:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783266253000,"timestamp_ms":1783266253000,"timestamp_seconds":1783266253,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f398c8"} 
[2026-07-05 21:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:14: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-07-05 21:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516083712001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516083712001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:14:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516083712001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":122791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:14:41] local.INFO: GPS data processed {"connection_id":122791,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:14:41] local.INFO: Acknowledgment sent {"connection_id":122791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:15:04] local.INFO: TCP Data received {"connection_id":122860,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:15:04] local.INFO: Processing buffer {"connection_id":122860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:15:04] local.INFO: IMEI packet received {"connection_id":122860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":122860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:15:09] local.INFO: TCP Data received {"connection_id":122860,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:15:09] local.INFO: Processing buffer {"connection_id":122860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:15:09] local.INFO: IMEI packet received {"connection_id":122860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":122860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:15:10] local.INFO: TCP Data received {"connection_id":122860,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:15:10] local.INFO: Processing buffer {"connection_id":122860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:15:10] local.INFO: Packet analysis {"connection_id":122860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:15:10] local.INFO: Extracted packet for processing {"connection_id":122860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516083712001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:15:10] 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-07-05 21:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783266253000,"timestamp_ms":1783266253000,"timestamp_seconds":1783266253,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f398c8"} 
[2026-07-05 21:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516083712001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516083712001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:15:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516083712001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":122860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:15:10] local.INFO: GPS data processed {"connection_id":122860,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:15:10] local.INFO: Acknowledgment sent {"connection_id":122860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:15:24] local.INFO: TCP Data received {"connection_id":122859,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:15:24] local.INFO: Processing buffer {"connection_id":122859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:15:24] local.INFO: IMEI packet received {"connection_id":122859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":122859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:15:41] local.INFO: TCP Data received {"connection_id":122860,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:15:41] local.INFO: Processing buffer {"connection_id":122860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:15:41] local.INFO: Packet analysis {"connection_id":122860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:15:41] local.INFO: Extracted packet for processing {"connection_id":122860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:15:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516083712001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:15:41] 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-07-05 21:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783266253000,"timestamp_ms":1783266253000,"timestamp_seconds":1783266253,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f398c8"} 
[2026-07-05 21:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:15: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-07-05 21: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-07-05 21:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516083712001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516083712001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:15:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516083712001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":122860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:15:41] local.INFO: GPS data processed {"connection_id":122860,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:15:41] local.INFO: Acknowledgment sent {"connection_id":122860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:16:03] local.INFO: TCP Data received {"connection_id":123548,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:16:03] local.INFO: Processing buffer {"connection_id":123548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:16:03] local.INFO: IMEI packet received {"connection_id":123548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":123548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:16:04] local.INFO: TCP Data received {"connection_id":123549,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:16:04] local.INFO: Processing buffer {"connection_id":123549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:16:04] local.INFO: IMEI packet received {"connection_id":123549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":123549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:16:09] local.INFO: TCP Data received {"connection_id":123549,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:16:09] local.INFO: Processing buffer {"connection_id":123549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:16:09] local.INFO: IMEI packet received {"connection_id":123549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":123549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:16:10] local.INFO: TCP Data received {"connection_id":123549,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:16:10] local.INFO: Processing buffer {"connection_id":123549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:16:10] local.INFO: Packet analysis {"connection_id":123549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:16:10] local.INFO: Extracted packet for processing {"connection_id":123549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516083712001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:16:10] 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-07-05 21:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783266253000,"timestamp_ms":1783266253000,"timestamp_seconds":1783266253,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f398c8"} 
[2026-07-05 21:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516083712001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516083712001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:16:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516083712001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":123549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:16:10] local.INFO: GPS data processed {"connection_id":123549,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:16:10] local.INFO: Acknowledgment sent {"connection_id":123549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:16:41] local.INFO: TCP Data received {"connection_id":123549,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:16:41] local.INFO: Processing buffer {"connection_id":123549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:16:41] local.INFO: Packet analysis {"connection_id":123549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:16:41] local.INFO: Extracted packet for processing {"connection_id":123549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516083712001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:16:41] 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-07-05 21:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783266253000,"timestamp_ms":1783266253000,"timestamp_seconds":1783266253,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f398c8"} 
[2026-07-05 21:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:16: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-07-05 21: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-07-05 21:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516083712001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516083712001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:16:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516083712001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":123549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:16:41] local.INFO: GPS data processed {"connection_id":123549,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:16:41] local.INFO: Acknowledgment sent {"connection_id":123549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:17:09] local.INFO: TCP Data received {"connection_id":122862,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:17:09] local.INFO: Processing buffer {"connection_id":122862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:17:09] local.INFO: IMEI packet received {"connection_id":122862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":122862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:17:14] local.INFO: TCP Data received {"connection_id":122862,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:17:14] local.INFO: Processing buffer {"connection_id":122862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:17:14] local.INFO: IMEI packet received {"connection_id":122862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":122862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:17:15] local.INFO: TCP Data received {"connection_id":122862,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:17:15] local.INFO: Processing buffer {"connection_id":122862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:17:15] local.INFO: Packet analysis {"connection_id":122862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:17:15] local.INFO: Extracted packet for processing {"connection_id":122862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:17:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:17: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-07-05 21:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516083712001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:17:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:17:15] 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-07-05 21:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783266253000,"timestamp_ms":1783266253000,"timestamp_seconds":1783266253,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f398c8"} 
[2026-07-05 21:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:17: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-07-05 21:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516083712001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516083712001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:17:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:17:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:17:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516083712001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":122862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:17:15] local.INFO: GPS data processed {"connection_id":122862,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:17:15] local.INFO: Acknowledgment sent {"connection_id":122862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:17:19] local.INFO: TCP Data received {"connection_id":122862,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:17:19] local.INFO: Processing buffer {"connection_id":122862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:17:19] local.INFO: Packet analysis {"connection_id":122862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:17:19] local.INFO: Extracted packet for processing {"connection_id":122862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:17:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516083712001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:17:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:17:19] 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-07-05 21:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783266253000,"timestamp_ms":1783266253000,"timestamp_seconds":1783266253,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f398c8"} 
[2026-07-05 21:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:17: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-07-05 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516083712001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516083712001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:17:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:17:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:17:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516083712001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":122862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:17:19] local.INFO: GPS data processed {"connection_id":122862,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:17:19] local.INFO: Acknowledgment sent {"connection_id":122862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:18:04] local.INFO: TCP Data received {"connection_id":122793,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:18:04] local.INFO: Processing buffer {"connection_id":122793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:18:04] local.INFO: IMEI packet received {"connection_id":122793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":122793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:18:09] local.INFO: TCP Data received {"connection_id":122793,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:18:09] local.INFO: Processing buffer {"connection_id":122793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:18:09] local.INFO: IMEI packet received {"connection_id":122793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":122793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:18:10] local.INFO: TCP Data received {"connection_id":122793,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:18:10] local.INFO: Processing buffer {"connection_id":122793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:18:10] local.INFO: Packet analysis {"connection_id":122793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:18:10] local.INFO: Extracted packet for processing {"connection_id":122793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516083712001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:18:10] 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-07-05 21:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783266253000,"timestamp_ms":1783266253000,"timestamp_seconds":1783266253,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f398c8"} 
[2026-07-05 21:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516083712001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516083712001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:18:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516083712001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":122793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:18:10] local.INFO: GPS data processed {"connection_id":122793,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:18:10] local.INFO: Acknowledgment sent {"connection_id":122793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:18:41] local.INFO: TCP Data received {"connection_id":122793,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:18:41] local.INFO: Processing buffer {"connection_id":122793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:18:41] local.INFO: Packet analysis {"connection_id":122793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:18:41] local.INFO: Extracted packet for processing {"connection_id":122793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516083712001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:18:41] 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-07-05 21:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783266253000,"timestamp_ms":1783266253000,"timestamp_seconds":1783266253,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f398c8"} 
[2026-07-05 21:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516083712001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516083712001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:18:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516083712001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":122793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:18:41] local.INFO: GPS data processed {"connection_id":122793,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:18:41] local.INFO: Acknowledgment sent {"connection_id":122793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:19:04] local.INFO: TCP Data received {"connection_id":124782,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:19:04] local.INFO: Processing buffer {"connection_id":124782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:19:04] local.INFO: IMEI packet received {"connection_id":124782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":124782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:19:09] local.INFO: TCP Data received {"connection_id":124782,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:19:09] local.INFO: Processing buffer {"connection_id":124782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:19:09] local.INFO: IMEI packet received {"connection_id":124782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":124782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:19:10] local.INFO: TCP Data received {"connection_id":124782,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:19:10] local.INFO: Processing buffer {"connection_id":124782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f398c8012cb2a24007823a68004500c927..."} 
[2026-07-05 21:19:10] local.INFO: Packet analysis {"connection_id":124782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:19:10] local.INFO: Extracted packet for processing {"connection_id":124782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f3"} 
[2026-07-05 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516083712001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:19:10] 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-07-05 21:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783266253000,"timestamp_ms":1783266253000,"timestamp_seconds":1783266253,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f398c8"} 
[2026-07-05 21:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516083712001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516083712001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:19:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516083712001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":124782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:19:10] local.INFO: GPS data processed {"connection_id":124782,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:19:10] local.INFO: Acknowledgment sent {"connection_id":124782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:19:41] local.INFO: TCP Data received {"connection_id":124782,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:19:41] local.INFO: Processing buffer {"connection_id":124782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:19:41] local.INFO: Packet analysis {"connection_id":124782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:19:41] local.INFO: Extracted packet for processing {"connection_id":124782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:19:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516160768001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:19:41] 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-07-05 21:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783266554000,"timestamp_ms":1783266554000,"timestamp_seconds":1783266554,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f83090"} 
[2026-07-05 21:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21: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-07-05 21: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-07-05 21:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516160768001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516160768001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:19:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516160768001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":124782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:19:41] local.INFO: GPS data processed {"connection_id":124782,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:19:41] local.INFO: Acknowledgment sent {"connection_id":124782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:20:04] local.INFO: TCP Data received {"connection_id":123552,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:20:04] local.INFO: Processing buffer {"connection_id":123552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:20:04] local.INFO: IMEI packet received {"connection_id":123552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":123552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:20:09] local.INFO: TCP Data received {"connection_id":123552,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:20:09] local.INFO: Processing buffer {"connection_id":123552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:20:09] local.INFO: IMEI packet received {"connection_id":123552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":123552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:20:13] local.INFO: TCP Data received {"connection_id":123552,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:20:13] local.INFO: Processing buffer {"connection_id":123552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:20:13] local.INFO: Packet analysis {"connection_id":123552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:20:13] local.INFO: Extracted packet for processing {"connection_id":123552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:20:13] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516160768001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:20:13] 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-07-05 21:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1783266554000,"timestamp_ms":1783266554000,"timestamp_seconds":1783266554,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f83090"} 
[2026-07-05 21:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":123552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":123552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":123552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516160768001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516160768001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:20:13] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516160768001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":123552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:20:13] local.INFO: GPS data processed {"connection_id":123552,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:20:13] local.INFO: Acknowledgment sent {"connection_id":123552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:20:45] local.INFO: TCP Data received {"connection_id":123552,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:20:45] local.INFO: Processing buffer {"connection_id":123552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:20:45] local.INFO: Packet analysis {"connection_id":123552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:20:45] local.INFO: Extracted packet for processing {"connection_id":123552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:20:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516160768001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:20:45] 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-07-05 21:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783266554000,"timestamp_ms":1783266554000,"timestamp_seconds":1783266554,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f83090"} 
[2026-07-05 21:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":123552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":123552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":123552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516160768001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516160768001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:20:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:20:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516160768001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":123552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:20:45] local.INFO: GPS data processed {"connection_id":123552,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:20:45] local.INFO: Acknowledgment sent {"connection_id":123552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:21:04] local.INFO: TCP Data received {"connection_id":122865,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:21:04] local.INFO: Processing buffer {"connection_id":122865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:21:04] local.INFO: IMEI packet received {"connection_id":122865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":122865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:21:09] local.INFO: TCP Data received {"connection_id":122865,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:21:09] local.INFO: Processing buffer {"connection_id":122865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:21:09] local.INFO: IMEI packet received {"connection_id":122865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":122865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:21:10] local.INFO: TCP Data received {"connection_id":122865,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:21:10] local.INFO: Processing buffer {"connection_id":122865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:21:10] local.INFO: Packet analysis {"connection_id":122865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:21:10] local.INFO: Extracted packet for processing {"connection_id":122865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:21:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516160768001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:21:10] 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-07-05 21:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783266554000,"timestamp_ms":1783266554000,"timestamp_seconds":1783266554,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f83090"} 
[2026-07-05 21:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516160768001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516160768001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:21:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516160768001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":122865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:21:10] local.INFO: GPS data processed {"connection_id":122865,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:21:10] local.INFO: Acknowledgment sent {"connection_id":122865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:21:24] local.INFO: TCP Data received {"connection_id":122864,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:21:24] local.INFO: Processing buffer {"connection_id":122864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:21:24] local.INFO: IMEI packet received {"connection_id":122864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":122864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:21:41] local.INFO: TCP Data received {"connection_id":122865,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:21:41] local.INFO: Processing buffer {"connection_id":122865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:21:41] local.INFO: Packet analysis {"connection_id":122865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:21:41] local.INFO: Extracted packet for processing {"connection_id":122865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:21:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516160768001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:21:41] 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-07-05 21:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783266554000,"timestamp_ms":1783266554000,"timestamp_seconds":1783266554,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f83090"} 
[2026-07-05 21:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:21: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-07-05 21: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-07-05 21:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516160768001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516160768001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:21:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516160768001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":122865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:21:41] local.INFO: GPS data processed {"connection_id":122865,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:21:41] local.INFO: Acknowledgment sent {"connection_id":122865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:22:03] local.INFO: TCP Data received {"connection_id":122794,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:22:03] local.INFO: Processing buffer {"connection_id":122794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:22:03] local.INFO: IMEI packet received {"connection_id":122794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":122794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:22:09] local.INFO: TCP Data received {"connection_id":123553,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:22:09] local.INFO: Processing buffer {"connection_id":123553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:22:09] local.INFO: IMEI packet received {"connection_id":123553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":123553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:22:14] local.INFO: TCP Data received {"connection_id":123553,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:22:14] local.INFO: Processing buffer {"connection_id":123553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:22:14] local.INFO: IMEI packet received {"connection_id":123553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":123553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:22:15] local.INFO: TCP Data received {"connection_id":123553,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:22:15] local.INFO: Processing buffer {"connection_id":123553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:22:15] local.INFO: Packet analysis {"connection_id":123553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:22:15] local.INFO: Extracted packet for processing {"connection_id":123553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:22:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516160768001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:22:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:22:15] 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-07-05 21:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783266554000,"timestamp_ms":1783266554000,"timestamp_seconds":1783266554,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f83090"} 
[2026-07-05 21:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516160768001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516160768001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:22:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:22:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:22:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516160768001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":123553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:22:15] local.INFO: GPS data processed {"connection_id":123553,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:22:15] local.INFO: Acknowledgment sent {"connection_id":123553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:22:19] local.INFO: TCP Data received {"connection_id":123553,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:22:19] local.INFO: Processing buffer {"connection_id":123553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:22:19] local.INFO: Packet analysis {"connection_id":123553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:22:19] local.INFO: Extracted packet for processing {"connection_id":123553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:22:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516160768001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:22:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:22:19] 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-07-05 21:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783266554000,"timestamp_ms":1783266554000,"timestamp_seconds":1783266554,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f83090"} 
[2026-07-05 21:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:22: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-07-05 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":123553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":123553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":123553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516160768001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516160768001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:22:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:22:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:22:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516160768001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":123553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:22:19] local.INFO: GPS data processed {"connection_id":123553,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:22:19] local.INFO: Acknowledgment sent {"connection_id":123553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:23:04] local.INFO: TCP Data received {"connection_id":122866,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:23:04] local.INFO: Processing buffer {"connection_id":122866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:23:04] local.INFO: IMEI packet received {"connection_id":122866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":122866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:23:09] local.INFO: TCP Data received {"connection_id":122866,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:23:09] local.INFO: Processing buffer {"connection_id":122866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:23:09] local.INFO: IMEI packet received {"connection_id":122866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":122866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:23:10] local.INFO: TCP Data received {"connection_id":122866,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:23:10] local.INFO: Processing buffer {"connection_id":122866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:23:10] local.INFO: Packet analysis {"connection_id":122866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:23:10] local.INFO: Extracted packet for processing {"connection_id":122866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:23:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516160768001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:23:10] 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-07-05 21:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783266554000,"timestamp_ms":1783266554000,"timestamp_seconds":1783266554,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f83090"} 
[2026-07-05 21:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516160768001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516160768001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:23:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516160768001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":122866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:23:10] local.INFO: GPS data processed {"connection_id":122866,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:23:10] local.INFO: Acknowledgment sent {"connection_id":122866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:23:41] local.INFO: TCP Data received {"connection_id":122866,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:23:41] local.INFO: Processing buffer {"connection_id":122866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:23:41] local.INFO: Packet analysis {"connection_id":122866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:23:41] local.INFO: Extracted packet for processing {"connection_id":122866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:23:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516160768001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:23:41] 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-07-05 21:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783266554000,"timestamp_ms":1783266554000,"timestamp_seconds":1783266554,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f83090"} 
[2026-07-05 21:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21: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-07-05 21: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-07-05 21:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516160768001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516160768001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:23:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516160768001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":122866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:23:41] local.INFO: GPS data processed {"connection_id":122866,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:23:41] local.INFO: Acknowledgment sent {"connection_id":122866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:24:04] local.INFO: TCP Data received {"connection_id":122796,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:24:04] local.INFO: Processing buffer {"connection_id":122796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:24:04] local.INFO: IMEI packet received {"connection_id":122796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":122796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:24:09] local.INFO: TCP Data received {"connection_id":122796,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:24:09] local.INFO: Processing buffer {"connection_id":122796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:24:09] local.INFO: IMEI packet received {"connection_id":122796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":122796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:24:10] local.INFO: TCP Data received {"connection_id":122796,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:24:10] local.INFO: Processing buffer {"connection_id":122796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32f83090012cb2a24007823a68004500c927..."} 
[2026-07-05 21:24:10] local.INFO: Packet analysis {"connection_id":122796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:24:10] local.INFO: Extracted packet for processing {"connection_id":122796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32f8"} 
[2026-07-05 21:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516160768001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:24:10] 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-07-05 21:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783266554000,"timestamp_ms":1783266554000,"timestamp_seconds":1783266554,"priority":1,"record_length":96,"hex_timestamp":"0000019f32f83090"} 
[2026-07-05 21:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516160768001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516160768001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:24:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516160768001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":122796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:24:10] local.INFO: GPS data processed {"connection_id":122796,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:24:10] local.INFO: Acknowledgment sent {"connection_id":122796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:24:41] local.INFO: TCP Data received {"connection_id":122796,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:24:41] local.INFO: Processing buffer {"connection_id":122796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:24:41] local.INFO: Packet analysis {"connection_id":122796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:24:41] local.INFO: Extracted packet for processing {"connection_id":122796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516237824001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:24:41] 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-07-05 21:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783266855000,"timestamp_ms":1783266855000,"timestamp_seconds":1783266855,"priority":1,"record_length":96,"hex_timestamp":"0000019f32fcc858"} 
[2026-07-05 21:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:24: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-07-05 21:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516237824001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516237824001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:24:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516237824001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":122796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:24:41] local.INFO: GPS data processed {"connection_id":122796,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:24:41] local.INFO: Acknowledgment sent {"connection_id":122796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:25:04] local.INFO: TCP Data received {"connection_id":122797,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:25:04] local.INFO: Processing buffer {"connection_id":122797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:25:04] local.INFO: IMEI packet received {"connection_id":122797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":122797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:25:09] local.INFO: TCP Data received {"connection_id":122797,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:25:09] local.INFO: Processing buffer {"connection_id":122797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:25:09] local.INFO: IMEI packet received {"connection_id":122797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":122797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:25:10] local.INFO: TCP Data received {"connection_id":122797,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:25:10] local.INFO: Processing buffer {"connection_id":122797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:25:10] local.INFO: Packet analysis {"connection_id":122797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:25:10] local.INFO: Extracted packet for processing {"connection_id":122797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:25:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516237824001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:25:10] 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-07-05 21:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783266855000,"timestamp_ms":1783266855000,"timestamp_seconds":1783266855,"priority":1,"record_length":96,"hex_timestamp":"0000019f32fcc858"} 
[2026-07-05 21:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516237824001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516237824001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:25:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516237824001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":122797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:25:10] local.INFO: GPS data processed {"connection_id":122797,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:25:10] local.INFO: Acknowledgment sent {"connection_id":122797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:25:41] local.INFO: TCP Data received {"connection_id":122797,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:25:41] local.INFO: Processing buffer {"connection_id":122797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:25:41] local.INFO: Packet analysis {"connection_id":122797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:25:41] local.INFO: Extracted packet for processing {"connection_id":122797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:25:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516237824001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:25:41] 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-07-05 21:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783266855000,"timestamp_ms":1783266855000,"timestamp_seconds":1783266855,"priority":1,"record_length":96,"hex_timestamp":"0000019f32fcc858"} 
[2026-07-05 21:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:25: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-07-05 21: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-07-05 21:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516237824001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516237824001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:25:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516237824001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":122797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:25:41] local.INFO: GPS data processed {"connection_id":122797,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:25:41] local.INFO: Acknowledgment sent {"connection_id":122797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:26:09] local.INFO: TCP Data received {"connection_id":122798,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:26:09] local.INFO: Processing buffer {"connection_id":122798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:26:09] local.INFO: IMEI packet received {"connection_id":122798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":122798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:26:14] local.INFO: TCP Data received {"connection_id":122798,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:26:14] local.INFO: Processing buffer {"connection_id":122798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:26:14] local.INFO: IMEI packet received {"connection_id":122798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":122798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:26:15] local.INFO: TCP Data received {"connection_id":122798,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:26:15] local.INFO: Processing buffer {"connection_id":122798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:26:15] local.INFO: Packet analysis {"connection_id":122798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:26:15] local.INFO: Extracted packet for processing {"connection_id":122798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:26:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516237824001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:26:15] 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-07-05 21:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783266855000,"timestamp_ms":1783266855000,"timestamp_seconds":1783266855,"priority":1,"record_length":96,"hex_timestamp":"0000019f32fcc858"} 
[2026-07-05 21:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516237824001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516237824001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:26:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:26:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516237824001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":122798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:26:15] local.INFO: GPS data processed {"connection_id":122798,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:26:15] local.INFO: Acknowledgment sent {"connection_id":122798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:26:19] local.INFO: TCP Data received {"connection_id":122798,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:26:19] local.INFO: Processing buffer {"connection_id":122798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:26:19] local.INFO: Packet analysis {"connection_id":122798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:26:19] local.INFO: Extracted packet for processing {"connection_id":122798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:26:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516237824001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:26:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:26:19] 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-07-05 21:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783266855000,"timestamp_ms":1783266855000,"timestamp_seconds":1783266855,"priority":1,"record_length":96,"hex_timestamp":"0000019f32fcc858"} 
[2026-07-05 21:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:26: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-07-05 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516237824001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516237824001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:26:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:26:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:26:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516237824001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":122798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:26:19] local.INFO: GPS data processed {"connection_id":122798,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:26:19] local.INFO: Acknowledgment sent {"connection_id":122798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:27:04] local.INFO: TCP Data received {"connection_id":123555,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:27:04] local.INFO: Processing buffer {"connection_id":123555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:27:04] local.INFO: IMEI packet received {"connection_id":123555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":123555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:27:09] local.INFO: TCP Data received {"connection_id":123555,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:27:09] local.INFO: Processing buffer {"connection_id":123555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:27:09] local.INFO: IMEI packet received {"connection_id":123555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":123555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:27:10] local.INFO: TCP Data received {"connection_id":123555,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:27:10] local.INFO: Processing buffer {"connection_id":123555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:27:10] local.INFO: Packet analysis {"connection_id":123555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:27:10] local.INFO: Extracted packet for processing {"connection_id":123555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:27:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516237824001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:27:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:27:10] 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-07-05 21:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783266855000,"timestamp_ms":1783266855000,"timestamp_seconds":1783266855,"priority":1,"record_length":96,"hex_timestamp":"0000019f32fcc858"} 
[2026-07-05 21:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516237824001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516237824001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:27:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:27:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:27:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516237824001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":123555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:27:10] local.INFO: GPS data processed {"connection_id":123555,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:27:10] local.INFO: Acknowledgment sent {"connection_id":123555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:27:29] local.INFO: TCP Data received {"connection_id":124784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:27:29] local.INFO: Processing buffer {"connection_id":124784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:27:29] local.INFO: IMEI packet received {"connection_id":124784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":124784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:27:41] local.INFO: TCP Data received {"connection_id":123555,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:27:41] local.INFO: Processing buffer {"connection_id":123555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:27:41] local.INFO: Packet analysis {"connection_id":123555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:27:41] local.INFO: Extracted packet for processing {"connection_id":123555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:27:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516237824001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:27:41] 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-07-05 21:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783266855000,"timestamp_ms":1783266855000,"timestamp_seconds":1783266855,"priority":1,"record_length":96,"hex_timestamp":"0000019f32fcc858"} 
[2026-07-05 21:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:27: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-07-05 21: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-07-05 21:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516237824001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516237824001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:27:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:27:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516237824001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":123555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:27:41] local.INFO: GPS data processed {"connection_id":123555,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:27:41] local.INFO: Acknowledgment sent {"connection_id":123555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:28:04] local.INFO: TCP Data received {"connection_id":122868,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:28:04] local.INFO: Processing buffer {"connection_id":122868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:28:04] local.INFO: IMEI packet received {"connection_id":122868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":122868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:28:10] local.INFO: TCP Data received {"connection_id":122869,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:28:10] local.INFO: Processing buffer {"connection_id":122869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:28:10] local.INFO: IMEI packet received {"connection_id":122869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":122869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:28:10] local.INFO: TCP Data received {"connection_id":122868,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:28:10] local.INFO: Processing buffer {"connection_id":122868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:28:10] local.INFO: IMEI packet received {"connection_id":122868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":122868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:28:11] local.INFO: TCP Data received {"connection_id":122868,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:28:11] local.INFO: Processing buffer {"connection_id":122868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:28:11] local.INFO: Packet analysis {"connection_id":122868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:28:11] local.INFO: Extracted packet for processing {"connection_id":122868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:28:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516237824001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:28:11] 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-07-05 21:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783266855000,"timestamp_ms":1783266855000,"timestamp_seconds":1783266855,"priority":1,"record_length":96,"hex_timestamp":"0000019f32fcc858"} 
[2026-07-05 21:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516237824001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516237824001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:28:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:28:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516237824001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":122868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:28:11] local.INFO: GPS data processed {"connection_id":122868,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:28:11] local.INFO: Acknowledgment sent {"connection_id":122868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:28:43] local.INFO: TCP Data received {"connection_id":122868,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:28:43] local.INFO: Processing buffer {"connection_id":122868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:28:43] local.INFO: Packet analysis {"connection_id":122868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:28:43] local.INFO: Extracted packet for processing {"connection_id":122868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:28:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516237824001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:28:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:28:43] 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-07-05 21:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783266855000,"timestamp_ms":1783266855000,"timestamp_seconds":1783266855,"priority":1,"record_length":96,"hex_timestamp":"0000019f32fcc858"} 
[2026-07-05 21:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516237824001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516237824001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:28:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:28:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:28:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516237824001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":122868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:28:43] local.INFO: GPS data processed {"connection_id":122868,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:28:43] local.INFO: Acknowledgment sent {"connection_id":122868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:29:04] local.INFO: TCP Data received {"connection_id":124785,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:29:04] local.INFO: Processing buffer {"connection_id":124785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:29:04] local.INFO: IMEI packet received {"connection_id":124785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":124785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:29:09] local.INFO: TCP Data received {"connection_id":124785,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:29:09] local.INFO: Processing buffer {"connection_id":124785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:29:09] local.INFO: IMEI packet received {"connection_id":124785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":124785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:29:34] local.INFO: TCP Data received {"connection_id":124785,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:29:34] local.INFO: Processing buffer {"connection_id":124785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f32fcc858012cb2a24007823a68004500c928..."} 
[2026-07-05 21:29:34] local.INFO: Packet analysis {"connection_id":124785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:29:34] local.INFO: Extracted packet for processing {"connection_id":124785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f32fc"} 
[2026-07-05 21:29:34] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516237824001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:29:34] 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-07-05 21:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783266855000,"timestamp_ms":1783266855000,"timestamp_seconds":1783266855,"priority":1,"record_length":96,"hex_timestamp":"0000019f32fcc858"} 
[2026-07-05 21:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":124785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":124785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":124785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516237824001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516237824001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:29:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516237824001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":124785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:29:34] local.INFO: GPS data processed {"connection_id":124785,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:29:34] local.INFO: Acknowledgment sent {"connection_id":124785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:30:09] local.INFO: TCP Data received {"connection_id":122800,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:30:09] local.INFO: Processing buffer {"connection_id":122800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:30:09] local.INFO: IMEI packet received {"connection_id":122800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":122800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:30:14] local.INFO: TCP Data received {"connection_id":122800,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:30:14] local.INFO: Processing buffer {"connection_id":122800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:30:14] local.INFO: IMEI packet received {"connection_id":122800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":122800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:30:15] local.INFO: TCP Data received {"connection_id":122800,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:30:15] local.INFO: Processing buffer {"connection_id":122800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:30:15] local.INFO: Packet analysis {"connection_id":122800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:30:15] local.INFO: Extracted packet for processing {"connection_id":122800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:30:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:30: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-07-05 21:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516314880001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:30:15] 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-07-05 21:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783267156000,"timestamp_ms":1783267156000,"timestamp_seconds":1783267156,"priority":1,"record_length":96,"hex_timestamp":"0000019f33016020"} 
[2026-07-05 21:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:30: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-07-05 21:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516314880001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516314880001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:30:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516314880001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":122800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:30:15] local.INFO: GPS data processed {"connection_id":122800,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:30:15] local.INFO: Acknowledgment sent {"connection_id":122800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:30:19] local.INFO: TCP Data received {"connection_id":122800,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:30:19] local.INFO: Processing buffer {"connection_id":122800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:30:19] local.INFO: Packet analysis {"connection_id":122800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:30:19] local.INFO: Extracted packet for processing {"connection_id":122800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:30:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516314880001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:30:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:30:19] 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-07-05 21:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783267156000,"timestamp_ms":1783267156000,"timestamp_seconds":1783267156,"priority":1,"record_length":96,"hex_timestamp":"0000019f33016020"} 
[2026-07-05 21:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:30: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-07-05 21:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516314880001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516314880001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:30:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:30:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:30:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516314880001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":122800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:30:19] local.INFO: GPS data processed {"connection_id":122800,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:30:19] local.INFO: Acknowledgment sent {"connection_id":122800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:31:04] local.INFO: TCP Data received {"connection_id":122871,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:31:04] local.INFO: Processing buffer {"connection_id":122871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:31:04] local.INFO: IMEI packet received {"connection_id":122871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":122871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:31:11] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:31:11] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:31:11] local.INFO: IMEI packet received {"connection_id":122801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":122801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:31:11] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:31:11] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:31:11] local.INFO: IMEI packet received {"connection_id":122801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":122801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:31:13] local.INFO: TCP Data received {"connection_id":122871,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:31:13] local.INFO: Processing buffer {"connection_id":122871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:31:13] local.INFO: IMEI packet received {"connection_id":122871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":122871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:31:15] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:31:15] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:31:15] local.INFO: IMEI packet received {"connection_id":122801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":122801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:31:16] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-05 21:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-05 21:31:16] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-05 21:31:16] local.INFO: Packet analysis {"connection_id":122801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 21:31:16] local.INFO: Extracted packet for processing {"connection_id":122801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-05 21:31: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-07-05 21: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-07-05 21:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:31:16] 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-07-05 21:31:16] 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-07-05 21:31:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 21:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122801,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 21:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 21:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 21:31:16] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 21:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":122801,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 21:31:16] local.ERROR: GPS data processing failed {"connection_id":122801,"error":"No valid data to process"} 
[2026-07-05 21:31:16] local.INFO: Acknowledgment sent {"connection_id":122801,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 21:31:22] local.INFO: TCP Data received {"connection_id":122871,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:31:22] local.INFO: Processing buffer {"connection_id":122871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:31:22] local.INFO: Packet analysis {"connection_id":122871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:31:22] local.INFO: Extracted packet for processing {"connection_id":122871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:31:22] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516314880001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:31:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:31:22] 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-07-05 21:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783267156000,"timestamp_ms":1783267156000,"timestamp_seconds":1783267156,"priority":1,"record_length":96,"hex_timestamp":"0000019f33016020"} 
[2026-07-05 21:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516314880001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516314880001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:31:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:31:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516314880001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":122871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:31:22] local.INFO: GPS data processed {"connection_id":122871,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:31:22] local.INFO: Acknowledgment sent {"connection_id":122871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:31:47] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-05 21:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-05 21:31:47] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-05 21:31:47] local.INFO: Packet analysis {"connection_id":122801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-05 21:31:47] local.INFO: Extracted packet for processing {"connection_id":122801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-05 21:31: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-07-05 21: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-07-05 21:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:31:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:31:47] 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-07-05 21:31:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-05 21:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":122801,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 21:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-05 21:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-05 21:31:47] local.WARNING: DEBUG: No valid data to process  
[2026-07-05 21:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":122801,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-05 21:31:47] local.ERROR: GPS data processing failed {"connection_id":122801,"error":"No valid data to process"} 
[2026-07-05 21:31:47] local.INFO: Acknowledgment sent {"connection_id":122801,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-05 21:32:04] local.INFO: TCP Data received {"connection_id":123557,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:32:04] local.INFO: Processing buffer {"connection_id":123557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:32:04] local.INFO: IMEI packet received {"connection_id":123557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":123557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:32:09] local.INFO: TCP Data received {"connection_id":123557,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:32:09] local.INFO: Processing buffer {"connection_id":123557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:32:09] local.INFO: IMEI packet received {"connection_id":123557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":123557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:32:10] local.INFO: TCP Data received {"connection_id":123557,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:32:10] local.INFO: Processing buffer {"connection_id":123557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:32:10] local.INFO: Packet analysis {"connection_id":123557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:32:10] local.INFO: Extracted packet for processing {"connection_id":123557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516314880001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:32:10] 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-07-05 21:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783267156000,"timestamp_ms":1783267156000,"timestamp_seconds":1783267156,"priority":1,"record_length":96,"hex_timestamp":"0000019f33016020"} 
[2026-07-05 21:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516314880001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516314880001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:32:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516314880001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":123557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:32:10] local.INFO: GPS data processed {"connection_id":123557,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:32:10] local.INFO: Acknowledgment sent {"connection_id":123557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:32:18] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3303c1800100000000000000000000000000..."} 
[2026-07-05 21:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3303c1800100000000000000000000000000..."} 
[2026-07-05 21:32:18] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3303c1800100000000000000000000000000..."} 
[2026-07-05 21:32:18] local.INFO: Packet analysis {"connection_id":122801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3303"} 
[2026-07-05 21:32:18] local.INFO: Extracted packet for processing {"connection_id":122801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3303"} 
[2026-07-05 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:32:18] 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-07-05 21:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783267312000,"timestamp_ms":1783267312000,"timestamp_seconds":1783267312,"priority":1,"record_length":96,"hex_timestamp":"0000019f3303c180"} 
[2026-07-05 21:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-05 21:32:18] 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-07-05 21: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-07-05 21:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:32:18] 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-07-05 21:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":122801,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:32:18] local.INFO: GPS data processed {"connection_id":122801,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:32:18] local.INFO: Acknowledgment sent {"connection_id":122801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:32:41] local.INFO: TCP Data received {"connection_id":123557,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:32:41] local.INFO: Processing buffer {"connection_id":123557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:32:41] local.INFO: Packet analysis {"connection_id":123557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:32:41] local.INFO: Extracted packet for processing {"connection_id":123557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516314880001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:32:41] 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-07-05 21:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783267156000,"timestamp_ms":1783267156000,"timestamp_seconds":1783267156,"priority":1,"record_length":96,"hex_timestamp":"0000019f33016020"} 
[2026-07-05 21:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:32: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-07-05 21:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516314880001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516314880001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:32:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516314880001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":123557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:32:41] local.INFO: GPS data processed {"connection_id":123557,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:32:41] local.INFO: Acknowledgment sent {"connection_id":123557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:32:49] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330413880100000000000000000000000000..."} 
[2026-07-05 21:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330413880100000000000000000000000000..."} 
[2026-07-05 21:32:49] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330413880100000000000000000000000000..."} 
[2026-07-05 21:32:49] local.INFO: Packet analysis {"connection_id":122801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3304"} 
[2026-07-05 21:32:49] local.INFO: Extracted packet for processing {"connection_id":122801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3304"} 
[2026-07-05 21:32:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:32:49] 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-07-05 21:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783267333000,"timestamp_ms":1783267333000,"timestamp_seconds":1783267333,"priority":1,"record_length":96,"hex_timestamp":"0000019f33041388"} 
[2026-07-05 21:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:32:49] 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-07-05 21: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-05 21:32:49] 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-07-05 21: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-07-05 21:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:32:49] 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-07-05 21:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":122801,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:32:49] local.INFO: GPS data processed {"connection_id":122801,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:32:49] local.INFO: Acknowledgment sent {"connection_id":122801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:33:12] local.INFO: TCP Data received {"connection_id":122874,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:33:12] local.INFO: Processing buffer {"connection_id":122874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:33:12] local.INFO: IMEI packet received {"connection_id":122874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":122874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:33:16] local.INFO: TCP Data received {"connection_id":122874,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:33:16] local.INFO: Processing buffer {"connection_id":122874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:33:16] local.INFO: IMEI packet received {"connection_id":122874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":122874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:33:19] local.INFO: TCP Data received {"connection_id":122874,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:33:19] local.INFO: Processing buffer {"connection_id":122874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:33:19] local.INFO: IMEI packet received {"connection_id":122874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":122874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:33:20] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330465900100000000000000000000000000..."} 
[2026-07-05 21:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330465900100000000000000000000000000..."} 
[2026-07-05 21:33:20] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330465900100000000000000000000000000..."} 
[2026-07-05 21:33:20] local.INFO: Packet analysis {"connection_id":122801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3304"} 
[2026-07-05 21:33:20] local.INFO: Extracted packet for processing {"connection_id":122801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3304"} 
[2026-07-05 21:33:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 21:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:33:20] 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-07-05 21:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783267354000,"timestamp_ms":1783267354000,"timestamp_seconds":1783267354,"priority":1,"record_length":96,"hex_timestamp":"0000019f33046590"} 
[2026-07-05 21:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:33:20] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-05 21:33:20] 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-07-05 21:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:33:20] 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-07-05 21:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":122801,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:33:20] local.INFO: GPS data processed {"connection_id":122801,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:33:20] local.INFO: Acknowledgment sent {"connection_id":122801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:33:30] local.INFO: TCP Data received {"connection_id":122874,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:33:30] local.INFO: Processing buffer {"connection_id":122874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:33:30] local.INFO: Packet analysis {"connection_id":122874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:33:30] local.INFO: Extracted packet for processing {"connection_id":122874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:33:30] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516314880001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:33:30] 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-07-05 21:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783267156000,"timestamp_ms":1783267156000,"timestamp_seconds":1783267156,"priority":1,"record_length":96,"hex_timestamp":"0000019f33016020"} 
[2026-07-05 21:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:33: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-07-05 21:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":122874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":122874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":122874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516314880001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516314880001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516314880001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":122874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:33:30] local.INFO: GPS data processed {"connection_id":122874,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:33:30] local.INFO: Acknowledgment sent {"connection_id":122874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:33:34] local.INFO: TCP Data received {"connection_id":122873,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:33:34] local.INFO: Processing buffer {"connection_id":122873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:33:34] local.INFO: IMEI packet received {"connection_id":122873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":122873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:33:51] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3304b7980100000000000000000000000000..."} 
[2026-07-05 21:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3304b7980100000000000000000000000000..."} 
[2026-07-05 21:33:51] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3304b7980100000000000000000000000000..."} 
[2026-07-05 21:33:51] local.INFO: Packet analysis {"connection_id":122801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3304"} 
[2026-07-05 21:33:51] local.INFO: Extracted packet for processing {"connection_id":122801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3304"} 
[2026-07-05 21:33:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:33:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1783267375000,"timestamp_ms":1783267375000,"timestamp_seconds":1783267375,"priority":1,"record_length":96,"hex_timestamp":"0000019f3304b798"} 
[2026-07-05 21:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:33:51] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":53,"data_length":795,"current_offset":136} 
[2026-07-05 21:33: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-07-05 21: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-07-05 21:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":122801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:33:51] 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-07-05 21:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":122801,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:33:51] local.INFO: GPS data processed {"connection_id":122801,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:33:51] local.INFO: Acknowledgment sent {"connection_id":122801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:34:04] local.INFO: TCP Data received {"connection_id":122802,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:34:04] local.INFO: Processing buffer {"connection_id":122802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:34:04] local.INFO: IMEI packet received {"connection_id":122802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":122802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:34:09] local.INFO: TCP Data received {"connection_id":124786,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:34:09] local.INFO: Processing buffer {"connection_id":124786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:34:09] local.INFO: IMEI packet received {"connection_id":124786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":124786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:34:10] local.INFO: TCP Data received {"connection_id":122802,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:34:10] local.INFO: Processing buffer {"connection_id":122802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:34:10] local.INFO: IMEI packet received {"connection_id":122802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":122802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:34:11] local.INFO: TCP Data received {"connection_id":122802,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:34:11] local.INFO: Processing buffer {"connection_id":122802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33016020012cb2a24007823a68004800c928..."} 
[2026-07-05 21:34:11] local.INFO: Packet analysis {"connection_id":122802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:34:11] local.INFO: Extracted packet for processing {"connection_id":122802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3301"} 
[2026-07-05 21:34:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516314880001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:34:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:34:11] 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-07-05 21:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783267156000,"timestamp_ms":1783267156000,"timestamp_seconds":1783267156,"priority":1,"record_length":96,"hex_timestamp":"0000019f33016020"} 
[2026-07-05 21:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":122802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":122802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":122802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516314880001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516314880001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:34:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:34:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516314880001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":122802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:34:11] local.INFO: GPS data processed {"connection_id":122802,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:34:11] local.INFO: Acknowledgment sent {"connection_id":122802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:34:23] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330509a00100000000000000000000000000..."} 
[2026-07-05 21:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330509a00100000000000000000000000000..."} 
[2026-07-05 21:34:23] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330509a00100000000000000000000000000..."} 
[2026-07-05 21:34:23] local.INFO: Packet analysis {"connection_id":122801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:34:23] local.INFO: Extracted packet for processing {"connection_id":122801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:34: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-07-05 21:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:34:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1783267396000,"timestamp_ms":1783267396000,"timestamp_seconds":1783267396,"priority":1,"record_length":96,"hex_timestamp":"0000019f330509a0"} 
[2026-07-05 21:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 21:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":122801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":122801,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:34:23] local.INFO: GPS data processed {"connection_id":122801,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:34:23] local.INFO: Acknowledgment sent {"connection_id":122801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:34:42] local.INFO: TCP Data received {"connection_id":122802,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:34:42] local.INFO: Processing buffer {"connection_id":122802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:34:42] local.INFO: Packet analysis {"connection_id":122802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:34:42] local.INFO: Extracted packet for processing {"connection_id":122802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:34:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516391936001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:34:42] 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-07-05 21:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783267457000,"timestamp_ms":1783267457000,"timestamp_seconds":1783267457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305f7e8"} 
[2026-07-05 21:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516391936001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516391936001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:34:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516391936001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":122802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:34:42] local.INFO: GPS data processed {"connection_id":122802,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:34:42] local.INFO: Acknowledgment sent {"connection_id":122802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:34:54] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f33055ba80100000000000000000000000000..."} 
[2026-07-05 21:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33055ba80100000000000000000000000000..."} 
[2026-07-05 21:34:54] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33055ba80100000000000000000000000000..."} 
[2026-07-05 21:34:54] local.INFO: Packet analysis {"connection_id":122801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:34:54] local.INFO: Extracted packet for processing {"connection_id":122801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:34: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-07-05 21:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:34:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783267417000,"timestamp_ms":1783267417000,"timestamp_seconds":1783267417,"priority":1,"record_length":96,"hex_timestamp":"0000019f33055ba8"} 
[2026-07-05 21:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-05 21:34: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-07-05 21:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":122801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:34:54] 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-07-05 21:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":122801,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:34:54] local.INFO: GPS data processed {"connection_id":122801,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:34:54] local.INFO: Acknowledgment sent {"connection_id":122801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:35:04] local.INFO: TCP Data received {"connection_id":122875,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:35:04] local.INFO: Processing buffer {"connection_id":122875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:35:04] local.INFO: IMEI packet received {"connection_id":122875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":122875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:35:09] local.INFO: TCP Data received {"connection_id":122875,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:35:09] local.INFO: Processing buffer {"connection_id":122875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:35:09] local.INFO: IMEI packet received {"connection_id":122875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":122875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:35:10] local.INFO: TCP Data received {"connection_id":122875,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:35:10] local.INFO: Processing buffer {"connection_id":122875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:35:10] local.INFO: Packet analysis {"connection_id":122875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:35:10] local.INFO: Extracted packet for processing {"connection_id":122875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516391936001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:35:10] 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-07-05 21:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783267457000,"timestamp_ms":1783267457000,"timestamp_seconds":1783267457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305f7e8"} 
[2026-07-05 21:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:35: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-07-05 21:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516391936001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516391936001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:35:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516391936001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":122875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:35:10] local.INFO: GPS data processed {"connection_id":122875,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:35:10] local.INFO: Acknowledgment sent {"connection_id":122875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:35:34] local.INFO: TCP Data received {"connection_id":122801,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305adb00100000000000000000000000000..."} 
[2026-07-05 21:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305adb00100000000000000000000000000..."} 
[2026-07-05 21:35:34] local.INFO: Processing buffer {"connection_id":122801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305adb00100000000000000000000000000..."} 
[2026-07-05 21:35:34] local.INFO: Packet analysis {"connection_id":122801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:35:34] local.INFO: Extracted packet for processing {"connection_id":122801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:35: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-07-05 21: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-07-05 21:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:35:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783267438000,"timestamp_ms":1783267438000,"timestamp_seconds":1783267438,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305adb0"} 
[2026-07-05 21:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:35:34] 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-07-05 21: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-05 21:35:34] 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-07-05 21: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-07-05 21:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":122801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":122801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:35:34] 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-07-05 21:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":122801,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:35:34] local.INFO: GPS data processed {"connection_id":122801,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:35:34] local.INFO: Acknowledgment sent {"connection_id":122801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:35:41] local.INFO: TCP Data received {"connection_id":122875,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:35:41] local.INFO: Processing buffer {"connection_id":122875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:35:41] local.INFO: Packet analysis {"connection_id":122875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:35:41] local.INFO: Extracted packet for processing {"connection_id":122875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:35:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516391936001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:35:41] 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-07-05 21:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783267457000,"timestamp_ms":1783267457000,"timestamp_seconds":1783267457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305f7e8"} 
[2026-07-05 21:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:35: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-07-05 21:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516391936001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516391936001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:35:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516391936001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":122875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:35:41] local.INFO: GPS data processed {"connection_id":122875,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:35:41] local.INFO: Acknowledgment sent {"connection_id":122875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:35:50] local.INFO: TCP Data received {"connection_id":122803,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:35:50] local.INFO: Processing buffer {"connection_id":122803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:35:50] local.INFO: IMEI packet received {"connection_id":122803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":122803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:35:55] local.INFO: TCP Data received {"connection_id":122803,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:35:55] local.INFO: Processing buffer {"connection_id":122803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:35:55] local.INFO: IMEI packet received {"connection_id":122803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":122803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:35:56] local.INFO: TCP Data received {"connection_id":122803,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305ffb80100000000000000000000000000..."} 
[2026-07-05 21:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305ffb80100000000000000000000000000..."} 
[2026-07-05 21:35:56] local.INFO: Processing buffer {"connection_id":122803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305ffb80100000000000000000000000000..."} 
[2026-07-05 21:35:56] local.INFO: Packet analysis {"connection_id":122803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:35:56] local.INFO: Extracted packet for processing {"connection_id":122803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:35:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 21:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:35:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783267459000,"timestamp_ms":1783267459000,"timestamp_seconds":1783267459,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305ffb8"} 
[2026-07-05 21:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-05 21:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:35:56] 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-07-05 21:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":122803,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:35:56] local.INFO: GPS data processed {"connection_id":122803,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:35:56] local.INFO: Acknowledgment sent {"connection_id":122803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:36:04] local.INFO: TCP Data received {"connection_id":123558,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:36:04] local.INFO: Processing buffer {"connection_id":123558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:36:04] local.INFO: IMEI packet received {"connection_id":123558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":123558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:36:09] local.INFO: TCP Data received {"connection_id":123558,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:36:09] local.INFO: Processing buffer {"connection_id":123558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:36:09] local.INFO: IMEI packet received {"connection_id":123558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":123558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:36:10] local.INFO: TCP Data received {"connection_id":123558,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:36:10] local.INFO: Processing buffer {"connection_id":123558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:36:10] local.INFO: Packet analysis {"connection_id":123558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:36:10] local.INFO: Extracted packet for processing {"connection_id":123558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516391936001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:10] 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-07-05 21:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783267457000,"timestamp_ms":1783267457000,"timestamp_seconds":1783267457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305f7e8"} 
[2026-07-05 21:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516391936001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516391936001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:36:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516391936001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":123558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:36:10] local.INFO: GPS data processed {"connection_id":123558,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:36:10] local.INFO: Acknowledgment sent {"connection_id":123558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:36:27] local.INFO: TCP Data received {"connection_id":122803,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330651c00100000000000000000000000000..."} 
[2026-07-05 21:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330651c00100000000000000000000000000..."} 
[2026-07-05 21:36:27] local.INFO: Processing buffer {"connection_id":122803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330651c00100000000000000000000000000..."} 
[2026-07-05 21:36:27] local.INFO: Packet analysis {"connection_id":122803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3306"} 
[2026-07-05 21:36:27] local.INFO: Extracted packet for processing {"connection_id":122803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3306"} 
[2026-07-05 21:36:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 21:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783267480000,"timestamp_ms":1783267480000,"timestamp_seconds":1783267480,"priority":1,"record_length":96,"hex_timestamp":"0000019f330651c0"} 
[2026-07-05 21:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-05 21:36:27] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436516815360,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:27] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185964,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:27] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-7926335344172072959,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:27] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3675994476381208576,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:27] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832521,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3415699724151095502,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299054798,"corrected_to":0} 
[2026-07-05 21:36:27] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2415984640,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:27] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2744254464,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:27] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,111,85,24,241,157,16,163,159,173,10,66,91,9,1,240,238,227,51,4,113,205,101,239,2,48,109,108],"length":534,"final_offset":664,"validated_count":28,"validation_warnings":[{"io_id":205,"original":1299054798,"validated":0}]} 
[2026-07-05 21:36:27] 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-07-05 21:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:36:27] 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-07-05 21:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":122803,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:36:27] local.INFO: GPS data processed {"connection_id":122803,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:36:27] local.INFO: Acknowledgment sent {"connection_id":122803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:36:41] local.INFO: TCP Data received {"connection_id":123558,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:36:41] local.INFO: Processing buffer {"connection_id":123558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:36:41] local.INFO: Packet analysis {"connection_id":123558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:36:41] local.INFO: Extracted packet for processing {"connection_id":123558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516391936001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:41] 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-07-05 21:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783267457000,"timestamp_ms":1783267457000,"timestamp_seconds":1783267457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305f7e8"} 
[2026-07-05 21:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:36: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-07-05 21: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-07-05 21:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516391936001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516391936001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:36:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516391936001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":123558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:36:41] local.INFO: GPS data processed {"connection_id":123558,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:36:41] local.INFO: Acknowledgment sent {"connection_id":123558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:36:58] local.INFO: TCP Data received {"connection_id":122803,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3306a3c80100000000000000000000000000..."} 
[2026-07-05 21:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3306a3c80100000000000000000000000000..."} 
[2026-07-05 21:36:58] local.INFO: Processing buffer {"connection_id":122803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3306a3c80100000000000000000000000000..."} 
[2026-07-05 21:36:58] local.INFO: Packet analysis {"connection_id":122803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3306"} 
[2026-07-05 21:36:58] local.INFO: Extracted packet for processing {"connection_id":122803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3306"} 
[2026-07-05 21:36:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:36:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783267501000,"timestamp_ms":1783267501000,"timestamp_seconds":1783267501,"priority":1,"record_length":96,"hex_timestamp":"0000019f3306a3c8"} 
[2026-07-05 21:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:36:58] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":173,"data_length":795,"current_offset":136} 
[2026-07-05 21:36: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-07-05 21: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-07-05 21:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":122803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":122803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":122803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:36:58] 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-07-05 21:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":122803,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:36:58] local.INFO: GPS data processed {"connection_id":122803,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:36:58] local.INFO: Acknowledgment sent {"connection_id":122803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:37:04] local.INFO: TCP Data received {"connection_id":122804,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:37:04] local.INFO: Processing buffer {"connection_id":122804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:37:04] local.INFO: IMEI packet received {"connection_id":122804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":122804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:37:09] local.INFO: TCP Data received {"connection_id":122804,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:37:09] local.INFO: Processing buffer {"connection_id":122804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:37:09] local.INFO: IMEI packet received {"connection_id":122804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":122804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:37:10] local.INFO: TCP Data received {"connection_id":122804,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:37:10] local.INFO: Processing buffer {"connection_id":122804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:37:10] local.INFO: Packet analysis {"connection_id":122804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:37:10] local.INFO: Extracted packet for processing {"connection_id":122804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:37:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516391936001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:37:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:37:10] 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-07-05 21:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783267457000,"timestamp_ms":1783267457000,"timestamp_seconds":1783267457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305f7e8"} 
[2026-07-05 21:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:37: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-07-05 21: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-07-05 21:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516391936001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516391936001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:37:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:37:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:37:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516391936001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":122804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:37:10] local.INFO: GPS data processed {"connection_id":122804,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:37:10] local.INFO: Acknowledgment sent {"connection_id":122804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:37:29] local.INFO: TCP Data received {"connection_id":122803,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3306f5d00100000000000000000000000000..."} 
[2026-07-05 21:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3306f5d00100000000000000000000000000..."} 
[2026-07-05 21:37:29] local.INFO: Processing buffer {"connection_id":122803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3306f5d00100000000000000000000000000..."} 
[2026-07-05 21:37:29] local.INFO: Packet analysis {"connection_id":122803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3306"} 
[2026-07-05 21:37:29] local.INFO: Extracted packet for processing {"connection_id":122803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3306"} 
[2026-07-05 21:37: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-07-05 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-07-05 21:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:37:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,29,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783267522000,"timestamp_ms":1783267522000,"timestamp_seconds":1783267522,"priority":1,"record_length":96,"hex_timestamp":"0000019f3306f5d0"} 
[2026-07-05 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-07-05 21:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:37: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-07-05 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-07-05 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-07-05 21:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":122803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":122803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":122803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:37:29] 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-07-05 21:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":122803,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:37:29] local.INFO: GPS data processed {"connection_id":122803,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:37:29] local.INFO: Acknowledgment sent {"connection_id":122803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:37:41] local.INFO: TCP Data received {"connection_id":122804,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:37:41] local.INFO: Processing buffer {"connection_id":122804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:37:41] local.INFO: Packet analysis {"connection_id":122804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:37:41] local.INFO: Extracted packet for processing {"connection_id":122804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:37:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516391936001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:37:41] 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-07-05 21:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783267457000,"timestamp_ms":1783267457000,"timestamp_seconds":1783267457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305f7e8"} 
[2026-07-05 21:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:37: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-07-05 21:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516391936001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516391936001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:37:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516391936001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":122804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:37:41] local.INFO: GPS data processed {"connection_id":122804,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:37:41] local.INFO: Acknowledgment sent {"connection_id":122804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:37:49] local.INFO: TCP Data received {"connection_id":122877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:37:49] local.INFO: Processing buffer {"connection_id":122877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:37:49] local.INFO: IMEI packet received {"connection_id":122877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":122877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:37:50] local.INFO: TCP Data received {"connection_id":122877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:37:50] local.INFO: Processing buffer {"connection_id":122877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:37:50] local.INFO: IMEI packet received {"connection_id":122877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":122877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:37:55] local.INFO: TCP Data received {"connection_id":122877,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:37:55] local.INFO: Processing buffer {"connection_id":122877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:37:55] local.INFO: IMEI packet received {"connection_id":122877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":122877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:38:01] local.INFO: TCP Data received {"connection_id":122877,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330747d80100000000000000000000000000..."} 
[2026-07-05 21:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330747d80100000000000000000000000000..."} 
[2026-07-05 21:38:01] local.INFO: Processing buffer {"connection_id":122877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330747d80100000000000000000000000000..."} 
[2026-07-05 21:38:01] local.INFO: Packet analysis {"connection_id":122877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3307"} 
[2026-07-05 21:38:01] local.INFO: Extracted packet for processing {"connection_id":122877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3307"} 
[2026-07-05 21:38: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-07-05 21: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-07-05 21:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,253,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783267543000,"timestamp_ms":1783267543000,"timestamp_seconds":1783267543,"priority":1,"record_length":96,"hex_timestamp":"0000019f330747d8"} 
[2026-07-05 21:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:38:01] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":5,"data_length":795,"current_offset":136} 
[2026-07-05 21:38:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:01] local.WARNING: Large IO value detected {"io_id":163,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579679349528526872,"corrected_to":0} 
[2026-07-05 21:38:01] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2818637824,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:01] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181929061908736,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:01] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480589,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:01] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2744254464,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:01] local.WARNING: Large IO value detected {"io_id":69,"raw_value":144119587232869888,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:01] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,29,85,24,241,157,16,163,159,10,66,111,81,255,1,240,227,51,4,113,205,91,239,2,48,108,69],"length":484,"final_offset":614,"validated_count":27,"validation_warnings":[{"io_id":205,"original":5579679349528526872,"validated":0}]} 
[2026-07-05 21:38:01] 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-07-05 21:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":122877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":122877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":122877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:38:01] 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-07-05 21:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":122877,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:38:01] local.INFO: GPS data processed {"connection_id":122877,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:38:01] local.INFO: Acknowledgment sent {"connection_id":122877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:38:04] local.INFO: TCP Data received {"connection_id":122805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:38:04] local.INFO: Processing buffer {"connection_id":122805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:38:04] local.INFO: IMEI packet received {"connection_id":122805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":122805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:38:09] local.INFO: TCP Data received {"connection_id":122805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:38:09] local.INFO: Processing buffer {"connection_id":122805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:38:09] local.INFO: IMEI packet received {"connection_id":122805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":122805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:38:10] local.INFO: TCP Data received {"connection_id":122805,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:38:10] local.INFO: Processing buffer {"connection_id":122805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:38:10] local.INFO: Packet analysis {"connection_id":122805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:38:10] local.INFO: Extracted packet for processing {"connection_id":122805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516391936001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:10] 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-07-05 21:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783267457000,"timestamp_ms":1783267457000,"timestamp_seconds":1783267457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305f7e8"} 
[2026-07-05 21:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:38: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-07-05 21: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-07-05 21:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516391936001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516391936001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:38:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516391936001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":122805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:38:10] local.INFO: GPS data processed {"connection_id":122805,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:38:10] local.INFO: Acknowledgment sent {"connection_id":122805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:38:32] local.INFO: TCP Data received {"connection_id":122877,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330799e00100000000000000000000000000..."} 
[2026-07-05 21:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330799e00100000000000000000000000000..."} 
[2026-07-05 21:38:32] local.INFO: Processing buffer {"connection_id":122877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330799e00100000000000000000000000000..."} 
[2026-07-05 21:38:32] local.INFO: Packet analysis {"connection_id":122877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3307"} 
[2026-07-05 21:38:32] local.INFO: Extracted packet for processing {"connection_id":122877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3307"} 
[2026-07-05 21:38: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-07-05 21: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-07-05 21:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,253,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783267564000,"timestamp_ms":1783267564000,"timestamp_seconds":1783267564,"priority":1,"record_length":96,"hex_timestamp":"0000019f330799e0"} 
[2026-07-05 21:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:38:32] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":255,"data_length":795,"current_offset":136} 
[2026-07-05 21:38: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-07-05 21: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-07-05 21:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":122877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":122877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":122877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:38:32] 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-07-05 21:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":122877,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:38:32] local.INFO: GPS data processed {"connection_id":122877,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:38:32] local.INFO: Acknowledgment sent {"connection_id":122877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:38:41] local.INFO: TCP Data received {"connection_id":122805,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:38:41] local.INFO: Processing buffer {"connection_id":122805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:38:41] local.INFO: Packet analysis {"connection_id":122805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:38:41] local.INFO: Extracted packet for processing {"connection_id":122805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516391936001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:41] 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-07-05 21:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783267457000,"timestamp_ms":1783267457000,"timestamp_seconds":1783267457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305f7e8"} 
[2026-07-05 21:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:38: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-07-05 21: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-07-05 21:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516391936001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516391936001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:38:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516391936001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":122805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:38:41] local.INFO: GPS data processed {"connection_id":122805,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:38:41] local.INFO: Acknowledgment sent {"connection_id":122805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:38:51] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:38:51] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:38:51] local.INFO: IMEI packet received {"connection_id":124789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":124789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:38:53] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:38:53] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:38:53] local.INFO: IMEI packet received {"connection_id":124789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":124789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:38:56] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:38:56] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:38:56] local.INFO: IMEI packet received {"connection_id":124789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":124789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:38:57] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3307ebe80100000000000000000000000000..."} 
[2026-07-05 21:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3307ebe80100000000000000000000000000..."} 
[2026-07-05 21:38:57] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3307ebe80100000000000000000000000000..."} 
[2026-07-05 21:38:57] local.INFO: Packet analysis {"connection_id":124789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3307"} 
[2026-07-05 21:38:57] local.INFO: Extracted packet for processing {"connection_id":124789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3307"} 
[2026-07-05 21:38:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 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-07-05 21:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102636738983231488,"note":"Value kept but may cause issues"} 
[2026-07-05 21:38:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,253,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783267585000,"timestamp_ms":1783267585000,"timestamp_seconds":1783267585,"priority":1,"record_length":96,"hex_timestamp":"0000019f3307ebe8"} 
[2026-07-05 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-07-05 21:38:57] 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-07-05 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-05 21:38: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-07-05 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-07-05 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-07-05 21:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":124789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":124789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":124789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:38:57] 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-07-05 21:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":124789,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:38:57] local.INFO: GPS data processed {"connection_id":124789,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:38:57] local.INFO: Acknowledgment sent {"connection_id":124789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:39:14] local.INFO: TCP Data received {"connection_id":122880,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:39:14] local.INFO: Processing buffer {"connection_id":122880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:39:14] local.INFO: IMEI packet received {"connection_id":122880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":122880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:39:19] local.INFO: TCP Data received {"connection_id":122880,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:39:19] local.INFO: Processing buffer {"connection_id":122880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:39:19] local.INFO: IMEI packet received {"connection_id":122880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":122880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:39:20] local.INFO: TCP Data received {"connection_id":122880,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:39:20] local.INFO: Processing buffer {"connection_id":122880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3305f7e8012cb2a24007823a68004400c928..."} 
[2026-07-05 21:39:20] local.INFO: Packet analysis {"connection_id":122880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:39:20] local.INFO: Extracted packet for processing {"connection_id":122880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3305"} 
[2026-07-05 21:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516391936001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:20] 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-07-05 21:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783267457000,"timestamp_ms":1783267457000,"timestamp_seconds":1783267457,"priority":1,"record_length":96,"hex_timestamp":"0000019f3305f7e8"} 
[2026-07-05 21:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516391936001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516391936001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:39:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516391936001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":122880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:39:20] local.INFO: GPS data processed {"connection_id":122880,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:39:20] local.INFO: Acknowledgment sent {"connection_id":122880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:39:20] local.INFO: TCP Data received {"connection_id":122880,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:39:20] local.INFO: Processing buffer {"connection_id":122880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:39:20] local.INFO: Packet analysis {"connection_id":122880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:39:20] local.INFO: Extracted packet for processing {"connection_id":122880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:20] 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-07-05 21:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 21:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:39:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":122880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:39:20] local.INFO: GPS data processed {"connection_id":122880,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:39:20] local.INFO: Acknowledgment sent {"connection_id":122880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:39:28] local.INFO: TCP Data received {"connection_id":124789,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a5ce8012d7c6d8005d8c5e8003a016208..."} 
[2026-07-05 21:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a5ce8012d7c6d8005d8c5e8003a016208..."} 
[2026-07-05 21:39:28] local.INFO: Processing buffer {"connection_id":124789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a5ce8012d7c6d8005d8c5e8003a016208..."} 
[2026-07-05 21:39:28] local.INFO: Packet analysis {"connection_id":124789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:39:28] local.INFO: Extracted packet for processing {"connection_id":124789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763129216,"raw_latitude":98092520,"longitude_deg":76.3129216,"latitude_deg":9.809252,"altitude":58,"angle":354,"satellites":8,"speed":48,"hex_longitude":"2d7c6d80","hex_latitude":"05d8c5e8","is_valid_coordinates":true} 
[2026-07-05 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-07-05 21:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516540672001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102640063287918592,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966244670738749440,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783267745000,"timestamp_ms":1783267745000,"timestamp_seconds":1783267745,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a5ce8"} 
[2026-07-05 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-07-05 21:39: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-07-05 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":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:39:28] 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-07-05 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-07-05 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-07-05 21:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:39:28] 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-07-05 21:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516540672001,"66":12341,"196":206,"85":15104,"24":48,"16":102640063287918592,"45":8966244670738749440},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-05 21:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516540672001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:39:28] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-05 21:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102640063287918592,"km_value":102640063287918.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966244670738749440,"description":"Unknown IO ID 45"} 
[2026-07-05 21:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516540672001,"power":12341,"unknown_196":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8966244670738749440}} 
[2026-07-05 21:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":124789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:39:28] local.INFO: GPS data processed {"connection_id":124789,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:39:28] local.INFO: Acknowledgment sent {"connection_id":124789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:39:39] local.INFO: TCP Data received {"connection_id":122879,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:39:39] local.INFO: Processing buffer {"connection_id":122879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:39:39] local.INFO: IMEI packet received {"connection_id":122879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":122879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:39:50] local.INFO: TCP Data received {"connection_id":122881,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:39:50] local.INFO: Processing buffer {"connection_id":122881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:39:50] local.INFO: IMEI packet received {"connection_id":122881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":122881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:39:54] local.INFO: TCP Data received {"connection_id":122881,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:39:54] local.INFO: Processing buffer {"connection_id":122881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:39:54] local.INFO: IMEI packet received {"connection_id":122881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":122881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:39:55] local.INFO: TCP Data received {"connection_id":122881,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:39:55] local.INFO: Processing buffer {"connection_id":122881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:39:55] local.INFO: IMEI packet received {"connection_id":122881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":122881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:39:56] local.INFO: TCP Data received {"connection_id":122881,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a7c28012d7c6c4005d8e9a8003201610a..."} 
[2026-07-05 21:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a7c28012d7c6c4005d8e9a8003201610a..."} 
[2026-07-05 21:39:56] local.INFO: Processing buffer {"connection_id":122881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a7c28012d7c6c4005d8e9a8003201610a..."} 
[2026-07-05 21:39:56] local.INFO: Packet analysis {"connection_id":122881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:39:56] local.INFO: Extracted packet for processing {"connection_id":122881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763128896,"raw_latitude":98101672,"longitude_deg":76.3128896,"latitude_deg":9.8101672,"altitude":50,"angle":353,"satellites":10,"speed":42,"hex_longitude":"2d7c6c40","hex_latitude":"05d8e9a8","is_valid_coordinates":true} 
[2026-07-05 21:39: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-07-05 21:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516542720001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102640505669550080,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965963195764566016,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783267753000,"timestamp_ms":1783267753000,"timestamp_seconds":1783267753,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a7c28"} 
[2026-07-05 21:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-05 21:39:56] 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-07-05 21:39: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-07-05 21:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:39:56] 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-07-05 21:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516542720001,"66":12374,"196":206,"85":15104,"24":42,"16":102640505669550080,"45":8965963195764566016},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-05 21:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516542720001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:39:56] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-05 21:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102640505669550080,"km_value":102640505669550.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965963195764566016,"description":"Unknown IO ID 45"} 
[2026-07-05 21:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516542720001,"power":12374,"unknown_196":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8965963195764566016}} 
[2026-07-05 21:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":122881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:39:56] local.INFO: GPS data processed {"connection_id":122881,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:39:56] local.INFO: Acknowledgment sent {"connection_id":122881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:39:59] local.INFO: TCP Data received {"connection_id":122881,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a9b68012d7c6a8005d90e58003101620b..."} 
[2026-07-05 21:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a9b68012d7c6a8005d90e58003101620b..."} 
[2026-07-05 21:39:59] local.INFO: Processing buffer {"connection_id":122881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a9b68012d7c6a8005d90e58003101620b..."} 
[2026-07-05 21:39:59] local.INFO: Packet analysis {"connection_id":122881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:39:59] local.INFO: Extracted packet for processing {"connection_id":122881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763128448,"raw_latitude":98111064,"longitude_deg":76.3128448,"latitude_deg":9.8111064,"altitude":49,"angle":354,"satellites":11,"speed":50,"hex_longitude":"2d7c6a80","hex_latitude":"05d90e58","is_valid_coordinates":true} 
[2026-07-05 21:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516544768001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102640960936083456,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965611352046020608,"note":"Value kept but may cause issues"} 
[2026-07-05 21:39:59] 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-07-05 21:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783267761000,"timestamp_ms":1783267761000,"timestamp_seconds":1783267761,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a9b68"} 
[2026-07-05 21:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:39:59] 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-07-05 21:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-05 21:39:59] 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-07-05 21:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":122881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":122881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":122881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:39:59] 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-07-05 21:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516544768001,"66":12232,"197":206,"85":15104,"24":50,"16":102640960936083456,"45":8965611352046020608},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-05 21:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516544768001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:39:59] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-05 21:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102640960936083456,"km_value":102640960936083.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965611352046020608,"description":"Unknown IO ID 45"} 
[2026-07-05 21:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516544768001,"power":12232,"unknown_197":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8965611352046020608}} 
[2026-07-05 21:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":122881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:39:59] local.INFO: GPS data processed {"connection_id":122881,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:39:59] local.INFO: Acknowledgment sent {"connection_id":122881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:40:04] local.INFO: TCP Data received {"connection_id":124790,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:40:04] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:40:04] local.INFO: IMEI packet received {"connection_id":124790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":124790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:40:09] local.INFO: TCP Data received {"connection_id":124790,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:40:09] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:40:09] local.INFO: IMEI packet received {"connection_id":124790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":124790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:40:10] local.INFO: TCP Data received {"connection_id":124790,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:40:10] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:40:10] local.INFO: Packet analysis {"connection_id":124790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:40:10] local.INFO: Extracted packet for processing {"connection_id":124790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:40:10] 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-07-05 21:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 21:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:40:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":124790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:40:10] local.INFO: GPS data processed {"connection_id":124790,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:40:10] local.INFO: Acknowledgment sent {"connection_id":124790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:40:13] local.INFO: TCP Data received {"connection_id":123559,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:40:13] local.INFO: Processing buffer {"connection_id":123559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:40:13] local.INFO: IMEI packet received {"connection_id":123559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":123559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:40:30] local.INFO: TCP Data received {"connection_id":122881,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330ab6c0012d7c680005d934d8003001620a..."} 
[2026-07-05 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330ab6c0012d7c680005d934d8003001620a..."} 
[2026-07-05 21:40:30] local.INFO: Processing buffer {"connection_id":122881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330ab6c0012d7c680005d934d8003001620a..."} 
[2026-07-05 21:40:30] local.INFO: Packet analysis {"connection_id":122881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:40:30] local.INFO: Extracted packet for processing {"connection_id":122881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763127808,"raw_latitude":98120920,"longitude_deg":76.3127808,"latitude_deg":9.812092,"altitude":48,"angle":354,"satellites":10,"speed":59,"hex_longitude":"2d7c6800","hex_latitude":"05d934d8","is_valid_coordinates":true} 
[2026-07-05 21:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516546816001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102641441972420608,"note":"Value kept but may cause issues"} 
[2026-07-05 21:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965118770839181312,"note":"Value kept but may cause issues"} 
[2026-07-05 21:40:30] 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-07-05 21:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783267768000,"timestamp_ms":1783267768000,"timestamp_seconds":1783267768,"priority":1,"record_length":96,"hex_timestamp":"0000019f330ab6c0"} 
[2026-07-05 21:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:40:30] 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-07-05 21:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:40:30] 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-07-05 21:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":122881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":122881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":122881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:40:30] 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-07-05 21:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516546816001,"66":12428,"197":206,"85":15104,"24":59,"16":102641441972420608,"45":8965118770839181312},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-05 21:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516546816001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:40:30] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-05 21:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102641441972420608,"km_value":102641441972420.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965118770839181312,"description":"Unknown IO ID 45"} 
[2026-07-05 21:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516546816001,"power":12428,"unknown_197":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8965118770839181312}} 
[2026-07-05 21:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":122881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:40:30] local.INFO: GPS data processed {"connection_id":122881,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:40:30] local.INFO: Acknowledgment sent {"connection_id":122881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:40:41] local.INFO: TCP Data received {"connection_id":124790,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:40:41] local.INFO: Processing buffer {"connection_id":124790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:40:41] local.INFO: Packet analysis {"connection_id":124790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:40:41] local.INFO: Extracted packet for processing {"connection_id":124790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:40:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:40:41] 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-07-05 21:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 21:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:40:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":124790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:40:41] local.INFO: GPS data processed {"connection_id":124790,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:40:41] local.INFO: Acknowledgment sent {"connection_id":124790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:40:55] local.INFO: TCP Data received {"connection_id":123560,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:40:55] local.INFO: Processing buffer {"connection_id":123560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:40:55] local.INFO: IMEI packet received {"connection_id":123560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":123560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:40:59] local.INFO: TCP Data received {"connection_id":123560,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:40:59] local.INFO: Processing buffer {"connection_id":123560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:40:59] local.INFO: IMEI packet received {"connection_id":123560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":123560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:41:00] local.INFO: TCP Data received {"connection_id":123560,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330bd3e8012d7c1bc005daca200026015b06..."} 
[2026-07-05 21:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330bd3e8012d7c1bc005daca200026015b06..."} 
[2026-07-05 21:41:00] local.INFO: Processing buffer {"connection_id":123560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330bd3e8012d7c1bc005daca200026015b06..."} 
[2026-07-05 21:41:00] local.INFO: Packet analysis {"connection_id":123560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330b"} 
[2026-07-05 21:41:00] local.INFO: Extracted packet for processing {"connection_id":123560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330b"} 
[2026-07-05 21:41:00] local.INFO: GPS Element Parsed {"raw_longitude":763108288,"raw_latitude":98224672,"longitude_deg":76.3108288,"latitude_deg":9.8224672,"altitude":38,"angle":347,"satellites":6,"speed":56,"hex_longitude":"2d7c1bc0","hex_latitude":"05daca20","is_valid_coordinates":true} 
[2026-07-05 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-07-05 21:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516565504001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102646608818077696,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945204416263546880,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783267841000,"timestamp_ms":1783267841000,"timestamp_seconds":1783267841,"priority":1,"record_length":96,"hex_timestamp":"0000019f330bd3e8"} 
[2026-07-05 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-07-05 21:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 21:41:00] 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-07-05 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-07-05 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-07-05 21:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":123560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":123560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":123560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:41:00] 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-07-05 21:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516565504001,"66":12232,"187":206,"85":15104,"24":56,"16":102646608818077696,"45":8945204416263546880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516565504001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:41:00] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102646608818077696,"km_value":102646608818077.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945204416263546880,"description":"Unknown IO ID 45"} 
[2026-07-05 21:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516565504001,"power":12232,"unknown_187":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8945204416263546880}} 
[2026-07-05 21:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":123560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:41:00] local.INFO: GPS data processed {"connection_id":123560,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:41:00] local.INFO: Acknowledgment sent {"connection_id":123560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:41:01] local.INFO: TCP Data received {"connection_id":123560,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330bf328012d7c120005daeda0002501590b..."} 
[2026-07-05 21:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330bf328012d7c120005daeda0002501590b..."} 
[2026-07-05 21:41:01] local.INFO: Processing buffer {"connection_id":123560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330bf328012d7c120005daeda0002501590b..."} 
[2026-07-05 21:41:01] local.INFO: Packet analysis {"connection_id":123560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330b"} 
[2026-07-05 21:41:01] local.INFO: Extracted packet for processing {"connection_id":123560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330b"} 
[2026-07-05 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":763105792,"raw_latitude":98233760,"longitude_deg":76.3105792,"latitude_deg":9.823376,"altitude":37,"angle":345,"satellites":11,"speed":42,"hex_longitude":"2d7c1200","hex_latitude":"05daeda0","is_valid_coordinates":true} 
[2026-07-05 21:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516567296001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102647068379578368,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942952616452300800,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783267849000,"timestamp_ms":1783267849000,"timestamp_seconds":1783267849,"priority":1,"record_length":96,"hex_timestamp":"0000019f330bf328"} 
[2026-07-05 21:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:41:01] 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-07-05 21:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:41: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-07-05 21:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":123560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":123560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":123560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:41:01] 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-07-05 21:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516567296001,"66":12461,"187":206,"85":15104,"24":42,"16":102647068379578368,"45":8942952616452300800},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516567296001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:41:01] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102647068379578368,"km_value":102647068379578.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942952616452300800,"description":"Unknown IO ID 45"} 
[2026-07-05 21:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516567296001,"power":12461,"unknown_187":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8942952616452300800}} 
[2026-07-05 21:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":123560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:41:01] local.INFO: GPS data processed {"connection_id":123560,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:41:01] local.INFO: Acknowledgment sent {"connection_id":123560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:41:08] local.INFO: TCP Data received {"connection_id":122882,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:41:08] local.INFO: Processing buffer {"connection_id":122882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:41:08] local.INFO: IMEI packet received {"connection_id":122882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":122882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:41:09] local.INFO: TCP Data received {"connection_id":122882,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:41:09] local.INFO: Processing buffer {"connection_id":122882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:41:09] local.INFO: IMEI packet received {"connection_id":122882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":122882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:41:09] local.INFO: TCP Data received {"connection_id":122882,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:41:09] local.INFO: Processing buffer {"connection_id":122882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:41:09] local.INFO: Packet analysis {"connection_id":122882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:41:09] local.INFO: Extracted packet for processing {"connection_id":122882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:41:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:09] 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-07-05 21:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 21:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:41:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:41:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:41:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":122882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:41:09] local.INFO: GPS data processed {"connection_id":122882,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:41:09] local.INFO: Acknowledgment sent {"connection_id":122882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:41:14] local.INFO: TCP Data received {"connection_id":122882,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:41:14] local.INFO: Processing buffer {"connection_id":122882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:41:14] local.INFO: Packet analysis {"connection_id":122882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:41:14] local.INFO: Extracted packet for processing {"connection_id":122882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:41:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:14] 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-07-05 21:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 21:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:41:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:41:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:41:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":122882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:41:14] local.INFO: GPS data processed {"connection_id":122882,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:41:14] local.INFO: Acknowledgment sent {"connection_id":122882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:41:32] local.INFO: TCP Data received {"connection_id":123560,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f330c1650012d7c088005db0f60002401570a..."} 
[2026-07-05 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330c1650012d7c088005db0f60002401570a..."} 
[2026-07-05 21:41:32] local.INFO: Processing buffer {"connection_id":123560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330c1650012d7c088005db0f60002401570a..."} 
[2026-07-05 21:41:32] local.INFO: Packet analysis {"connection_id":123560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:41:32] local.INFO: Extracted packet for processing {"connection_id":123560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763103360,"raw_latitude":98242400,"longitude_deg":76.310336,"latitude_deg":9.82424,"altitude":36,"angle":343,"satellites":10,"speed":44,"hex_longitude":"2d7c0880","hex_latitude":"05db0f60","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516569344001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102647502171275264,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940208235431698432,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783267858000,"timestamp_ms":1783267858000,"timestamp_seconds":1783267858,"priority":1,"record_length":96,"hex_timestamp":"0000019f330c1650"} 
[2026-07-05 21:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:41:32] 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-07-05 21: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-05 21:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":123560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":123560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":123560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:41:32] 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-07-05 21:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516569344001,"66":12287,"187":206,"85":15104,"24":44,"16":102647502171275264,"45":8940208235431698432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516569344001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:41:32] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102647502171275264,"km_value":102647502171275.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940208235431698432,"description":"Unknown IO ID 45"} 
[2026-07-05 21:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516569344001,"power":12287,"unknown_187":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8940208235431698432}} 
[2026-07-05 21:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":123560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:41:32] local.INFO: GPS data processed {"connection_id":123560,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:41:32] local.INFO: Acknowledgment sent {"connection_id":123560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:41:45] local.INFO: TCP Data received {"connection_id":122882,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:41:45] local.INFO: Processing buffer {"connection_id":122882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:41:45] local.INFO: Packet analysis {"connection_id":122882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:41:45] local.INFO: Extracted packet for processing {"connection_id":122882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:41:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:45] 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-07-05 21:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 21:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:41:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:41:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":122882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:41:45] local.INFO: GPS data processed {"connection_id":122882,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:41:45] local.INFO: Acknowledgment sent {"connection_id":122882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:41:50] local.INFO: TCP Data received {"connection_id":122883,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:41:50] local.INFO: Processing buffer {"connection_id":122883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:41:50] local.INFO: IMEI packet received {"connection_id":122883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":122883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:41:55] local.INFO: TCP Data received {"connection_id":122883,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:41:55] local.INFO: Processing buffer {"connection_id":122883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:41:55] local.INFO: IMEI packet received {"connection_id":122883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":122883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:41:56] local.INFO: TCP Data received {"connection_id":122883,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f330c3d60012d7c004005db3198002201560a..."} 
[2026-07-05 21:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330c3d60012d7c004005db3198002201560a..."} 
[2026-07-05 21:41:56] local.INFO: Processing buffer {"connection_id":122883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330c3d60012d7c004005db3198002201560a..."} 
[2026-07-05 21:41:56] local.INFO: Packet analysis {"connection_id":122883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:41:56] local.INFO: Extracted packet for processing {"connection_id":122883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763101248,"raw_latitude":98251160,"longitude_deg":76.3101248,"latitude_deg":9.825116,"altitude":34,"angle":342,"satellites":10,"speed":29,"hex_longitude":"2d7c0040","hex_latitude":"05db3198","is_valid_coordinates":true} 
[2026-07-05 21:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516571648001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102647940257939456,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937534223155159040,"note":"Value kept but may cause issues"} 
[2026-07-05 21:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783267868000,"timestamp_ms":1783267868000,"timestamp_seconds":1783267868,"priority":1,"record_length":96,"hex_timestamp":"0000019f330c3d60"} 
[2026-07-05 21:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-05 21:41: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-07-05 21:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:41:56] 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-07-05 21:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516571648001,"66":12200,"187":206,"85":15104,"24":29,"16":102647940257939456,"45":8937534223155159040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516571648001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:41:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102647940257939456,"km_value":102647940257939.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937534223155159040,"description":"Unknown IO ID 45"} 
[2026-07-05 21:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516571648001,"power":12200,"unknown_187":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8937534223155159040}} 
[2026-07-05 21:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":122883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:41:56] local.INFO: GPS data processed {"connection_id":122883,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:41:56] local.INFO: Acknowledgment sent {"connection_id":122883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:42:04] local.INFO: TCP Data received {"connection_id":122807,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:42:04] local.INFO: Processing buffer {"connection_id":122807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:42:04] local.INFO: IMEI packet received {"connection_id":122807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":122807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:42:09] local.INFO: TCP Data received {"connection_id":122807,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:42:09] local.INFO: Processing buffer {"connection_id":122807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:42:09] local.INFO: IMEI packet received {"connection_id":122807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":122807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:42:10] local.INFO: TCP Data received {"connection_id":122807,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:42:10] local.INFO: Processing buffer {"connection_id":122807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:42:10] local.INFO: Packet analysis {"connection_id":122807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:42:10] local.INFO: Extracted packet for processing {"connection_id":122807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:42:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:10] 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-07-05 21:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 21:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:42:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:42:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:42:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":122807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:42:10] local.INFO: GPS data processed {"connection_id":122807,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:42:10] local.INFO: Acknowledgment sent {"connection_id":122807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:42:27] local.INFO: TCP Data received {"connection_id":122883,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f330c4d00012d7bff4005db3c780020014a0c..."} 
[2026-07-05 21:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330c4d00012d7bff4005db3c780020014a0c..."} 
[2026-07-05 21:42:27] local.INFO: Processing buffer {"connection_id":122883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330c4d00012d7bff4005db3c780020014a0c..."} 
[2026-07-05 21:42:27] local.INFO: Packet analysis {"connection_id":122883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:42:27] local.INFO: Extracted packet for processing {"connection_id":122883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763100992,"raw_latitude":98253944,"longitude_deg":76.3100992,"latitude_deg":9.8253944,"altitude":32,"angle":330,"satellites":12,"speed":18,"hex_longitude":"2d7bff40","hex_latitude":"05db3c78","is_valid_coordinates":true} 
[2026-07-05 21:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516574208001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102648090581794816,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935212054599538688,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783267872000,"timestamp_ms":1783267872000,"timestamp_seconds":1783267872,"priority":1,"record_length":96,"hex_timestamp":"0000019f330c4d00"} 
[2026-07-05 21:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-05 21:42:27] 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-07-05 21:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:42:27] 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-07-05 21:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516574208001,"66":12287,"187":206,"85":15104,"24":18,"16":102648090581794816,"45":8935212054599538688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516574208001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:42:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102648090581794816,"km_value":102648090581794.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935212054599538688,"description":"Unknown IO ID 45"} 
[2026-07-05 21:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516574208001,"power":12287,"unknown_187":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8935212054599538688}} 
[2026-07-05 21:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":122883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:42:28] local.INFO: GPS data processed {"connection_id":122883,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:42:28] local.INFO: Acknowledgment sent {"connection_id":122883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:42:41] local.INFO: TCP Data received {"connection_id":122807,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:42:41] local.INFO: Processing buffer {"connection_id":122807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:42:41] local.INFO: Packet analysis {"connection_id":122807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:42:41] local.INFO: Extracted packet for processing {"connection_id":122807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:42:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 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-07-05 21:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:41] 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-07-05 21:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 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-07-05 21:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:42: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-07-05 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-07-05 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-07-05 21:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:42:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:42:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":122807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:42:41] local.INFO: GPS data processed {"connection_id":122807,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:42:41] local.INFO: Acknowledgment sent {"connection_id":122807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:42:50] local.INFO: TCP Data received {"connection_id":123561,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:42:50] local.INFO: Processing buffer {"connection_id":123561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:42:50] local.INFO: IMEI packet received {"connection_id":123561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":123561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:42:55] local.INFO: TCP Data received {"connection_id":123561,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:42:55] local.INFO: Processing buffer {"connection_id":123561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:42:55] local.INFO: IMEI packet received {"connection_id":123561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":123561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:42:56] local.INFO: TCP Data received {"connection_id":123561,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f330c54d0012d7bfe8005db3fc0001d01580c..."} 
[2026-07-05 21:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330c54d0012d7bfe8005db3fc0001d01580c..."} 
[2026-07-05 21:42:56] local.INFO: Processing buffer {"connection_id":123561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330c54d0012d7bfe8005db3fc0001d01580c..."} 
[2026-07-05 21:42:56] local.INFO: Packet analysis {"connection_id":123561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:42:56] local.INFO: Extracted packet for processing {"connection_id":123561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763100800,"raw_latitude":98254784,"longitude_deg":76.31008,"latitude_deg":9.8254784,"altitude":29,"angle":344,"satellites":12,"speed":15,"hex_longitude":"2d7bfe80","hex_latitude":"05db3fc0","is_valid_coordinates":true} 
[2026-07-05 21:42: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-07-05 21:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516575232001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102648133531467776,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934930579623540736,"note":"Value kept but may cause issues"} 
[2026-07-05 21:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783267874000,"timestamp_ms":1783267874000,"timestamp_seconds":1783267874,"priority":1,"record_length":96,"hex_timestamp":"0000019f330c54d0"} 
[2026-07-05 21:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:42: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-07-05 21:42: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-07-05 21:42: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-07-05 21:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":123561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":123561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":123561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:42:56] 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-07-05 21:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516575232001,"66":12232,"187":206,"85":15104,"24":15,"16":102648133531467776,"45":8934930579623540736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516575232001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:42:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102648133531467776,"km_value":102648133531467.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934930579623540736,"description":"Unknown IO ID 45"} 
[2026-07-05 21:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516575232001,"power":12232,"unknown_187":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8934930579623540736}} 
[2026-07-05 21:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":123561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:42:56] local.INFO: GPS data processed {"connection_id":123561,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:42:56] local.INFO: Acknowledgment sent {"connection_id":123561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:43:04] local.INFO: TCP Data received {"connection_id":122884,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:43:04] local.INFO: Processing buffer {"connection_id":122884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:43:04] local.INFO: IMEI packet received {"connection_id":122884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":122884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:43:09] local.INFO: TCP Data received {"connection_id":122884,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:43:09] local.INFO: Processing buffer {"connection_id":122884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:43:09] local.INFO: IMEI packet received {"connection_id":122884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":122884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:43:10] local.INFO: TCP Data received {"connection_id":122884,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:43:10] local.INFO: Processing buffer {"connection_id":122884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:43:10] local.INFO: Packet analysis {"connection_id":122884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:43:10] local.INFO: Extracted packet for processing {"connection_id":122884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:10] 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-07-05 21:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 21:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:43:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":122884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:43:10] local.INFO: GPS data processed {"connection_id":122884,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:43:10] local.INFO: Acknowledgment sent {"connection_id":122884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:43:27] local.INFO: TCP Data received {"connection_id":123561,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f330c7028012d7c030005db48480017015b0c..."} 
[2026-07-05 21:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330c7028012d7c030005db48480017015b0c..."} 
[2026-07-05 21:43:27] local.INFO: Processing buffer {"connection_id":123561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330c7028012d7c030005db48480017015b0c..."} 
[2026-07-05 21:43:27] local.INFO: Packet analysis {"connection_id":123561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:43:27] local.INFO: Extracted packet for processing {"connection_id":123561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763101952,"raw_latitude":98256968,"longitude_deg":76.3101952,"latitude_deg":9.8256968,"altitude":23,"angle":347,"satellites":12,"speed":0,"hex_longitude":"2d7c0300","hex_latitude":"05db4848","is_valid_coordinates":true} 
[2026-07-05 21:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516575744001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102648266675453952,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934719473391222784,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783267881000,"timestamp_ms":1783267881000,"timestamp_seconds":1783267881,"priority":1,"record_length":96,"hex_timestamp":"0000019f330c7028"} 
[2026-07-05 21:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:43:27] 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-07-05 21: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 21:43: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-07-05 21: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-07-05 21:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":123561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":123561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":123561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:43:27] 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-07-05 21:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516575744001,"66":12993,"187":206,"85":15104,"24":0,"16":102648266675453952,"45":8934719473391222784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516575744001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:43:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102648266675453952,"km_value":102648266675453.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934719473391222784,"description":"Unknown IO ID 45"} 
[2026-07-05 21:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516575744001,"power":12993,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8934719473391222784}} 
[2026-07-05 21:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":123561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:43:27] local.INFO: GPS data processed {"connection_id":123561,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:43:27] local.INFO: Acknowledgment sent {"connection_id":123561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:43:41] local.INFO: TCP Data received {"connection_id":122884,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:43:41] local.INFO: Processing buffer {"connection_id":122884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:43:41] local.INFO: Packet analysis {"connection_id":122884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:43:41] local.INFO: Extracted packet for processing {"connection_id":122884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:41] 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-07-05 21:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 21:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21: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-07-05 21: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-07-05 21:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:43:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":122884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:43:41] local.INFO: GPS data processed {"connection_id":122884,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:43:41] local.INFO: Acknowledgment sent {"connection_id":122884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:43:50] local.INFO: TCP Data received {"connection_id":122886,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:43:50] local.INFO: Processing buffer {"connection_id":122886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:43:50] local.INFO: IMEI packet received {"connection_id":122886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":122886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:43:55] local.INFO: TCP Data received {"connection_id":122886,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:43:55] local.INFO: Processing buffer {"connection_id":122886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:43:55] local.INFO: IMEI packet received {"connection_id":122886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":122886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:43:56] local.INFO: TCP Data received {"connection_id":122886,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f330c7028012d7c030005db48480017015b0c..."} 
[2026-07-05 21:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330c7028012d7c030005db48480017015b0c..."} 
[2026-07-05 21:43:56] local.INFO: Processing buffer {"connection_id":122886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330c7028012d7c030005db48480017015b0c..."} 
[2026-07-05 21:43:56] local.INFO: Packet analysis {"connection_id":122886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:43:56] local.INFO: Extracted packet for processing {"connection_id":122886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330c"} 
[2026-07-05 21:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763101952,"raw_latitude":98256968,"longitude_deg":76.3101952,"latitude_deg":9.8256968,"altitude":23,"angle":347,"satellites":12,"speed":0,"hex_longitude":"2d7c0300","hex_latitude":"05db4848","is_valid_coordinates":true} 
[2026-07-05 21:43:56] 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-07-05 21:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516577536001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102648266675453952,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935986110786979840,"note":"Value kept but may cause issues"} 
[2026-07-05 21:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783267881000,"timestamp_ms":1783267881000,"timestamp_seconds":1783267881,"priority":1,"record_length":96,"hex_timestamp":"0000019f330c7028"} 
[2026-07-05 21:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-05 21:43:56] 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-07-05 21:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:43:56] 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-07-05 21:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516577536001,"66":12993,"187":206,"85":15104,"24":0,"16":102648266675453952,"45":8935986110786979840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516577536001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:43:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102648266675453952,"km_value":102648266675453.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935986110786979840,"description":"Unknown IO ID 45"} 
[2026-07-05 21:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516577536001,"power":12993,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8935986110786979840}} 
[2026-07-05 21:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":122886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:43:56] local.INFO: GPS data processed {"connection_id":122886,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:43:56] local.INFO: Acknowledgment sent {"connection_id":122886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:44:09] local.INFO: TCP Data received {"connection_id":123562,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:44:09] local.INFO: Processing buffer {"connection_id":123562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:44:09] local.INFO: IMEI packet received {"connection_id":123562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":123562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:44:14] local.INFO: TCP Data received {"connection_id":123562,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:44:14] local.INFO: Processing buffer {"connection_id":123562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:44:14] local.INFO: IMEI packet received {"connection_id":123562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":123562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:44:15] local.INFO: TCP Data received {"connection_id":123562,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:44:15] local.INFO: Processing buffer {"connection_id":123562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:44:15] local.INFO: Packet analysis {"connection_id":123562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:44:15] local.INFO: Extracted packet for processing {"connection_id":123562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:44:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:44: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-07-05 21:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:44:15] 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-07-05 21:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 21:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:44: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-07-05 21:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:44:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:44:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":123562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:44:15] local.INFO: GPS data processed {"connection_id":123562,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:44:15] local.INFO: Acknowledgment sent {"connection_id":123562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:44:19] local.INFO: TCP Data received {"connection_id":123562,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:44:19] local.INFO: Processing buffer {"connection_id":123562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330a8fb0012cb2a24007823a68004800c928..."} 
[2026-07-05 21:44:19] local.INFO: Packet analysis {"connection_id":123562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:44:19] local.INFO: Extracted packet for processing {"connection_id":123562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330a"} 
[2026-07-05 21:44:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516468992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:44:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:44:19] 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-07-05 21:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783267758000,"timestamp_ms":1783267758000,"timestamp_seconds":1783267758,"priority":1,"record_length":96,"hex_timestamp":"0000019f330a8fb0"} 
[2026-07-05 21:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:44: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-07-05 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":123562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":123562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":123562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516468992001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516468992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:44:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:44:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:44:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516468992001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":123562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:44:19] local.INFO: GPS data processed {"connection_id":123562,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:44:19] local.INFO: Acknowledgment sent {"connection_id":123562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:44:27] local.INFO: TCP Data received {"connection_id":122886,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f330e9ec0012d7c040005db47f00016015b12..."} 
[2026-07-05 21:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330e9ec0012d7c040005db47f00016015b12..."} 
[2026-07-05 21:44:27] local.INFO: Processing buffer {"connection_id":122886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330e9ec0012d7c040005db47f00016015b12..."} 
[2026-07-05 21:44:27] local.INFO: Packet analysis {"connection_id":122886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330e"} 
[2026-07-05 21:44:27] local.INFO: Extracted packet for processing {"connection_id":122886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330e"} 
[2026-07-05 21:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763102208,"raw_latitude":98256880,"longitude_deg":76.3102208,"latitude_deg":9.825688,"altitude":22,"angle":347,"satellites":18,"speed":0,"hex_longitude":"2d7c0400","hex_latitude":"05db47f0","is_valid_coordinates":true} 
[2026-07-05 21:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516577536001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102648266675453952,"note":"Value kept but may cause issues"} 
[2026-07-05 21:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935986110786979840,"note":"Value kept but may cause issues"} 
[2026-07-05 21:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783268024000,"timestamp_ms":1783268024000,"timestamp_seconds":1783268024,"priority":1,"record_length":96,"hex_timestamp":"0000019f330e9ec0"} 
[2026-07-05 21:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:44:27] 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-07-05 21:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-05 21:44:27] 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-07-05 21:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:44:27] 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-07-05 21:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516577536001,"66":12917,"185":206,"85":15104,"24":0,"16":102648266675453952,"45":8935986110786979840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-05 21:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516577536001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:44:27] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-05 21:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102648266675453952,"km_value":102648266675453.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935986110786979840,"description":"Unknown IO ID 45"} 
[2026-07-05 21:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516577536001,"power":12917,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8935986110786979840}} 
[2026-07-05 21:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":122886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:44:27] local.INFO: GPS data processed {"connection_id":122886,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:44:27] local.INFO: Acknowledgment sent {"connection_id":122886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:44:51] local.INFO: TCP Data received {"connection_id":123563,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:44:51] local.INFO: Processing buffer {"connection_id":123563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:44:51] local.INFO: IMEI packet received {"connection_id":123563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":123563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:44:55] local.INFO: TCP Data received {"connection_id":123563,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:44:55] local.INFO: Processing buffer {"connection_id":123563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:44:55] local.INFO: IMEI packet received {"connection_id":123563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":123563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:45:00] local.INFO: TCP Data received {"connection_id":123563,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:00] local.INFO: Processing buffer {"connection_id":123563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:00] local.INFO: IMEI packet received {"connection_id":123563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":123563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:45:01] local.INFO: TCP Data received {"connection_id":123563,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f330e9ec0012d7c040005db47f00016015b12..."} 
[2026-07-05 21:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330e9ec0012d7c040005db47f00016015b12..."} 
[2026-07-05 21:45:01] local.INFO: Processing buffer {"connection_id":123563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330e9ec0012d7c040005db47f00016015b12..."} 
[2026-07-05 21:45:01] local.INFO: Packet analysis {"connection_id":123563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330e"} 
[2026-07-05 21:45:01] local.INFO: Extracted packet for processing {"connection_id":123563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330e"} 
[2026-07-05 21:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763102208,"raw_latitude":98256880,"longitude_deg":76.3102208,"latitude_deg":9.825688,"altitude":22,"angle":347,"satellites":18,"speed":0,"hex_longitude":"2d7c0400","hex_latitude":"05db47f0","is_valid_coordinates":true} 
[2026-07-05 21:45:01] 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-07-05 21:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516614144001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102648266675453952,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585763667968,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783268024000,"timestamp_ms":1783268024000,"timestamp_seconds":1783268024,"priority":1,"record_length":96,"hex_timestamp":"0000019f330e9ec0"} 
[2026-07-05 21:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:45:01] 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-07-05 21: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-05 21:45:01] 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-07-05 21: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-07-05 21:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":123563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":123563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":123563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:45:01] 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-07-05 21:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516614144001,"66":12917,"185":206,"85":15104,"24":0,"16":102648266675453952,"45":8936267585763667968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-05 21:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516614144001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:45:01] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-05 21:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102648266675453952,"km_value":102648266675453.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585763667968,"description":"Unknown IO ID 45"} 
[2026-07-05 21:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516614144001,"power":12917,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936267585763667968}} 
[2026-07-05 21:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":123563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:45:01] local.INFO: GPS data processed {"connection_id":123563,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:45:01] local.INFO: Acknowledgment sent {"connection_id":123563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:45:04] local.INFO: TCP Data received {"connection_id":122810,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:45:04] local.INFO: Processing buffer {"connection_id":122810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:45:04] local.INFO: IMEI packet received {"connection_id":122810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":122810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:45:09] local.INFO: TCP Data received {"connection_id":122810,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:45:09] local.INFO: Processing buffer {"connection_id":122810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:45:09] local.INFO: IMEI packet received {"connection_id":122810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":122810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:45:09] local.INFO: TCP Data received {"connection_id":123563,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f330ed570012d7c048005db4aa00015000110..."} 
[2026-07-05 21:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330ed570012d7c048005db4aa00015000110..."} 
[2026-07-05 21:45:09] local.INFO: Processing buffer {"connection_id":123563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330ed570012d7c048005db4aa00015000110..."} 
[2026-07-05 21:45:09] local.INFO: Packet analysis {"connection_id":123563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330e"} 
[2026-07-05 21:45:09] local.INFO: Extracted packet for processing {"connection_id":123563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330e"} 
[2026-07-05 21:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98257568,"longitude_deg":76.3102336,"latitude_deg":9.8257568,"altitude":21,"angle":1,"satellites":16,"speed":6,"hex_longitude":"2d7c0480","hex_latitude":"05db4aa0","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516614144001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102648305330159616,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585763667968,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783268038000,"timestamp_ms":1783268038000,"timestamp_seconds":1783268038,"priority":1,"record_length":96,"hex_timestamp":"0000019f330ed570"} 
[2026-07-05 21:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:45:09] 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-07-05 21: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-05 21:45:09] 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-07-05 21: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-07-05 21:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":123563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":123563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":123563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:45:09] 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-07-05 21:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516614144001,"66":10939,"185":206,"85":15104,"24":6,"16":102648305330159616,"45":8936267585763667968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-05 21:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516614144001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:45:09] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-05 21:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102648305330159616,"km_value":102648305330159.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585763667968,"description":"Unknown IO ID 45"} 
[2026-07-05 21:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516614144001,"power":10939,"unknown_185":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8936267585763667968}} 
[2026-07-05 21:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":123563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:45:09] local.INFO: GPS data processed {"connection_id":123563,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:45:09] local.INFO: Acknowledgment sent {"connection_id":123563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:45:10] local.INFO: TCP Data received {"connection_id":122810,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:45:10] local.INFO: Processing buffer {"connection_id":122810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:45:10] local.INFO: Packet analysis {"connection_id":122810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:45:10] local.INFO: Extracted packet for processing {"connection_id":122810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516546048001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:10] 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-07-05 21:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268059000,"timestamp_ms":1783268059000,"timestamp_seconds":1783268059,"priority":1,"record_length":96,"hex_timestamp":"0000019f330f2778"} 
[2026-07-05 21:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516546048001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516546048001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:45:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516546048001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":122810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:45:10] local.INFO: GPS data processed {"connection_id":122810,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:45:10] local.INFO: Acknowledgment sent {"connection_id":122810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:45:39] local.INFO: TCP Data received {"connection_id":122809,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:45:39] local.INFO: Processing buffer {"connection_id":122809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:45:39] local.INFO: IMEI packet received {"connection_id":122809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":122809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:45:41] local.INFO: TCP Data received {"connection_id":122810,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:45:41] local.INFO: Processing buffer {"connection_id":122810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:45:41] local.INFO: Packet analysis {"connection_id":122810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:45:41] local.INFO: Extracted packet for processing {"connection_id":122810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516546048001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:45:41] 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-07-05 21:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268059000,"timestamp_ms":1783268059000,"timestamp_seconds":1783268059,"priority":1,"record_length":96,"hex_timestamp":"0000019f330f2778"} 
[2026-07-05 21:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:45: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-07-05 21: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-07-05 21:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516546048001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516546048001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:45:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516546048001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":122810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:45:41] local.INFO: GPS data processed {"connection_id":122810,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:45:41] local.INFO: Acknowledgment sent {"connection_id":122810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:45:48] local.INFO: TCP Data received {"connection_id":122887,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:48] local.INFO: Processing buffer {"connection_id":122887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:48] local.INFO: IMEI packet received {"connection_id":122887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":122887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:45:50] local.INFO: TCP Data received {"connection_id":122887,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:50] local.INFO: Processing buffer {"connection_id":122887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:50] local.INFO: IMEI packet received {"connection_id":122887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":122887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:45:55] local.INFO: TCP Data received {"connection_id":122887,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:55] local.INFO: Processing buffer {"connection_id":122887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:45:55] local.INFO: IMEI packet received {"connection_id":122887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":122887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:46:00] local.INFO: TCP Data received {"connection_id":122887,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f330ee8f8012d7c044005db50980015015e0e..."} 
[2026-07-05 21:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330ee8f8012d7c044005db50980015015e0e..."} 
[2026-07-05 21:46:00] local.INFO: Processing buffer {"connection_id":122887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330ee8f8012d7c044005db50980015015e0e..."} 
[2026-07-05 21:46:00] local.INFO: Packet analysis {"connection_id":122887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330e"} 
[2026-07-05 21:46:00] local.INFO: Extracted packet for processing {"connection_id":122887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330e"} 
[2026-07-05 21:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98259096,"longitude_deg":76.3102272,"latitude_deg":9.8259096,"altitude":21,"angle":350,"satellites":14,"speed":18,"hex_longitude":"2d7c0440","hex_latitude":"05db5098","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516617728001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102648378344603648,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323252199424,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783268043000,"timestamp_ms":1783268043000,"timestamp_seconds":1783268043,"priority":1,"record_length":96,"hex_timestamp":"0000019f330ee8f8"} 
[2026-07-05 21:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:46: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-07-05 21: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":42,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-05 21:46:00] 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-07-05 21: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-07-05 21:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":122887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":122887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":122887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:46:00] 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-07-05 21:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516617728001,"66":11874,"185":206,"85":15104,"24":18,"16":102648378344603648,"45":8936408323252199424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-05 21:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516617728001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:46:00] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-05 21:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102648378344603648,"km_value":102648378344603.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323252199424,"description":"Unknown IO ID 45"} 
[2026-07-05 21:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516617728001,"power":11874,"unknown_185":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8936408323252199424}} 
[2026-07-05 21:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":122887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:46:00] local.INFO: GPS data processed {"connection_id":122887,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:46:00] local.INFO: Acknowledgment sent {"connection_id":122887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:46:03] local.INFO: TCP Data received {"connection_id":124792,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:46:03] local.INFO: Processing buffer {"connection_id":124792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:46:03] local.INFO: IMEI packet received {"connection_id":124792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":124792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:46:04] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:46:04] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:46:04] local.INFO: IMEI packet received {"connection_id":124793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":124793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:46:09] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:46:09] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:46:09] local.INFO: IMEI packet received {"connection_id":124793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":124793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:46:10] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:46:10] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:46:10] local.INFO: Packet analysis {"connection_id":124793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:46:10] local.INFO: Extracted packet for processing {"connection_id":124793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:46:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516546048001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:10] 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-07-05 21:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268059000,"timestamp_ms":1783268059000,"timestamp_seconds":1783268059,"priority":1,"record_length":96,"hex_timestamp":"0000019f330f2778"} 
[2026-07-05 21:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516546048001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516546048001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:46:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:46:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516546048001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":124793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:46:10] local.INFO: GPS data processed {"connection_id":124793,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:46:10] local.INFO: Acknowledgment sent {"connection_id":124793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:46:32] local.INFO: TCP Data received {"connection_id":122887,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331113a8012d7c214005db1e98001300a00f..."} 
[2026-07-05 21:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331113a8012d7c214005db1e98001300a00f..."} 
[2026-07-05 21:46:32] local.INFO: Processing buffer {"connection_id":122887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331113a8012d7c214005db1e98001300a00f..."} 
[2026-07-05 21:46:32] local.INFO: Packet analysis {"connection_id":122887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3311"} 
[2026-07-05 21:46:32] local.INFO: Extracted packet for processing {"connection_id":122887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3311"} 
[2026-07-05 21:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763109696,"raw_latitude":98246296,"longitude_deg":76.3109696,"latitude_deg":9.8246296,"altitude":19,"angle":160,"satellites":15,"speed":6,"hex_longitude":"2d7c2140","hex_latitude":"05db1e98","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516654848001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102650044791914496,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944359991341488128,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783268185000,"timestamp_ms":1783268185000,"timestamp_seconds":1783268185,"priority":1,"record_length":96,"hex_timestamp":"0000019f331113a8"} 
[2026-07-05 21:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436701364736,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185964,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":175,"raw_value":-8430738502437568511,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3679421860286397456,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832572,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570984747214,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":192,"raw_value":422007509227929762,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1245349,"corrected_to":0} 
[2026-07-05 21:46:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797207758,"corrected_to":0} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2449526190,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2945581056,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3676700672,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":20,"raw_value":50399414178545664,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.WARNING: Large IO value detected {"io_id":11,"raw_value":7318349395132420,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:32] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,186,85,24,241,157,16,175,159,4,45,128,33,19,14,10,66,252,64,209,192,1,240,200,227,51,219,113,205,28,13,239,47,168,2,108,5,20,11],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":200,"original":1245349,"validated":0},{"io_id":205,"original":2797207758,"validated":0}]} 
[2026-07-05 21:46:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369258174082973696,"timestamp_seconds":1369258174082973.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 21:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":122887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":122887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":122887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:46:32] 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-07-05 21:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516654848001,"66":12385,"186":206,"85":15104,"24":6,"16":102650044791914496,"45":8944359991341488128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-05 21:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516654848001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:46:32] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-05 21:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102650044791914496,"km_value":102650044791914.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944359991341488128,"description":"Unknown IO ID 45"} 
[2026-07-05 21:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516654848001,"power":12385,"unknown_186":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8944359991341488128}} 
[2026-07-05 21:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":122887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:46:32] local.INFO: GPS data processed {"connection_id":122887,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:46:32] local.INFO: Acknowledgment sent {"connection_id":122887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:46:41] local.INFO: TCP Data received {"connection_id":124793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:46:41] local.INFO: Processing buffer {"connection_id":124793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:46:41] local.INFO: Packet analysis {"connection_id":124793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:46:41] local.INFO: Extracted packet for processing {"connection_id":124793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516546048001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:41] 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-07-05 21:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268059000,"timestamp_ms":1783268059000,"timestamp_seconds":1783268059,"priority":1,"record_length":96,"hex_timestamp":"0000019f330f2778"} 
[2026-07-05 21:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:46: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-07-05 21: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-07-05 21:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516546048001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516546048001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:46:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516546048001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":124793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:46:41] local.INFO: GPS data processed {"connection_id":124793,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:46:41] local.INFO: Acknowledgment sent {"connection_id":124793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:46:50] local.INFO: TCP Data received {"connection_id":123564,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:46:50] local.INFO: Processing buffer {"connection_id":123564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:46:50] local.INFO: IMEI packet received {"connection_id":123564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":123564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:46:51] local.INFO: TCP Data received {"connection_id":123564,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:46:51] local.INFO: Processing buffer {"connection_id":123564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:46:51] local.INFO: IMEI packet received {"connection_id":123564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":123564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:46:55] local.INFO: TCP Data received {"connection_id":123564,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:46:55] local.INFO: Processing buffer {"connection_id":123564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:46:55] local.INFO: IMEI packet received {"connection_id":123564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":123564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:46:57] local.INFO: TCP Data received {"connection_id":123564,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33111b78012d7c218005db1df00013008f0e..."} 
[2026-07-05 21:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33111b78012d7c218005db1df00013008f0e..."} 
[2026-07-05 21:46:57] local.INFO: Processing buffer {"connection_id":123564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33111b78012d7c218005db1df00013008f0e..."} 
[2026-07-05 21:46:57] local.INFO: Packet analysis {"connection_id":123564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3311"} 
[2026-07-05 21:46:57] local.INFO: Extracted packet for processing {"connection_id":123564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3311"} 
[2026-07-05 21:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763109760,"raw_latitude":98246128,"longitude_deg":76.310976,"latitude_deg":9.8246128,"altitude":19,"angle":143,"satellites":14,"speed":3,"hex_longitude":"2d7c2180","hex_latitude":"05db1df0","is_valid_coordinates":true} 
[2026-07-05 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-07-05 21:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516655360001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102650053381849088,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944500728829745152,"note":"Value kept but may cause issues"} 
[2026-07-05 21:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783268187000,"timestamp_ms":1783268187000,"timestamp_seconds":1783268187,"priority":1,"record_length":96,"hex_timestamp":"0000019f33111b78"} 
[2026-07-05 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-07-05 21:46:57] 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-07-05 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-05 21:46: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-07-05 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-07-05 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-07-05 21:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":123564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":123564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":123564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:46:57] 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-07-05 21:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516655360001,"66":12200,"186":206,"85":15104,"24":3,"16":102650053381849088,"45":8944500728829745152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-05 21:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516655360001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:46:57] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-05 21:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102650053381849088,"km_value":102650053381849.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944500728829745152,"description":"Unknown IO ID 45"} 
[2026-07-05 21:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516655360001,"power":12200,"unknown_186":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8944500728829745152}} 
[2026-07-05 21:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":123564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:46:57] local.INFO: GPS data processed {"connection_id":123564,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:46:57] local.INFO: Acknowledgment sent {"connection_id":123564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:47:01] local.INFO: TCP Data received {"connection_id":123564,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33111f60012d7c220005db1da80013007a0e..."} 
[2026-07-05 21:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33111f60012d7c220005db1da80013007a0e..."} 
[2026-07-05 21:47:01] local.INFO: Processing buffer {"connection_id":123564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33111f60012d7c220005db1da80013007a0e..."} 
[2026-07-05 21:47:01] local.INFO: Packet analysis {"connection_id":123564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3311"} 
[2026-07-05 21:47:01] local.INFO: Extracted packet for processing {"connection_id":123564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3311"} 
[2026-07-05 21:47:01] local.INFO: GPS Element Parsed {"raw_longitude":763109888,"raw_latitude":98246056,"longitude_deg":76.3109888,"latitude_deg":9.8246056,"altitude":19,"angle":122,"satellites":14,"speed":5,"hex_longitude":"2d7c2200","hex_latitude":"05db1da8","is_valid_coordinates":true} 
[2026-07-05 21:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516655872001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102650061971783680,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944571097573879808,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783268188000,"timestamp_ms":1783268188000,"timestamp_seconds":1783268188,"priority":1,"record_length":96,"hex_timestamp":"0000019f33111f60"} 
[2026-07-05 21:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:47:01] 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-07-05 21:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-05 21:47:01] 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-07-05 21:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":123564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":123564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":123564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:47:01] 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-07-05 21:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516655872001,"66":12200,"186":206,"85":15104,"24":5,"16":102650061971783680,"45":8944571097573879808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-05 21:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516655872001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:47:01] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-05 21:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102650061971783680,"km_value":102650061971783.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944571097573879808,"description":"Unknown IO ID 45"} 
[2026-07-05 21:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516655872001,"power":12200,"unknown_186":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8944571097573879808}} 
[2026-07-05 21:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":123564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:47:01] local.INFO: GPS data processed {"connection_id":123564,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:47:01] local.INFO: Acknowledgment sent {"connection_id":123564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:47:04] local.INFO: TCP Data received {"connection_id":122811,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:47:04] local.INFO: Processing buffer {"connection_id":122811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:47:04] local.INFO: IMEI packet received {"connection_id":122811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":122811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:47:09] local.INFO: TCP Data received {"connection_id":122811,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:47:09] local.INFO: Processing buffer {"connection_id":122811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:47:09] local.INFO: IMEI packet received {"connection_id":122811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":122811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:47:10] local.INFO: TCP Data received {"connection_id":122811,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:47:10] local.INFO: Processing buffer {"connection_id":122811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:47:10] local.INFO: Packet analysis {"connection_id":122811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:47:10] local.INFO: Extracted packet for processing {"connection_id":122811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516546048001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:10] 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-07-05 21:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268059000,"timestamp_ms":1783268059000,"timestamp_seconds":1783268059,"priority":1,"record_length":96,"hex_timestamp":"0000019f330f2778"} 
[2026-07-05 21:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516546048001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516546048001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:47:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516546048001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":122811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:47:10] local.INFO: GPS data processed {"connection_id":122811,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:47:10] local.INFO: Acknowledgment sent {"connection_id":122811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:47:32] local.INFO: TCP Data received {"connection_id":123564,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33112730012d7c230005db1ce0001300860e..."} 
[2026-07-05 21:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33112730012d7c230005db1ce0001300860e..."} 
[2026-07-05 21:47:32] local.INFO: Processing buffer {"connection_id":123564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33112730012d7c230005db1ce0001300860e..."} 
[2026-07-05 21:47:32] local.INFO: Packet analysis {"connection_id":123564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3311"} 
[2026-07-05 21:47:32] local.INFO: Extracted packet for processing {"connection_id":123564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3311"} 
[2026-07-05 21:47:32] local.INFO: GPS Element Parsed {"raw_longitude":763110144,"raw_latitude":98245856,"longitude_deg":76.3110144,"latitude_deg":9.8245856,"altitude":19,"angle":134,"satellites":14,"speed":5,"hex_longitude":"2d7c2300","hex_latitude":"05db1ce0","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516656128001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102650079151652864,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944711835062216704,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783268190000,"timestamp_ms":1783268190000,"timestamp_seconds":1783268190,"priority":1,"record_length":96,"hex_timestamp":"0000019f33112730"} 
[2026-07-05 21:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:47:32] 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-07-05 21: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-07-05 21:47:32] 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-07-05 21: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-07-05 21:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":123564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":123564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":123564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:47:32] 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-07-05 21:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516656128001,"66":12298,"186":206,"85":15104,"24":5,"16":102650079151652864,"45":8944711835062216704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-05 21:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516656128001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:47:32] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-05 21:47:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102650079151652864,"km_value":102650079151652.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944711835062216704,"description":"Unknown IO ID 45"} 
[2026-07-05 21:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516656128001,"power":12298,"unknown_186":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8944711835062216704}} 
[2026-07-05 21:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":123564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:47:32] local.INFO: GPS data processed {"connection_id":123564,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:47:32] local.INFO: Acknowledgment sent {"connection_id":123564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:47:41] local.INFO: TCP Data received {"connection_id":122811,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:47:41] local.INFO: Processing buffer {"connection_id":122811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:47:41] local.INFO: Packet analysis {"connection_id":122811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:47:41] local.INFO: Extracted packet for processing {"connection_id":122811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:47:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516546048001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:41] 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-07-05 21:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268059000,"timestamp_ms":1783268059000,"timestamp_seconds":1783268059,"priority":1,"record_length":96,"hex_timestamp":"0000019f330f2778"} 
[2026-07-05 21:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:47: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-07-05 21:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516546048001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516546048001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:47:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516546048001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":122811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:47:41] local.INFO: GPS data processed {"connection_id":122811,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:47:41] local.INFO: Acknowledgment sent {"connection_id":122811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:47:50] local.INFO: TCP Data received {"connection_id":122888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:47:50] local.INFO: Processing buffer {"connection_id":122888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:47:50] local.INFO: IMEI packet received {"connection_id":122888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":122888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:47:54] local.INFO: TCP Data received {"connection_id":122888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:47:54] local.INFO: Processing buffer {"connection_id":122888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:47:54] local.INFO: IMEI packet received {"connection_id":122888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":122888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:47:55] local.INFO: TCP Data received {"connection_id":122888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33113ab8012d7c260005db17880013009b0e..."} 
[2026-07-05 21:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33113ab8012d7c260005db17880013009b0e..."} 
[2026-07-05 21:47:55] local.INFO: Processing buffer {"connection_id":122888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33113ab8012d7c260005db17880013009b0e..."} 
[2026-07-05 21:47:55] local.INFO: Packet analysis {"connection_id":122888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3311"} 
[2026-07-05 21:47:55] local.INFO: Extracted packet for processing {"connection_id":122888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3311"} 
[2026-07-05 21:47:55] local.INFO: GPS Element Parsed {"raw_longitude":763110912,"raw_latitude":98244488,"longitude_deg":76.3110912,"latitude_deg":9.8244488,"altitude":19,"angle":155,"satellites":14,"speed":15,"hex_longitude":"2d7c2600","hex_latitude":"05db1788","is_valid_coordinates":true} 
[2026-07-05 21:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516656640001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102650156461064192,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944993310038876160,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783268195000,"timestamp_ms":1783268195000,"timestamp_seconds":1783268195,"priority":1,"record_length":96,"hex_timestamp":"0000019f33113ab8"} 
[2026-07-05 21:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:47:55] 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-07-05 21:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436567147008,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185964,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":175,"raw_value":-6701356245527298047,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3679670968389565470,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":19,"raw_value":32666490511556608,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832573,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3415699725649313998,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797207758,"corrected_to":0} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2147867425,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2946826240,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3676401664,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.WARNING: Large IO value detected {"io_id":192,"raw_value":421966999096328363,"note":"Value kept but may cause issues"} 
[2026-07-05 21:47:55] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,186,85,24,241,157,16,175,159,31,45,29,19,14,10,66,27,128,64,1,240,97,227,51,219,4,113,205,32,8,239,47,2,108,5,192,13],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797207758,"validated":0}]} 
[2026-07-05 21:47:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369241681408622592,"timestamp_seconds":1369241681408622.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 21:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":122888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":122888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":122888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:47:55] 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-07-05 21:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516656640001,"66":12156,"186":206,"85":15104,"24":15,"16":102650156461064192,"45":8944993310038876160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-05 21:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516656640001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:47:55] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-05 21:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102650156461064192,"km_value":102650156461064.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944993310038876160,"description":"Unknown IO ID 45"} 
[2026-07-05 21:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516656640001,"power":12156,"unknown_186":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8944993310038876160}} 
[2026-07-05 21:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":122888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:47:55] local.INFO: GPS data processed {"connection_id":122888,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:47:55] local.INFO: Acknowledgment sent {"connection_id":122888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:48:09] local.INFO: TCP Data received {"connection_id":123566,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:48:09] local.INFO: Processing buffer {"connection_id":123566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:48:09] local.INFO: IMEI packet received {"connection_id":123566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":123566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:48:14] local.INFO: TCP Data received {"connection_id":123566,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:48:14] local.INFO: Processing buffer {"connection_id":123566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:48:14] local.INFO: IMEI packet received {"connection_id":123566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":123566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:48:17] local.INFO: TCP Data received {"connection_id":123566,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:48:17] local.INFO: Processing buffer {"connection_id":123566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:48:17] local.INFO: Packet analysis {"connection_id":123566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:48:17] local.INFO: Extracted packet for processing {"connection_id":123566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:48:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516546048001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:48:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:48:17] 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-07-05 21:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783268059000,"timestamp_ms":1783268059000,"timestamp_seconds":1783268059,"priority":1,"record_length":96,"hex_timestamp":"0000019f330f2778"} 
[2026-07-05 21:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":123566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":123566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":123566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516546048001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516546048001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:48:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:48:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:48:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516546048001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":123566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:48:17] local.INFO: GPS data processed {"connection_id":123566,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:48:17] local.INFO: Acknowledgment sent {"connection_id":123566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:48:22] local.INFO: TCP Data received {"connection_id":123566,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:48:22] local.INFO: Processing buffer {"connection_id":123566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:48:22] local.INFO: Packet analysis {"connection_id":123566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:48:22] local.INFO: Extracted packet for processing {"connection_id":123566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:48:22] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516546048001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:48:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:48:22] 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-07-05 21:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783268059000,"timestamp_ms":1783268059000,"timestamp_seconds":1783268059,"priority":1,"record_length":96,"hex_timestamp":"0000019f330f2778"} 
[2026-07-05 21:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":123566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":123566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":123566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516546048001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516546048001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:48:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:48:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:48:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516546048001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":123566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:48:22] local.INFO: GPS data processed {"connection_id":123566,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:48:22] local.INFO: Acknowledgment sent {"connection_id":123566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:48:29] local.INFO: TCP Data received {"connection_id":122888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3312a6000100000000000000000000000000..."} 
[2026-07-05 21:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3312a6000100000000000000000000000000..."} 
[2026-07-05 21:48:29] local.INFO: Processing buffer {"connection_id":122888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3312a6000100000000000000000000000000..."} 
[2026-07-05 21:48:29] local.INFO: Packet analysis {"connection_id":122888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3312"} 
[2026-07-05 21:48:29] local.INFO: Extracted packet for processing {"connection_id":122888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3312"} 
[2026-07-05 21:48: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-07-05 21:48:29] 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-07-05 21:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516680192001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102655082788552704,"note":"Value kept but may cause issues"} 
[2026-07-05 21:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968285364337059840,"note":"Value kept but may cause issues"} 
[2026-07-05 21:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783268288000,"timestamp_ms":1783268288000,"timestamp_seconds":1783268288,"priority":1,"record_length":96,"hex_timestamp":"0000019f3312a600"} 
[2026-07-05 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-07-05 21:48: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-07-05 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":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-05 21:48:29] 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-07-05 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-07-05 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-07-05 21:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":122888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":122888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":122888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:48:29] 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-07-05 21:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":122888,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:48:29] local.INFO: GPS data processed {"connection_id":122888,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:48:29] local.INFO: Acknowledgment sent {"connection_id":122888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:48:51] local.INFO: TCP Data received {"connection_id":122812,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:48:51] local.INFO: Processing buffer {"connection_id":122812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:48:51] local.INFO: IMEI packet received {"connection_id":122812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":122812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:48:55] local.INFO: TCP Data received {"connection_id":122812,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:48:55] local.INFO: Processing buffer {"connection_id":122812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:48:55] local.INFO: IMEI packet received {"connection_id":122812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":122812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:48:56] local.INFO: TCP Data received {"connection_id":122812,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3312e0980100000000000000000000000000..."} 
[2026-07-05 21:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3312e0980100000000000000000000000000..."} 
[2026-07-05 21:48:56] local.INFO: Processing buffer {"connection_id":122812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3312e0980100000000000000000000000000..."} 
[2026-07-05 21:48:56] local.INFO: Packet analysis {"connection_id":122812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3312"} 
[2026-07-05 21:48:56] local.INFO: Extracted packet for processing {"connection_id":122812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3312"} 
[2026-07-05 21:48:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-05 21:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102655082788552704,"note":"Value kept but may cause issues"} 
[2026-07-05 21:48:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,245,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783268303000,"timestamp_ms":1783268303000,"timestamp_seconds":1783268303,"priority":1,"record_length":96,"hex_timestamp":"0000019f3312e098"} 
[2026-07-05 21:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-05 21:48:56] 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-07-05 21:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:48:56] 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-07-05 21:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":122812,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-05 21:48:56] local.INFO: GPS data processed {"connection_id":122812,"processed":0,"errors":0,"total":1} 
[2026-07-05 21:48:56] local.INFO: Acknowledgment sent {"connection_id":122812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:49:04] local.INFO: TCP Data received {"connection_id":124795,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:49:04] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:49:04] local.INFO: IMEI packet received {"connection_id":124795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":124795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:49:09] local.INFO: TCP Data received {"connection_id":124795,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:49:09] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:49:09] local.INFO: IMEI packet received {"connection_id":124795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":124795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:49:10] local.INFO: TCP Data received {"connection_id":124795,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:49:10] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f330f2778012cb2a24007823a68004200c92a..."} 
[2026-07-05 21:49:10] local.INFO: Packet analysis {"connection_id":124795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:49:10] local.INFO: Extracted packet for processing {"connection_id":124795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f330f"} 
[2026-07-05 21:49:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516546048001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:49:10] 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-07-05 21:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268059000,"timestamp_ms":1783268059000,"timestamp_seconds":1783268059,"priority":1,"record_length":96,"hex_timestamp":"0000019f330f2778"} 
[2026-07-05 21:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 21:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516546048001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516546048001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:49:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516546048001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":124795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:49:10] local.INFO: GPS data processed {"connection_id":124795,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:49:10] local.INFO: Acknowledgment sent {"connection_id":124795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:49:27] local.INFO: TCP Data received {"connection_id":122812,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3312e098012d7c800005d97890000f00b409..."} 
[2026-07-05 21:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3312e098012d7c800005d97890000f00b409..."} 
[2026-07-05 21:49:27] local.INFO: Processing buffer {"connection_id":122812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3312e098012d7c800005d97890000f00b409..."} 
[2026-07-05 21:49:27] local.INFO: Packet analysis {"connection_id":122812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3312"} 
[2026-07-05 21:49:27] local.INFO: Extracted packet for processing {"connection_id":122812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3312"} 
[2026-07-05 21:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763133952,"raw_latitude":98138256,"longitude_deg":76.3133952,"latitude_deg":9.8138256,"altitude":15,"angle":180,"satellites":9,"speed":0,"hex_longitude":"2d7c8000","hex_latitude":"05d97890","is_valid_coordinates":true} 
[2026-07-05 21:49:27] 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-07-05 21:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102655082788552704,"note":"Value kept but may cause issues"} 
[2026-07-05 21:49:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,245,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-05 21:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783268303000,"timestamp_ms":1783268303000,"timestamp_seconds":1783268303,"priority":1,"record_length":96,"hex_timestamp":"0000019f3312e098"} 
[2026-07-05 21:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:49: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-05 21:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:49:27] 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-07-05 21:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11461,"245":206,"85":15104,"24":0,"16":102655082788552704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16]} 
[2026-07-05 21:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-05 21:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102655082788552704,"km_value":102655082788552.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:49:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11461,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-05 21:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":122812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:49:27] local.INFO: GPS data processed {"connection_id":122812,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:49:27] local.INFO: Acknowledgment sent {"connection_id":122812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:49:41] local.INFO: TCP Data received {"connection_id":124795,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:49:41] local.INFO: Processing buffer {"connection_id":124795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:49:41] local.INFO: Packet analysis {"connection_id":124795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:49:41] local.INFO: Extracted packet for processing {"connection_id":124795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:49:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516623104001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:49:41] 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-07-05 21:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268360000,"timestamp_ms":1783268360000,"timestamp_seconds":1783268360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3313bf40"} 
[2026-07-05 21:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:49: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-07-05 21: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-07-05 21:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516623104001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516623104001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:49:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516623104001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":124795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:49:41] local.INFO: GPS data processed {"connection_id":124795,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:49:41] local.INFO: Acknowledgment sent {"connection_id":124795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:49:50] local.INFO: TCP Data received {"connection_id":122889,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:49:50] local.INFO: Processing buffer {"connection_id":122889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:49:50] local.INFO: IMEI packet received {"connection_id":122889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":122889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:49:57] local.INFO: TCP Data received {"connection_id":122889,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:49:57] local.INFO: Processing buffer {"connection_id":122889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:49:57] local.INFO: IMEI packet received {"connection_id":122889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":122889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:49:58] local.INFO: TCP Data received {"connection_id":122889,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33132eb8012d7c804005d97888000f00b40b..."} 
[2026-07-05 21:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33132eb8012d7c804005d97888000f00b40b..."} 
[2026-07-05 21:49:58] local.INFO: Processing buffer {"connection_id":122889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33132eb8012d7c804005d97888000f00b40b..."} 
[2026-07-05 21:49:58] local.INFO: Packet analysis {"connection_id":122889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:49:58] local.INFO: Extracted packet for processing {"connection_id":122889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763134016,"raw_latitude":98138248,"longitude_deg":76.3134016,"latitude_deg":9.8138248,"altitude":15,"angle":180,"satellites":11,"speed":0,"hex_longitude":"2d7c8040","hex_latitude":"05d97888","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516685568001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102655082788552704,"note":"Value kept but may cause issues"} 
[2026-07-05 21:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971170482845421568,"note":"Value kept but may cause issues"} 
[2026-07-05 21:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783268323000,"timestamp_ms":1783268323000,"timestamp_seconds":1783268323,"priority":1,"record_length":96,"hex_timestamp":"0000019f33132eb8"} 
[2026-07-05 21:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:49: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-07-05 21: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":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-05 21:49:58] 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-07-05 21: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-07-05 21:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":122889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":122889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":122889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:49:58] 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-07-05 21:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516685568001,"66":11634,"244":206,"85":15104,"24":0,"16":102655082788552704,"45":8971170482845421568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-05 21:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516685568001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:49:58] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-05 21:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102655082788552704,"km_value":102655082788552.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971170482845421568,"description":"Unknown IO ID 45"} 
[2026-07-05 21:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516685568001,"power":11634,"unknown_244":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8971170482845421568}} 
[2026-07-05 21:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":122889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:49:58] local.INFO: GPS data processed {"connection_id":122889,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:49:58] local.INFO: Acknowledgment sent {"connection_id":122889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:50:04] local.INFO: TCP Data received {"connection_id":123567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:50:04] local.INFO: Processing buffer {"connection_id":123567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:50:04] local.INFO: IMEI packet received {"connection_id":123567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":123567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:50:09] local.INFO: TCP Data received {"connection_id":123567,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:50:09] local.INFO: Processing buffer {"connection_id":123567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:50:09] local.INFO: IMEI packet received {"connection_id":123567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":123567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:50:10] local.INFO: TCP Data received {"connection_id":123567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:50:10] local.INFO: Processing buffer {"connection_id":123567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:50:10] local.INFO: Packet analysis {"connection_id":123567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:50:10] local.INFO: Extracted packet for processing {"connection_id":123567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516623104001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:10] 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-07-05 21:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268360000,"timestamp_ms":1783268360000,"timestamp_seconds":1783268360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3313bf40"} 
[2026-07-05 21:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516623104001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516623104001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:50:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516623104001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":123567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:50:10] local.INFO: GPS data processed {"connection_id":123567,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:50:10] local.INFO: Acknowledgment sent {"connection_id":123567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:50:29] local.INFO: TCP Data received {"connection_id":122889,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33148e48012d7c328005d98728000a009b12..."} 
[2026-07-05 21:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33148e48012d7c328005d98728000a009b12..."} 
[2026-07-05 21:50:29] local.INFO: Processing buffer {"connection_id":122889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33148e48012d7c328005d98728000a009b12..."} 
[2026-07-05 21:50:29] local.INFO: Packet analysis {"connection_id":122889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3314"} 
[2026-07-05 21:50:29] local.INFO: Extracted packet for processing {"connection_id":122889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3314"} 
[2026-07-05 21:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763114112,"raw_latitude":98141992,"longitude_deg":76.3114112,"latitude_deg":9.8141992,"altitude":10,"angle":155,"satellites":18,"speed":2,"hex_longitude":"2d7c3280","hex_latitude":"05d98728","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516710400001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102656504422727680,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949356172151345152,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783268413000,"timestamp_ms":1783268413000,"timestamp_seconds":1783268413,"priority":1,"record_length":96,"hex_timestamp":"0000019f33148e48"} 
[2026-07-05 21:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:50:29] 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-07-05 21: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-05 21:50:29] 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-07-05 21: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-07-05 21:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":122889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":122889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":122889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:50:29] 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-07-05 21:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516710400001,"66":11895,"245":206,"85":15104,"24":2,"16":102656504422727680,"45":8949356172151345152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-05 21:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516710400001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102656504422727680,"km_value":102656504422727.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949356172151345152,"description":"Unknown IO ID 45"} 
[2026-07-05 21:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516710400001,"power":11895,"geofence_id":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8949356172151345152}} 
[2026-07-05 21:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":122889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:50:29] local.INFO: GPS data processed {"connection_id":122889,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:50:29] local.INFO: Acknowledgment sent {"connection_id":122889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:50:41] local.INFO: TCP Data received {"connection_id":123567,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:50:41] local.INFO: Processing buffer {"connection_id":123567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:50:41] local.INFO: Packet analysis {"connection_id":123567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:50:41] local.INFO: Extracted packet for processing {"connection_id":123567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516623104001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:41] 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-07-05 21:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268360000,"timestamp_ms":1783268360000,"timestamp_seconds":1783268360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3313bf40"} 
[2026-07-05 21:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:50: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-07-05 21: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-07-05 21:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516623104001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516623104001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:50:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516623104001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":123567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:50:41] local.INFO: GPS data processed {"connection_id":123567,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:50:41] local.INFO: Acknowledgment sent {"connection_id":123567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:50:55] local.INFO: TCP Data received {"connection_id":123568,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:50:55] local.INFO: Processing buffer {"connection_id":123568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:50:55] local.INFO: IMEI packet received {"connection_id":123568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":123568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:50:58] local.INFO: TCP Data received {"connection_id":123568,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:50:58] local.INFO: Processing buffer {"connection_id":123568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:50:58] local.INFO: IMEI packet received {"connection_id":123568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":123568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:50:59] local.INFO: TCP Data received {"connection_id":123568,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33149618012d7c328005d986c0000a00ae12..."} 
[2026-07-05 21:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33149618012d7c328005d986c0000a00ae12..."} 
[2026-07-05 21:50:59] local.INFO: Processing buffer {"connection_id":123568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33149618012d7c328005d986c0000a00ae12..."} 
[2026-07-05 21:50:59] local.INFO: Packet analysis {"connection_id":123568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3314"} 
[2026-07-05 21:50:59] local.INFO: Extracted packet for processing {"connection_id":123568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3314"} 
[2026-07-05 21:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763114112,"raw_latitude":98141888,"longitude_deg":76.3114112,"latitude_deg":9.8141888,"altitude":10,"angle":174,"satellites":18,"speed":2,"hex_longitude":"2d7c3280","hex_latitude":"05d986c0","is_valid_coordinates":true} 
[2026-07-05 21:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516713728001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102656508717694976,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949356172151302144,"note":"Value kept but may cause issues"} 
[2026-07-05 21:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783268415000,"timestamp_ms":1783268415000,"timestamp_seconds":1783268415,"priority":1,"record_length":96,"hex_timestamp":"0000019f33149618"} 
[2026-07-05 21:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-05 21:50:59] 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-07-05 21:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":123568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":123568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":123568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:50:59] 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-07-05 21:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516713728001,"66":11874,"245":206,"85":15104,"24":2,"16":102656508717694976,"45":8949356172151302144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-05 21:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516713728001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102656508717694976,"km_value":102656508717694.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949356172151302144,"description":"Unknown IO ID 45"} 
[2026-07-05 21:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516713728001,"power":11874,"geofence_id":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8949356172151302144}} 
[2026-07-05 21:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":123568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:50:59] local.INFO: GPS data processed {"connection_id":123568,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:50:59] local.INFO: Acknowledgment sent {"connection_id":123568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:51:00] local.INFO: TCP Data received {"connection_id":123568,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33149a00012d7c328005d98690000a00ba12..."} 
[2026-07-05 21:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33149a00012d7c328005d98690000a00ba12..."} 
[2026-07-05 21:51:00] local.INFO: Processing buffer {"connection_id":123568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33149a00012d7c328005d98690000a00ba12..."} 
[2026-07-05 21:51:00] local.INFO: Packet analysis {"connection_id":123568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3314"} 
[2026-07-05 21:51:00] local.INFO: Extracted packet for processing {"connection_id":123568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3314"} 
[2026-07-05 21:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763114112,"raw_latitude":98141840,"longitude_deg":76.3114112,"latitude_deg":9.814184,"altitude":10,"angle":186,"satellites":18,"speed":2,"hex_longitude":"2d7c3280","hex_latitude":"05d98690","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516714240001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102656513012662272,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949356172151275520,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1783268416000,"timestamp_ms":1783268416000,"timestamp_seconds":1783268416,"priority":1,"record_length":96,"hex_timestamp":"0000019f33149a00"} 
[2026-07-05 21:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 21:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":123568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":123568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":123568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:51:00] 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-07-05 21:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516714240001,"66":11874,"245":206,"85":15104,"24":2,"16":102656513012662272,"45":8949356172151275520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-05 21:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516714240001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102656513012662272,"km_value":102656513012662.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949356172151275520,"description":"Unknown IO ID 45"} 
[2026-07-05 21:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516714240001,"power":11874,"geofence_id":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8949356172151275520}} 
[2026-07-05 21:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":123568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:51:00] local.INFO: GPS data processed {"connection_id":123568,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:51:00] local.INFO: Acknowledgment sent {"connection_id":123568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:51:04] local.INFO: TCP Data received {"connection_id":122814,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:51:04] local.INFO: Processing buffer {"connection_id":122814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:51:04] local.INFO: IMEI packet received {"connection_id":122814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":122814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:51:09] local.INFO: TCP Data received {"connection_id":122814,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:51:09] local.INFO: Processing buffer {"connection_id":122814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:51:09] local.INFO: IMEI packet received {"connection_id":122814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":122814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:51:10] local.INFO: TCP Data received {"connection_id":122814,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:51:10] local.INFO: Processing buffer {"connection_id":122814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:51:10] local.INFO: Packet analysis {"connection_id":122814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:51:10] local.INFO: Extracted packet for processing {"connection_id":122814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:51:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516623104001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:10] 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-07-05 21:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268360000,"timestamp_ms":1783268360000,"timestamp_seconds":1783268360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3313bf40"} 
[2026-07-05 21:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516623104001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516623104001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:51:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:51:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516623104001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":122814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:51:10] local.INFO: GPS data processed {"connection_id":122814,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:51:10] local.INFO: Acknowledgment sent {"connection_id":122814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:51:19] local.INFO: TCP Data received {"connection_id":123569,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:51:19] local.INFO: Processing buffer {"connection_id":123569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:51:19] local.INFO: IMEI packet received {"connection_id":123569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":123569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:51:32] local.INFO: TCP Data received {"connection_id":123568,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3314e820012d7c320005d98668000a00b910..."} 
[2026-07-05 21:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3314e820012d7c320005d98668000a00b910..."} 
[2026-07-05 21:51:32] local.INFO: Processing buffer {"connection_id":123568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3314e820012d7c320005d98668000a00b910..."} 
[2026-07-05 21:51:32] local.INFO: Packet analysis {"connection_id":123568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3314"} 
[2026-07-05 21:51:32] local.INFO: Extracted packet for processing {"connection_id":123568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3314"} 
[2026-07-05 21:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763113984,"raw_latitude":98141800,"longitude_deg":76.3113984,"latitude_deg":9.81418,"altitude":10,"angle":185,"satellites":16,"speed":0,"hex_longitude":"2d7c3200","hex_latitude":"05d98668","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516714496001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102656517307629568,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949356172151263232,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1783268436000,"timestamp_ms":1783268436000,"timestamp_seconds":1783268436,"priority":1,"record_length":96,"hex_timestamp":"0000019f3314e820"} 
[2026-07-05 21:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-05 21:51:32] 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-07-05 21: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-07-05 21:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":123568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":123568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":123568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:51:32] 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-07-05 21:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516714496001,"66":11743,"245":206,"85":15104,"24":0,"16":102656517307629568,"45":8949356172151263232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-05 21:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516714496001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102656517307629568,"km_value":102656517307629.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949356172151263232,"description":"Unknown IO ID 45"} 
[2026-07-05 21:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516714496001,"power":11743,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949356172151263232}} 
[2026-07-05 21:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":123568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:51:32] local.INFO: GPS data processed {"connection_id":123568,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:51:32] local.INFO: Acknowledgment sent {"connection_id":123568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:51:41] local.INFO: TCP Data received {"connection_id":122814,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:51:41] local.INFO: Processing buffer {"connection_id":122814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:51:41] local.INFO: Packet analysis {"connection_id":122814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:51:41] local.INFO: Extracted packet for processing {"connection_id":122814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:51:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516623104001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:41] 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-07-05 21:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268360000,"timestamp_ms":1783268360000,"timestamp_seconds":1783268360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3313bf40"} 
[2026-07-05 21:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:51: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-07-05 21: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-07-05 21:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516623104001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516623104001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:51:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516623104001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":122814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:51:41] local.INFO: GPS data processed {"connection_id":122814,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:51:41] local.INFO: Acknowledgment sent {"connection_id":122814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:51:50] local.INFO: TCP Data received {"connection_id":124797,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:51:50] local.INFO: Processing buffer {"connection_id":124797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:51:50] local.INFO: IMEI packet received {"connection_id":124797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":124797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:51:55] local.INFO: TCP Data received {"connection_id":124797,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124797,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:51:55] local.INFO: Processing buffer {"connection_id":124797,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:51:55] local.INFO: IMEI packet received {"connection_id":124797,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":124797,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:51:56] local.INFO: TCP Data received {"connection_id":124797,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33153a28012d7c320005d98668000a00b913..."} 
[2026-07-05 21:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33153a28012d7c320005d98668000a00b913..."} 
[2026-07-05 21:51:56] local.INFO: Processing buffer {"connection_id":124797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33153a28012d7c320005d98668000a00b913..."} 
[2026-07-05 21:51:56] local.INFO: Packet analysis {"connection_id":124797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3315"} 
[2026-07-05 21:51:56] local.INFO: Extracted packet for processing {"connection_id":124797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3315"} 
[2026-07-05 21:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763113984,"raw_latitude":98141800,"longitude_deg":76.3113984,"latitude_deg":9.81418,"altitude":10,"angle":185,"satellites":19,"speed":0,"hex_longitude":"2d7c3200","hex_latitude":"05d98668","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516719616001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102656517307629568,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949215434662897664,"note":"Value kept but may cause issues"} 
[2026-07-05 21:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783268457000,"timestamp_ms":1783268457000,"timestamp_seconds":1783268457,"priority":1,"record_length":96,"hex_timestamp":"0000019f33153a28"} 
[2026-07-05 21:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-05 21:51:56] 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-07-05 21: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-07-05 21:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":124797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":124797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":124797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:51:56] 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-07-05 21:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516719616001,"66":11917,"245":206,"85":15104,"24":0,"16":102656517307629568,"45":8949215434662897664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-05 21:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516719616001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102656517307629568,"km_value":102656517307629.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949215434662897664,"description":"Unknown IO ID 45"} 
[2026-07-05 21:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516719616001,"power":11917,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949215434662897664}} 
[2026-07-05 21:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":124797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:51:56] local.INFO: GPS data processed {"connection_id":124797,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:51:56] local.INFO: Acknowledgment sent {"connection_id":124797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:52:03] local.INFO: TCP Data received {"connection_id":123570,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:52:03] local.INFO: Processing buffer {"connection_id":123570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:52:03] local.INFO: IMEI packet received {"connection_id":123570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":123570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:52:04] local.INFO: TCP Data received {"connection_id":123571,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:52:04] local.INFO: Processing buffer {"connection_id":123571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:52:04] local.INFO: IMEI packet received {"connection_id":123571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":123571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:52:09] local.INFO: TCP Data received {"connection_id":123571,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:52:09] local.INFO: Processing buffer {"connection_id":123571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:52:09] local.INFO: IMEI packet received {"connection_id":123571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":123571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:52:10] local.INFO: TCP Data received {"connection_id":123571,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:52:10] local.INFO: Processing buffer {"connection_id":123571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:52:10] local.INFO: Packet analysis {"connection_id":123571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:52:10] local.INFO: Extracted packet for processing {"connection_id":123571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516623104001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:10] 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-07-05 21:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268360000,"timestamp_ms":1783268360000,"timestamp_seconds":1783268360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3313bf40"} 
[2026-07-05 21:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516623104001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516623104001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:52:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516623104001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":123571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:52:10] local.INFO: GPS data processed {"connection_id":123571,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:52:10] local.INFO: Acknowledgment sent {"connection_id":123571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:52:27] local.INFO: TCP Data received {"connection_id":124797,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33158c30012d7c320005d98668000a00b911..."} 
[2026-07-05 21:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33158c30012d7c320005d98668000a00b911..."} 
[2026-07-05 21:52:27] local.INFO: Processing buffer {"connection_id":124797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33158c30012d7c320005d98668000a00b911..."} 
[2026-07-05 21:52:27] local.INFO: Packet analysis {"connection_id":124797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3315"} 
[2026-07-05 21:52:27] local.INFO: Extracted packet for processing {"connection_id":124797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3315"} 
[2026-07-05 21:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763113984,"raw_latitude":98141800,"longitude_deg":76.3113984,"latitude_deg":9.81418,"altitude":10,"angle":185,"satellites":17,"speed":0,"hex_longitude":"2d7c3200","hex_latitude":"05d98668","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516724992001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102656517307629568,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949215434662897664,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783268478000,"timestamp_ms":1783268478000,"timestamp_seconds":1783268478,"priority":1,"record_length":96,"hex_timestamp":"0000019f33158c30"} 
[2026-07-05 21:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:52: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-07-05 21: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-05 21:52:27] 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-07-05 21: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-07-05 21:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124797,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:52:27] 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-07-05 21:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516724992001,"66":11830,"245":206,"85":15104,"24":0,"16":102656517307629568,"45":8949215434662897664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-05 21:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516724992001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102656517307629568,"km_value":102656517307629.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949215434662897664,"description":"Unknown IO ID 45"} 
[2026-07-05 21:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516724992001,"power":11830,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949215434662897664}} 
[2026-07-05 21:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":124797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:52:27] local.INFO: GPS data processed {"connection_id":124797,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:52:27] local.INFO: Acknowledgment sent {"connection_id":124797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:52:41] local.INFO: TCP Data received {"connection_id":123571,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:52:41] local.INFO: Processing buffer {"connection_id":123571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:52:41] local.INFO: Packet analysis {"connection_id":123571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:52:41] local.INFO: Extracted packet for processing {"connection_id":123571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:52:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516623104001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:41] 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-07-05 21:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268360000,"timestamp_ms":1783268360000,"timestamp_seconds":1783268360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3313bf40"} 
[2026-07-05 21:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:52: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-07-05 21:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516623104001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516623104001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:52:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:52:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516623104001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":123571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:52:41] local.INFO: GPS data processed {"connection_id":123571,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:52:41] local.INFO: Acknowledgment sent {"connection_id":123571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:52:48] local.INFO: TCP Data received {"connection_id":124798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:48] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:48] local.INFO: IMEI packet received {"connection_id":124798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":124798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:52:51] local.INFO: TCP Data received {"connection_id":124798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:51] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:51] local.INFO: IMEI packet received {"connection_id":124798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":124798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:52:51] local.INFO: TCP Data received {"connection_id":124798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:51] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:51] local.INFO: IMEI packet received {"connection_id":124798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":124798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:52:55] local.INFO: TCP Data received {"connection_id":124798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:55] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:52:55] local.INFO: IMEI packet received {"connection_id":124798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":124798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:52:56] local.INFO: TCP Data received {"connection_id":124798,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3315d668012d7c320005d986b0000b002a15..."} 
[2026-07-05 21:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3315d668012d7c320005d986b0000b002a15..."} 
[2026-07-05 21:52:56] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3315d668012d7c320005d986b0000b002a15..."} 
[2026-07-05 21:52:56] local.INFO: Packet analysis {"connection_id":124798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3315"} 
[2026-07-05 21:52:56] local.INFO: Extracted packet for processing {"connection_id":124798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3315"} 
[2026-07-05 21:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763113984,"raw_latitude":98141872,"longitude_deg":76.3113984,"latitude_deg":9.8141872,"altitude":11,"angle":42,"satellites":21,"speed":2,"hex_longitude":"2d7c3200","hex_latitude":"05d986b0","is_valid_coordinates":true} 
[2026-07-05 21:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516730368001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102656521602596864,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949215434662897664,"note":"Value kept but may cause issues"} 
[2026-07-05 21:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783268497000,"timestamp_ms":1783268497000,"timestamp_seconds":1783268497,"priority":1,"record_length":96,"hex_timestamp":"0000019f3315d668"} 
[2026-07-05 21:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-05 21:52:56] 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-07-05 21:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":124798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":124798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":124798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:52:56] 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-07-05 21:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516730368001,"66":11700,"245":206,"85":15104,"24":2,"16":102656521602596864,"45":8949215434662897664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-05 21:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516730368001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102656521602596864,"km_value":102656521602596.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949215434662897664,"description":"Unknown IO ID 45"} 
[2026-07-05 21:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516730368001,"power":11700,"geofence_id":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8949215434662897664}} 
[2026-07-05 21:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":124798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:52:56] local.INFO: GPS data processed {"connection_id":124798,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:52:56] local.INFO: Acknowledgment sent {"connection_id":124798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:53:09] local.INFO: TCP Data received {"connection_id":123572,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:53:09] local.INFO: Processing buffer {"connection_id":123572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:53:09] local.INFO: IMEI packet received {"connection_id":123572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":123572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:53:14] local.INFO: TCP Data received {"connection_id":123572,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:53:14] local.INFO: Processing buffer {"connection_id":123572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:53:14] local.INFO: IMEI packet received {"connection_id":123572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":123572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:53:15] local.INFO: TCP Data received {"connection_id":123572,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:53:15] local.INFO: Processing buffer {"connection_id":123572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:53:15] local.INFO: Packet analysis {"connection_id":123572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:53:15] local.INFO: Extracted packet for processing {"connection_id":123572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:53:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516623104001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:15] 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-07-05 21:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783268360000,"timestamp_ms":1783268360000,"timestamp_seconds":1783268360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3313bf40"} 
[2026-07-05 21:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516623104001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516623104001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:53:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:53:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516623104001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":123572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:53:15] local.INFO: GPS data processed {"connection_id":123572,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:53:15] local.INFO: Acknowledgment sent {"connection_id":123572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:53:19] local.INFO: TCP Data received {"connection_id":123572,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:53:19] local.INFO: Processing buffer {"connection_id":123572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:53:19] local.INFO: Packet analysis {"connection_id":123572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:53:19] local.INFO: Extracted packet for processing {"connection_id":123572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:53:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516623104001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:19] 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-07-05 21:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783268360000,"timestamp_ms":1783268360000,"timestamp_seconds":1783268360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3313bf40"} 
[2026-07-05 21:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:53: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-07-05 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":123572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":123572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":123572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516623104001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516623104001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:53:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516623104001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":123572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:53:19] local.INFO: GPS data processed {"connection_id":123572,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:53:19] local.INFO: Acknowledgment sent {"connection_id":123572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:53:27] local.INFO: TCP Data received {"connection_id":124798,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33170330012d7c790005d9a420000e016211..."} 
[2026-07-05 21:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33170330012d7c790005d9a420000e016211..."} 
[2026-07-05 21:53:27] local.INFO: Processing buffer {"connection_id":124798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33170330012d7c790005d9a420000e016211..."} 
[2026-07-05 21:53:27] local.INFO: Packet analysis {"connection_id":124798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3317"} 
[2026-07-05 21:53:27] local.INFO: Extracted packet for processing {"connection_id":124798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3317"} 
[2026-07-05 21:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763132160,"raw_latitude":98149408,"longitude_deg":76.313216,"latitude_deg":9.8149408,"altitude":14,"angle":354,"satellites":17,"speed":18,"hex_longitude":"2d7c7900","hex_latitude":"05d9a420","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516753920001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102657582459518976,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969622370475894784,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783268574000,"timestamp_ms":1783268574000,"timestamp_seconds":1783268574,"priority":1,"record_length":96,"hex_timestamp":"0000019f33170330"} 
[2026-07-05 21:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:53:27] 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-07-05 21: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184154235085,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-8723472430966958848,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845822192,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":145,"raw_value":3892391292,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":21,"raw_value":-2434194303724879867,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2550189480,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-5322691809598504960,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619930787842,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":1646594227178752,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":71,"raw_value":1585296755648367104,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":98,"raw_value":57888140459660603,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:27] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,245,85,24,241,157,16,182,159,231,45,64,154,14,18,10,66,227,153,224,1,240,125,51,217,4,113,205,3,145,121,48,21,239,46,2,108,69,206,83,71,98,5],"length":632,"final_offset":762,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-07-05 21:53:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008816289445576704,"timestamp_seconds":1008816289445576.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 21:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:53:27] 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-07-05 21:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516753920001,"66":12058,"245":206,"85":15104,"24":18,"16":102657582459518976,"45":8969622370475894784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-05 21:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516753920001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102657582459518976,"km_value":102657582459518.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969622370475894784,"description":"Unknown IO ID 45"} 
[2026-07-05 21:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516753920001,"power":12058,"geofence_id":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8969622370475894784}} 
[2026-07-05 21:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":124798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:53:27] local.INFO: GPS data processed {"connection_id":124798,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:53:27] local.INFO: Acknowledgment sent {"connection_id":124798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:53:50] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:53:50] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:53:50] local.INFO: IMEI packet received {"connection_id":124799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":124799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:53:51] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:53:51] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:53:51] local.INFO: IMEI packet received {"connection_id":124799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":124799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:53:55] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:53:55] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:53:55] local.INFO: IMEI packet received {"connection_id":124799,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":124799,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:53:56] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33173210012d7c70c005d9c820000d015d13..."} 
[2026-07-05 21:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33173210012d7c70c005d9c820000d015d13..."} 
[2026-07-05 21:53:56] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33173210012d7c70c005d9c820000d015d13..."} 
[2026-07-05 21:53:56] local.INFO: Packet analysis {"connection_id":124799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3317"} 
[2026-07-05 21:53:56] local.INFO: Extracted packet for processing {"connection_id":124799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3317"} 
[2026-07-05 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763130048,"raw_latitude":98158624,"longitude_deg":76.3130048,"latitude_deg":9.8158624,"altitude":13,"angle":349,"satellites":19,"speed":32,"hex_longitude":"2d7c70c0","hex_latitude":"05d9c820","is_valid_coordinates":true} 
[2026-07-05 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516754944001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102658042021019648,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969200158011301888,"note":"Value kept but may cause issues"} 
[2026-07-05 21:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783268586000,"timestamp_ms":1783268586000,"timestamp_seconds":1783268586,"priority":1,"record_length":96,"hex_timestamp":"0000019f33173210"} 
[2026-07-05 21:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-05 21:53:56] 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-07-05 21:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":124799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":124799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":124799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:53:56] 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-07-05 21:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516754944001,"66":11178,"245":206,"85":15104,"24":32,"16":102658042021019648,"45":8969200158011301888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-05 21:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516754944001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102658042021019648,"km_value":102658042021019.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969200158011301888,"description":"Unknown IO ID 45"} 
[2026-07-05 21:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516754944001,"power":11178,"geofence_id":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8969200158011301888}} 
[2026-07-05 21:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":124799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:53:56] local.INFO: GPS data processed {"connection_id":124799,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:53:56] local.INFO: Acknowledgment sent {"connection_id":124799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:54:04] local.INFO: TCP Data received {"connection_id":123573,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:54:04] local.INFO: Processing buffer {"connection_id":123573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:54:04] local.INFO: IMEI packet received {"connection_id":123573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":123573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:54:09] local.INFO: TCP Data received {"connection_id":123573,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:54:09] local.INFO: Processing buffer {"connection_id":123573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:54:09] local.INFO: IMEI packet received {"connection_id":123573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":123573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:54:10] local.INFO: TCP Data received {"connection_id":123573,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:54:10] local.INFO: Processing buffer {"connection_id":123573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3313bf40012cb2a24007823a68004400c92a..."} 
[2026-07-05 21:54:10] local.INFO: Packet analysis {"connection_id":123573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:54:10] local.INFO: Extracted packet for processing {"connection_id":123573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3313"} 
[2026-07-05 21:54:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516623104001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:10] 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-07-05 21:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268360000,"timestamp_ms":1783268360000,"timestamp_seconds":1783268360,"priority":1,"record_length":96,"hex_timestamp":"0000019f3313bf40"} 
[2026-07-05 21:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 21:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516623104001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516623104001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:54:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:54:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516623104001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":123573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:54:10] local.INFO: GPS data processed {"connection_id":123573,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:54:10] local.INFO: Acknowledgment sent {"connection_id":123573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:54:27] local.INFO: TCP Data received {"connection_id":124799,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33175538012d7c6f4005d9eaf8000c015f12..."} 
[2026-07-05 21:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33175538012d7c6f4005d9eaf8000c015f12..."} 
[2026-07-05 21:54:27] local.INFO: Processing buffer {"connection_id":124799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33175538012d7c6f4005d9eaf8000c015f12..."} 
[2026-07-05 21:54:27] local.INFO: Packet analysis {"connection_id":124799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3317"} 
[2026-07-05 21:54:27] local.INFO: Extracted packet for processing {"connection_id":124799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3317"} 
[2026-07-05 21:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763129664,"raw_latitude":98167544,"longitude_deg":76.3129664,"latitude_deg":9.8167544,"altitude":12,"angle":351,"satellites":18,"speed":28,"hex_longitude":"2d7c6f40","hex_latitude":"05d9eaf8","is_valid_coordinates":true} 
[2026-07-05 21:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516758016001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102658480107683840,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966877989455798272,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783268595000,"timestamp_ms":1783268595000,"timestamp_seconds":1783268595,"priority":1,"record_length":96,"hex_timestamp":"0000019f33175538"} 
[2026-07-05 21:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:54: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-07-05 21:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-05 21:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124799,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:54:27] 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-07-05 21:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516758016001,"66":11961,"245":206,"85":15104,"24":28,"16":102658480107683840,"45":8966877989455798272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-05 21:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516758016001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102658480107683840,"km_value":102658480107683.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966877989455798272,"description":"Unknown IO ID 45"} 
[2026-07-05 21:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516758016001,"power":11961,"geofence_id":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8966877989455798272}} 
[2026-07-05 21:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":124799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:54:28] local.INFO: GPS data processed {"connection_id":124799,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:54:28] local.INFO: Acknowledgment sent {"connection_id":124799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:54:41] local.INFO: TCP Data received {"connection_id":123573,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:54:41] local.INFO: Processing buffer {"connection_id":123573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:54:41] local.INFO: Packet analysis {"connection_id":123573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:54:41] local.INFO: Extracted packet for processing {"connection_id":123573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:54:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516700160001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:41] 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-07-05 21:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268661000,"timestamp_ms":1783268661000,"timestamp_seconds":1783268661,"priority":1,"record_length":96,"hex_timestamp":"0000019f33185708"} 
[2026-07-05 21:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21: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-07-05 21: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-07-05 21:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516700160001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516700160001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:54:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516700160001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":123573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:54:41] local.INFO: GPS data processed {"connection_id":123573,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:54:41] local.INFO: Acknowledgment sent {"connection_id":123573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:54:50] local.INFO: TCP Data received {"connection_id":122892,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:54:50] local.INFO: Processing buffer {"connection_id":122892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:54:50] local.INFO: IMEI packet received {"connection_id":122892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":122892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:54:53] local.INFO: TCP Data received {"connection_id":122892,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:54:53] local.INFO: Processing buffer {"connection_id":122892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:54:53] local.INFO: IMEI packet received {"connection_id":122892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":122892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:54:55] local.INFO: TCP Data received {"connection_id":122892,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:54:55] local.INFO: Processing buffer {"connection_id":122892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:54:55] local.INFO: IMEI packet received {"connection_id":122892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":122892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:54:56] local.INFO: TCP Data received {"connection_id":122892,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331885e8012d7c5c8005da5648000100a414..."} 
[2026-07-05 21:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331885e8012d7c5c8005da5648000100a414..."} 
[2026-07-05 21:54:56] local.INFO: Processing buffer {"connection_id":122892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331885e8012d7c5c8005da5648000100a414..."} 
[2026-07-05 21:54:56] local.INFO: Packet analysis {"connection_id":122892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:54:56] local.INFO: Extracted packet for processing {"connection_id":122892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763124864,"raw_latitude":98195016,"longitude_deg":76.3124864,"latitude_deg":9.8195016,"altitude":1,"angle":164,"satellites":20,"speed":36,"hex_longitude":"2d7c5c80","hex_latitude":"05da5648","is_valid_coordinates":true} 
[2026-07-05 21:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516776704001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102660936828977152,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957378209003474944,"note":"Value kept but may cause issues"} 
[2026-07-05 21:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783268673000,"timestamp_ms":1783268673000,"timestamp_seconds":1783268673,"priority":1,"record_length":96,"hex_timestamp":"0000019f331885e8"} 
[2026-07-05 21:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:54: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-07-05 21:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:54:56] 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-07-05 21:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516776704001,"66":12069,"187":206,"85":15104,"24":36,"16":102660936828977152,"45":8957378209003474944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516776704001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:54:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102660936828977152,"km_value":102660936828977.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957378209003474944,"description":"Unknown IO ID 45"} 
[2026-07-05 21:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516776704001,"power":12069,"unknown_187":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8957378209003474944}} 
[2026-07-05 21:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":122892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:54:56] local.INFO: GPS data processed {"connection_id":122892,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:54:56] local.INFO: Acknowledgment sent {"connection_id":122892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:55:04] local.INFO: TCP Data received {"connection_id":123575,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:55:04] local.INFO: Processing buffer {"connection_id":123575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:55:04] local.INFO: IMEI packet received {"connection_id":123575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":123575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:55:09] local.INFO: TCP Data received {"connection_id":123575,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:55:09] local.INFO: Processing buffer {"connection_id":123575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:55:09] local.INFO: IMEI packet received {"connection_id":123575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":123575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:55:10] local.INFO: TCP Data received {"connection_id":123575,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:55:10] local.INFO: Processing buffer {"connection_id":123575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:55:10] local.INFO: Packet analysis {"connection_id":123575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:55:10] local.INFO: Extracted packet for processing {"connection_id":123575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:55:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516700160001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:10] 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-07-05 21:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268661000,"timestamp_ms":1783268661000,"timestamp_seconds":1783268661,"priority":1,"record_length":96,"hex_timestamp":"0000019f33185708"} 
[2026-07-05 21:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516700160001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516700160001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:55:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516700160001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":123575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:55:10] local.INFO: GPS data processed {"connection_id":123575,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:55:10] local.INFO: Acknowledgment sent {"connection_id":123575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:55:27] local.INFO: TCP Data received {"connection_id":122892,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3318a910012d7c668005da3488000200a311..."} 
[2026-07-05 21:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3318a910012d7c668005da3488000200a311..."} 
[2026-07-05 21:55:27] local.INFO: Processing buffer {"connection_id":122892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3318a910012d7c668005da3488000200a311..."} 
[2026-07-05 21:55:27] local.INFO: Packet analysis {"connection_id":122892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:55:27] local.INFO: Extracted packet for processing {"connection_id":122892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763127424,"raw_latitude":98186376,"longitude_deg":76.3127424,"latitude_deg":9.8186376,"altitude":2,"angle":163,"satellites":17,"speed":40,"hex_longitude":"2d7c6680","hex_latitude":"05da3488","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516780288001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102661374915641344,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961178121186723840,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783268682000,"timestamp_ms":1783268682000,"timestamp_seconds":1783268682,"priority":1,"record_length":96,"hex_timestamp":"0000019f3318a910"} 
[2026-07-05 21:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-05 21:55:27] 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-07-05 21: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-07-05 21:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:55:27] 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-07-05 21:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516780288001,"66":12156,"187":206,"85":15104,"24":40,"16":102661374915641344,"45":8961178121186723840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516780288001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:55:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102661374915641344,"km_value":102661374915641.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961178121186723840,"description":"Unknown IO ID 45"} 
[2026-07-05 21:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516780288001,"power":12156,"unknown_187":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8961178121186723840}} 
[2026-07-05 21:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":122892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:55:27] local.INFO: GPS data processed {"connection_id":122892,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:55:27] local.INFO: Acknowledgment sent {"connection_id":122892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:55:41] local.INFO: TCP Data received {"connection_id":123575,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:55:41] local.INFO: Processing buffer {"connection_id":123575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:55:41] local.INFO: Packet analysis {"connection_id":123575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:55:41] local.INFO: Extracted packet for processing {"connection_id":123575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:55:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516700160001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:41] 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-07-05 21:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268661000,"timestamp_ms":1783268661000,"timestamp_seconds":1783268661,"priority":1,"record_length":96,"hex_timestamp":"0000019f33185708"} 
[2026-07-05 21:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21: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-07-05 21: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-07-05 21:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516700160001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516700160001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:55:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:55:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516700160001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":123575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:55:41] local.INFO: GPS data processed {"connection_id":123575,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:55:41] local.INFO: Acknowledgment sent {"connection_id":123575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:55:50] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:55:50] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:55:50] local.INFO: IMEI packet received {"connection_id":124800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":124800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:55:55] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:55:55] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:55:55] local.INFO: IMEI packet received {"connection_id":124800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":124800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:55:56] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3318cc38012d7c700005da10d0000200a810..."} 
[2026-07-05 21:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3318cc38012d7c700005da10d0000200a810..."} 
[2026-07-05 21:55:56] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3318cc38012d7c700005da10d0000200a810..."} 
[2026-07-05 21:55:56] local.INFO: Packet analysis {"connection_id":124800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:55:56] local.INFO: Extracted packet for processing {"connection_id":124800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763129856,"raw_latitude":98177232,"longitude_deg":76.3129856,"latitude_deg":9.8177232,"altitude":2,"angle":168,"satellites":16,"speed":42,"hex_longitude":"2d7c7000","hex_latitude":"05da10d0","is_valid_coordinates":true} 
[2026-07-05 21:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516782592001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102661834477142016,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963992870951618560,"note":"Value kept but may cause issues"} 
[2026-07-05 21:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783268691000,"timestamp_ms":1783268691000,"timestamp_seconds":1783268691,"priority":1,"record_length":96,"hex_timestamp":"0000019f3318cc38"} 
[2026-07-05 21:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:55:56] 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-07-05 21:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:55: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-07-05 21:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":124800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":124800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":124800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:55:56] 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-07-05 21:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516782592001,"66":12102,"187":206,"85":15104,"24":42,"16":102661834477142016,"45":8963992870951618560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516782592001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:55:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102661834477142016,"km_value":102661834477142.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963992870951618560,"description":"Unknown IO ID 45"} 
[2026-07-05 21:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516782592001,"power":12102,"unknown_187":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8963992870951618560}} 
[2026-07-05 21:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":124800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:55:56] local.INFO: GPS data processed {"connection_id":124800,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:55:56] local.INFO: Acknowledgment sent {"connection_id":124800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:56:04] local.INFO: TCP Data received {"connection_id":122816,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:56:04] local.INFO: Processing buffer {"connection_id":122816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:56:04] local.INFO: IMEI packet received {"connection_id":122816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":122816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:56:09] local.INFO: TCP Data received {"connection_id":122816,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:56:09] local.INFO: Processing buffer {"connection_id":122816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:56:09] local.INFO: IMEI packet received {"connection_id":122816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":122816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:56:10] local.INFO: TCP Data received {"connection_id":122816,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:56:10] local.INFO: Processing buffer {"connection_id":122816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:56:10] local.INFO: Packet analysis {"connection_id":122816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:56:10] local.INFO: Extracted packet for processing {"connection_id":122816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516700160001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:56:10] 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-07-05 21:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268661000,"timestamp_ms":1783268661000,"timestamp_seconds":1783268661,"priority":1,"record_length":96,"hex_timestamp":"0000019f33185708"} 
[2026-07-05 21:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516700160001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516700160001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:56:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516700160001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":122816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:56:10] local.INFO: GPS data processed {"connection_id":122816,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:56:10] local.INFO: Acknowledgment sent {"connection_id":122816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:56:28] local.INFO: TCP Data received {"connection_id":124800,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3318eb78012d7c760005d9eeb8000200ad11..."} 
[2026-07-05 21:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3318eb78012d7c760005d9eeb8000200ad11..."} 
[2026-07-05 21:56:28] local.INFO: Processing buffer {"connection_id":124800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3318eb78012d7c760005d9eeb8000200ad11..."} 
[2026-07-05 21:56:28] local.INFO: Packet analysis {"connection_id":124800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:56:28] local.INFO: Extracted packet for processing {"connection_id":124800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763131392,"raw_latitude":98168504,"longitude_deg":76.3131392,"latitude_deg":9.8168504,"altitude":2,"angle":173,"satellites":17,"speed":43,"hex_longitude":"2d7c7600","hex_latitude":"05d9eeb8","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516784896001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102662263973871616,"note":"Value kept but may cause issues"} 
[2026-07-05 21:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966666883228028928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783268699000,"timestamp_ms":1783268699000,"timestamp_seconds":1783268699,"priority":1,"record_length":96,"hex_timestamp":"0000019f3318eb78"} 
[2026-07-05 21:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:56: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-07-05 21: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":70,"data_length":795,"current_offset":136} 
[2026-07-05 21:56:28] 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-07-05 21: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-07-05 21:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":124800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":124800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":124800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:56:28] 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-07-05 21:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516784896001,"66":12069,"187":206,"85":15104,"24":43,"16":102662263973871616,"45":8966666883228028928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-05 21:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516784896001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:56:28] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-05 21:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102662263973871616,"km_value":102662263973871.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966666883228028928,"description":"Unknown IO ID 45"} 
[2026-07-05 21:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516784896001,"power":12069,"unknown_187":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8966666883228028928}} 
[2026-07-05 21:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":124800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:56:29] local.INFO: GPS data processed {"connection_id":124800,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:56:29] local.INFO: Acknowledgment sent {"connection_id":124800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:56:41] local.INFO: TCP Data received {"connection_id":122816,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:56:41] local.INFO: Processing buffer {"connection_id":122816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:56:41] local.INFO: Packet analysis {"connection_id":122816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:56:41] local.INFO: Extracted packet for processing {"connection_id":122816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:56:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516700160001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:56:41] 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-07-05 21:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268661000,"timestamp_ms":1783268661000,"timestamp_seconds":1783268661,"priority":1,"record_length":96,"hex_timestamp":"0000019f33185708"} 
[2026-07-05 21:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516700160001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516700160001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:56:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516700160001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":122816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:56:41] local.INFO: GPS data processed {"connection_id":122816,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:56:41] local.INFO: Acknowledgment sent {"connection_id":122816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:56:54] local.INFO: TCP Data received {"connection_id":122818,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:56:54] local.INFO: Processing buffer {"connection_id":122818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:56:54] local.INFO: IMEI packet received {"connection_id":122818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":122818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:56:55] local.INFO: TCP Data received {"connection_id":122818,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:56:55] local.INFO: Processing buffer {"connection_id":122818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:56:55] local.INFO: IMEI packet received {"connection_id":122818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":122818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:57:00] local.INFO: TCP Data received {"connection_id":122818,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:57:00] local.INFO: Processing buffer {"connection_id":122818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:57:00] local.INFO: IMEI packet received {"connection_id":122818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":122818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:57:03] local.INFO: TCP Data received {"connection_id":122818,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331a3f50012d7ca0c005d85ac8000000b215..."} 
[2026-07-05 21:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331a3f50012d7ca0c005d85ac8000000b215..."} 
[2026-07-05 21:57:03] local.INFO: Processing buffer {"connection_id":122818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331a3f50012d7ca0c005d85ac8000000b215..."} 
[2026-07-05 21:57:03] local.INFO: Packet analysis {"connection_id":122818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331a"} 
[2026-07-05 21:57:03] local.INFO: Extracted packet for processing {"connection_id":122818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331a"} 
[2026-07-05 21:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763142336,"raw_latitude":98065096,"longitude_deg":76.3142336,"latitude_deg":9.8065096,"altitude":0,"angle":178,"satellites":21,"speed":44,"hex_longitude":"2d7ca0c0","hex_latitude":"05d85ac8","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516807168001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102667310560444416,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980036944595410944,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:03] 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-07-05 21:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1783268786000,"timestamp_ms":1783268786000,"timestamp_seconds":1783268786,"priority":1,"record_length":96,"hex_timestamp":"0000019f331a3f50"} 
[2026-07-05 21:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:57: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-07-05 21: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:57:03] 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-07-05 21: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-07-05 21:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":122818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":122818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":122818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:57: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-07-05 21:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516807168001,"66":12189,"197":206,"85":15104,"24":44,"16":102667310560444416,"45":8980036944595410944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-05 21:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516807168001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:57:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-05 21:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102667310560444416,"km_value":102667310560444.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980036944595410944,"description":"Unknown IO ID 45"} 
[2026-07-05 21:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516807168001,"power":12189,"unknown_197":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8980036944595410944}} 
[2026-07-05 21:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":122818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:57:03] local.INFO: GPS data processed {"connection_id":122818,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:57:03] local.INFO: Acknowledgment sent {"connection_id":122818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:57:06] local.INFO: TCP Data received {"connection_id":122818,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331a6278012d7c9fc005d834c0000000b113..."} 
[2026-07-05 21:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331a6278012d7c9fc005d834c0000000b113..."} 
[2026-07-05 21:57:06] local.INFO: Processing buffer {"connection_id":122818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331a6278012d7c9fc005d834c0000000b113..."} 
[2026-07-05 21:57:06] local.INFO: Packet analysis {"connection_id":122818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331a"} 
[2026-07-05 21:57:06] local.INFO: Extracted packet for processing {"connection_id":122818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331a"} 
[2026-07-05 21:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763142080,"raw_latitude":98055360,"longitude_deg":76.314208,"latitude_deg":9.805536,"altitude":0,"angle":177,"satellites":19,"speed":42,"hex_longitude":"2d7c9fc0","hex_latitude":"05d834c0","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516809216001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102667783006846976,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980388788313966592,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783268795000,"timestamp_ms":1783268795000,"timestamp_seconds":1783268795,"priority":1,"record_length":96,"hex_timestamp":"0000019f331a6278"} 
[2026-07-05 21:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:57:06] 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-07-05 21: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-05 21:57:06] 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-07-05 21: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-07-05 21:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":122818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":122818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":122818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:57: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-07-05 21:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516809216001,"66":12102,"196":206,"85":15104,"24":42,"16":102667783006846976,"45":8980388788313966592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-05 21:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516809216001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:57:06] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-05 21:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102667783006846976,"km_value":102667783006846.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980388788313966592,"description":"Unknown IO ID 45"} 
[2026-07-05 21:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516809216001,"power":12102,"unknown_196":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8980388788313966592}} 
[2026-07-05 21:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":122818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:57:06] local.INFO: GPS data processed {"connection_id":122818,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:57:06] local.INFO: Acknowledgment sent {"connection_id":122818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:57:09] local.INFO: TCP Data received {"connection_id":122819,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:57:09] local.INFO: Processing buffer {"connection_id":122819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:57:09] local.INFO: IMEI packet received {"connection_id":122819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":122819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:57:14] local.INFO: TCP Data received {"connection_id":122819,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:57:14] local.INFO: Processing buffer {"connection_id":122819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:57:14] local.INFO: IMEI packet received {"connection_id":122819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":122819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:57:15] local.INFO: TCP Data received {"connection_id":122819,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:57:15] local.INFO: Processing buffer {"connection_id":122819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:57:15] local.INFO: Packet analysis {"connection_id":122819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:57:15] local.INFO: Extracted packet for processing {"connection_id":122819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516700160001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:15] 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-07-05 21:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783268661000,"timestamp_ms":1783268661000,"timestamp_seconds":1783268661,"priority":1,"record_length":96,"hex_timestamp":"0000019f33185708"} 
[2026-07-05 21:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516700160001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516700160001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:57:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:57:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516700160001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":122819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:57:15] local.INFO: GPS data processed {"connection_id":122819,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:57:15] local.INFO: Acknowledgment sent {"connection_id":122819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:57:19] local.INFO: TCP Data received {"connection_id":122819,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:57:19] local.INFO: Processing buffer {"connection_id":122819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:57:19] local.INFO: Packet analysis {"connection_id":122819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:57:19] local.INFO: Extracted packet for processing {"connection_id":122819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:57:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516700160001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:19] 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-07-05 21:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783268661000,"timestamp_ms":1783268661000,"timestamp_seconds":1783268661,"priority":1,"record_length":96,"hex_timestamp":"0000019f33185708"} 
[2026-07-05 21:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:57: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-07-05 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21: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-07-05 21:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516700160001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516700160001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:57:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:57:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:57:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516700160001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":122819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:57:19] local.INFO: GPS data processed {"connection_id":122819,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:57:19] local.INFO: Acknowledgment sent {"connection_id":122819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:57:29] local.INFO: TCP Data received {"connection_id":124801,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:57:29] local.INFO: Processing buffer {"connection_id":124801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:57:29] local.INFO: IMEI packet received {"connection_id":124801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":124801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:57:50] local.INFO: TCP Data received {"connection_id":122820,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:57:50] local.INFO: Processing buffer {"connection_id":122820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:57:50] local.INFO: IMEI packet received {"connection_id":122820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":122820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:57:54] local.INFO: TCP Data received {"connection_id":122820,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:57:54] local.INFO: Processing buffer {"connection_id":122820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:57:54] local.INFO: IMEI packet received {"connection_id":122820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":122820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:57:55] local.INFO: TCP Data received {"connection_id":122820,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331a81b8012d7ca14005d811c0000000b114..."} 
[2026-07-05 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331a81b8012d7ca14005d811c0000000b114..."} 
[2026-07-05 21:57:55] local.INFO: Processing buffer {"connection_id":122820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331a81b8012d7ca14005d811c0000000b114..."} 
[2026-07-05 21:57:55] local.INFO: Packet analysis {"connection_id":122820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331a"} 
[2026-07-05 21:57:55] local.INFO: Extracted packet for processing {"connection_id":122820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331a"} 
[2026-07-05 21:57:55] local.INFO: GPS Element Parsed {"raw_longitude":763142464,"raw_latitude":98046400,"longitude_deg":76.3142464,"latitude_deg":9.80464,"altitude":0,"angle":177,"satellites":20,"speed":44,"hex_longitude":"2d7ca140","hex_latitude":"05d811c0","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516811520001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102668221093511168,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980107313334763520,"note":"Value kept but may cause issues"} 
[2026-07-05 21:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783268803000,"timestamp_ms":1783268803000,"timestamp_seconds":1783268803,"priority":1,"record_length":96,"hex_timestamp":"0000019f331a81b8"} 
[2026-07-05 21:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-05 21:57:55] 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-07-05 21: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-07-05 21:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":122820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":122820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":122820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:57:55] 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-07-05 21:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516811520001,"66":12189,"196":206,"85":15104,"24":44,"16":102668221093511168,"45":8980107313334763520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-05 21:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516811520001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:57:55] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-05 21:57:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102668221093511168,"km_value":102668221093511.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980107313334763520,"description":"Unknown IO ID 45"} 
[2026-07-05 21:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516811520001,"power":12189,"unknown_196":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8980107313334763520}} 
[2026-07-05 21:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":122820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:57:55] local.INFO: GPS data processed {"connection_id":122820,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:57:55] local.INFO: Acknowledgment sent {"connection_id":122820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:58:03] local.INFO: TCP Data received {"connection_id":122893,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:58:03] local.INFO: Processing buffer {"connection_id":122893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 21:58:03] local.INFO: IMEI packet received {"connection_id":122893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 21:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":122893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:58:04] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:58:04] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:58:04] local.INFO: IMEI packet received {"connection_id":124802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":124802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:58:09] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:58:09] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:58:09] local.INFO: IMEI packet received {"connection_id":124802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":124802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:58:10] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:58:10] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:58:10] local.INFO: Packet analysis {"connection_id":124802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:58:10] local.INFO: Extracted packet for processing {"connection_id":124802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516700160001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:58:10] 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-07-05 21:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268661000,"timestamp_ms":1783268661000,"timestamp_seconds":1783268661,"priority":1,"record_length":96,"hex_timestamp":"0000019f33185708"} 
[2026-07-05 21:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 21:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516700160001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516700160001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:58:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516700160001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":124802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:58:10] local.INFO: GPS data processed {"connection_id":124802,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:58:10] local.INFO: Acknowledgment sent {"connection_id":124802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:58:26] local.INFO: TCP Data received {"connection_id":122820,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331aa8c8012d7ca2c005d7edf0000000b212..."} 
[2026-07-05 21:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331aa8c8012d7ca2c005d7edf0000000b212..."} 
[2026-07-05 21:58:26] local.INFO: Processing buffer {"connection_id":122820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331aa8c8012d7ca2c005d7edf0000000b212..."} 
[2026-07-05 21:58:26] local.INFO: Packet analysis {"connection_id":122820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331a"} 
[2026-07-05 21:58:26] local.INFO: Extracted packet for processing {"connection_id":122820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331a"} 
[2026-07-05 21:58:26] local.INFO: GPS Element Parsed {"raw_longitude":763142848,"raw_latitude":98037232,"longitude_deg":76.3142848,"latitude_deg":9.8037232,"altitude":0,"angle":178,"satellites":18,"speed":28,"hex_longitude":"2d7ca2c0","hex_latitude":"05d7edf0","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516813568001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102668663475142656,"note":"Value kept but may cause issues"} 
[2026-07-05 21:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980529525797535744,"note":"Value kept but may cause issues"} 
[2026-07-05 21:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783268813000,"timestamp_ms":1783268813000,"timestamp_seconds":1783268813,"priority":1,"record_length":96,"hex_timestamp":"0000019f331aa8c8"} 
[2026-07-05 21:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-05 21:58:26] 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-07-05 21: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-07-05 21:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":122820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":122820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":122820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:58:26] 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-07-05 21:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516813568001,"66":11852,"196":206,"85":15104,"24":28,"16":102668663475142656,"45":8980529525797535744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-05 21:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516813568001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:58:26] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-05 21:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102668663475142656,"km_value":102668663475142.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980529525797535744,"description":"Unknown IO ID 45"} 
[2026-07-05 21:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516813568001,"power":11852,"unknown_196":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8980529525797535744}} 
[2026-07-05 21:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":122820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:58:27] local.INFO: GPS data processed {"connection_id":122820,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:58:27] local.INFO: Acknowledgment sent {"connection_id":122820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:58:41] local.INFO: TCP Data received {"connection_id":124802,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:58:41] local.INFO: Processing buffer {"connection_id":124802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 21:58:41] local.INFO: Packet analysis {"connection_id":124802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:58:41] local.INFO: Extracted packet for processing {"connection_id":124802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 21:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516700160001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 21:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 21:58:41] 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-07-05 21:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268661000,"timestamp_ms":1783268661000,"timestamp_seconds":1783268661,"priority":1,"record_length":96,"hex_timestamp":"0000019f33185708"} 
[2026-07-05 21:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 21:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 21:58: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-07-05 21:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 21:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 21:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 21:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 21:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516700160001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 21:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 21:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 21:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516700160001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:58:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 21:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 21:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 21:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516700160001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 21:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":124802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:58:41] local.INFO: GPS data processed {"connection_id":124802,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:58:41] local.INFO: Acknowledgment sent {"connection_id":124802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:58:49] local.INFO: TCP Data received {"connection_id":122821,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:58:49] local.INFO: Processing buffer {"connection_id":122821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:58:49] local.INFO: IMEI packet received {"connection_id":122821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":122821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:58:50] local.INFO: TCP Data received {"connection_id":122821,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:58:50] local.INFO: Processing buffer {"connection_id":122821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:58:50] local.INFO: IMEI packet received {"connection_id":122821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":122821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:58:57] local.INFO: TCP Data received {"connection_id":122821,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:58:57] local.INFO: Processing buffer {"connection_id":122821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:58:57] local.INFO: IMEI packet received {"connection_id":122821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":122821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:59:01] local.INFO: TCP Data received {"connection_id":122821,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331aeb30012d7ca64005d7ca00000000ab14..."} 
[2026-07-05 21:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331aeb30012d7ca64005d7ca00000000ab14..."} 
[2026-07-05 21:59:01] local.INFO: Processing buffer {"connection_id":122821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331aeb30012d7ca64005d7ca00000000ab14..."} 
[2026-07-05 21:59:01] local.INFO: Packet analysis {"connection_id":122821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331a"} 
[2026-07-05 21:59:01] local.INFO: Extracted packet for processing {"connection_id":122821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331a"} 
[2026-07-05 21:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763143744,"raw_latitude":98028032,"longitude_deg":76.3143744,"latitude_deg":9.8028032,"altitude":0,"angle":171,"satellites":20,"speed":19,"hex_longitude":"2d7ca640","hex_latitude":"05d7ca00","is_valid_coordinates":true} 
[2026-07-05 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-07-05 21:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516816128001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102669114446708736,"note":"Value kept but may cause issues"} 
[2026-07-05 21:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980951738260254720,"note":"Value kept but may cause issues"} 
[2026-07-05 21:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783268830000,"timestamp_ms":1783268830000,"timestamp_seconds":1783268830,"priority":1,"record_length":96,"hex_timestamp":"0000019f331aeb30"} 
[2026-07-05 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-07-05 21:59:01] 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-07-05 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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-05 21:59:01] 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-07-05 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-07-05 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-07-05 21:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":122821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":122821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":122821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:59:01] 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-07-05 21:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516816128001,"66":12069,"195":206,"85":15104,"24":19,"16":102669114446708736,"45":8980951738260254720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-05 21:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516816128001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:59:01] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-05 21:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102669114446708736,"km_value":102669114446708.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980951738260254720,"description":"Unknown IO ID 45"} 
[2026-07-05 21:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516816128001,"power":12069,"unknown_195":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8980951738260254720}} 
[2026-07-05 21:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":122821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:59:01] local.INFO: GPS data processed {"connection_id":122821,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:59:01] local.INFO: Acknowledgment sent {"connection_id":122821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:59:04] local.INFO: TCP Data received {"connection_id":122822,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:59:04] local.INFO: Processing buffer {"connection_id":122822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:59:04] local.INFO: IMEI packet received {"connection_id":122822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 21:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":122822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:59:09] local.INFO: TCP Data received {"connection_id":122822,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:59:09] local.INFO: Processing buffer {"connection_id":122822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 21:59:09] local.INFO: IMEI packet received {"connection_id":122822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 21:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":122822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:59:38] local.INFO: TCP Data received {"connection_id":122821,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ccba8012d7cfd4005d5fe00000600ab14..."} 
[2026-07-05 21:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ccba8012d7cfd4005d5fe00000600ab14..."} 
[2026-07-05 21:59:38] local.INFO: Processing buffer {"connection_id":122821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ccba8012d7cfd4005d5fe00000600ab14..."} 
[2026-07-05 21:59:38] local.INFO: Packet analysis {"connection_id":122821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 21:59:38] local.INFO: Extracted packet for processing {"connection_id":122821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 21:59:38] local.INFO: GPS Element Parsed {"raw_longitude":763166016,"raw_latitude":97910272,"longitude_deg":76.3166016,"latitude_deg":9.7910272,"altitude":6,"angle":171,"satellites":20,"speed":45,"hex_longitude":"2d7cfd40","hex_latitude":"05d5fe00","is_valid_coordinates":true} 
[2026-07-05 21: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-07-05 21:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516849920001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102674951307264000,"note":"Value kept but may cause issues"} 
[2026-07-05 21:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005440061203847168,"note":"Value kept but may cause issues"} 
[2026-07-05 21:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1783268953000,"timestamp_ms":1783268953000,"timestamp_seconds":1783268953,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ccba8"} 
[2026-07-05 21:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-05 21:59:38] 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-07-05 21: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-07-05 21:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":122821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":122821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":122821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:59: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-07-05 21:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516849920001,"66":12156,"30":206,"85":15104,"24":45,"16":102674951307264000,"45":9005440061203847168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-05 21:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516849920001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:59:38] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-05 21:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102674951307264000,"km_value":102674951307264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005440061203847168,"description":"Unknown IO ID 45"} 
[2026-07-05 21:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516849920001,"power":12156,"unknown_30":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9005440061203847168}} 
[2026-07-05 21:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":122821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:59:39] local.INFO: GPS data processed {"connection_id":122821,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:59:39] local.INFO: Acknowledgment sent {"connection_id":122821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 21:59:50] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:59:50] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:59:50] local.INFO: IMEI packet received {"connection_id":124804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 21:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":124804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 21:59:53] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:59:53] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:59:53] local.INFO: IMEI packet received {"connection_id":124804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":124804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:59:55] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:59:55] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 21:59:55] local.INFO: IMEI packet received {"connection_id":124804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 21:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":124804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 21:59:56] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ceed0012d7d080005d5d9680004009f15..."} 
[2026-07-05 21:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ceed0012d7d080005d5d9680004009f15..."} 
[2026-07-05 21:59:56] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ceed0012d7d080005d5d9680004009f15..."} 
[2026-07-05 21:59:56] local.INFO: Packet analysis {"connection_id":124804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 21:59:56] local.INFO: Extracted packet for processing {"connection_id":124804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763168768,"raw_latitude":97900904,"longitude_deg":76.3168768,"latitude_deg":9.7900904,"altitude":4,"angle":159,"satellites":21,"speed":41,"hex_longitude":"2d7d0800","hex_latitude":"05d5d968","is_valid_coordinates":true} 
[2026-07-05 21:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 21:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516851968001,"note":"Value kept but may cause issues"} 
[2026-07-05 21:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102675423753666560,"note":"Value kept but may cause issues"} 
[2026-07-05 21:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006425223620067328,"note":"Value kept but may cause issues"} 
[2026-07-05 21:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 21:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783268962000,"timestamp_ms":1783268962000,"timestamp_seconds":1783268962,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ceed0"} 
[2026-07-05 21:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 21:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 21:59: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-07-05 21:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 21:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 21:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 21:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":124804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 21:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":124804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":124804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 21:59:56] 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-07-05 21:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 21:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 21:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516851968001,"66":12004,"29":206,"85":15104,"24":41,"16":102675423753666560,"45":9006425223620067328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-05 21:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 21:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 21:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516851968001,"description":"Unknown IO ID 0"} 
[2026-07-05 21:59:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-05 21:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 21:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102675423753666560,"km_value":102675423753666.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 21:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006425223620067328,"description":"Unknown IO ID 45"} 
[2026-07-05 21:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516851968001,"power":12004,"unknown_29":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9006425223620067328}} 
[2026-07-05 21:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":124804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 21:59:56] local.INFO: GPS data processed {"connection_id":124804,"processed":1,"errors":0,"total":1} 
[2026-07-05 21:59:56] local.INFO: Acknowledgment sent {"connection_id":124804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:00:01] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ceed0012d7d080005d5d9680004009f15..."} 
[2026-07-05 22:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ceed0012d7d080005d5d9680004009f15..."} 
[2026-07-05 22:00:01] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ceed0012d7d080005d5d9680004009f15..."} 
[2026-07-05 22:00:01] local.INFO: Packet analysis {"connection_id":124804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:00:01] local.INFO: Extracted packet for processing {"connection_id":124804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763168768,"raw_latitude":97900904,"longitude_deg":76.3168768,"latitude_deg":9.7900904,"altitude":4,"angle":159,"satellites":21,"speed":41,"hex_longitude":"2d7d0800","hex_latitude":"05d5d968","is_valid_coordinates":true} 
[2026-07-05 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-07-05 22:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516854272001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102675423753666560,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009451079617308672,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783268962000,"timestamp_ms":1783268962000,"timestamp_seconds":1783268962,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ceed0"} 
[2026-07-05 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-07-05 22:00:01] 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-07-05 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-05 22:00:01] 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-07-05 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-07-05 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-07-05 22:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:00:01] 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-07-05 22:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516854272001,"66":12004,"29":206,"85":15104,"24":41,"16":102675423753666560,"45":9009451079617308672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-05 22:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516854272001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:00:01] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-05 22:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102675423753666560,"km_value":102675423753666.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009451079617308672,"description":"Unknown IO ID 45"} 
[2026-07-05 22:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516854272001,"power":12004,"unknown_29":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9009451079617308672}} 
[2026-07-05 22:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":124804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:00:01] local.INFO: GPS data processed {"connection_id":124804,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:00:01] local.INFO: Acknowledgment sent {"connection_id":124804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:00:04] local.INFO: TCP Data received {"connection_id":123577,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:00:04] local.INFO: Processing buffer {"connection_id":123577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:00:04] local.INFO: IMEI packet received {"connection_id":123577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":123577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:00:09] local.INFO: TCP Data received {"connection_id":123577,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:00:09] local.INFO: Processing buffer {"connection_id":123577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:00:09] local.INFO: IMEI packet received {"connection_id":123577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":123577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:00:12] local.INFO: TCP Data received {"connection_id":123577,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:00:12] local.INFO: Processing buffer {"connection_id":123577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:00:12] local.INFO: Packet analysis {"connection_id":123577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:00:12] local.INFO: Extracted packet for processing {"connection_id":123577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:00:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":79,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516777216001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00: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-07-05 22:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783268959000,"timestamp_ms":1783268959000,"timestamp_seconds":1783268959,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ce318"} 
[2026-07-05 22:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516777216001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516777216001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:00:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516777216001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":123577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:00:12] local.INFO: GPS data processed {"connection_id":123577,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:00:12] local.INFO: Acknowledgment sent {"connection_id":123577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:00:31] local.INFO: TCP Data received {"connection_id":124804,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331d15e0012d7d170005d5b6d80003009c16..."} 
[2026-07-05 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331d15e0012d7d170005d5b6d80003009c16..."} 
[2026-07-05 22:00:31] local.INFO: Processing buffer {"connection_id":124804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331d15e0012d7d170005d5b6d80003009c16..."} 
[2026-07-05 22:00:31] local.INFO: Packet analysis {"connection_id":124804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331d"} 
[2026-07-05 22:00:31] local.INFO: Extracted packet for processing {"connection_id":124804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331d"} 
[2026-07-05 22:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763172608,"raw_latitude":97892056,"longitude_deg":76.3172608,"latitude_deg":9.7892056,"altitude":3,"angle":156,"satellites":22,"speed":38,"hex_longitude":"2d7d1700","hex_latitude":"05d5b6d8","is_valid_coordinates":true} 
[2026-07-05 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-07-05 22:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516854272001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102675891905101824,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009451079617308672,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783268972000,"timestamp_ms":1783268972000,"timestamp_seconds":1783268972,"priority":1,"record_length":96,"hex_timestamp":"0000019f331d15e0"} 
[2026-07-05 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-07-05 22:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-05 22:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 22:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":124804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":124804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":124804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:00:31] 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-07-05 22:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516854272001,"66":12178,"29":206,"85":15104,"24":38,"16":102675891905101824,"45":9009451079617308672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-05 22:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516854272001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:00:31] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-05 22:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102675891905101824,"km_value":102675891905101.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009451079617308672,"description":"Unknown IO ID 45"} 
[2026-07-05 22:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516854272001,"power":12178,"unknown_29":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9009451079617308672}} 
[2026-07-05 22:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":124804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:00:32] local.INFO: GPS data processed {"connection_id":124804,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:00:32] local.INFO: Acknowledgment sent {"connection_id":124804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:00:43] local.INFO: TCP Data received {"connection_id":123577,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:00:43] local.INFO: Processing buffer {"connection_id":123577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:00:43] local.INFO: Packet analysis {"connection_id":123577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:00:43] local.INFO: Extracted packet for processing {"connection_id":123577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:00:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":79,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516777216001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:43] 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-07-05 22:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783268959000,"timestamp_ms":1783268959000,"timestamp_seconds":1783268959,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ce318"} 
[2026-07-05 22:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":123577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":123577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":123577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516777216001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516777216001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:00:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:00:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516777216001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":123577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:00:43] local.INFO: GPS data processed {"connection_id":123577,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:00:43] local.INFO: Acknowledgment sent {"connection_id":123577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:00:50] local.INFO: TCP Data received {"connection_id":122823,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:00:50] local.INFO: Processing buffer {"connection_id":122823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:00:50] local.INFO: IMEI packet received {"connection_id":122823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":122823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:00:55] local.INFO: TCP Data received {"connection_id":122823,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:00:55] local.INFO: Processing buffer {"connection_id":122823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:00:55] local.INFO: IMEI packet received {"connection_id":122823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":122823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:00:56] local.INFO: TCP Data received {"connection_id":122823,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331d3cf0012d7d23c005d59460000300a115..."} 
[2026-07-05 22:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331d3cf0012d7d23c005d59460000300a115..."} 
[2026-07-05 22:00:56] local.INFO: Processing buffer {"connection_id":122823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331d3cf0012d7d23c005d59460000300a115..."} 
[2026-07-05 22:00:56] local.INFO: Packet analysis {"connection_id":122823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331d"} 
[2026-07-05 22:00:56] local.INFO: Extracted packet for processing {"connection_id":122823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331d"} 
[2026-07-05 22:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763175872,"raw_latitude":97883232,"longitude_deg":76.3175872,"latitude_deg":9.7883232,"altitude":3,"angle":161,"satellites":21,"speed":37,"hex_longitude":"2d7d23c0","hex_latitude":"05d59460","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516856832001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102676347171635200,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013673204265703424,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783268982000,"timestamp_ms":1783268982000,"timestamp_seconds":1783268982,"priority":1,"record_length":96,"hex_timestamp":"0000019f331d3cf0"} 
[2026-07-05 22:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 22: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-05 22:00:56] 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-07-05 22: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-07-05 22:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:00:56] 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-07-05 22:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516856832001,"66":12069,"29":206,"85":15104,"24":37,"16":102676347171635200,"45":9013673204265703424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-05 22:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516856832001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:00:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-05 22:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102676347171635200,"km_value":102676347171635.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013673204265703424,"description":"Unknown IO ID 45"} 
[2026-07-05 22:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516856832001,"power":12069,"unknown_29":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9013673204265703424}} 
[2026-07-05 22:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":122823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:00:56] local.INFO: GPS data processed {"connection_id":122823,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:00:56] local.INFO: Acknowledgment sent {"connection_id":122823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:00:59] local.INFO: TCP Data received {"connection_id":122822,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 22:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 22:00:59] local.INFO: Processing buffer {"connection_id":122822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33185708012cb2a24007823a68004800c92c..."} 
[2026-07-05 22:00:59] local.INFO: Packet analysis {"connection_id":122822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 22:00:59] local.INFO: Extracted packet for processing {"connection_id":122822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3318"} 
[2026-07-05 22:00:59] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516700160001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:00:59] 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-07-05 22:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783268661000,"timestamp_ms":1783268661000,"timestamp_seconds":1783268661,"priority":1,"record_length":96,"hex_timestamp":"0000019f33185708"} 
[2026-07-05 22:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":122822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":122822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":122822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516700160001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516700160001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:00:59] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:00:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:00:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516700160001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":122822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:00:59] local.INFO: GPS data processed {"connection_id":122822,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:00:59] local.INFO: Acknowledgment sent {"connection_id":122822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:01:04] local.INFO: TCP Data received {"connection_id":122895,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:01:04] local.INFO: Processing buffer {"connection_id":122895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:01:04] local.INFO: IMEI packet received {"connection_id":122895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":122895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:01:09] local.INFO: TCP Data received {"connection_id":122895,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:01:09] local.INFO: Processing buffer {"connection_id":122895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:01:09] local.INFO: IMEI packet received {"connection_id":122895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":122895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:01:10] local.INFO: TCP Data received {"connection_id":122895,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:01:10] local.INFO: Processing buffer {"connection_id":122895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:01:10] local.INFO: Packet analysis {"connection_id":122895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:01:10] local.INFO: Extracted packet for processing {"connection_id":122895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":79,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516777216001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:10] 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-07-05 22:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268959000,"timestamp_ms":1783268959000,"timestamp_seconds":1783268959,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ce318"} 
[2026-07-05 22:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516777216001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516777216001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:01:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:01:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:01:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516777216001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":122895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:01:10] local.INFO: GPS data processed {"connection_id":122895,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:01:10] local.INFO: Acknowledgment sent {"connection_id":122895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:01:29] local.INFO: TCP Data received {"connection_id":122823,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331d6400012d7d2d4005d56fc0000300ab15..."} 
[2026-07-05 22:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331d6400012d7d2d4005d56fc0000300ab15..."} 
[2026-07-05 22:01:29] local.INFO: Processing buffer {"connection_id":122823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331d6400012d7d2d4005d56fc0000300ab15..."} 
[2026-07-05 22:01:29] local.INFO: Packet analysis {"connection_id":122823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331d"} 
[2026-07-05 22:01:29] local.INFO: Extracted packet for processing {"connection_id":122823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331d"} 
[2026-07-05 22:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763178304,"raw_latitude":97873856,"longitude_deg":76.3178304,"latitude_deg":9.7873856,"altitude":3,"angle":171,"satellites":21,"speed":40,"hex_longitude":"2d7d2d40","hex_latitude":"05d56fc0","is_valid_coordinates":true} 
[2026-07-05 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-07-05 22:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516859392001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102676815323070464,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017262010216505344,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1783268992000,"timestamp_ms":1783268992000,"timestamp_seconds":1783268992,"priority":1,"record_length":96,"hex_timestamp":"0000019f331d6400"} 
[2026-07-05 22:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:01: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-07-05 22: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-05 22:01: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-07-05 22: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-07-05 22:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":122823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":122823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":122823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:01:29] 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-07-05 22:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516859392001,"66":12102,"253":206,"85":15104,"24":40,"16":102676815323070464,"45":9017262010216505344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-05 22:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516859392001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:01:29] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-05 22:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102676815323070464,"km_value":102676815323070.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017262010216505344,"description":"Unknown IO ID 45"} 
[2026-07-05 22:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516859392001,"power":12102,"unknown_253":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9017262010216505344}} 
[2026-07-05 22:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":122823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:01:29] local.INFO: GPS data processed {"connection_id":122823,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:01:29] local.INFO: Acknowledgment sent {"connection_id":122823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:01:41] local.INFO: TCP Data received {"connection_id":122895,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:01:41] local.INFO: Processing buffer {"connection_id":122895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:01:41] local.INFO: Packet analysis {"connection_id":122895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:01:41] local.INFO: Extracted packet for processing {"connection_id":122895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:01:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":79,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516777216001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:41] 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-07-05 22:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268959000,"timestamp_ms":1783268959000,"timestamp_seconds":1783268959,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ce318"} 
[2026-07-05 22:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516777216001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516777216001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:01:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:01:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516777216001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":122895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:01:41] local.INFO: GPS data processed {"connection_id":122895,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:01:41] local.INFO: Acknowledgment sent {"connection_id":122895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:01:50] local.INFO: TCP Data received {"connection_id":122824,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:01:50] local.INFO: Processing buffer {"connection_id":122824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:01:50] local.INFO: IMEI packet received {"connection_id":122824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":122824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:01:55] local.INFO: TCP Data received {"connection_id":122824,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:01:55] local.INFO: Processing buffer {"connection_id":122824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:01:55] local.INFO: IMEI packet received {"connection_id":122824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":122824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:01:56] local.INFO: TCP Data received {"connection_id":122824,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331d8728012d7d2f8005d54d00000100b412..."} 
[2026-07-05 22:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331d8728012d7d2f8005d54d00000100b412..."} 
[2026-07-05 22:01:56] local.INFO: Processing buffer {"connection_id":122824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331d8728012d7d2f8005d54d00000100b412..."} 
[2026-07-05 22:01:56] local.INFO: Packet analysis {"connection_id":122824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331d"} 
[2026-07-05 22:01:56] local.INFO: Extracted packet for processing {"connection_id":122824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331d"} 
[2026-07-05 22:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":97864960,"longitude_deg":76.317888,"latitude_deg":9.786496,"altitude":1,"angle":180,"satellites":18,"speed":38,"hex_longitude":"2d7d2f80","hex_latitude":"05d54d00","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516861952001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102677249114767360,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019936022492856320,"note":"Value kept but may cause issues"} 
[2026-07-05 22:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783269001000,"timestamp_ms":1783269001000,"timestamp_seconds":1783269001,"priority":1,"record_length":96,"hex_timestamp":"0000019f331d8728"} 
[2026-07-05 22:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 22: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-05 22:01:56] 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-07-05 22: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-07-05 22:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:01:56] 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-07-05 22:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516861952001,"66":12156,"253":206,"85":15104,"24":38,"16":102677249114767360,"45":9019936022492856320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-07-05 22:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516861952001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:01:56] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-05 22:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102677249114767360,"km_value":102677249114767.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019936022492856320,"description":"Unknown IO ID 45"} 
[2026-07-05 22:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516861952001,"power":12156,"unknown_253":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9019936022492856320}} 
[2026-07-05 22:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":122824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:01:56] local.INFO: GPS data processed {"connection_id":122824,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:01:56] local.INFO: Acknowledgment sent {"connection_id":122824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:02:09] local.INFO: TCP Data received {"connection_id":124805,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:02:09] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:02:09] local.INFO: IMEI packet received {"connection_id":124805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":124805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:02:14] local.INFO: TCP Data received {"connection_id":124805,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:02:14] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:02:14] local.INFO: IMEI packet received {"connection_id":124805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":124805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:02:14] local.INFO: TCP Data received {"connection_id":124805,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:02:14] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:02:14] local.INFO: Packet analysis {"connection_id":124805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:02:14] local.INFO: Extracted packet for processing {"connection_id":124805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:02:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":79,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516777216001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:14] 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-07-05 22:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783268959000,"timestamp_ms":1783268959000,"timestamp_seconds":1783268959,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ce318"} 
[2026-07-05 22:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516777216001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516777216001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:02:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516777216001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":124805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:02:14] local.INFO: GPS data processed {"connection_id":124805,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:02:14] local.INFO: Acknowledgment sent {"connection_id":124805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:02:19] local.INFO: TCP Data received {"connection_id":124805,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:02:19] local.INFO: Processing buffer {"connection_id":124805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:02:19] local.INFO: Packet analysis {"connection_id":124805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:02:19] local.INFO: Extracted packet for processing {"connection_id":124805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:02:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":79,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516777216001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:19] 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-07-05 22:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783268959000,"timestamp_ms":1783268959000,"timestamp_seconds":1783268959,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ce318"} 
[2026-07-05 22:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:02: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-07-05 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516777216001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516777216001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:02:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:02:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:02:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516777216001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":124805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:02:19] local.INFO: GPS data processed {"connection_id":124805,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:02:19] local.INFO: Acknowledgment sent {"connection_id":124805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:02:27] local.INFO: TCP Data received {"connection_id":122824,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331f4860012d7d3b0005d3b780000700b716..."} 
[2026-07-05 22:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331f4860012d7d3b0005d3b780000700b716..."} 
[2026-07-05 22:02:27] local.INFO: Processing buffer {"connection_id":122824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331f4860012d7d3b0005d3b780000700b716..."} 
[2026-07-05 22:02:27] local.INFO: Packet analysis {"connection_id":122824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331f"} 
[2026-07-05 22:02:27] local.INFO: Extracted packet for processing {"connection_id":122824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331f"} 
[2026-07-05 22:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97761152,"longitude_deg":76.3181824,"latitude_deg":9.7761152,"altitude":7,"angle":183,"satellites":22,"speed":28,"hex_longitude":"2d7d3b00","hex_latitude":"05d3b780","is_valid_coordinates":true} 
[2026-07-05 22:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516890624001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102682312881209344,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728326256640,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:27] 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-07-05 22:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783269116000,"timestamp_ms":1783269116000,"timestamp_seconds":1783269116,"priority":1,"record_length":96,"hex_timestamp":"0000019f331f4860"} 
[2026-07-05 22:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:02: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-07-05 22:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 22:02:27] 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-07-05 22:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:02:27] 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-07-05 22:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516890624001,"66":12069,"81":206,"85":15104,"24":28,"16":102682312881209344,"45":9024650728326256640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-05 22:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516890624001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:02:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-05 22:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102682312881209344,"km_value":102682312881209.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728326256640,"description":"Unknown IO ID 45"} 
[2026-07-05 22:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516890624001,"power":12069,"unknown_81":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9024650728326256640}} 
[2026-07-05 22:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":122824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:02:27] local.INFO: GPS data processed {"connection_id":122824,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:02:27] local.INFO: Acknowledgment sent {"connection_id":122824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:02:55] local.INFO: TCP Data received {"connection_id":123578,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:02:55] local.INFO: Processing buffer {"connection_id":123578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:02:55] local.INFO: IMEI packet received {"connection_id":123578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":123578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:02:57] local.INFO: TCP Data received {"connection_id":123578,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:02:57] local.INFO: Processing buffer {"connection_id":123578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:02:57] local.INFO: IMEI packet received {"connection_id":123578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":123578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:02:58] local.INFO: TCP Data received {"connection_id":123578,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331f7358012d7d3ac005d391f8000800b517..."} 
[2026-07-05 22:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331f7358012d7d3ac005d391f8000800b517..."} 
[2026-07-05 22:02:58] local.INFO: Processing buffer {"connection_id":123578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331f7358012d7d3ac005d391f8000800b517..."} 
[2026-07-05 22:02:58] local.INFO: Packet analysis {"connection_id":123578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331f"} 
[2026-07-05 22:02:58] local.INFO: Extracted packet for processing {"connection_id":123578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331f"} 
[2026-07-05 22:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":97751544,"longitude_deg":76.318176,"latitude_deg":9.7751544,"altitude":8,"angle":181,"satellites":23,"speed":35,"hex_longitude":"2d7d3ac0","hex_latitude":"05d391f8","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516893696001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102682781032644608,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303393775616,"note":"Value kept but may cause issues"} 
[2026-07-05 22:02:58] 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-07-05 22:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1783269127000,"timestamp_ms":1783269127000,"timestamp_seconds":1783269127,"priority":1,"record_length":96,"hex_timestamp":"0000019f331f7358"} 
[2026-07-05 22:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:02: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-07-05 22: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-05 22:02: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-07-05 22: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-07-05 22:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":123578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":123578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":123578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:02:58] 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-07-05 22:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516893696001,"66":12058,"81":206,"85":15104,"24":35,"16":102682781032644608,"45":9023806303393775616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-05 22:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516893696001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:02:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-05 22:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102682781032644608,"km_value":102682781032644.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303393775616,"description":"Unknown IO ID 45"} 
[2026-07-05 22:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516893696001,"power":12058,"unknown_81":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9023806303393775616}} 
[2026-07-05 22:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":123578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:02:58] local.INFO: GPS data processed {"connection_id":123578,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:02:58] local.INFO: Acknowledgment sent {"connection_id":123578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:03:01] local.INFO: TCP Data received {"connection_id":123578,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331f9a68012d7d3b0005d36e28000600b319..."} 
[2026-07-05 22:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331f9a68012d7d3b0005d36e28000600b319..."} 
[2026-07-05 22:03:01] local.INFO: Processing buffer {"connection_id":123578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331f9a68012d7d3b0005d36e28000600b319..."} 
[2026-07-05 22:03:01] local.INFO: Packet analysis {"connection_id":123578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331f"} 
[2026-07-05 22:03:01] local.INFO: Extracted packet for processing {"connection_id":123578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331f"} 
[2026-07-05 22:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97742376,"longitude_deg":76.3181824,"latitude_deg":9.7742376,"altitude":6,"angle":179,"satellites":25,"speed":38,"hex_longitude":"2d7d3b00","hex_latitude":"05d36e28","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516896512001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102683223414276096,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934647138304,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:01] 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-07-05 22:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783269137000,"timestamp_ms":1783269137000,"timestamp_seconds":1783269137,"priority":1,"record_length":96,"hex_timestamp":"0000019f331f9a68"} 
[2026-07-05 22:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 22: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-05 22:03:01] 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-07-05 22: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-07-05 22:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":123578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":123578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":123578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:03:01] 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-07-05 22:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516896512001,"66":12037,"81":206,"85":15104,"24":38,"16":102683223414276096,"45":9023735934647138304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-05 22:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516896512001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:03:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-05 22:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102683223414276096,"km_value":102683223414276.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934647138304,"description":"Unknown IO ID 45"} 
[2026-07-05 22:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516896512001,"power":12037,"unknown_81":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9023735934647138304}} 
[2026-07-05 22:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":123578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:03:01] local.INFO: GPS data processed {"connection_id":123578,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:03:01] local.INFO: Acknowledgment sent {"connection_id":123578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:03:04] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:03:04] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:03:04] local.INFO: IMEI packet received {"connection_id":124806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":124806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:03:09] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:03:09] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:03:09] local.INFO: IMEI packet received {"connection_id":124806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":124806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:03:10] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:03:10] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:03:10] local.INFO: Packet analysis {"connection_id":124806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:03:10] local.INFO: Extracted packet for processing {"connection_id":124806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:03:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":79,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516777216001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:10] 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-07-05 22:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268959000,"timestamp_ms":1783268959000,"timestamp_seconds":1783268959,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ce318"} 
[2026-07-05 22:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516777216001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516777216001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:03:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:03:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:03:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516777216001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":124806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:03:10] local.INFO: GPS data processed {"connection_id":124806,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:03:10] local.INFO: Acknowledgment sent {"connection_id":124806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:03:24] local.INFO: TCP Data received {"connection_id":122826,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:03:24] local.INFO: Processing buffer {"connection_id":122826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:03:24] local.INFO: IMEI packet received {"connection_id":122826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":122826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:03:31] local.INFO: TCP Data received {"connection_id":123578,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331fc178012d7d3c4005d348b0000500b115..."} 
[2026-07-05 22:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331fc178012d7d3c4005d348b0000500b115..."} 
[2026-07-05 22:03:31] local.INFO: Processing buffer {"connection_id":123578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331fc178012d7d3c4005d348b0000500b115..."} 
[2026-07-05 22:03:31] local.INFO: Packet analysis {"connection_id":123578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331f"} 
[2026-07-05 22:03:31] local.INFO: Extracted packet for processing {"connection_id":123578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331f"} 
[2026-07-05 22:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":97732784,"longitude_deg":76.3182144,"latitude_deg":9.7732784,"altitude":5,"angle":177,"satellites":21,"speed":38,"hex_longitude":"2d7d3c40","hex_latitude":"05d348b0","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516899072001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102683691565711360,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303388968960,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] 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-07-05 22:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1783269147000,"timestamp_ms":1783269147000,"timestamp_seconds":1783269147,"priority":1,"record_length":96,"hex_timestamp":"0000019f331fc178"} 
[2026-07-05 22:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 22: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3026418949760746496,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6269572745059958760,"corrected_to":0} 
[2026-07-05 22:03:31] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2634022912,"corrected_to":0} 
[2026-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":211,"raw_value":4286054403,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182160990142720,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640126,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3424387072,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3158430713670224621,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194819584,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:31] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,81,85,24,241,157,16,205,159,115,45,192,145,8,23,10,66,72,183,7,22,25,1,240,124,227,204,51,211,4,113,15,195,65,184,239,46,2,108,5,69],"length":484,"final_offset":614,"validated_count":41,"validation_warnings":[{"io_id":205,"original":-6269572745059958760,"validated":0},{"io_id":204,"original":2634022912,"validated":0}]} 
[2026-07-05 22:03:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432542484185612288,"timestamp_seconds":432542484185612.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 22:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":123578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":123578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":123578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:03:31] 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-07-05 22:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516899072001,"66":11950,"81":206,"85":15104,"24":38,"16":102683691565711360,"45":9023806303388968960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-05 22:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516899072001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:03:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-05 22:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102683691565711360,"km_value":102683691565711.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303388968960,"description":"Unknown IO ID 45"} 
[2026-07-05 22:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516899072001,"power":11950,"unknown_81":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9023806303388968960}} 
[2026-07-05 22:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":123578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:03:31] local.INFO: GPS data processed {"connection_id":123578,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:03:31] local.INFO: Acknowledgment sent {"connection_id":123578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:03:41] local.INFO: TCP Data received {"connection_id":124806,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:03:41] local.INFO: Processing buffer {"connection_id":124806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:03:41] local.INFO: Packet analysis {"connection_id":124806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:03:41] local.INFO: Extracted packet for processing {"connection_id":124806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:03:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":79,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516777216001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:41] 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-07-05 22:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783268959000,"timestamp_ms":1783268959000,"timestamp_seconds":1783268959,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ce318"} 
[2026-07-05 22:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:03: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-07-05 22: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-07-05 22:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516777216001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516777216001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:03:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516777216001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":124806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:03:41] local.INFO: GPS data processed {"connection_id":124806,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:03:41] local.INFO: Acknowledgment sent {"connection_id":124806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:03:50] local.INFO: TCP Data received {"connection_id":122896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:03:50] local.INFO: Processing buffer {"connection_id":122896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:03:50] local.INFO: IMEI packet received {"connection_id":122896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":122896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:03:54] local.INFO: TCP Data received {"connection_id":122896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:03:54] local.INFO: Processing buffer {"connection_id":122896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:03:54] local.INFO: IMEI packet received {"connection_id":122896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":122896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:03:55] local.INFO: TCP Data received {"connection_id":122896,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f331fe888012d7d3ec005d32368000400b116..."} 
[2026-07-05 22:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331fe888012d7d3ec005d32368000400b116..."} 
[2026-07-05 22:03:55] local.INFO: Processing buffer {"connection_id":122896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331fe888012d7d3ec005d32368000400b116..."} 
[2026-07-05 22:03:55] local.INFO: Packet analysis {"connection_id":122896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331f"} 
[2026-07-05 22:03:55] local.INFO: Extracted packet for processing {"connection_id":122896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331f"} 
[2026-07-05 22:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":97723240,"longitude_deg":76.3182784,"latitude_deg":9.772324,"altitude":4,"angle":177,"satellites":22,"speed":38,"hex_longitude":"2d7d3ec0","hex_latitude":"05d32368","is_valid_coordinates":true} 
[2026-07-05 22:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516901632001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102684155422179328,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158147107401728,"note":"Value kept but may cause issues"} 
[2026-07-05 22:03:55] 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-07-05 22:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1783269157000,"timestamp_ms":1783269157000,"timestamp_seconds":1783269157,"priority":1,"record_length":96,"hex_timestamp":"0000019f331fe888"} 
[2026-07-05 22:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 22:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-05 22:03:55] 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-07-05 22:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":122896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":122896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":122896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:03:55] 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-07-05 22:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516901632001,"66":12004,"81":206,"85":15104,"24":38,"16":102684155422179328,"45":9024158147107401728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-05 22:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516901632001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:03:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-05 22:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102684155422179328,"km_value":102684155422179.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024158147107401728,"description":"Unknown IO ID 45"} 
[2026-07-05 22:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516901632001,"power":12004,"unknown_81":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9024158147107401728}} 
[2026-07-05 22:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":122896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:03:55] local.INFO: GPS data processed {"connection_id":122896,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:03:55] local.INFO: Acknowledgment sent {"connection_id":122896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:04:03] local.INFO: TCP Data received {"connection_id":124807,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:04:03] local.INFO: Processing buffer {"connection_id":124807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:04:03] local.INFO: IMEI packet received {"connection_id":124807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":124807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:04:04] local.INFO: TCP Data received {"connection_id":123579,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:04:04] local.INFO: Processing buffer {"connection_id":123579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:04:04] local.INFO: IMEI packet received {"connection_id":123579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":123579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:04:09] local.INFO: TCP Data received {"connection_id":123579,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:04:09] local.INFO: Processing buffer {"connection_id":123579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:04:09] local.INFO: IMEI packet received {"connection_id":123579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":123579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:04:10] local.INFO: TCP Data received {"connection_id":123579,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:04:10] local.INFO: Processing buffer {"connection_id":123579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f331ce318012cb2a24007823a68004f00c92a..."} 
[2026-07-05 22:04:10] local.INFO: Packet analysis {"connection_id":123579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:04:10] local.INFO: Extracted packet for processing {"connection_id":123579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f331c"} 
[2026-07-05 22:04:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":79,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516777216001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:10] 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-07-05 22:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783268959000,"timestamp_ms":1783268959000,"timestamp_seconds":1783268959,"priority":1,"record_length":96,"hex_timestamp":"0000019f331ce318"} 
[2026-07-05 22:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516777216001,"66":25212,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516777216001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:04:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:04:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:04:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516777216001,"power":25212,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":123579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:04:10] local.INFO: GPS data processed {"connection_id":123579,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:04:10] local.INFO: Acknowledgment sent {"connection_id":123579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:04:26] local.INFO: TCP Data received {"connection_id":122896,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33200f98012d7d3f4005d2fe00000300b214..."} 
[2026-07-05 22:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33200f98012d7d3f4005d2fe00000300b214..."} 
[2026-07-05 22:04:26] local.INFO: Processing buffer {"connection_id":122896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33200f98012d7d3f4005d2fe00000300b214..."} 
[2026-07-05 22:04:26] local.INFO: Packet analysis {"connection_id":122896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3320"} 
[2026-07-05 22:04:26] local.INFO: Extracted packet for processing {"connection_id":122896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3320"} 
[2026-07-05 22:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":97713664,"longitude_deg":76.3182912,"latitude_deg":9.7713664,"altitude":3,"angle":178,"satellites":20,"speed":37,"hex_longitude":"2d7d3f40","hex_latitude":"05d2fe00","is_valid_coordinates":true} 
[2026-07-05 22:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516904192001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102684619278647296,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834546735104,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:26] 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-07-05 22:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1783269167000,"timestamp_ms":1783269167000,"timestamp_seconds":1783269167,"priority":1,"record_length":96,"hex_timestamp":"0000019f33200f98"} 
[2026-07-05 22:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:04: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-07-05 22:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-05 22:04:26] 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-07-05 22:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":122896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":122896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":122896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:04:26] 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-07-05 22:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516904192001,"66":12037,"115":206,"85":15104,"24":37,"16":102684619278647296,"45":9024861834546735104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-05 22:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516904192001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:04:26] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-05 22:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102684619278647296,"km_value":102684619278647.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834546735104,"description":"Unknown IO ID 45"} 
[2026-07-05 22:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516904192001,"power":12037,"unknown_115":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9024861834546735104}} 
[2026-07-05 22:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":122896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:04:26] local.INFO: GPS data processed {"connection_id":122896,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:04:26] local.INFO: Acknowledgment sent {"connection_id":122896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:04:41] local.INFO: TCP Data received {"connection_id":123579,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:04:41] local.INFO: Processing buffer {"connection_id":123579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:04:41] local.INFO: Packet analysis {"connection_id":123579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:04:41] local.INFO: Extracted packet for processing {"connection_id":123579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:04:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516853504001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:41] 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-07-05 22:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783269263000,"timestamp_ms":1783269263000,"timestamp_seconds":1783269263,"priority":1,"record_length":96,"hex_timestamp":"0000019f33218698"} 
[2026-07-05 22:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 22:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516853504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516853504001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:04:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:04:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516853504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":123579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:04:41] local.INFO: GPS data processed {"connection_id":123579,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:04:41] local.INFO: Acknowledgment sent {"connection_id":123579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:04:50] local.INFO: TCP Data received {"connection_id":123580,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:04:50] local.INFO: Processing buffer {"connection_id":123580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:04:50] local.INFO: IMEI packet received {"connection_id":123580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":123580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:04:50] local.INFO: TCP Data received {"connection_id":123580,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:04:50] local.INFO: Processing buffer {"connection_id":123580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:04:50] local.INFO: IMEI packet received {"connection_id":123580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":123580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:04:55] local.INFO: TCP Data received {"connection_id":123580,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123580,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:04:55] local.INFO: Processing buffer {"connection_id":123580,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:04:55] local.INFO: IMEI packet received {"connection_id":123580,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":123580,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:04:56] local.INFO: TCP Data received {"connection_id":123580,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f332032c0012d7d40c005d2da20000200b116..."} 
[2026-07-05 22:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332032c0012d7d40c005d2da20000200b116..."} 
[2026-07-05 22:04:56] local.INFO: Processing buffer {"connection_id":123580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332032c0012d7d40c005d2da20000200b116..."} 
[2026-07-05 22:04:56] local.INFO: Packet analysis {"connection_id":123580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3320"} 
[2026-07-05 22:04:56] local.INFO: Extracted packet for processing {"connection_id":123580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3320"} 
[2026-07-05 22:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97704480,"longitude_deg":76.3183296,"latitude_deg":9.770448,"altitude":2,"angle":177,"satellites":22,"speed":41,"hex_longitude":"2d7d40c0","hex_latitude":"05d2da20","is_valid_coordinates":true} 
[2026-07-05 22:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516906752001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102685065955246080,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002572032638976,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:56] 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-07-05 22:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783269176000,"timestamp_ms":1783269176000,"timestamp_seconds":1783269176,"priority":1,"record_length":96,"hex_timestamp":"0000019f332032c0"} 
[2026-07-05 22:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:04: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-07-05 22:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-05 22:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2305843009381467136,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3180851954716722922,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-4733000847196487656,"corrected_to":0} 
[2026-07-05 22:04:56] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2448949256,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:56] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182165285110016,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:56] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3439656960,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:56] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-07-05 22:04:56] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,115,85,24,241,157,16,207,159,232,45,192,35,4,22,10,66,81,206,193,64,72,5,21,154,1,240,227,205,51,211,113,59,128,239,47,2,108,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-4733000847196487656,"validated":0}]} 
[2026-07-05 22:04:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216368581085298688,"timestamp_seconds":216368581085298.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-05 22:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":123580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":123580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":123580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:04:56] 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-07-05 22:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516906752001,"66":11874,"115":206,"85":15104,"24":41,"16":102685065955246080,"45":9025002572032638976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-05 22:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516906752001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:04:56] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-05 22:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102685065955246080,"km_value":102685065955246.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002572032638976,"description":"Unknown IO ID 45"} 
[2026-07-05 22:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516906752001,"power":11874,"unknown_115":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9025002572032638976}} 
[2026-07-05 22:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":123580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:04:56] local.INFO: GPS data processed {"connection_id":123580,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:04:56] local.INFO: Acknowledgment sent {"connection_id":123580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:05:04] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:05:04] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:05:04] local.INFO: IMEI packet received {"connection_id":124808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":124808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:05:09] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:05:09] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:05:09] local.INFO: IMEI packet received {"connection_id":124808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":124808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:05:10] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:05:10] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:05:10] local.INFO: Packet analysis {"connection_id":124808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:05:10] local.INFO: Extracted packet for processing {"connection_id":124808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:05:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516853504001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:05:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:05:10] 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-07-05 22:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783269263000,"timestamp_ms":1783269263000,"timestamp_seconds":1783269263,"priority":1,"record_length":96,"hex_timestamp":"0000019f33218698"} 
[2026-07-05 22:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 22:05: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-07-05 22: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-07-05 22:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516853504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516853504001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:05:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:05:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:05:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516853504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":124808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:05:10] local.INFO: GPS data processed {"connection_id":124808,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:05:10] local.INFO: Acknowledgment sent {"connection_id":124808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:05:27] local.INFO: TCP Data received {"connection_id":123580,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3321e840012d7d86c005d28f500007005b1b..."} 
[2026-07-05 22:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3321e840012d7d86c005d28f500007005b1b..."} 
[2026-07-05 22:05:27] local.INFO: Processing buffer {"connection_id":123580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3321e840012d7d86c005d28f500007005b1b..."} 
[2026-07-05 22:05:27] local.INFO: Packet analysis {"connection_id":123580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:05:27] local.INFO: Extracted packet for processing {"connection_id":123580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763201216,"raw_latitude":97685328,"longitude_deg":76.3201216,"latitude_deg":9.7685328,"altitude":7,"angle":91,"satellites":27,"speed":24,"hex_longitude":"2d7d86c0","hex_latitude":"05d28f50","is_valid_coordinates":true} 
[2026-07-05 22:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516934400001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102686822596870144,"note":"Value kept but may cause issues"} 
[2026-07-05 22:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9034994933698662400,"note":"Value kept but may cause issues"} 
[2026-07-05 22:05:27] 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-07-05 22:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783269288000,"timestamp_ms":1783269288000,"timestamp_seconds":1783269288,"priority":1,"record_length":96,"hex_timestamp":"0000019f3321e840"} 
[2026-07-05 22:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:05: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-07-05 22:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-07-05 22:05:27] 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-07-05 22:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":123580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":123580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":123580,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:05:27] 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-07-05 22:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516934400001,"66":11776,"117":206,"85":15104,"24":24,"16":102686822596870144,"45":9034994933698662400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-05 22:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516934400001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:05:27] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-05 22:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102686822596870144,"km_value":102686822596870.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9034994933698662400,"description":"Unknown IO ID 45"} 
[2026-07-05 22:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516934400001,"power":11776,"unknown_117":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9034994933698662400}} 
[2026-07-05 22:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":123580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:05:27] local.INFO: GPS data processed {"connection_id":123580,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:05:27] local.INFO: Acknowledgment sent {"connection_id":123580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:05:41] local.INFO: TCP Data received {"connection_id":124808,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:05:41] local.INFO: Processing buffer {"connection_id":124808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:05:41] local.INFO: Packet analysis {"connection_id":124808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:05:41] local.INFO: Extracted packet for processing {"connection_id":124808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:05:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516853504001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:05:41] 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-07-05 22:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783269263000,"timestamp_ms":1783269263000,"timestamp_seconds":1783269263,"priority":1,"record_length":96,"hex_timestamp":"0000019f33218698"} 
[2026-07-05 22:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":124,"data_length":795,"current_offset":136} 
[2026-07-05 22:05: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-07-05 22: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-07-05 22:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516853504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516853504001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:05:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:05:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516853504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":124808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:05:41] local.INFO: GPS data processed {"connection_id":124808,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:05:41] local.INFO: Acknowledgment sent {"connection_id":124808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:05:50] local.INFO: TCP Data received {"connection_id":122828,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:50] local.INFO: Processing buffer {"connection_id":122828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:50] local.INFO: IMEI packet received {"connection_id":122828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":122828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:05:51] local.INFO: TCP Data received {"connection_id":122828,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:51] local.INFO: Processing buffer {"connection_id":122828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:51] local.INFO: IMEI packet received {"connection_id":122828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":122828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:05:52] local.INFO: TCP Data received {"connection_id":122828,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:52] local.INFO: Processing buffer {"connection_id":122828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:52] local.INFO: IMEI packet received {"connection_id":122828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":122828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:05:53] local.INFO: TCP Data received {"connection_id":122828,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:53] local.INFO: Processing buffer {"connection_id":122828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:05:53] local.INFO: IMEI packet received {"connection_id":122828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":122828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:06:09] local.INFO: TCP Data received {"connection_id":124809,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:06:09] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:06:09] local.INFO: IMEI packet received {"connection_id":124809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":124809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:06:14] local.INFO: TCP Data received {"connection_id":124809,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:06:14] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:06:14] local.INFO: IMEI packet received {"connection_id":124809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":124809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:06:15] local.INFO: TCP Data received {"connection_id":124809,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:06:15] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:06:15] local.INFO: Packet analysis {"connection_id":124809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:06:15] local.INFO: Extracted packet for processing {"connection_id":124809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:06:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:06: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-07-05 22:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516853504001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:06:15] 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-07-05 22:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783269263000,"timestamp_ms":1783269263000,"timestamp_seconds":1783269263,"priority":1,"record_length":96,"hex_timestamp":"0000019f33218698"} 
[2026-07-05 22:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 22:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:06: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-07-05 22:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516853504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516853504001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:06:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:06:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516853504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":124809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:06:15] local.INFO: GPS data processed {"connection_id":124809,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:06:15] local.INFO: Acknowledgment sent {"connection_id":124809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:06:19] local.INFO: TCP Data received {"connection_id":124809,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:06:19] local.INFO: Processing buffer {"connection_id":124809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:06:19] local.INFO: Packet analysis {"connection_id":124809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:06:19] local.INFO: Extracted packet for processing {"connection_id":124809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:06:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516853504001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:06:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:06:19] 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-07-05 22:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783269263000,"timestamp_ms":1783269263000,"timestamp_seconds":1783269263,"priority":1,"record_length":96,"hex_timestamp":"0000019f33218698"} 
[2026-07-05 22:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:06: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-07-05 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 22:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516853504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516853504001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:06:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:06:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:06:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516853504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":124809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:06:19] local.INFO: GPS data processed {"connection_id":124809,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:06:19] local.INFO: Acknowledgment sent {"connection_id":124809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:07:04] local.INFO: TCP Data received {"connection_id":122830,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:07:04] local.INFO: Processing buffer {"connection_id":122830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:07:04] local.INFO: IMEI packet received {"connection_id":122830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":122830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:07:09] local.INFO: TCP Data received {"connection_id":122830,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:07:09] local.INFO: Processing buffer {"connection_id":122830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:07:09] local.INFO: IMEI packet received {"connection_id":122830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":122830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:07:10] local.INFO: TCP Data received {"connection_id":122830,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:07:10] local.INFO: Processing buffer {"connection_id":122830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:07:10] local.INFO: Packet analysis {"connection_id":122830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:07:10] local.INFO: Extracted packet for processing {"connection_id":122830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:07:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516853504001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:07:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:07:10] 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-07-05 22:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783269263000,"timestamp_ms":1783269263000,"timestamp_seconds":1783269263,"priority":1,"record_length":96,"hex_timestamp":"0000019f33218698"} 
[2026-07-05 22:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 22:07: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-07-05 22:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516853504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516853504001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:07:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:07:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516853504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":122830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:07:10] local.INFO: GPS data processed {"connection_id":122830,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:07:10] local.INFO: Acknowledgment sent {"connection_id":122830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:07:41] local.INFO: TCP Data received {"connection_id":122830,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:07:41] local.INFO: Processing buffer {"connection_id":122830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:07:41] local.INFO: Packet analysis {"connection_id":122830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:07:41] local.INFO: Extracted packet for processing {"connection_id":122830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:07:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516853504001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:07:41] 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-07-05 22:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783269263000,"timestamp_ms":1783269263000,"timestamp_seconds":1783269263,"priority":1,"record_length":96,"hex_timestamp":"0000019f33218698"} 
[2026-07-05 22:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516853504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516853504001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:07:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516853504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":122830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:07:41] local.INFO: GPS data processed {"connection_id":122830,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:07:41] local.INFO: Acknowledgment sent {"connection_id":122830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:08:04] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:08:04] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:08:04] local.INFO: IMEI packet received {"connection_id":124810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":124810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:08:09] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:08:09] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:08:09] local.INFO: IMEI packet received {"connection_id":124810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":124810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:08:11] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:08:11] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:08:11] local.INFO: Packet analysis {"connection_id":124810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:08:11] local.INFO: Extracted packet for processing {"connection_id":124810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:08:11] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:08: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-07-05 22:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516853504001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:08:11] 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-07-05 22:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1783269263000,"timestamp_ms":1783269263000,"timestamp_seconds":1783269263,"priority":1,"record_length":96,"hex_timestamp":"0000019f33218698"} 
[2026-07-05 22:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:08: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":124,"data_length":795,"current_offset":136} 
[2026-07-05 22:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:08: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-07-05 22:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":124810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516853504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516853504001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:08:11] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516853504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":124810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:08:11] local.INFO: GPS data processed {"connection_id":124810,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:08:11] local.INFO: Acknowledgment sent {"connection_id":124810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:08:42] local.INFO: TCP Data received {"connection_id":124810,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:08:42] local.INFO: Processing buffer {"connection_id":124810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:08:42] local.INFO: Packet analysis {"connection_id":124810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:08:42] local.INFO: Extracted packet for processing {"connection_id":124810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:08:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516853504001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:08:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:08:42] 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-07-05 22:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783269263000,"timestamp_ms":1783269263000,"timestamp_seconds":1783269263,"priority":1,"record_length":96,"hex_timestamp":"0000019f33218698"} 
[2026-07-05 22:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 22:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516853504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516853504001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:08:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:08:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516853504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":124810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:08:42] local.INFO: GPS data processed {"connection_id":124810,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:08:42] local.INFO: Acknowledgment sent {"connection_id":124810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:09:04] local.INFO: TCP Data received {"connection_id":122900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:09:04] local.INFO: Processing buffer {"connection_id":122900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:09:04] local.INFO: IMEI packet received {"connection_id":122900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":122900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:09:09] local.INFO: TCP Data received {"connection_id":122900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:09:09] local.INFO: Processing buffer {"connection_id":122900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:09:09] local.INFO: IMEI packet received {"connection_id":122900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":122900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:09:09] local.INFO: TCP Data received {"connection_id":122900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:09:09] local.INFO: Processing buffer {"connection_id":122900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33218698012cb2a24007823a68004900c929..."} 
[2026-07-05 22:09:09] local.INFO: Packet analysis {"connection_id":122900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:09:09] local.INFO: Extracted packet for processing {"connection_id":122900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3321"} 
[2026-07-05 22:09:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516853504001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:09:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:09:09] 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-07-05 22:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783269263000,"timestamp_ms":1783269263000,"timestamp_seconds":1783269263,"priority":1,"record_length":96,"hex_timestamp":"0000019f33218698"} 
[2026-07-05 22:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-05 22:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516853504001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516853504001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:09:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:09:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:09:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516853504001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":122900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:09:09] local.INFO: GPS data processed {"connection_id":122900,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:09:09] local.INFO: Acknowledgment sent {"connection_id":122900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:09:34] local.INFO: TCP Data received {"connection_id":123583,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:09:34] local.INFO: Processing buffer {"connection_id":123583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:09:34] local.INFO: IMEI packet received {"connection_id":123583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":123583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:09:40] local.INFO: TCP Data received {"connection_id":122900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:09:40] local.INFO: Processing buffer {"connection_id":122900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:09:40] local.INFO: Packet analysis {"connection_id":122900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:09:40] local.INFO: Extracted packet for processing {"connection_id":122900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:09:40] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516931328001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:09:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:09:40] 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-07-05 22:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783269564000,"timestamp_ms":1783269564000,"timestamp_seconds":1783269564,"priority":1,"record_length":96,"hex_timestamp":"0000019f33261e60"} 
[2026-07-05 22:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:09: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-07-05 22:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":122900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":122900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":122900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516931328001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516931328001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:09:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:09:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516931328001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":122900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:09:40] local.INFO: GPS data processed {"connection_id":122900,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:09:40] local.INFO: Acknowledgment sent {"connection_id":122900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:10:03] local.INFO: TCP Data received {"connection_id":124812,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:10:03] local.INFO: Processing buffer {"connection_id":124812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:10:03] local.INFO: IMEI packet received {"connection_id":124812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":124812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:10:09] local.INFO: TCP Data received {"connection_id":123584,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:10:09] local.INFO: Processing buffer {"connection_id":123584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:10:09] local.INFO: IMEI packet received {"connection_id":123584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":123584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:10:14] local.INFO: TCP Data received {"connection_id":123584,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:10:14] local.INFO: Processing buffer {"connection_id":123584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:10:14] local.INFO: IMEI packet received {"connection_id":123584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":123584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:10:15] local.INFO: TCP Data received {"connection_id":123584,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:10:15] local.INFO: Processing buffer {"connection_id":123584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:10:15] local.INFO: Packet analysis {"connection_id":123584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:10:15] local.INFO: Extracted packet for processing {"connection_id":123584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:10:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:10: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-07-05 22:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516931328001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:10:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:10:15] 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-07-05 22:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783269564000,"timestamp_ms":1783269564000,"timestamp_seconds":1783269564,"priority":1,"record_length":96,"hex_timestamp":"0000019f33261e60"} 
[2026-07-05 22:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:10: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-07-05 22:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516931328001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516931328001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:10:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516931328001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":123584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:10:15] local.INFO: GPS data processed {"connection_id":123584,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:10:15] local.INFO: Acknowledgment sent {"connection_id":123584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:10:46] local.INFO: TCP Data received {"connection_id":123584,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:10:46] local.INFO: Processing buffer {"connection_id":123584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:10:46] local.INFO: Packet analysis {"connection_id":123584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:10:46] local.INFO: Extracted packet for processing {"connection_id":123584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:10:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516931328001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:10:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:10:46] 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-07-05 22:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783269564000,"timestamp_ms":1783269564000,"timestamp_seconds":1783269564,"priority":1,"record_length":96,"hex_timestamp":"0000019f33261e60"} 
[2026-07-05 22:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":123584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":123584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":123584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516931328001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516931328001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:10:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:10:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516931328001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":123584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:10:46] local.INFO: GPS data processed {"connection_id":123584,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:10:46] local.INFO: Acknowledgment sent {"connection_id":123584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:10:55] local.INFO: TCP Data received {"connection_id":124813,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124813,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:10:55] local.INFO: Processing buffer {"connection_id":124813,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:10:55] local.INFO: IMEI packet received {"connection_id":124813,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":124813,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:10:56] local.INFO: TCP Data received {"connection_id":124813,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f332543a0012d7e34c005d34ea8000500771f..."} 
[2026-07-05 22:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332543a0012d7e34c005d34ea8000500771f..."} 
[2026-07-05 22:10:56] local.INFO: Processing buffer {"connection_id":124813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332543a0012d7e34c005d34ea8000500771f..."} 
[2026-07-05 22:10:56] local.INFO: Packet analysis {"connection_id":124813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:10:56] local.INFO: Extracted packet for processing {"connection_id":124813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97734312,"longitude_deg":76.324576,"latitude_deg":9.7734312,"altitude":5,"angle":119,"satellites":31,"speed":6,"hex_longitude":"2d7e34c0","hex_latitude":"05d34ea8","is_valid_coordinates":true} 
[2026-07-05 22:10: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-07-05 22:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516993792001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692075341873152,"note":"Value kept but may cause issues"} 
[2026-07-05 22:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093963941332064256,"note":"Value kept but may cause issues"} 
[2026-07-05 22:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783269508000,"timestamp_ms":1783269508000,"timestamp_seconds":1783269508,"priority":1,"record_length":96,"hex_timestamp":"0000019f332543a0"} 
[2026-07-05 22:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:10: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-07-05 22:10: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-07-05 22:10: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-07-05 22:10: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-07-05 22:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":124813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":124813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":124813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:10:56] 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-07-05 22:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516993792001,"66":11765,"109":206,"85":15104,"24":6,"16":102692075341873152,"45":9093963941332064256},"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-07-05 22:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516993792001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:10:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692075341873152,"km_value":102692075341873.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093963941332064256,"description":"Unknown IO ID 45"} 
[2026-07-05 22:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516993792001,"power":11765,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9093963941332064256}} 
[2026-07-05 22:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":124813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:10:56] local.INFO: GPS data processed {"connection_id":124813,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:10:56] local.INFO: Acknowledgment sent {"connection_id":124813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:11:04] local.INFO: TCP Data received {"connection_id":122832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:11:04] local.INFO: Processing buffer {"connection_id":122832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:11:04] local.INFO: IMEI packet received {"connection_id":122832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":122832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:11:09] local.INFO: TCP Data received {"connection_id":122832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:11:09] local.INFO: Processing buffer {"connection_id":122832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:11:09] local.INFO: IMEI packet received {"connection_id":122832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":122832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:11:09] local.INFO: TCP Data received {"connection_id":122832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:11:09] local.INFO: Processing buffer {"connection_id":122832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:11:09] local.INFO: Packet analysis {"connection_id":122832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:11:09] local.INFO: Extracted packet for processing {"connection_id":122832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:11:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516931328001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:09] 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-07-05 22:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783269564000,"timestamp_ms":1783269564000,"timestamp_seconds":1783269564,"priority":1,"record_length":96,"hex_timestamp":"0000019f33261e60"} 
[2026-07-05 22:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516931328001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516931328001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:11:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:11:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516931328001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":122832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:11:09] local.INFO: GPS data processed {"connection_id":122832,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:11:09] local.INFO: Acknowledgment sent {"connection_id":122832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:11:27] local.INFO: TCP Data received {"connection_id":124813,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33254788012d7e358005d34e60000600631f..."} 
[2026-07-05 22:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33254788012d7e358005d34e60000600631f..."} 
[2026-07-05 22:11:27] local.INFO: Processing buffer {"connection_id":124813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33254788012d7e358005d34e60000600631f..."} 
[2026-07-05 22:11:27] local.INFO: Packet analysis {"connection_id":124813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:11:27] local.INFO: Extracted packet for processing {"connection_id":124813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734240,"longitude_deg":76.3245952,"latitude_deg":9.773424,"altitude":6,"angle":99,"satellites":31,"speed":6,"hex_longitude":"2d7e3580","hex_latitude":"05d34e60","is_valid_coordinates":true} 
[2026-07-05 22:11: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-07-05 22:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516994048001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692083931807744,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820390912,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783269509000,"timestamp_ms":1783269509000,"timestamp_seconds":1783269509,"priority":1,"record_length":96,"hex_timestamp":"0000019f33254788"} 
[2026-07-05 22:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 22:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-07-05 22:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:11: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-07-05 22:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124813,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:11:27] 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-07-05 22:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516994048001,"66":11580,"109":206,"85":15104,"24":6,"16":102692083931807744,"45":9094104678820390912},"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-07-05 22:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516994048001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:11:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692083931807744,"km_value":102692083931807.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820390912,"description":"Unknown IO ID 45"} 
[2026-07-05 22:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516994048001,"power":11580,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9094104678820390912}} 
[2026-07-05 22:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":124813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:11:27] local.INFO: GPS data processed {"connection_id":124813,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:11:27] local.INFO: Acknowledgment sent {"connection_id":124813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:11:40] local.INFO: TCP Data received {"connection_id":122832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:11:40] local.INFO: Processing buffer {"connection_id":122832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:11:40] local.INFO: Packet analysis {"connection_id":122832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:11:40] local.INFO: Extracted packet for processing {"connection_id":122832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:11:40] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516931328001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:40] 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-07-05 22:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783269564000,"timestamp_ms":1783269564000,"timestamp_seconds":1783269564,"priority":1,"record_length":96,"hex_timestamp":"0000019f33261e60"} 
[2026-07-05 22:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:11: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-07-05 22: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-07-05 22:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":122832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":122832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":122832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516931328001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516931328001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:11:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516931328001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":122832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:11:40] local.INFO: GPS data processed {"connection_id":122832,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:11:40] local.INFO: Acknowledgment sent {"connection_id":122832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:11:50] local.INFO: TCP Data received {"connection_id":123585,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:11:50] local.INFO: Processing buffer {"connection_id":123585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:11:50] local.INFO: IMEI packet received {"connection_id":123585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":123585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:11:55] local.INFO: TCP Data received {"connection_id":123585,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123585,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:11:55] local.INFO: Processing buffer {"connection_id":123585,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:11:55] local.INFO: IMEI packet received {"connection_id":123585,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":123585,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:11:56] local.INFO: TCP Data received {"connection_id":123585,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33257668012d7e35c005d34e300005008e1f..."} 
[2026-07-05 22:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33257668012d7e35c005d34e300005008e1f..."} 
[2026-07-05 22:11:56] local.INFO: Processing buffer {"connection_id":123585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33257668012d7e35c005d34e300005008e1f..."} 
[2026-07-05 22:11:56] local.INFO: Packet analysis {"connection_id":123585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:11:56] local.INFO: Extracted packet for processing {"connection_id":123585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734192,"longitude_deg":76.3246016,"latitude_deg":9.7734192,"altitude":5,"angle":142,"satellites":31,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34e30","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516994304001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692105406644224,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052905472,"note":"Value kept but may cause issues"} 
[2026-07-05 22:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783269521000,"timestamp_ms":1783269521000,"timestamp_seconds":1783269521,"priority":1,"record_length":96,"hex_timestamp":"0000019f33257668"} 
[2026-07-05 22:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:11: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-07-05 22: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":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-05 22:11:56] 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-07-05 22: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-07-05 22:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":123585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":123585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":123585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:11:56] 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-07-05 22:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516994304001,"66":11743,"109":206,"85":15104,"24":0,"16":102692105406644224,"45":9094315785052905472},"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-07-05 22:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516994304001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:11:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692105406644224,"km_value":102692105406644.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052905472,"description":"Unknown IO ID 45"} 
[2026-07-05 22:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516994304001,"power":11743,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094315785052905472}} 
[2026-07-05 22:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":123585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:11:56] local.INFO: GPS data processed {"connection_id":123585,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:11:56] local.INFO: Acknowledgment sent {"connection_id":123585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:12:04] local.INFO: TCP Data received {"connection_id":122833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:12:04] local.INFO: Processing buffer {"connection_id":122833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:12:04] local.INFO: IMEI packet received {"connection_id":122833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":122833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:12:14] local.INFO: TCP Data received {"connection_id":122833,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:12:14] local.INFO: Processing buffer {"connection_id":122833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:12:14] local.INFO: IMEI packet received {"connection_id":122833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":122833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:12:16] local.INFO: TCP Data received {"connection_id":122833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:12:16] local.INFO: Processing buffer {"connection_id":122833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:12:16] local.INFO: Packet analysis {"connection_id":122833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:12:16] local.INFO: Extracted packet for processing {"connection_id":122833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:12:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516931328001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:16] 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-07-05 22:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783269564000,"timestamp_ms":1783269564000,"timestamp_seconds":1783269564,"priority":1,"record_length":96,"hex_timestamp":"0000019f33261e60"} 
[2026-07-05 22:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516931328001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516931328001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:12:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:12:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516931328001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":122833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:12:16] local.INFO: GPS data processed {"connection_id":122833,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:12:16] local.INFO: Acknowledgment sent {"connection_id":122833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:12:16] local.INFO: TCP Data received {"connection_id":122833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:12:16] local.INFO: Processing buffer {"connection_id":122833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:12:16] local.INFO: Packet analysis {"connection_id":122833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:12:16] local.INFO: Extracted packet for processing {"connection_id":122833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:12:16] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516931328001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:16] 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-07-05 22:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1783269564000,"timestamp_ms":1783269564000,"timestamp_seconds":1783269564,"priority":1,"record_length":96,"hex_timestamp":"0000019f33261e60"} 
[2026-07-05 22:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":122833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":122833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":122833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516931328001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516931328001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:12:16] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:12:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516931328001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":122833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:12:16] local.INFO: GPS data processed {"connection_id":122833,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:12:16] local.INFO: Acknowledgment sent {"connection_id":122833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:12:27] local.INFO: TCP Data received {"connection_id":123585,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33257a50012d7e35c005d34dd80005009c1f..."} 
[2026-07-05 22:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33257a50012d7e35c005d34dd80005009c1f..."} 
[2026-07-05 22:12:27] local.INFO: Processing buffer {"connection_id":123585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33257a50012d7e35c005d34dd80005009c1f..."} 
[2026-07-05 22:12:27] local.INFO: Packet analysis {"connection_id":123585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:12:27] local.INFO: Extracted packet for processing {"connection_id":123585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734104,"longitude_deg":76.3246016,"latitude_deg":9.7734104,"altitude":5,"angle":156,"satellites":31,"speed":3,"hex_longitude":"2d7e35c0","hex_latitude":"05d34dd8","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516997376001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692109701611520,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797070848,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783269522000,"timestamp_ms":1783269522000,"timestamp_seconds":1783269522,"priority":1,"record_length":96,"hex_timestamp":"0000019f33257a50"} 
[2026-07-05 22:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-05 22: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-05 22:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":123585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":123585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":123585,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:12:27] 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-07-05 22:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516997376001,"66":11743,"109":206,"85":15104,"24":3,"16":102692109701611520,"45":9094386153797070848},"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-07-05 22:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516997376001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:12:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692109701611520,"km_value":102692109701611.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797070848,"description":"Unknown IO ID 45"} 
[2026-07-05 22:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516997376001,"power":11743,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9094386153797070848}} 
[2026-07-05 22:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":123585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:12:28] local.INFO: GPS data processed {"connection_id":123585,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:12:28] local.INFO: Acknowledgment sent {"connection_id":123585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:12:48] local.INFO: TCP Data received {"connection_id":122833,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:12:48] local.INFO: Processing buffer {"connection_id":122833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:12:48] local.INFO: Packet analysis {"connection_id":122833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:12:48] local.INFO: Extracted packet for processing {"connection_id":122833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:12:48] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516931328001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:48] 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-07-05 22:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1783269564000,"timestamp_ms":1783269564000,"timestamp_seconds":1783269564,"priority":1,"record_length":96,"hex_timestamp":"0000019f33261e60"} 
[2026-07-05 22:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":122833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":122833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":122833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516931328001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516931328001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:12:48] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:12:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:12:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516931328001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":122833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:12:48] local.INFO: GPS data processed {"connection_id":122833,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:12:48] local.INFO: Acknowledgment sent {"connection_id":122833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:12:50] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:12:50] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:12:50] local.INFO: IMEI packet received {"connection_id":124814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":124814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:12:55] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:12:55] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:12:55] local.INFO: IMEI packet received {"connection_id":124814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":124814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:12:56] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33258220012d7e360005d34d10000500b41f..."} 
[2026-07-05 22:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33258220012d7e360005d34d10000500b41f..."} 
[2026-07-05 22:12:56] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33258220012d7e360005d34d10000500b41f..."} 
[2026-07-05 22:12:56] local.INFO: Packet analysis {"connection_id":124814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:12:56] local.INFO: Extracted packet for processing {"connection_id":124814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733904,"longitude_deg":76.324608,"latitude_deg":9.7733904,"altitude":5,"angle":180,"satellites":31,"speed":3,"hex_longitude":"2d7e3600","hex_latitude":"05d34d10","is_valid_coordinates":true} 
[2026-07-05 22:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516997632001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797048320,"note":"Value kept but may cause issues"} 
[2026-07-05 22:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783269524000,"timestamp_ms":1783269524000,"timestamp_seconds":1783269524,"priority":1,"record_length":96,"hex_timestamp":"0000019f33258220"} 
[2026-07-05 22:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:12: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-07-05 22:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-05 22:12:56] 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-07-05 22:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":124814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":124814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":124814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:12:56] 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-07-05 22:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516997632001,"66":11624,"109":206,"85":15104,"24":3,"16":102692122586513408,"45":9094386153797048320},"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-07-05 22:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516997632001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:12:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797048320,"description":"Unknown IO ID 45"} 
[2026-07-05 22:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516997632001,"power":11624,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9094386153797048320}} 
[2026-07-05 22:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":124814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:12:56] local.INFO: GPS data processed {"connection_id":124814,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:12:56] local.INFO: Acknowledgment sent {"connection_id":124814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:13:04] local.INFO: TCP Data received {"connection_id":122902,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:13:04] local.INFO: Processing buffer {"connection_id":122902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:13:04] local.INFO: IMEI packet received {"connection_id":122902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":122902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:13:09] local.INFO: TCP Data received {"connection_id":122902,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:13:09] local.INFO: Processing buffer {"connection_id":122902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:13:09] local.INFO: IMEI packet received {"connection_id":122902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":122902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:13:10] local.INFO: TCP Data received {"connection_id":122902,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:13:10] local.INFO: Processing buffer {"connection_id":122902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:13:10] local.INFO: Packet analysis {"connection_id":122902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:13:10] local.INFO: Extracted packet for processing {"connection_id":122902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:13:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516931328001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:13:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:13:10] 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-07-05 22:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783269564000,"timestamp_ms":1783269564000,"timestamp_seconds":1783269564,"priority":1,"record_length":96,"hex_timestamp":"0000019f33261e60"} 
[2026-07-05 22:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516931328001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516931328001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:13:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:13:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516931328001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":122902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:13:10] local.INFO: GPS data processed {"connection_id":122902,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:13:10] local.INFO: Acknowledgment sent {"connection_id":122902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:13:27] local.INFO: TCP Data received {"connection_id":124814,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33258dd8012d7e360005d34cd0000500b41f..."} 
[2026-07-05 22:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33258dd8012d7e360005d34cd0000500b41f..."} 
[2026-07-05 22:13:27] local.INFO: Processing buffer {"connection_id":124814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33258dd8012d7e360005d34cd0000500b41f..."} 
[2026-07-05 22:13:27] local.INFO: Packet analysis {"connection_id":124814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:13:27] local.INFO: Extracted packet for processing {"connection_id":124814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733840,"longitude_deg":76.324608,"latitude_deg":9.773384,"altitude":5,"angle":180,"satellites":31,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-07-05 22:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516998144001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541174784,"note":"Value kept but may cause issues"} 
[2026-07-05 22:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783269527000,"timestamp_ms":1783269527000,"timestamp_seconds":1783269527,"priority":1,"record_length":96,"hex_timestamp":"0000019f33258dd8"} 
[2026-07-05 22:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:13: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-07-05 22: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-05 22:13:27] 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-07-05 22: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-07-05 22:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:13:27] 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-07-05 22:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516998144001,"66":12613,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9094456522541174784},"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-07-05 22:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516998144001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:13:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541174784,"description":"Unknown IO ID 45"} 
[2026-07-05 22:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516998144001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541174784}} 
[2026-07-05 22:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":124814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:13:27] local.INFO: GPS data processed {"connection_id":124814,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:13:27] local.INFO: Acknowledgment sent {"connection_id":124814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:13:41] local.INFO: TCP Data received {"connection_id":122902,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:13:41] local.INFO: Processing buffer {"connection_id":122902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:13:41] local.INFO: Packet analysis {"connection_id":122902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:13:41] local.INFO: Extracted packet for processing {"connection_id":122902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:13:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516931328001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:13:41] 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-07-05 22:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783269564000,"timestamp_ms":1783269564000,"timestamp_seconds":1783269564,"priority":1,"record_length":96,"hex_timestamp":"0000019f33261e60"} 
[2026-07-05 22:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:13: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-07-05 22:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516931328001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516931328001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:13:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:13:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516931328001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":122902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:13:41] local.INFO: GPS data processed {"connection_id":122902,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:13:41] local.INFO: Acknowledgment sent {"connection_id":122902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:13:55] local.INFO: TCP Data received {"connection_id":122835,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:13:55] local.INFO: Processing buffer {"connection_id":122835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:13:55] local.INFO: IMEI packet received {"connection_id":122835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":122835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:14:00] local.INFO: TCP Data received {"connection_id":122835,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122835,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:14:00] local.INFO: Processing buffer {"connection_id":122835,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:14:00] local.INFO: IMEI packet received {"connection_id":122835,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":122835,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:14:04] local.INFO: TCP Data received {"connection_id":122903,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:14:04] local.INFO: Processing buffer {"connection_id":122903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:14:04] local.INFO: IMEI packet received {"connection_id":122903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":122903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:14:05] local.INFO: TCP Data received {"connection_id":122835,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33258dd8012d7e360005d34cd0000500b41f..."} 
[2026-07-05 22:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33258dd8012d7e360005d34cd0000500b41f..."} 
[2026-07-05 22:14:05] local.INFO: Processing buffer {"connection_id":122835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33258dd8012d7e360005d34cd0000500b41f..."} 
[2026-07-05 22:14:05] local.INFO: Packet analysis {"connection_id":122835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:14:05] local.INFO: Extracted packet for processing {"connection_id":122835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3325"} 
[2026-07-05 22:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733840,"longitude_deg":76.324608,"latitude_deg":9.773384,"altitude":5,"angle":180,"satellites":31,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34cd0","is_valid_coordinates":true} 
[2026-07-05 22:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516998912001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541158400,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783269527000,"timestamp_ms":1783269527000,"timestamp_seconds":1783269527,"priority":1,"record_length":96,"hex_timestamp":"0000019f33258dd8"} 
[2026-07-05 22:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-05 22:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":122835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":122835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":122835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:14:05] 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-07-05 22:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516998912001,"66":12613,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9094456522541158400},"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-07-05 22:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516998912001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:14:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541158400,"description":"Unknown IO ID 45"} 
[2026-07-05 22:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516998912001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541158400}} 
[2026-07-05 22:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":122835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:14:05] local.INFO: GPS data processed {"connection_id":122835,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:14:05] local.INFO: Acknowledgment sent {"connection_id":122835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:14:06] local.INFO: TCP Data received {"connection_id":122835,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:14:06] local.INFO: Processing buffer {"connection_id":122835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:14:06] local.INFO: Packet analysis {"connection_id":122835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:14:06] local.INFO: Extracted packet for processing {"connection_id":122835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516998912001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541158400,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14: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-07-05 22:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783269829000,"timestamp_ms":1783269829000,"timestamp_seconds":1783269829,"priority":1,"record_length":96,"hex_timestamp":"0000019f332a2988"} 
[2026-07-05 22:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-05 22:14:06] 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-07-05 22: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-07-05 22:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":122835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":122835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":122835,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:14: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-07-05 22:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516998912001,"66":12798,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9094456522541158400},"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-07-05 22:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516998912001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:14:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541158400,"description":"Unknown IO ID 45"} 
[2026-07-05 22:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516998912001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541158400}} 
[2026-07-05 22:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":122835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:14:06] local.INFO: GPS data processed {"connection_id":122835,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:14:06] local.INFO: Acknowledgment sent {"connection_id":122835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:14:09] local.INFO: TCP Data received {"connection_id":122903,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:14:09] local.INFO: Processing buffer {"connection_id":122903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:14:09] local.INFO: IMEI packet received {"connection_id":122903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":122903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:14:10] local.INFO: TCP Data received {"connection_id":122903,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:14:10] local.INFO: Processing buffer {"connection_id":122903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33261e60012cb2a24007823a68004900c928..."} 
[2026-07-05 22:14:10] local.INFO: Packet analysis {"connection_id":122903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:14:10] local.INFO: Extracted packet for processing {"connection_id":122903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3326"} 
[2026-07-05 22:14:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516931328001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:10] 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-07-05 22:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783269564000,"timestamp_ms":1783269564000,"timestamp_seconds":1783269564,"priority":1,"record_length":96,"hex_timestamp":"0000019f33261e60"} 
[2026-07-05 22:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516931328001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516931328001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:14:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:14:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516931328001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":122903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:14:10] local.INFO: GPS data processed {"connection_id":122903,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:14:10] local.INFO: Acknowledgment sent {"connection_id":122903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:14:41] local.INFO: TCP Data received {"connection_id":122903,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:14:41] local.INFO: Processing buffer {"connection_id":122903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:14:41] local.INFO: Packet analysis {"connection_id":122903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:14:41] local.INFO: Extracted packet for processing {"connection_id":122903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:14:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":75,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517008384001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:41] 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-07-05 22:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783269865000,"timestamp_ms":1783269865000,"timestamp_seconds":1783269865,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ab628"} 
[2026-07-05 22:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:14: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-07-05 22:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517008384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517008384001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:14:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:14:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517008384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":122903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:14:41] local.INFO: GPS data processed {"connection_id":122903,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:14:41] local.INFO: Acknowledgment sent {"connection_id":122903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:14:50] local.INFO: TCP Data received {"connection_id":122904,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:14:50] local.INFO: Processing buffer {"connection_id":122904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:14:50] local.INFO: IMEI packet received {"connection_id":122904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":122904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:14:55] local.INFO: TCP Data received {"connection_id":122904,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:14:55] local.INFO: Processing buffer {"connection_id":122904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:14:55] local.INFO: IMEI packet received {"connection_id":122904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":122904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:14:56] local.INFO: TCP Data received {"connection_id":122904,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:14:56] local.INFO: Processing buffer {"connection_id":122904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:14:56] local.INFO: Packet analysis {"connection_id":122904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:14:56] local.INFO: Extracted packet for processing {"connection_id":122904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516998912001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541158400,"note":"Value kept but may cause issues"} 
[2026-07-05 22:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783269829000,"timestamp_ms":1783269829000,"timestamp_seconds":1783269829,"priority":1,"record_length":96,"hex_timestamp":"0000019f332a2988"} 
[2026-07-05 22:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-05 22:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:14:56] 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-07-05 22:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516998912001,"66":12798,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9094456522541158400},"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-07-05 22:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516998912001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:14:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541158400,"description":"Unknown IO ID 45"} 
[2026-07-05 22:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516998912001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541158400}} 
[2026-07-05 22:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":122904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:14:56] local.INFO: GPS data processed {"connection_id":122904,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:14:56] local.INFO: Acknowledgment sent {"connection_id":122904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:15:04] local.INFO: TCP Data received {"connection_id":122836,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:15:04] local.INFO: Processing buffer {"connection_id":122836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:15:04] local.INFO: IMEI packet received {"connection_id":122836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":122836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:15:09] local.INFO: TCP Data received {"connection_id":122836,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:15:09] local.INFO: Processing buffer {"connection_id":122836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:15:09] local.INFO: IMEI packet received {"connection_id":122836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":122836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:15:10] local.INFO: TCP Data received {"connection_id":122836,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:15:10] local.INFO: Processing buffer {"connection_id":122836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:15:10] local.INFO: Packet analysis {"connection_id":122836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:15:10] local.INFO: Extracted packet for processing {"connection_id":122836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:15:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":75,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517008384001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15:10] 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-07-05 22:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783269865000,"timestamp_ms":1783269865000,"timestamp_seconds":1783269865,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ab628"} 
[2026-07-05 22:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517008384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517008384001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:15:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:15:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517008384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":122836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:15:10] local.INFO: GPS data processed {"connection_id":122836,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:15:10] local.INFO: Acknowledgment sent {"connection_id":122836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:15:27] local.INFO: TCP Data received {"connection_id":122904,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:15:27] local.INFO: Processing buffer {"connection_id":122904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:15:27] local.INFO: Packet analysis {"connection_id":122904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:15:27] local.INFO: Extracted packet for processing {"connection_id":122904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516998912001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541158400,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783269829000,"timestamp_ms":1783269829000,"timestamp_seconds":1783269829,"priority":1,"record_length":96,"hex_timestamp":"0000019f332a2988"} 
[2026-07-05 22:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-05 22:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:15:27] 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-07-05 22:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516998912001,"66":12798,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9094456522541158400},"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-07-05 22:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516998912001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:15:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541158400,"description":"Unknown IO ID 45"} 
[2026-07-05 22:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516998912001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541158400}} 
[2026-07-05 22:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":122904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:15:27] local.INFO: GPS data processed {"connection_id":122904,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:15:27] local.INFO: Acknowledgment sent {"connection_id":122904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:15:29] local.INFO: TCP Data received {"connection_id":124816,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:15:29] local.INFO: Processing buffer {"connection_id":124816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:15:29] local.INFO: IMEI packet received {"connection_id":124816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":124816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:15:41] local.INFO: TCP Data received {"connection_id":122836,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:15:41] local.INFO: Processing buffer {"connection_id":122836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:15:41] local.INFO: Packet analysis {"connection_id":122836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:15:41] local.INFO: Extracted packet for processing {"connection_id":122836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:15:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":75,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517008384001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15:41] 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-07-05 22:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783269865000,"timestamp_ms":1783269865000,"timestamp_seconds":1783269865,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ab628"} 
[2026-07-05 22:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517008384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517008384001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:15:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:15:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517008384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":122836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:15:41] local.INFO: GPS data processed {"connection_id":122836,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:15:41] local.INFO: Acknowledgment sent {"connection_id":122836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:15:50] local.INFO: TCP Data received {"connection_id":122837,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:15:50] local.INFO: Processing buffer {"connection_id":122837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:15:50] local.INFO: IMEI packet received {"connection_id":122837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":122837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:15:55] local.INFO: TCP Data received {"connection_id":122837,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122837,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:15:55] local.INFO: Processing buffer {"connection_id":122837,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:15:55] local.INFO: IMEI packet received {"connection_id":122837,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":122837,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:15:59] local.INFO: TCP Data received {"connection_id":122837,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:15:59] local.INFO: Processing buffer {"connection_id":122837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:15:59] local.INFO: Packet analysis {"connection_id":122837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:15:59] local.INFO: Extracted packet for processing {"connection_id":122837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516998912001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541158400,"note":"Value kept but may cause issues"} 
[2026-07-05 22:15: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-07-05 22:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1783269829000,"timestamp_ms":1783269829000,"timestamp_seconds":1783269829,"priority":1,"record_length":96,"hex_timestamp":"0000019f332a2988"} 
[2026-07-05 22:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-05 22:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":122837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":122837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":122837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:15:59] 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-07-05 22:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516998912001,"66":12798,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9094456522541158400},"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-07-05 22:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516998912001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:15:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541158400,"description":"Unknown IO ID 45"} 
[2026-07-05 22:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516998912001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541158400}} 
[2026-07-05 22:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":122837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:15:59] local.INFO: GPS data processed {"connection_id":122837,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:15:59] local.INFO: Acknowledgment sent {"connection_id":122837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:16:03] local.INFO: TCP Data received {"connection_id":124817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:16:03] local.INFO: Processing buffer {"connection_id":124817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:16:03] local.INFO: IMEI packet received {"connection_id":124817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":124817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:16:04] local.INFO: TCP Data received {"connection_id":122905,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:16:04] local.INFO: Processing buffer {"connection_id":122905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:16:04] local.INFO: IMEI packet received {"connection_id":122905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":122905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:16:09] local.INFO: TCP Data received {"connection_id":122905,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:16:09] local.INFO: Processing buffer {"connection_id":122905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:16:09] local.INFO: IMEI packet received {"connection_id":122905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":122905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:16:10] local.INFO: TCP Data received {"connection_id":122905,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:16:10] local.INFO: Processing buffer {"connection_id":122905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:16:10] local.INFO: Packet analysis {"connection_id":122905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:16:10] local.INFO: Extracted packet for processing {"connection_id":122905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":75,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517008384001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:10] 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-07-05 22:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783269865000,"timestamp_ms":1783269865000,"timestamp_seconds":1783269865,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ab628"} 
[2026-07-05 22:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517008384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517008384001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:16:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517008384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":122905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:16:10] local.INFO: GPS data processed {"connection_id":122905,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:16:10] local.INFO: Acknowledgment sent {"connection_id":122905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:16:30] local.INFO: TCP Data received {"connection_id":122837,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:16:30] local.INFO: Processing buffer {"connection_id":122837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:16:30] local.INFO: Packet analysis {"connection_id":122837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:16:30] local.INFO: Extracted packet for processing {"connection_id":122837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516998912001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541158400,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1783269829000,"timestamp_ms":1783269829000,"timestamp_seconds":1783269829,"priority":1,"record_length":96,"hex_timestamp":"0000019f332a2988"} 
[2026-07-05 22:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-05 22:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":122837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":122837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":122837,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:16:30] 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-07-05 22:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516998912001,"66":12798,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9094456522541158400},"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-07-05 22:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516998912001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:16:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:16:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541158400,"description":"Unknown IO ID 45"} 
[2026-07-05 22:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516998912001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541158400}} 
[2026-07-05 22:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":122837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:16:30] local.INFO: GPS data processed {"connection_id":122837,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:16:30] local.INFO: Acknowledgment sent {"connection_id":122837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:16:41] local.INFO: TCP Data received {"connection_id":122905,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:16:41] local.INFO: Processing buffer {"connection_id":122905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:16:41] local.INFO: Packet analysis {"connection_id":122905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:16:41] local.INFO: Extracted packet for processing {"connection_id":122905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":75,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517008384001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:41] 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-07-05 22:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783269865000,"timestamp_ms":1783269865000,"timestamp_seconds":1783269865,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ab628"} 
[2026-07-05 22:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:16: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-07-05 22: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-07-05 22:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517008384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517008384001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:16:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517008384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":122905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:16:41] local.INFO: GPS data processed {"connection_id":122905,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:16:41] local.INFO: Acknowledgment sent {"connection_id":122905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:16:50] local.INFO: TCP Data received {"connection_id":122839,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:16:50] local.INFO: Processing buffer {"connection_id":122839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:16:50] local.INFO: IMEI packet received {"connection_id":122839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":122839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:16:55] local.INFO: TCP Data received {"connection_id":122839,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:16:55] local.INFO: Processing buffer {"connection_id":122839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:16:55] local.INFO: IMEI packet received {"connection_id":122839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":122839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:16:56] local.INFO: TCP Data received {"connection_id":122839,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:16:56] local.INFO: Processing buffer {"connection_id":122839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:16:56] local.INFO: Packet analysis {"connection_id":122839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:16:56] local.INFO: Extracted packet for processing {"connection_id":122839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516998912001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541158400,"note":"Value kept but may cause issues"} 
[2026-07-05 22:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783269829000,"timestamp_ms":1783269829000,"timestamp_seconds":1783269829,"priority":1,"record_length":96,"hex_timestamp":"0000019f332a2988"} 
[2026-07-05 22:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":69,"data_length":795,"current_offset":136} 
[2026-07-05 22:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:16:56] 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-07-05 22:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516998912001,"66":12798,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9094456522541158400},"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-07-05 22:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516998912001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:16:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541158400,"description":"Unknown IO ID 45"} 
[2026-07-05 22:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516998912001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541158400}} 
[2026-07-05 22:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":122839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:16:56] local.INFO: GPS data processed {"connection_id":122839,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:16:56] local.INFO: Acknowledgment sent {"connection_id":122839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:17:09] local.INFO: TCP Data received {"connection_id":122841,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:17:09] local.INFO: Processing buffer {"connection_id":122841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:17:09] local.INFO: IMEI packet received {"connection_id":122841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":122841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:17:14] local.INFO: TCP Data received {"connection_id":122841,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:17:14] local.INFO: Processing buffer {"connection_id":122841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:17:14] local.INFO: IMEI packet received {"connection_id":122841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":122841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:17:15] local.INFO: TCP Data received {"connection_id":122841,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:17:15] local.INFO: Processing buffer {"connection_id":122841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:17:15] local.INFO: Packet analysis {"connection_id":122841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:17:15] local.INFO: Extracted packet for processing {"connection_id":122841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:17:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":75,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:17: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-07-05 22:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517008384001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:15] 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-07-05 22:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783269865000,"timestamp_ms":1783269865000,"timestamp_seconds":1783269865,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ab628"} 
[2026-07-05 22:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:17: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-07-05 22:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517008384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517008384001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:17:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:17:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:17:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517008384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":122841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:17:15] local.INFO: GPS data processed {"connection_id":122841,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:17:15] local.INFO: Acknowledgment sent {"connection_id":122841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:17:27] local.INFO: TCP Data received {"connection_id":122839,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:17:27] local.INFO: Processing buffer {"connection_id":122839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:17:27] local.INFO: Packet analysis {"connection_id":122839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:17:27] local.INFO: Extracted packet for processing {"connection_id":122839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516998912001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541158400,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783269829000,"timestamp_ms":1783269829000,"timestamp_seconds":1783269829,"priority":1,"record_length":96,"hex_timestamp":"0000019f332a2988"} 
[2026-07-05 22:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-05 22:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:17:27] 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-07-05 22:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516998912001,"66":12798,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9094456522541158400},"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-07-05 22:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516998912001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:17:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541158400,"description":"Unknown IO ID 45"} 
[2026-07-05 22:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516998912001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541158400}} 
[2026-07-05 22:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":122839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:17:27] local.INFO: GPS data processed {"connection_id":122839,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:17:27] local.INFO: Acknowledgment sent {"connection_id":122839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:17:46] local.INFO: TCP Data received {"connection_id":122841,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:17:46] local.INFO: Processing buffer {"connection_id":122841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:17:46] local.INFO: Packet analysis {"connection_id":122841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:17:46] local.INFO: Extracted packet for processing {"connection_id":122841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:17:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":75,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:17: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-07-05 22:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517008384001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:46] 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-07-05 22:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783269865000,"timestamp_ms":1783269865000,"timestamp_seconds":1783269865,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ab628"} 
[2026-07-05 22:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:17: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-07-05 22:17: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-07-05 22:17: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-07-05 22:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517008384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517008384001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:17:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:17:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:17:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517008384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":122841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:17:46] local.INFO: GPS data processed {"connection_id":122841,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:17:46] local.INFO: Acknowledgment sent {"connection_id":122841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:17:50] local.INFO: TCP Data received {"connection_id":122906,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:17:50] local.INFO: Processing buffer {"connection_id":122906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:17:50] local.INFO: IMEI packet received {"connection_id":122906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":122906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:17:55] local.INFO: TCP Data received {"connection_id":122906,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:17:55] local.INFO: Processing buffer {"connection_id":122906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:17:55] local.INFO: IMEI packet received {"connection_id":122906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":122906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:17:56] local.INFO: TCP Data received {"connection_id":122906,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:17:56] local.INFO: Processing buffer {"connection_id":122906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:17:56] local.INFO: Packet analysis {"connection_id":122906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:17:56] local.INFO: Extracted packet for processing {"connection_id":122906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516998912001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541158400,"note":"Value kept but may cause issues"} 
[2026-07-05 22:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783269829000,"timestamp_ms":1783269829000,"timestamp_seconds":1783269829,"priority":1,"record_length":96,"hex_timestamp":"0000019f332a2988"} 
[2026-07-05 22:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-05 22:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:17:56] 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-07-05 22:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516998912001,"66":12798,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9094456522541158400},"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-07-05 22:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516998912001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:17:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541158400,"description":"Unknown IO ID 45"} 
[2026-07-05 22:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516998912001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541158400}} 
[2026-07-05 22:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":122906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:17:56] local.INFO: GPS data processed {"connection_id":122906,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:17:56] local.INFO: Acknowledgment sent {"connection_id":122906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:18:04] local.INFO: TCP Data received {"connection_id":124818,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:18:04] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:18:04] local.INFO: IMEI packet received {"connection_id":124818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":124818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:18:09] local.INFO: TCP Data received {"connection_id":124818,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:18:09] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:18:09] local.INFO: IMEI packet received {"connection_id":124818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":124818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:18:10] local.INFO: TCP Data received {"connection_id":124818,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:18:10] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:18:10] local.INFO: Packet analysis {"connection_id":124818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:18:10] local.INFO: Extracted packet for processing {"connection_id":124818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:18:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":75,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517008384001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:18:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:18:10] 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-07-05 22:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783269865000,"timestamp_ms":1783269865000,"timestamp_seconds":1783269865,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ab628"} 
[2026-07-05 22:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517008384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517008384001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:18:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:18:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:18:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517008384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":124818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:18:10] local.INFO: GPS data processed {"connection_id":124818,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:18:10] local.INFO: Acknowledgment sent {"connection_id":124818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:18:27] local.INFO: TCP Data received {"connection_id":122906,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:18:27] local.INFO: Processing buffer {"connection_id":122906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332a2988012d7e380005d34c98000500b423..."} 
[2026-07-05 22:18:27] local.INFO: Packet analysis {"connection_id":122906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:18:27] local.INFO: Extracted packet for processing {"connection_id":122906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456516998912001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541158400,"note":"Value kept but may cause issues"} 
[2026-07-05 22:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783269829000,"timestamp_ms":1783269829000,"timestamp_seconds":1783269829,"priority":1,"record_length":96,"hex_timestamp":"0000019f332a2988"} 
[2026-07-05 22:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-05 22:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:18:27] 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-07-05 22:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456516998912001,"66":12798,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9094456522541158400},"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-07-05 22:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456516998912001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:18:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541158400,"description":"Unknown IO ID 45"} 
[2026-07-05 22:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456516998912001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541158400}} 
[2026-07-05 22:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":122906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:18:27] local.INFO: GPS data processed {"connection_id":122906,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:18:27] local.INFO: Acknowledgment sent {"connection_id":122906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:18:41] local.INFO: TCP Data received {"connection_id":124818,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:18:41] local.INFO: Processing buffer {"connection_id":124818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:18:41] local.INFO: Packet analysis {"connection_id":124818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:18:41] local.INFO: Extracted packet for processing {"connection_id":124818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:18:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":75,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517008384001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:18:41] 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-07-05 22:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783269865000,"timestamp_ms":1783269865000,"timestamp_seconds":1783269865,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ab628"} 
[2026-07-05 22:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517008384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517008384001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:18:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517008384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":124818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:18:41] local.INFO: GPS data processed {"connection_id":124818,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:18:41] local.INFO: Acknowledgment sent {"connection_id":124818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:18:51] local.INFO: TCP Data received {"connection_id":124819,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:18:51] local.INFO: Processing buffer {"connection_id":124819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:18:51] local.INFO: IMEI packet received {"connection_id":124819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":124819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:18:55] local.INFO: TCP Data received {"connection_id":124819,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:18:55] local.INFO: Processing buffer {"connection_id":124819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:18:55] local.INFO: IMEI packet received {"connection_id":124819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":124819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:19:00] local.INFO: TCP Data received {"connection_id":124819,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124819,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:19:00] local.INFO: Processing buffer {"connection_id":124819,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:19:00] local.INFO: IMEI packet received {"connection_id":124819,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":124819,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:19:01] local.INFO: TCP Data received {"connection_id":124819,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f332eb1b0012d7e380005d34c98000500b422..."} 
[2026-07-05 22:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332eb1b0012d7e380005d34c98000500b422..."} 
[2026-07-05 22:19:01] local.INFO: Processing buffer {"connection_id":124819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332eb1b0012d7e380005d34c98000500b422..."} 
[2026-07-05 22:19:01] local.INFO: Packet analysis {"connection_id":124819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:19:01] local.INFO: Extracted packet for processing {"connection_id":124819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":34,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:19:01] 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-07-05 22:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517076224001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19: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-07-05 22:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783270126000,"timestamp_ms":1783270126000,"timestamp_seconds":1783270126,"priority":1,"record_length":96,"hex_timestamp":"0000019f332eb1b0"} 
[2026-07-05 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-07-05 22:19:01] 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-07-05 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-05 22:19:01] 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-07-05 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-07-05 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-07-05 22:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517076224001,"66":12722,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 22:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517076224001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:19:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517076224001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":124819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:19:01] local.INFO: GPS data processed {"connection_id":124819,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:19:01] local.INFO: Acknowledgment sent {"connection_id":124819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:19:04] local.INFO: TCP Data received {"connection_id":123587,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:19:04] local.INFO: Processing buffer {"connection_id":123587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:19:04] local.INFO: IMEI packet received {"connection_id":123587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":123587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:19:05] local.INFO: TCP Data received {"connection_id":124819,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f332eb1b0012d7e380005d34c98000500b422..."} 
[2026-07-05 22:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332eb1b0012d7e380005d34c98000500b422..."} 
[2026-07-05 22:19:05] local.INFO: Processing buffer {"connection_id":124819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332eb1b0012d7e380005d34c98000500b422..."} 
[2026-07-05 22:19:05] local.INFO: Packet analysis {"connection_id":124819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:19:05] local.INFO: Extracted packet for processing {"connection_id":124819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":34,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517152256001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1783270126000,"timestamp_ms":1783270126000,"timestamp_seconds":1783270126,"priority":1,"record_length":96,"hex_timestamp":"0000019f332eb1b0"} 
[2026-07-05 22:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-05 22:19:05] 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-07-05 22:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":124819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":124819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":124819,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:19:05] 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-07-05 22:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517152256001,"66":12722,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 22:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517152256001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:19:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:19:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517152256001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":124819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:19:05] local.INFO: GPS data processed {"connection_id":124819,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:19:05] local.INFO: Acknowledgment sent {"connection_id":124819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:19:09] local.INFO: TCP Data received {"connection_id":123587,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:19:09] local.INFO: Processing buffer {"connection_id":123587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:19:09] local.INFO: IMEI packet received {"connection_id":123587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":123587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:19:10] local.INFO: TCP Data received {"connection_id":123587,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:19:10] local.INFO: Processing buffer {"connection_id":123587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ab628012cb2a24007823a68004b00c927..."} 
[2026-07-05 22:19:10] local.INFO: Packet analysis {"connection_id":123587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:19:10] local.INFO: Extracted packet for processing {"connection_id":123587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332a"} 
[2026-07-05 22:19:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":75,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517008384001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:10] 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-07-05 22:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783269865000,"timestamp_ms":1783269865000,"timestamp_seconds":1783269865,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ab628"} 
[2026-07-05 22:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517008384001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517008384001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:19:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517008384001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":123587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:19:10] local.INFO: GPS data processed {"connection_id":123587,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:19:10] local.INFO: Acknowledgment sent {"connection_id":123587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:19:41] local.INFO: TCP Data received {"connection_id":123587,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:19:41] local.INFO: Processing buffer {"connection_id":123587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:19:41] local.INFO: Packet analysis {"connection_id":123587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:19:41] local.INFO: Extracted packet for processing {"connection_id":123587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:19:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517085440001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:41] 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-07-05 22:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270166000,"timestamp_ms":1783270166000,"timestamp_seconds":1783270166,"priority":1,"record_length":96,"hex_timestamp":"0000019f332f4df0"} 
[2026-07-05 22:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517085440001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517085440001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:19:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517085440001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":123587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:19:41] local.INFO: GPS data processed {"connection_id":123587,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:19:41] local.INFO: Acknowledgment sent {"connection_id":123587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:19:50] local.INFO: TCP Data received {"connection_id":122843,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:19:50] local.INFO: Processing buffer {"connection_id":122843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:19:50] local.INFO: IMEI packet received {"connection_id":122843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":122843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:19:55] local.INFO: TCP Data received {"connection_id":122843,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:19:55] local.INFO: Processing buffer {"connection_id":122843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:19:55] local.INFO: IMEI packet received {"connection_id":122843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":122843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:19:56] local.INFO: TCP Data received {"connection_id":122843,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:19:56] local.INFO: Processing buffer {"connection_id":122843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:19:56] local.INFO: Packet analysis {"connection_id":122843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:19:56] local.INFO: Extracted packet for processing {"connection_id":122843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":34,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517152256001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783270130000,"timestamp_ms":1783270130000,"timestamp_seconds":1783270130,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ec150"} 
[2026-07-05 22:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-05 22:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:19:56] 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-07-05 22:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517152256001,"66":2514,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 22:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517152256001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:19:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517152256001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":122843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:19:56] local.INFO: GPS data processed {"connection_id":122843,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:19:56] local.INFO: Acknowledgment sent {"connection_id":122843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:20:04] local.INFO: TCP Data received {"connection_id":122907,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:20:04] local.INFO: Processing buffer {"connection_id":122907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:20:04] local.INFO: IMEI packet received {"connection_id":122907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":122907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:20:09] local.INFO: TCP Data received {"connection_id":122907,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:20:09] local.INFO: Processing buffer {"connection_id":122907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:20:09] local.INFO: IMEI packet received {"connection_id":122907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":122907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:20:10] local.INFO: TCP Data received {"connection_id":122907,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:20:10] local.INFO: Processing buffer {"connection_id":122907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:20:10] local.INFO: Packet analysis {"connection_id":122907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:20:10] local.INFO: Extracted packet for processing {"connection_id":122907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:20:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517085440001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20:10] 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-07-05 22:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270166000,"timestamp_ms":1783270166000,"timestamp_seconds":1783270166,"priority":1,"record_length":96,"hex_timestamp":"0000019f332f4df0"} 
[2026-07-05 22:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517085440001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517085440001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:20:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:20:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:20:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517085440001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":122907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:20:10] local.INFO: GPS data processed {"connection_id":122907,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:20:10] local.INFO: Acknowledgment sent {"connection_id":122907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:20:28] local.INFO: TCP Data received {"connection_id":122843,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:20:28] local.INFO: Processing buffer {"connection_id":122843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:20:28] local.INFO: Packet analysis {"connection_id":122843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:20:28] local.INFO: Extracted packet for processing {"connection_id":122843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":34,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 22:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517152256001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20: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-07-05 22:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783270130000,"timestamp_ms":1783270130000,"timestamp_seconds":1783270130,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ec150"} 
[2026-07-05 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-07-05 22:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-05 22:20: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-07-05 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-07-05 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-07-05 22:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":122843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":122843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":122843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:20:28] 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-07-05 22:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517152256001,"66":2514,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 22:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517152256001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:20:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517152256001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":122843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:20:28] local.INFO: GPS data processed {"connection_id":122843,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:20:28] local.INFO: Acknowledgment sent {"connection_id":122843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:20:41] local.INFO: TCP Data received {"connection_id":122907,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:20:41] local.INFO: Processing buffer {"connection_id":122907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:20:41] local.INFO: Packet analysis {"connection_id":122907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:20:41] local.INFO: Extracted packet for processing {"connection_id":122907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:20:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517085440001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20:41] 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-07-05 22:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270166000,"timestamp_ms":1783270166000,"timestamp_seconds":1783270166,"priority":1,"record_length":96,"hex_timestamp":"0000019f332f4df0"} 
[2026-07-05 22:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517085440001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517085440001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:20:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:20:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517085440001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":122907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:20:41] local.INFO: GPS data processed {"connection_id":122907,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:20:41] local.INFO: Acknowledgment sent {"connection_id":122907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:20:50] local.INFO: TCP Data received {"connection_id":122844,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:20:50] local.INFO: Processing buffer {"connection_id":122844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:20:50] local.INFO: IMEI packet received {"connection_id":122844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":122844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:20:55] local.INFO: TCP Data received {"connection_id":122844,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122844,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:20:55] local.INFO: Processing buffer {"connection_id":122844,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:20:55] local.INFO: IMEI packet received {"connection_id":122844,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":122844,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:20:56] local.INFO: TCP Data received {"connection_id":122844,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:20:56] local.INFO: Processing buffer {"connection_id":122844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:20:56] local.INFO: Packet analysis {"connection_id":122844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:20:56] local.INFO: Extracted packet for processing {"connection_id":122844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":34,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517152256001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783270130000,"timestamp_ms":1783270130000,"timestamp_seconds":1783270130,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ec150"} 
[2026-07-05 22:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":178,"data_length":795,"current_offset":136} 
[2026-07-05 22:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":122844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":122844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":122844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517152256001,"66":2514,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 22:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517152256001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:20:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517152256001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":122844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:20:56] local.INFO: GPS data processed {"connection_id":122844,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:20:56] local.INFO: Acknowledgment sent {"connection_id":122844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:21:04] local.INFO: TCP Data received {"connection_id":122909,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:21:04] local.INFO: Processing buffer {"connection_id":122909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:21:04] local.INFO: IMEI packet received {"connection_id":122909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":122909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:21:09] local.INFO: TCP Data received {"connection_id":122909,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:21:09] local.INFO: Processing buffer {"connection_id":122909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:21:09] local.INFO: IMEI packet received {"connection_id":122909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":122909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:21:10] local.INFO: TCP Data received {"connection_id":122909,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:21:10] local.INFO: Processing buffer {"connection_id":122909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:21:10] local.INFO: Packet analysis {"connection_id":122909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:21:10] local.INFO: Extracted packet for processing {"connection_id":122909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:21:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517085440001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:10] 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-07-05 22:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270166000,"timestamp_ms":1783270166000,"timestamp_seconds":1783270166,"priority":1,"record_length":96,"hex_timestamp":"0000019f332f4df0"} 
[2026-07-05 22:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517085440001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517085440001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:21:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:21:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517085440001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":122909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:21:10] local.INFO: GPS data processed {"connection_id":122909,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:21:10] local.INFO: Acknowledgment sent {"connection_id":122909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:21:18] local.INFO: TCP Data received {"connection_id":124820,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:21:18] local.INFO: Processing buffer {"connection_id":124820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:21:18] local.INFO: IMEI packet received {"connection_id":124820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":124820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:21:27] local.INFO: TCP Data received {"connection_id":122844,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:21:27] local.INFO: Processing buffer {"connection_id":122844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:21:27] local.INFO: Packet analysis {"connection_id":122844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:21:27] local.INFO: Extracted packet for processing {"connection_id":122844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":34,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517152256001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783270130000,"timestamp_ms":1783270130000,"timestamp_seconds":1783270130,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ec150"} 
[2026-07-05 22:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-05 22:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":122844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":122844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":122844,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517152256001,"66":2514,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 22:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517152256001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:21:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517152256001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":122844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:21:27] local.INFO: GPS data processed {"connection_id":122844,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:21:27] local.INFO: Acknowledgment sent {"connection_id":122844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:21:41] local.INFO: TCP Data received {"connection_id":122909,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:21:41] local.INFO: Processing buffer {"connection_id":122909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:21:41] local.INFO: Packet analysis {"connection_id":122909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:21:41] local.INFO: Extracted packet for processing {"connection_id":122909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:21:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517085440001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:41] 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-07-05 22:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270166000,"timestamp_ms":1783270166000,"timestamp_seconds":1783270166,"priority":1,"record_length":96,"hex_timestamp":"0000019f332f4df0"} 
[2026-07-05 22:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:21: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-07-05 22: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-07-05 22:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517085440001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517085440001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:21:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:21:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517085440001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":122909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:21:41] local.INFO: GPS data processed {"connection_id":122909,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:21:41] local.INFO: Acknowledgment sent {"connection_id":122909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:21:50] local.INFO: TCP Data received {"connection_id":123588,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:21:50] local.INFO: Processing buffer {"connection_id":123588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:21:50] local.INFO: IMEI packet received {"connection_id":123588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":123588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:21:55] local.INFO: TCP Data received {"connection_id":123588,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:21:55] local.INFO: Processing buffer {"connection_id":123588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:21:55] local.INFO: IMEI packet received {"connection_id":123588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":123588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:21:56] local.INFO: TCP Data received {"connection_id":123588,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:21:56] local.INFO: Processing buffer {"connection_id":123588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:21:56] local.INFO: Packet analysis {"connection_id":123588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:21:56] local.INFO: Extracted packet for processing {"connection_id":123588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":34,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517152256001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783270130000,"timestamp_ms":1783270130000,"timestamp_seconds":1783270130,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ec150"} 
[2026-07-05 22:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-05 22:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:21: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-07-05 22:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":123588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":123588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":123588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:21:56] 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-07-05 22:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517152256001,"66":2514,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 22:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517152256001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:21:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517152256001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":123588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:21:56] local.INFO: GPS data processed {"connection_id":123588,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:21:56] local.INFO: Acknowledgment sent {"connection_id":123588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:22:04] local.INFO: TCP Data received {"connection_id":123589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:22:04] local.INFO: Processing buffer {"connection_id":123589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:22:04] local.INFO: IMEI packet received {"connection_id":123589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":123589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:22:04] local.INFO: TCP Data received {"connection_id":122845,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:22:04] local.INFO: Processing buffer {"connection_id":122845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:22:04] local.INFO: IMEI packet received {"connection_id":122845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":122845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:22:09] local.INFO: TCP Data received {"connection_id":123589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:22:09] local.INFO: Processing buffer {"connection_id":123589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:22:09] local.INFO: IMEI packet received {"connection_id":123589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":123589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:22:10] local.INFO: TCP Data received {"connection_id":123589,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:22:10] local.INFO: Processing buffer {"connection_id":123589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:22:10] local.INFO: Packet analysis {"connection_id":123589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:22:10] local.INFO: Extracted packet for processing {"connection_id":123589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:22:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517085440001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:22:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:22:10] 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-07-05 22:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270166000,"timestamp_ms":1783270166000,"timestamp_seconds":1783270166,"priority":1,"record_length":96,"hex_timestamp":"0000019f332f4df0"} 
[2026-07-05 22:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517085440001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517085440001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:22:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:22:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:22:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517085440001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":123589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:22:10] local.INFO: GPS data processed {"connection_id":123589,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:22:10] local.INFO: Acknowledgment sent {"connection_id":123589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:22:28] local.INFO: TCP Data received {"connection_id":123588,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:22:28] local.INFO: Processing buffer {"connection_id":123588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:22:28] local.INFO: Packet analysis {"connection_id":123588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:22:28] local.INFO: Extracted packet for processing {"connection_id":123588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":34,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 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-07-05 22:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517152256001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:22: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-07-05 22:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783270130000,"timestamp_ms":1783270130000,"timestamp_seconds":1783270130,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ec150"} 
[2026-07-05 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-07-05 22:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-05 22:22: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-07-05 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-07-05 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-07-05 22:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":123588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":123588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":123588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:22:28] 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-07-05 22:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517152256001,"66":2514,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-05 22:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517152256001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:22:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517152256001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":123588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:22:28] local.INFO: GPS data processed {"connection_id":123588,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:22:28] local.INFO: Acknowledgment sent {"connection_id":123588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:22:41] local.INFO: TCP Data received {"connection_id":123589,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:22:41] local.INFO: Processing buffer {"connection_id":123589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:22:41] local.INFO: Packet analysis {"connection_id":123589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:22:41] local.INFO: Extracted packet for processing {"connection_id":123589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:22:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517085440001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:22:41] 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-07-05 22:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270166000,"timestamp_ms":1783270166000,"timestamp_seconds":1783270166,"priority":1,"record_length":96,"hex_timestamp":"0000019f332f4df0"} 
[2026-07-05 22:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517085440001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517085440001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:22:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517085440001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":123589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:22:41] local.INFO: GPS data processed {"connection_id":123589,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:22:41] local.INFO: Acknowledgment sent {"connection_id":123589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:22:55] local.INFO: TCP Data received {"connection_id":124821,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:22:55] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:22:55] local.INFO: IMEI packet received {"connection_id":124821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":124821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:23:00] local.INFO: TCP Data received {"connection_id":124821,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:23:00] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:23:00] local.INFO: IMEI packet received {"connection_id":124821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":124821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:23:01] local.INFO: TCP Data received {"connection_id":124821,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:23:01] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:23:01] local.INFO: Packet analysis {"connection_id":124821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:23:01] local.INFO: Extracted packet for processing {"connection_id":124821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":34,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517152256001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23: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-07-05 22:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1783270130000,"timestamp_ms":1783270130000,"timestamp_seconds":1783270130,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ec150"} 
[2026-07-05 22:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:23:01] 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-07-05 22: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-05 22:23:01] 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-07-05 22: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-07-05 22:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":124821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":124821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":124821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:23:01] 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-07-05 22:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517152256001,"66":2514,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"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-07-05 22:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517152256001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:23:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517152256001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":124821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:23:01] local.INFO: GPS data processed {"connection_id":124821,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:23:01] local.INFO: Acknowledgment sent {"connection_id":124821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:23:05] local.INFO: TCP Data received {"connection_id":124821,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:23:06] local.INFO: Processing buffer {"connection_id":124821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332ec150012d7e380005d34c98000500b422..."} 
[2026-07-05 22:23:06] local.INFO: Packet analysis {"connection_id":124821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:23:06] local.INFO: Extracted packet for processing {"connection_id":124821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332e"} 
[2026-07-05 22:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":34,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517152256001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23: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-07-05 22:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1783270130000,"timestamp_ms":1783270130000,"timestamp_seconds":1783270130,"priority":1,"record_length":96,"hex_timestamp":"0000019f332ec150"} 
[2026-07-05 22:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:23:06] 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-07-05 22:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-05 22:23:06] 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-07-05 22:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":124821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":124821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":124821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:23:06] 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-07-05 22:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517152256001,"66":2514,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"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-07-05 22:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517152256001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:23:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517152256001,"power":2514,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":124821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:23:06] local.INFO: GPS data processed {"connection_id":124821,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:23:06] local.INFO: Acknowledgment sent {"connection_id":124821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:23:09] local.INFO: TCP Data received {"connection_id":122910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:23:09] local.INFO: Processing buffer {"connection_id":122910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:23:09] local.INFO: IMEI packet received {"connection_id":122910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":122910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:23:14] local.INFO: TCP Data received {"connection_id":122910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:23:14] local.INFO: Processing buffer {"connection_id":122910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:23:14] local.INFO: IMEI packet received {"connection_id":122910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":122910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:23:15] local.INFO: TCP Data received {"connection_id":122910,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:23:15] local.INFO: Processing buffer {"connection_id":122910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:23:15] local.INFO: Packet analysis {"connection_id":122910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:23:15] local.INFO: Extracted packet for processing {"connection_id":122910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517085440001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:15] 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-07-05 22:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783270166000,"timestamp_ms":1783270166000,"timestamp_seconds":1783270166,"priority":1,"record_length":96,"hex_timestamp":"0000019f332f4df0"} 
[2026-07-05 22:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517085440001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517085440001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:23:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:23:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:23:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517085440001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":122910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:23:15] local.INFO: GPS data processed {"connection_id":122910,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:23:15] local.INFO: Acknowledgment sent {"connection_id":122910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:23:22] local.INFO: TCP Data received {"connection_id":122910,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:23:22] local.INFO: Processing buffer {"connection_id":122910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:23:22] local.INFO: Packet analysis {"connection_id":122910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:23:22] local.INFO: Extracted packet for processing {"connection_id":122910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:23:22] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517085440001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:22] 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-07-05 22:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783270166000,"timestamp_ms":1783270166000,"timestamp_seconds":1783270166,"priority":1,"record_length":96,"hex_timestamp":"0000019f332f4df0"} 
[2026-07-05 22:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517085440001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517085440001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:23:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:23:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517085440001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":122910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:23:22] local.INFO: GPS data processed {"connection_id":122910,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:23:22] local.INFO: Acknowledgment sent {"connection_id":122910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:23:50] local.INFO: TCP Data received {"connection_id":122912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:23:50] local.INFO: Processing buffer {"connection_id":122912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:23:50] local.INFO: IMEI packet received {"connection_id":122912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":122912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:23:52] local.INFO: TCP Data received {"connection_id":122912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:23:52] local.INFO: Processing buffer {"connection_id":122912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:23:52] local.INFO: IMEI packet received {"connection_id":122912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":122912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:23:57] local.INFO: TCP Data received {"connection_id":122912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:23:57] local.INFO: Processing buffer {"connection_id":122912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:23:57] local.INFO: Packet analysis {"connection_id":122912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:23:57] local.INFO: Extracted packet for processing {"connection_id":122912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517153280001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783270431000,"timestamp_ms":1783270431000,"timestamp_seconds":1783270431,"priority":1,"record_length":96,"hex_timestamp":"0000019f33335918"} 
[2026-07-05 22:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-05 22:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":122912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":122912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":122912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:23:57] 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-07-05 22:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517153280001,"66":2231,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"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-07-05 22:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517153280001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:23:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517153280001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":122912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:23:57] local.INFO: GPS data processed {"connection_id":122912,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:23:57] local.INFO: Acknowledgment sent {"connection_id":122912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:24:04] local.INFO: TCP Data received {"connection_id":123590,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:24:04] local.INFO: Processing buffer {"connection_id":123590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:24:04] local.INFO: IMEI packet received {"connection_id":123590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":123590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:24:09] local.INFO: TCP Data received {"connection_id":123590,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:24:09] local.INFO: Processing buffer {"connection_id":123590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:24:09] local.INFO: IMEI packet received {"connection_id":123590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":123590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:24:10] local.INFO: TCP Data received {"connection_id":123590,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:24:10] local.INFO: Processing buffer {"connection_id":123590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f332f4df0012cb2a24007823a68004600c926..."} 
[2026-07-05 22:24:10] local.INFO: Packet analysis {"connection_id":123590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:24:10] local.INFO: Extracted packet for processing {"connection_id":123590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f332f"} 
[2026-07-05 22:24:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517085440001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24:10] 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-07-05 22:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270166000,"timestamp_ms":1783270166000,"timestamp_seconds":1783270166,"priority":1,"record_length":96,"hex_timestamp":"0000019f332f4df0"} 
[2026-07-05 22:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517085440001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517085440001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:24:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:24:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517085440001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":123590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:24:10] local.INFO: GPS data processed {"connection_id":123590,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:24:10] local.INFO: Acknowledgment sent {"connection_id":123590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:24:28] local.INFO: TCP Data received {"connection_id":122912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:24:28] local.INFO: Processing buffer {"connection_id":122912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:24:28] local.INFO: Packet analysis {"connection_id":122912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:24:28] local.INFO: Extracted packet for processing {"connection_id":122912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517153280001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24: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-07-05 22:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1783270431000,"timestamp_ms":1783270431000,"timestamp_seconds":1783270431,"priority":1,"record_length":96,"hex_timestamp":"0000019f33335918"} 
[2026-07-05 22:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-05 22:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":122912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":122912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":122912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:24:28] 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-07-05 22:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517153280001,"66":2231,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"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-07-05 22:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517153280001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:24:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517153280001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":122912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:24:28] local.INFO: GPS data processed {"connection_id":122912,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:24:28] local.INFO: Acknowledgment sent {"connection_id":122912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:24:41] local.INFO: TCP Data received {"connection_id":123590,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:24:41] local.INFO: Processing buffer {"connection_id":123590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:24:41] local.INFO: Packet analysis {"connection_id":123590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:24:41] local.INFO: Extracted packet for processing {"connection_id":123590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:24:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517162496001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24:41] 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-07-05 22:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270467000,"timestamp_ms":1783270467000,"timestamp_seconds":1783270467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3333e5b8"} 
[2026-07-05 22:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:24: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-07-05 22:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517162496001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517162496001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:24:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:24:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517162496001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":123590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:24:41] local.INFO: GPS data processed {"connection_id":123590,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:24:41] local.INFO: Acknowledgment sent {"connection_id":123590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:24:50] local.INFO: TCP Data received {"connection_id":124822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:24:50] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:24:50] local.INFO: IMEI packet received {"connection_id":124822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-05 22:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":124822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:24:55] local.INFO: TCP Data received {"connection_id":124822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:24:55] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-05 22:24:55] local.INFO: IMEI packet received {"connection_id":124822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-05 22:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":124822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:24:56] local.INFO: TCP Data received {"connection_id":124822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:24:56] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:24:56] local.INFO: Packet analysis {"connection_id":124822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:24:56] local.INFO: Extracted packet for processing {"connection_id":124822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517153280001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1783270431000,"timestamp_ms":1783270431000,"timestamp_seconds":1783270431,"priority":1,"record_length":96,"hex_timestamp":"0000019f33335918"} 
[2026-07-05 22:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-05 22:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":124822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":124822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":124822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517153280001,"66":2231,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"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-07-05 22:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517153280001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:24:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517153280001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":124822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:24:56] local.INFO: GPS data processed {"connection_id":124822,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:24:56] local.INFO: Acknowledgment sent {"connection_id":124822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:25:04] local.INFO: TCP Data received {"connection_id":122913,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:25:04] local.INFO: Processing buffer {"connection_id":122913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:25:04] local.INFO: IMEI packet received {"connection_id":122913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":122913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:25:09] local.INFO: TCP Data received {"connection_id":122913,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:25:09] local.INFO: Processing buffer {"connection_id":122913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:25:09] local.INFO: IMEI packet received {"connection_id":122913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":122913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:25:10] local.INFO: TCP Data received {"connection_id":122913,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:25:10] local.INFO: Processing buffer {"connection_id":122913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:25:10] local.INFO: Packet analysis {"connection_id":122913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:25:10] local.INFO: Extracted packet for processing {"connection_id":122913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:25:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517162496001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:25:10] 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-07-05 22:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270467000,"timestamp_ms":1783270467000,"timestamp_seconds":1783270467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3333e5b8"} 
[2026-07-05 22:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517162496001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517162496001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:25:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517162496001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":122913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:25:10] local.INFO: GPS data processed {"connection_id":122913,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:25:10] local.INFO: Acknowledgment sent {"connection_id":122913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:25:27] local.INFO: TCP Data received {"connection_id":124822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:25:27] local.INFO: Processing buffer {"connection_id":124822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33335918012d7e380005d34c98000500b423..."} 
[2026-07-05 22:25:27] local.INFO: Packet analysis {"connection_id":124822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:25:27] local.INFO: Extracted packet for processing {"connection_id":124822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733784,"longitude_deg":76.3246592,"latitude_deg":9.7733784,"altitude":5,"angle":180,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34c98","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517153280001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":102692122586513408,"note":"Value kept but may cause issues"} 
[2026-07-05 22:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494565376,"note":"Value kept but may cause issues"} 
[2026-07-05 22:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-05 22:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1783270431000,"timestamp_ms":1783270431000,"timestamp_seconds":1783270431,"priority":1,"record_length":96,"hex_timestamp":"0000019f33335918"} 
[2026-07-05 22:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":9,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-05 22:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2133,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":124822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":124822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":124822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-05 22:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-05 22:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-05 22:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517153280001,"66":2231,"109":206,"85":15104,"24":0,"16":102692122586513408,"45":9095019472494565376},"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-07-05 22:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-05 22:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-05 22:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517153280001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:25:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-05 22:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-05 22:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":102692122586513408,"km_value":102692122586513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494565376,"description":"Unknown IO ID 45"} 
[2026-07-05 22:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517153280001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494565376}} 
[2026-07-05 22:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":124822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:25:27] local.INFO: GPS data processed {"connection_id":124822,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:25:27] local.INFO: Acknowledgment sent {"connection_id":124822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:25:41] local.INFO: TCP Data received {"connection_id":122913,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:25:41] local.INFO: Processing buffer {"connection_id":122913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:25:41] local.INFO: Packet analysis {"connection_id":122913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:25:41] local.INFO: Extracted packet for processing {"connection_id":122913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517162496001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:25:41] 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-07-05 22:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270467000,"timestamp_ms":1783270467000,"timestamp_seconds":1783270467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3333e5b8"} 
[2026-07-05 22:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22: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-07-05 22:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517162496001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517162496001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:25:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517162496001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":122913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:25:41] local.INFO: GPS data processed {"connection_id":122913,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:25:41] local.INFO: Acknowledgment sent {"connection_id":122913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:26:04] local.INFO: TCP Data received {"connection_id":122849,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:26:04] local.INFO: Processing buffer {"connection_id":122849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:26:04] local.INFO: IMEI packet received {"connection_id":122849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":122849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:26:09] local.INFO: TCP Data received {"connection_id":122849,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:26:09] local.INFO: Processing buffer {"connection_id":122849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:26:09] local.INFO: IMEI packet received {"connection_id":122849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":122849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:26:10] local.INFO: TCP Data received {"connection_id":122849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:26:10] local.INFO: Processing buffer {"connection_id":122849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:26:10] local.INFO: Packet analysis {"connection_id":122849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:26:10] local.INFO: Extracted packet for processing {"connection_id":122849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:26:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517162496001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:26:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:26:10] 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-07-05 22:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270467000,"timestamp_ms":1783270467000,"timestamp_seconds":1783270467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3333e5b8"} 
[2026-07-05 22:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517162496001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517162496001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:26:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:26:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:26:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517162496001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":122849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:26:10] local.INFO: GPS data processed {"connection_id":122849,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:26:10] local.INFO: Acknowledgment sent {"connection_id":122849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:26:41] local.INFO: TCP Data received {"connection_id":122849,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:26:41] local.INFO: Processing buffer {"connection_id":122849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:26:41] local.INFO: Packet analysis {"connection_id":122849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:26:41] local.INFO: Extracted packet for processing {"connection_id":122849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:26:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517162496001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:26:41] 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-07-05 22:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270467000,"timestamp_ms":1783270467000,"timestamp_seconds":1783270467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3333e5b8"} 
[2026-07-05 22:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517162496001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517162496001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:26:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:26:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517162496001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":122849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:26:41] local.INFO: GPS data processed {"connection_id":122849,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:26:41] local.INFO: Acknowledgment sent {"connection_id":122849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:27:09] local.INFO: TCP Data received {"connection_id":123592,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:27:09] local.INFO: Processing buffer {"connection_id":123592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:27:09] local.INFO: IMEI packet received {"connection_id":123592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":123592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:27:14] local.INFO: TCP Data received {"connection_id":124823,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:27:14] local.INFO: Processing buffer {"connection_id":124823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:27:14] local.INFO: IMEI packet received {"connection_id":124823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":124823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:27:14] local.INFO: TCP Data received {"connection_id":123592,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:27:14] local.INFO: Processing buffer {"connection_id":123592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:27:14] local.INFO: IMEI packet received {"connection_id":123592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":123592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:27:15] local.INFO: TCP Data received {"connection_id":123592,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:27:15] local.INFO: Processing buffer {"connection_id":123592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:27:15] local.INFO: Packet analysis {"connection_id":123592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:27:15] local.INFO: Extracted packet for processing {"connection_id":123592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:27:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517162496001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:27:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:27:15] 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-07-05 22:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783270467000,"timestamp_ms":1783270467000,"timestamp_seconds":1783270467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3333e5b8"} 
[2026-07-05 22:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517162496001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517162496001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:27:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:27:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517162496001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":123592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:27:15] local.INFO: GPS data processed {"connection_id":123592,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:27:15] local.INFO: Acknowledgment sent {"connection_id":123592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:27:19] local.INFO: TCP Data received {"connection_id":123592,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:27:19] local.INFO: Processing buffer {"connection_id":123592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:27:19] local.INFO: Packet analysis {"connection_id":123592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:27:19] local.INFO: Extracted packet for processing {"connection_id":123592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:27:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517162496001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:27:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:27:19] 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-07-05 22:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783270467000,"timestamp_ms":1783270467000,"timestamp_seconds":1783270467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3333e5b8"} 
[2026-07-05 22:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:27: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-07-05 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":123592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":123592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":123592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517162496001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517162496001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:27:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:27:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:27:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517162496001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":123592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:27:19] local.INFO: GPS data processed {"connection_id":123592,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:27:19] local.INFO: Acknowledgment sent {"connection_id":123592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:28:04] local.INFO: TCP Data received {"connection_id":123593,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:28:04] local.INFO: Processing buffer {"connection_id":123593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:28:04] local.INFO: IMEI packet received {"connection_id":123593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":123593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:28:09] local.INFO: TCP Data received {"connection_id":123593,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:28:09] local.INFO: Processing buffer {"connection_id":123593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:28:09] local.INFO: IMEI packet received {"connection_id":123593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":123593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:28:10] local.INFO: TCP Data received {"connection_id":123593,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:28:10] local.INFO: Processing buffer {"connection_id":123593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:28:10] local.INFO: Packet analysis {"connection_id":123593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:28:10] local.INFO: Extracted packet for processing {"connection_id":123593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517162496001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:28:10] 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-07-05 22:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270467000,"timestamp_ms":1783270467000,"timestamp_seconds":1783270467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3333e5b8"} 
[2026-07-05 22:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517162496001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517162496001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:28:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517162496001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":123593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:28:10] local.INFO: GPS data processed {"connection_id":123593,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:28:10] local.INFO: Acknowledgment sent {"connection_id":123593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:28:41] local.INFO: TCP Data received {"connection_id":123593,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:28:41] local.INFO: Processing buffer {"connection_id":123593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:28:41] local.INFO: Packet analysis {"connection_id":123593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:28:41] local.INFO: Extracted packet for processing {"connection_id":123593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517162496001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:28:41] 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-07-05 22:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270467000,"timestamp_ms":1783270467000,"timestamp_seconds":1783270467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3333e5b8"} 
[2026-07-05 22:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:28: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-07-05 22:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517162496001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517162496001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:28:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517162496001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":123593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:28:41] local.INFO: GPS data processed {"connection_id":123593,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:28:41] local.INFO: Acknowledgment sent {"connection_id":123593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:29:04] local.INFO: TCP Data received {"connection_id":124824,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:29:04] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:29:04] local.INFO: IMEI packet received {"connection_id":124824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":124824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:29:09] local.INFO: TCP Data received {"connection_id":124824,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:29:09] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:29:09] local.INFO: IMEI packet received {"connection_id":124824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":124824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:29:10] local.INFO: TCP Data received {"connection_id":124824,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:29:10] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3333e5b8012cb2a24007823a68004600c925..."} 
[2026-07-05 22:29:10] local.INFO: Packet analysis {"connection_id":124824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:29:10] local.INFO: Extracted packet for processing {"connection_id":124824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3333"} 
[2026-07-05 22:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517162496001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:29:10] 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-07-05 22:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270467000,"timestamp_ms":1783270467000,"timestamp_seconds":1783270467,"priority":1,"record_length":96,"hex_timestamp":"0000019f3333e5b8"} 
[2026-07-05 22:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517162496001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517162496001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:29:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517162496001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":124824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:29:10] local.INFO: GPS data processed {"connection_id":124824,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:29:10] local.INFO: Acknowledgment sent {"connection_id":124824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:29:41] local.INFO: TCP Data received {"connection_id":124824,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:29:41] local.INFO: Processing buffer {"connection_id":124824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:29:41] local.INFO: Packet analysis {"connection_id":124824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:29:41] local.INFO: Extracted packet for processing {"connection_id":124824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517239552001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:29:41] 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-07-05 22:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270768000,"timestamp_ms":1783270768000,"timestamp_seconds":1783270768,"priority":1,"record_length":96,"hex_timestamp":"0000019f33387d80"} 
[2026-07-05 22:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517239552001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517239552001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:29:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517239552001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":124824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:29:41] local.INFO: GPS data processed {"connection_id":124824,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:29:41] local.INFO: Acknowledgment sent {"connection_id":124824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:30:09] local.INFO: TCP Data received {"connection_id":122915,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:30:09] local.INFO: Processing buffer {"connection_id":122915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:30:09] local.INFO: IMEI packet received {"connection_id":122915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":122915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:30:14] local.INFO: TCP Data received {"connection_id":122915,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:30:14] local.INFO: Processing buffer {"connection_id":122915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:30:14] local.INFO: IMEI packet received {"connection_id":122915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":122915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:30:14] local.INFO: TCP Data received {"connection_id":122915,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:30:14] local.INFO: Processing buffer {"connection_id":122915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:30:14] local.INFO: Packet analysis {"connection_id":122915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:30:14] local.INFO: Extracted packet for processing {"connection_id":122915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517239552001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:30:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:30:14] 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-07-05 22:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783270768000,"timestamp_ms":1783270768000,"timestamp_seconds":1783270768,"priority":1,"record_length":96,"hex_timestamp":"0000019f33387d80"} 
[2026-07-05 22:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517239552001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517239552001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:30:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:30:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:30:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517239552001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":122915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:30:14] local.INFO: GPS data processed {"connection_id":122915,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:30:14] local.INFO: Acknowledgment sent {"connection_id":122915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:30:19] local.INFO: TCP Data received {"connection_id":122915,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:30:19] local.INFO: Processing buffer {"connection_id":122915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:30:19] local.INFO: Packet analysis {"connection_id":122915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:30:19] local.INFO: Extracted packet for processing {"connection_id":122915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:30:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517239552001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:30:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:30:19] 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-07-05 22:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783270768000,"timestamp_ms":1783270768000,"timestamp_seconds":1783270768,"priority":1,"record_length":96,"hex_timestamp":"0000019f33387d80"} 
[2026-07-05 22:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:30: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-07-05 22:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517239552001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517239552001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:30:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:30:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:30:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517239552001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":122915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:30:19] local.INFO: GPS data processed {"connection_id":122915,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:30:19] local.INFO: Acknowledgment sent {"connection_id":122915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:31:04] local.INFO: TCP Data received {"connection_id":122851,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:31:04] local.INFO: Processing buffer {"connection_id":122851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:31:04] local.INFO: IMEI packet received {"connection_id":122851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":122851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:31:09] local.INFO: TCP Data received {"connection_id":122851,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:31:09] local.INFO: Processing buffer {"connection_id":122851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:31:09] local.INFO: IMEI packet received {"connection_id":122851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":122851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:31:10] local.INFO: TCP Data received {"connection_id":122851,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:31:10] local.INFO: Processing buffer {"connection_id":122851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:31:10] local.INFO: Packet analysis {"connection_id":122851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:31:10] local.INFO: Extracted packet for processing {"connection_id":122851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:31:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517239552001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:31:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:31:10] 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-07-05 22:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270768000,"timestamp_ms":1783270768000,"timestamp_seconds":1783270768,"priority":1,"record_length":96,"hex_timestamp":"0000019f33387d80"} 
[2026-07-05 22:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517239552001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517239552001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:31:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:31:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517239552001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":122851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:31:10] local.INFO: GPS data processed {"connection_id":122851,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:31:10] local.INFO: Acknowledgment sent {"connection_id":122851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:31:41] local.INFO: TCP Data received {"connection_id":122851,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:31:41] local.INFO: Processing buffer {"connection_id":122851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:31:41] local.INFO: Packet analysis {"connection_id":122851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:31:41] local.INFO: Extracted packet for processing {"connection_id":122851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:31:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517239552001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:31:41] 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-07-05 22:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270768000,"timestamp_ms":1783270768000,"timestamp_seconds":1783270768,"priority":1,"record_length":96,"hex_timestamp":"0000019f33387d80"} 
[2026-07-05 22:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:31: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-07-05 22: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-07-05 22:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517239552001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517239552001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:31:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517239552001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":122851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:31:41] local.INFO: GPS data processed {"connection_id":122851,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:31:41] local.INFO: Acknowledgment sent {"connection_id":122851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:32:04] local.INFO: TCP Data received {"connection_id":122916,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:32:04] local.INFO: Processing buffer {"connection_id":122916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:32:04] local.INFO: IMEI packet received {"connection_id":122916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":122916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:32:09] local.INFO: TCP Data received {"connection_id":122916,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:32:09] local.INFO: Processing buffer {"connection_id":122916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:32:09] local.INFO: IMEI packet received {"connection_id":122916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":122916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:32:10] local.INFO: TCP Data received {"connection_id":122916,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:32:10] local.INFO: Processing buffer {"connection_id":122916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:32:10] local.INFO: Packet analysis {"connection_id":122916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:32:10] local.INFO: Extracted packet for processing {"connection_id":122916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517239552001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:32:10] 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-07-05 22:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270768000,"timestamp_ms":1783270768000,"timestamp_seconds":1783270768,"priority":1,"record_length":96,"hex_timestamp":"0000019f33387d80"} 
[2026-07-05 22:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517239552001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517239552001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:32:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517239552001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":122916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:32:10] local.INFO: GPS data processed {"connection_id":122916,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:32:10] local.INFO: Acknowledgment sent {"connection_id":122916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:32:41] local.INFO: TCP Data received {"connection_id":122916,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:32:41] local.INFO: Processing buffer {"connection_id":122916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:32:41] local.INFO: Packet analysis {"connection_id":122916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:32:41] local.INFO: Extracted packet for processing {"connection_id":122916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:32:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517239552001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:32:41] 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-07-05 22:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270768000,"timestamp_ms":1783270768000,"timestamp_seconds":1783270768,"priority":1,"record_length":96,"hex_timestamp":"0000019f33387d80"} 
[2026-07-05 22:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:32: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-07-05 22:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517239552001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517239552001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:32:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:32:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517239552001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":122916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:32:41] local.INFO: GPS data processed {"connection_id":122916,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:32:41] local.INFO: Acknowledgment sent {"connection_id":122916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:33:04] local.INFO: TCP Data received {"connection_id":122854,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:33:04] local.INFO: Processing buffer {"connection_id":122854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:33:04] local.INFO: IMEI packet received {"connection_id":122854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":122854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:33:08] local.INFO: TCP Data received {"connection_id":122917,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:33:08] local.INFO: Processing buffer {"connection_id":122917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:33:08] local.INFO: IMEI packet received {"connection_id":122917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":122917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:33:09] local.INFO: TCP Data received {"connection_id":122854,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:33:09] local.INFO: Processing buffer {"connection_id":122854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:33:09] local.INFO: IMEI packet received {"connection_id":122854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":122854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:33:10] local.INFO: TCP Data received {"connection_id":122854,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:33:10] local.INFO: Processing buffer {"connection_id":122854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:33:10] local.INFO: Packet analysis {"connection_id":122854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:33:10] local.INFO: Extracted packet for processing {"connection_id":122854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517239552001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:33:10] 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-07-05 22:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270768000,"timestamp_ms":1783270768000,"timestamp_seconds":1783270768,"priority":1,"record_length":96,"hex_timestamp":"0000019f33387d80"} 
[2026-07-05 22:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517239552001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517239552001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:33:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517239552001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":122854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:33:10] local.INFO: GPS data processed {"connection_id":122854,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:33:10] local.INFO: Acknowledgment sent {"connection_id":122854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:33:41] local.INFO: TCP Data received {"connection_id":122854,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:33:41] local.INFO: Processing buffer {"connection_id":122854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:33:41] local.INFO: Packet analysis {"connection_id":122854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:33:41] local.INFO: Extracted packet for processing {"connection_id":122854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:33:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517239552001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:33:41] 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-07-05 22:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783270768000,"timestamp_ms":1783270768000,"timestamp_seconds":1783270768,"priority":1,"record_length":96,"hex_timestamp":"0000019f33387d80"} 
[2026-07-05 22:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:33: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-07-05 22: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-07-05 22:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517239552001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517239552001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:33:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517239552001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":122854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:33:41] local.INFO: GPS data processed {"connection_id":122854,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:33:41] local.INFO: Acknowledgment sent {"connection_id":122854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:34:04] local.INFO: TCP Data received {"connection_id":122919,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:34:04] local.INFO: Processing buffer {"connection_id":122919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:34:04] local.INFO: IMEI packet received {"connection_id":122919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":122919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:34:09] local.INFO: TCP Data received {"connection_id":122919,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:34:09] local.INFO: Processing buffer {"connection_id":122919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:34:09] local.INFO: IMEI packet received {"connection_id":122919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":122919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:34:10] local.INFO: TCP Data received {"connection_id":122919,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:34:10] local.INFO: Processing buffer {"connection_id":122919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33387d80012cb2a24007823a68004600c927..."} 
[2026-07-05 22:34:10] local.INFO: Packet analysis {"connection_id":122919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:34:10] local.INFO: Extracted packet for processing {"connection_id":122919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3338"} 
[2026-07-05 22:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517239552001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:34:10] 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-07-05 22:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783270768000,"timestamp_ms":1783270768000,"timestamp_seconds":1783270768,"priority":1,"record_length":96,"hex_timestamp":"0000019f33387d80"} 
[2026-07-05 22:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 22:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517239552001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517239552001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:34:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517239552001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":122919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:34:10] local.INFO: GPS data processed {"connection_id":122919,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:34:10] local.INFO: Acknowledgment sent {"connection_id":122919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:34:41] local.INFO: TCP Data received {"connection_id":122919,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:34:41] local.INFO: Processing buffer {"connection_id":122919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:34:41] local.INFO: Packet analysis {"connection_id":122919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:34:41] local.INFO: Extracted packet for processing {"connection_id":122919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517316608001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:34:41] 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-07-05 22:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271055000,"timestamp_ms":1783271055000,"timestamp_seconds":1783271055,"priority":1,"record_length":96,"hex_timestamp":"0000019f333cde98"} 
[2026-07-05 22:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":200,"data_length":795,"current_offset":136} 
[2026-07-05 22:34: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-07-05 22: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-07-05 22:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517316608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517316608001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:34:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517316608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":122919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:34:41] local.INFO: GPS data processed {"connection_id":122919,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:34:41] local.INFO: Acknowledgment sent {"connection_id":122919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:35:04] local.INFO: TCP Data received {"connection_id":124825,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:35:04] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:35:04] local.INFO: IMEI packet received {"connection_id":124825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":124825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:35:09] local.INFO: TCP Data received {"connection_id":124825,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:35:09] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:35:09] local.INFO: IMEI packet received {"connection_id":124825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":124825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:35:10] local.INFO: TCP Data received {"connection_id":124825,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:35:10] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:35:10] local.INFO: Packet analysis {"connection_id":124825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:35:10] local.INFO: Extracted packet for processing {"connection_id":124825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:35:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517316608001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:35:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:35:10] 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-07-05 22:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271055000,"timestamp_ms":1783271055000,"timestamp_seconds":1783271055,"priority":1,"record_length":96,"hex_timestamp":"0000019f333cde98"} 
[2026-07-05 22:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 22:35: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-07-05 22:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517316608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517316608001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:35:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:35:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517316608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":124825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:35:10] local.INFO: GPS data processed {"connection_id":124825,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:35:10] local.INFO: Acknowledgment sent {"connection_id":124825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:35:41] local.INFO: TCP Data received {"connection_id":124825,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:35:41] local.INFO: Processing buffer {"connection_id":124825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:35:41] local.INFO: Packet analysis {"connection_id":124825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:35:41] local.INFO: Extracted packet for processing {"connection_id":124825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517316608001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:35:41] 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-07-05 22:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271055000,"timestamp_ms":1783271055000,"timestamp_seconds":1783271055,"priority":1,"record_length":96,"hex_timestamp":"0000019f333cde98"} 
[2026-07-05 22:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 22:35: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-07-05 22:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517316608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517316608001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:35:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:35:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517316608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":124825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:35:41] local.INFO: GPS data processed {"connection_id":124825,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:35:41] local.INFO: Acknowledgment sent {"connection_id":124825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:36:04] local.INFO: TCP Data received {"connection_id":123596,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:36:04] local.INFO: Processing buffer {"connection_id":123596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:36:04] local.INFO: IMEI packet received {"connection_id":123596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":123596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:36:09] local.INFO: TCP Data received {"connection_id":123596,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:36:09] local.INFO: Processing buffer {"connection_id":123596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:36:09] local.INFO: IMEI packet received {"connection_id":123596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":123596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:36:10] local.INFO: TCP Data received {"connection_id":123596,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:36:10] local.INFO: Processing buffer {"connection_id":123596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:36:10] local.INFO: Packet analysis {"connection_id":123596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:36:10] local.INFO: Extracted packet for processing {"connection_id":123596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517316608001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:36:10] 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-07-05 22:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271055000,"timestamp_ms":1783271055000,"timestamp_seconds":1783271055,"priority":1,"record_length":96,"hex_timestamp":"0000019f333cde98"} 
[2026-07-05 22:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 22:36: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-07-05 22:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517316608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517316608001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:36:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517316608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":123596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:36:10] local.INFO: GPS data processed {"connection_id":123596,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:36:10] local.INFO: Acknowledgment sent {"connection_id":123596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:36:41] local.INFO: TCP Data received {"connection_id":123596,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:36:41] local.INFO: Processing buffer {"connection_id":123596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:36:41] local.INFO: Packet analysis {"connection_id":123596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:36:41] local.INFO: Extracted packet for processing {"connection_id":123596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517316608001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:36:41] 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-07-05 22:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271055000,"timestamp_ms":1783271055000,"timestamp_seconds":1783271055,"priority":1,"record_length":96,"hex_timestamp":"0000019f333cde98"} 
[2026-07-05 22:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":200,"data_length":795,"current_offset":136} 
[2026-07-05 22:36: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-07-05 22: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-07-05 22:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517316608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517316608001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:36:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517316608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":123596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:36:41] local.INFO: GPS data processed {"connection_id":123596,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:36:41] local.INFO: Acknowledgment sent {"connection_id":123596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:37:04] local.INFO: TCP Data received {"connection_id":122856,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:37:04] local.INFO: Processing buffer {"connection_id":122856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:37:04] local.INFO: IMEI packet received {"connection_id":122856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":122856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:37:09] local.INFO: TCP Data received {"connection_id":122856,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:37:09] local.INFO: Processing buffer {"connection_id":122856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:37:09] local.INFO: IMEI packet received {"connection_id":122856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":122856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:37:21] local.INFO: TCP Data received {"connection_id":122856,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:37:21] local.INFO: Processing buffer {"connection_id":122856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:37:21] local.INFO: Packet analysis {"connection_id":122856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:37:21] local.INFO: Extracted packet for processing {"connection_id":122856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:37:21] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517316608001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:37:21] 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-07-05 22:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1783271055000,"timestamp_ms":1783271055000,"timestamp_seconds":1783271055,"priority":1,"record_length":96,"hex_timestamp":"0000019f333cde98"} 
[2026-07-05 22:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 22:37:21] 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-07-05 22:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":122856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":122856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":122856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517316608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517316608001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:37:21] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517316608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":122856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:37:21] local.INFO: GPS data processed {"connection_id":122856,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:37:21] local.INFO: Acknowledgment sent {"connection_id":122856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:38:04] local.INFO: TCP Data received {"connection_id":124827,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:38:04] local.INFO: Processing buffer {"connection_id":124827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:38:04] local.INFO: IMEI packet received {"connection_id":124827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":124827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:38:09] local.INFO: TCP Data received {"connection_id":124827,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:38:09] local.INFO: Processing buffer {"connection_id":124827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:38:09] local.INFO: IMEI packet received {"connection_id":124827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":124827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:38:10] local.INFO: TCP Data received {"connection_id":124827,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:38:10] local.INFO: Processing buffer {"connection_id":124827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:38:10] local.INFO: Packet analysis {"connection_id":124827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:38:10] local.INFO: Extracted packet for processing {"connection_id":124827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:38:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517316608001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:38:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:38:10] 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-07-05 22:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271055000,"timestamp_ms":1783271055000,"timestamp_seconds":1783271055,"priority":1,"record_length":96,"hex_timestamp":"0000019f333cde98"} 
[2026-07-05 22:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 22:38: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-07-05 22: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-07-05 22:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517316608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517316608001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:38:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:38:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:38:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517316608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":124827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:38:10] local.INFO: GPS data processed {"connection_id":124827,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:38:10] local.INFO: Acknowledgment sent {"connection_id":124827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:38:28] local.INFO: TCP Data received {"connection_id":124826,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:38:28] local.INFO: Processing buffer {"connection_id":124826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:38:28] local.INFO: IMEI packet received {"connection_id":124826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":124826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:38:41] local.INFO: TCP Data received {"connection_id":124827,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:38:41] local.INFO: Processing buffer {"connection_id":124827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:38:41] local.INFO: Packet analysis {"connection_id":124827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:38:41] local.INFO: Extracted packet for processing {"connection_id":124827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:38:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517316608001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:38:41] 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-07-05 22:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271055000,"timestamp_ms":1783271055000,"timestamp_seconds":1783271055,"priority":1,"record_length":96,"hex_timestamp":"0000019f333cde98"} 
[2026-07-05 22:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":200,"data_length":795,"current_offset":136} 
[2026-07-05 22:38: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-07-05 22: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-07-05 22:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517316608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517316608001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:38:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:38:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517316608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":124827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:38:41] local.INFO: GPS data processed {"connection_id":124827,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:38:41] local.INFO: Acknowledgment sent {"connection_id":124827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:39:03] local.INFO: TCP Data received {"connection_id":124828,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:39:04] local.INFO: Processing buffer {"connection_id":124828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:39:04] local.INFO: IMEI packet received {"connection_id":124828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":124828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:39:09] local.INFO: TCP Data received {"connection_id":122857,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:39:09] local.INFO: Processing buffer {"connection_id":122857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:39:09] local.INFO: IMEI packet received {"connection_id":122857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":122857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:39:14] local.INFO: TCP Data received {"connection_id":122857,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:39:14] local.INFO: Processing buffer {"connection_id":122857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:39:14] local.INFO: IMEI packet received {"connection_id":122857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":122857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:39:15] local.INFO: TCP Data received {"connection_id":122857,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:39:15] local.INFO: Processing buffer {"connection_id":122857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:39:15] local.INFO: Packet analysis {"connection_id":122857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:39:15] local.INFO: Extracted packet for processing {"connection_id":122857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:39:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517316608001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:39:15] 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-07-05 22:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783271055000,"timestamp_ms":1783271055000,"timestamp_seconds":1783271055,"priority":1,"record_length":96,"hex_timestamp":"0000019f333cde98"} 
[2026-07-05 22:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 22:39:15] 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-07-05 22:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517316608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517316608001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:39:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:39:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517316608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":122857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:39:15] local.INFO: GPS data processed {"connection_id":122857,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:39:15] local.INFO: Acknowledgment sent {"connection_id":122857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:39:19] local.INFO: TCP Data received {"connection_id":122857,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:39:19] local.INFO: Processing buffer {"connection_id":122857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f333cde98012cb2a24007823a68004400c929..."} 
[2026-07-05 22:39:19] local.INFO: Packet analysis {"connection_id":122857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:39:19] local.INFO: Extracted packet for processing {"connection_id":122857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f333c"} 
[2026-07-05 22:39:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517316608001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:39:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:39:19] 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-07-05 22:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783271055000,"timestamp_ms":1783271055000,"timestamp_seconds":1783271055,"priority":1,"record_length":96,"hex_timestamp":"0000019f333cde98"} 
[2026-07-05 22:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:39: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-07-05 22: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 22:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517316608001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517316608001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:39:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:39:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517316608001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":122857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:39:19] local.INFO: GPS data processed {"connection_id":122857,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:39:19] local.INFO: Acknowledgment sent {"connection_id":122857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:40:04] local.INFO: TCP Data received {"connection_id":124830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:40:04] local.INFO: Processing buffer {"connection_id":124830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:40:04] local.INFO: IMEI packet received {"connection_id":124830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":124830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:40:09] local.INFO: TCP Data received {"connection_id":124830,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:40:09] local.INFO: Processing buffer {"connection_id":124830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:40:09] local.INFO: IMEI packet received {"connection_id":124830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":124830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:40:10] local.INFO: TCP Data received {"connection_id":124830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:40:10] local.INFO: Processing buffer {"connection_id":124830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:40:10] local.INFO: Packet analysis {"connection_id":124830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:40:10] local.INFO: Extracted packet for processing {"connection_id":124830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:40:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517390080001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:40:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:40:10] 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-07-05 22:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271341000,"timestamp_ms":1783271341000,"timestamp_seconds":1783271341,"priority":1,"record_length":96,"hex_timestamp":"0000019f33413bc8"} 
[2026-07-05 22:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517390080001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517390080001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:40:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:40:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517390080001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":124830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:40:10] local.INFO: GPS data processed {"connection_id":124830,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:40:10] local.INFO: Acknowledgment sent {"connection_id":124830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:40:41] local.INFO: TCP Data received {"connection_id":124830,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:40:41] local.INFO: Processing buffer {"connection_id":124830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:40:41] local.INFO: Packet analysis {"connection_id":124830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:40:41] local.INFO: Extracted packet for processing {"connection_id":124830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:40:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517390080001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:40:41] 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-07-05 22:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271341000,"timestamp_ms":1783271341000,"timestamp_seconds":1783271341,"priority":1,"record_length":96,"hex_timestamp":"0000019f33413bc8"} 
[2026-07-05 22:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517390080001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517390080001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:40:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517390080001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":124830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:40:41] local.INFO: GPS data processed {"connection_id":124830,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:40:41] local.INFO: Acknowledgment sent {"connection_id":124830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:41:03] local.INFO: TCP Data received {"connection_id":122859,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:41:03] local.INFO: Processing buffer {"connection_id":122859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:41:03] local.INFO: IMEI packet received {"connection_id":122859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":122859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:41:09] local.INFO: TCP Data received {"connection_id":122859,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:41:09] local.INFO: Processing buffer {"connection_id":122859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:41:09] local.INFO: IMEI packet received {"connection_id":122859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":122859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:41:10] local.INFO: TCP Data received {"connection_id":122859,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:41:10] local.INFO: Processing buffer {"connection_id":122859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:41:10] local.INFO: Packet analysis {"connection_id":122859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:41:10] local.INFO: Extracted packet for processing {"connection_id":122859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:41:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517390080001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:41:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:41:10] 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-07-05 22:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271341000,"timestamp_ms":1783271341000,"timestamp_seconds":1783271341,"priority":1,"record_length":96,"hex_timestamp":"0000019f33413bc8"} 
[2026-07-05 22:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517390080001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517390080001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:41:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:41:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517390080001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":122859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:41:10] local.INFO: GPS data processed {"connection_id":122859,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:41:10] local.INFO: Acknowledgment sent {"connection_id":122859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:41:41] local.INFO: TCP Data received {"connection_id":122859,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:41:41] local.INFO: Processing buffer {"connection_id":122859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:41:41] local.INFO: Packet analysis {"connection_id":122859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:41:41] local.INFO: Extracted packet for processing {"connection_id":122859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:41:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517390080001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:41:41] 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-07-05 22:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271341000,"timestamp_ms":1783271341000,"timestamp_seconds":1783271341,"priority":1,"record_length":96,"hex_timestamp":"0000019f33413bc8"} 
[2026-07-05 22:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517390080001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517390080001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:41:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517390080001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":122859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:41:41] local.INFO: GPS data processed {"connection_id":122859,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:41:41] local.INFO: Acknowledgment sent {"connection_id":122859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:42:09] local.INFO: TCP Data received {"connection_id":122860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:42:09] local.INFO: Processing buffer {"connection_id":122860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:42:09] local.INFO: IMEI packet received {"connection_id":122860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":122860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:42:14] local.INFO: TCP Data received {"connection_id":122860,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:42:14] local.INFO: Processing buffer {"connection_id":122860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:42:14] local.INFO: IMEI packet received {"connection_id":122860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":122860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:42:15] local.INFO: TCP Data received {"connection_id":122860,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:42:15] local.INFO: Processing buffer {"connection_id":122860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:42:15] local.INFO: Packet analysis {"connection_id":122860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:42:15] local.INFO: Extracted packet for processing {"connection_id":122860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:42:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517390080001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:42:15] 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-07-05 22:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783271341000,"timestamp_ms":1783271341000,"timestamp_seconds":1783271341,"priority":1,"record_length":96,"hex_timestamp":"0000019f33413bc8"} 
[2026-07-05 22:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517390080001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517390080001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:42:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517390080001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":122860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:42:15] local.INFO: GPS data processed {"connection_id":122860,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:42:15] local.INFO: Acknowledgment sent {"connection_id":122860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:42:19] local.INFO: TCP Data received {"connection_id":122860,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:42:19] local.INFO: Processing buffer {"connection_id":122860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:42:19] local.INFO: Packet analysis {"connection_id":122860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:42:19] local.INFO: Extracted packet for processing {"connection_id":122860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:42:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517390080001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:42:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:42:19] 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-07-05 22:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783271341000,"timestamp_ms":1783271341000,"timestamp_seconds":1783271341,"priority":1,"record_length":96,"hex_timestamp":"0000019f33413bc8"} 
[2026-07-05 22:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:42: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-07-05 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517390080001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517390080001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:42:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:42:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:42:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517390080001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":122860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:42:19] local.INFO: GPS data processed {"connection_id":122860,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:42:19] local.INFO: Acknowledgment sent {"connection_id":122860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:43:04] local.INFO: TCP Data received {"connection_id":123598,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:43:04] local.INFO: Processing buffer {"connection_id":123598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:43:04] local.INFO: IMEI packet received {"connection_id":123598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":123598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:43:09] local.INFO: TCP Data received {"connection_id":123598,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:43:09] local.INFO: Processing buffer {"connection_id":123598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:43:09] local.INFO: IMEI packet received {"connection_id":123598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":123598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:43:10] local.INFO: TCP Data received {"connection_id":123598,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:43:10] local.INFO: Processing buffer {"connection_id":123598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:43:10] local.INFO: Packet analysis {"connection_id":123598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:43:10] local.INFO: Extracted packet for processing {"connection_id":123598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517390080001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:43:10] 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-07-05 22:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271341000,"timestamp_ms":1783271341000,"timestamp_seconds":1783271341,"priority":1,"record_length":96,"hex_timestamp":"0000019f33413bc8"} 
[2026-07-05 22:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517390080001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517390080001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:43:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517390080001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":123598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:43:10] local.INFO: GPS data processed {"connection_id":123598,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:43:10] local.INFO: Acknowledgment sent {"connection_id":123598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:43:54] local.INFO: TCP Data received {"connection_id":123598,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:43:54] local.INFO: Processing buffer {"connection_id":123598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:43:54] local.INFO: Packet analysis {"connection_id":123598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:43:54] local.INFO: Extracted packet for processing {"connection_id":123598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:43:54] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517390080001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:43:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:43:54] 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-07-05 22:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1783271341000,"timestamp_ms":1783271341000,"timestamp_seconds":1783271341,"priority":1,"record_length":96,"hex_timestamp":"0000019f33413bc8"} 
[2026-07-05 22:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":123598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":123598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":123598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517390080001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517390080001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:43:54] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:43:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517390080001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":123598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:43:54] local.INFO: GPS data processed {"connection_id":123598,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:43:54] local.INFO: Acknowledgment sent {"connection_id":123598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:44:03] local.INFO: TCP Data received {"connection_id":122920,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:44:03] local.INFO: Processing buffer {"connection_id":122920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:44:03] local.INFO: IMEI packet received {"connection_id":122920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":122920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:44:09] local.INFO: TCP Data received {"connection_id":122920,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:44:09] local.INFO: Processing buffer {"connection_id":122920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:44:09] local.INFO: IMEI packet received {"connection_id":122920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":122920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:44:10] local.INFO: TCP Data received {"connection_id":122920,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:44:10] local.INFO: Processing buffer {"connection_id":122920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33413bc8012cb2a24007823a68004600c928..."} 
[2026-07-05 22:44:10] local.INFO: Packet analysis {"connection_id":122920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:44:10] local.INFO: Extracted packet for processing {"connection_id":122920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3341"} 
[2026-07-05 22:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517390080001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:44:10] 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-07-05 22:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271341000,"timestamp_ms":1783271341000,"timestamp_seconds":1783271341,"priority":1,"record_length":96,"hex_timestamp":"0000019f33413bc8"} 
[2026-07-05 22:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517390080001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517390080001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:44:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517390080001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":122920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:44:10] local.INFO: GPS data processed {"connection_id":122920,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:44:10] local.INFO: Acknowledgment sent {"connection_id":122920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:44:23] local.INFO: TCP Data received {"connection_id":124832,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:44:23] local.INFO: Processing buffer {"connection_id":124832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:44:23] local.INFO: IMEI packet received {"connection_id":124832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":124832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:44:41] local.INFO: TCP Data received {"connection_id":122920,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:44:41] local.INFO: Processing buffer {"connection_id":122920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:44:41] local.INFO: Packet analysis {"connection_id":122920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:44:41] local.INFO: Extracted packet for processing {"connection_id":122920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517463296001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:44:41] 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-07-05 22:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271635000,"timestamp_ms":1783271635000,"timestamp_seconds":1783271635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3345b838"} 
[2026-07-05 22:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:44: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-07-05 22: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-07-05 22:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517463296001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517463296001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:44:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517463296001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":122920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:44:41] local.INFO: GPS data processed {"connection_id":122920,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:44:41] local.INFO: Acknowledgment sent {"connection_id":122920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:45:03] local.INFO: TCP Data received {"connection_id":124833,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:45:03] local.INFO: Processing buffer {"connection_id":124833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:45:03] local.INFO: IMEI packet received {"connection_id":124833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":124833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:45:04] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:45:04] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:45:04] local.INFO: IMEI packet received {"connection_id":124834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":124834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:45:09] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:45:09] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:45:09] local.INFO: IMEI packet received {"connection_id":124834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":124834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:45:10] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:45:10] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:45:10] local.INFO: Packet analysis {"connection_id":124834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:45:10] local.INFO: Extracted packet for processing {"connection_id":124834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517463296001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:45:10] 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-07-05 22:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271635000,"timestamp_ms":1783271635000,"timestamp_seconds":1783271635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3345b838"} 
[2026-07-05 22:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517463296001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517463296001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:45:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517463296001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":124834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":436999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:45:10] local.INFO: GPS data processed {"connection_id":124834,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:45:10] local.INFO: Acknowledgment sent {"connection_id":124834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:45:41] local.INFO: TCP Data received {"connection_id":124834,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:45:41] local.INFO: Processing buffer {"connection_id":124834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:45:41] local.INFO: Packet analysis {"connection_id":124834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:45:41] local.INFO: Extracted packet for processing {"connection_id":124834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517463296001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:45:41] 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-07-05 22:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271635000,"timestamp_ms":1783271635000,"timestamp_seconds":1783271635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3345b838"} 
[2026-07-05 22:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:45: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-07-05 22:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517463296001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517463296001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:45:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517463296001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":124834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:45:41] local.INFO: GPS data processed {"connection_id":124834,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:45:41] local.INFO: Acknowledgment sent {"connection_id":124834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:46:03] local.INFO: TCP Data received {"connection_id":123600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:46:03] local.INFO: Processing buffer {"connection_id":123600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:46:03] local.INFO: IMEI packet received {"connection_id":123600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":123600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:46:08] local.INFO: TCP Data received {"connection_id":123600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:46:09] local.INFO: Processing buffer {"connection_id":123600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:46:09] local.INFO: IMEI packet received {"connection_id":123600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":123600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:46:09] local.INFO: TCP Data received {"connection_id":123600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:46:09] local.INFO: Processing buffer {"connection_id":123600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:46:09] local.INFO: Packet analysis {"connection_id":123600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:46:09] local.INFO: Extracted packet for processing {"connection_id":123600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:46:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517463296001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:46:09] 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-07-05 22:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783271635000,"timestamp_ms":1783271635000,"timestamp_seconds":1783271635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3345b838"} 
[2026-07-05 22:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":123600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":123600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":123600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517463296001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517463296001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:46:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:46:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517463296001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":123600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:46:09] local.INFO: GPS data processed {"connection_id":123600,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:46:09] local.INFO: Acknowledgment sent {"connection_id":123600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:46:41] local.INFO: TCP Data received {"connection_id":123600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:46:41] local.INFO: Processing buffer {"connection_id":123600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:46:41] local.INFO: Packet analysis {"connection_id":123600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:46:41] local.INFO: Extracted packet for processing {"connection_id":123600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:46:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517463296001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:46:41] 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-07-05 22:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271635000,"timestamp_ms":1783271635000,"timestamp_seconds":1783271635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3345b838"} 
[2026-07-05 22:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:46: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-07-05 22: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-07-05 22:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517463296001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517463296001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:46:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:46:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517463296001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":123600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:46:41] local.INFO: GPS data processed {"connection_id":123600,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:46:41] local.INFO: Acknowledgment sent {"connection_id":123600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:47:09] local.INFO: TCP Data received {"connection_id":123601,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:47:09] local.INFO: Processing buffer {"connection_id":123601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:47:09] local.INFO: IMEI packet received {"connection_id":123601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":123601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:47:14] local.INFO: TCP Data received {"connection_id":123601,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:47:14] local.INFO: Processing buffer {"connection_id":123601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:47:14] local.INFO: IMEI packet received {"connection_id":123601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":123601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:47:15] local.INFO: TCP Data received {"connection_id":123601,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:47:15] local.INFO: Processing buffer {"connection_id":123601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:47:15] local.INFO: Packet analysis {"connection_id":123601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:47:15] local.INFO: Extracted packet for processing {"connection_id":123601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:47:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:47: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-07-05 22:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517463296001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:47:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:47:15] 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-07-05 22:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783271635000,"timestamp_ms":1783271635000,"timestamp_seconds":1783271635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3345b838"} 
[2026-07-05 22:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:47: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-07-05 22:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517463296001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517463296001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:47:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:47:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517463296001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":123601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:47:15] local.INFO: GPS data processed {"connection_id":123601,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:47:15] local.INFO: Acknowledgment sent {"connection_id":123601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:47:19] local.INFO: TCP Data received {"connection_id":123601,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:47:19] local.INFO: Processing buffer {"connection_id":123601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:47:19] local.INFO: Packet analysis {"connection_id":123601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:47:19] local.INFO: Extracted packet for processing {"connection_id":123601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:47:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517463296001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:47:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:47:19] 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-07-05 22:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783271635000,"timestamp_ms":1783271635000,"timestamp_seconds":1783271635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3345b838"} 
[2026-07-05 22:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:47: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-07-05 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":123601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":123601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":123601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517463296001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517463296001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:47:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:47:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:47:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517463296001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":123601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:47:19] local.INFO: GPS data processed {"connection_id":123601,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:47:19] local.INFO: Acknowledgment sent {"connection_id":123601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:48:04] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:48:04] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:48:04] local.INFO: IMEI packet received {"connection_id":124835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":124835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:48:09] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:48:09] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:48:09] local.INFO: IMEI packet received {"connection_id":124835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":124835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:48:10] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:48:10] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:48:10] local.INFO: Packet analysis {"connection_id":124835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:48:10] local.INFO: Extracted packet for processing {"connection_id":124835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517463296001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:48:10] 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-07-05 22:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271635000,"timestamp_ms":1783271635000,"timestamp_seconds":1783271635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3345b838"} 
[2026-07-05 22:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517463296001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517463296001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:48:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517463296001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":124835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:48:10] local.INFO: GPS data processed {"connection_id":124835,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:48:10] local.INFO: Acknowledgment sent {"connection_id":124835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:48:44] local.INFO: TCP Data received {"connection_id":124835,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:48:44] local.INFO: Processing buffer {"connection_id":124835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:48:44] local.INFO: Packet analysis {"connection_id":124835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:48:44] local.INFO: Extracted packet for processing {"connection_id":124835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:48:44] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517463296001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:48:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:48:44] 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-07-05 22:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1783271635000,"timestamp_ms":1783271635000,"timestamp_seconds":1783271635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3345b838"} 
[2026-07-05 22:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:48: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-07-05 22:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":124835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":124835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517463296001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517463296001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:48:44] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:48:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517463296001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":124835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:48:44] local.INFO: GPS data processed {"connection_id":124835,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:48:44] local.INFO: Acknowledgment sent {"connection_id":124835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:49:03] local.INFO: TCP Data received {"connection_id":122863,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:49:03] local.INFO: Processing buffer {"connection_id":122863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:49:03] local.INFO: IMEI packet received {"connection_id":122863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":122863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:49:09] local.INFO: TCP Data received {"connection_id":122863,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:49:09] local.INFO: Processing buffer {"connection_id":122863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:49:09] local.INFO: IMEI packet received {"connection_id":122863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":122863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:49:10] local.INFO: TCP Data received {"connection_id":122863,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:49:10] local.INFO: Processing buffer {"connection_id":122863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3345b838012cb2a24007823a68004800c92a..."} 
[2026-07-05 22:49:10] local.INFO: Packet analysis {"connection_id":122863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:49:10] local.INFO: Extracted packet for processing {"connection_id":122863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3345"} 
[2026-07-05 22:49:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517463296001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:49:10] 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-07-05 22:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271635000,"timestamp_ms":1783271635000,"timestamp_seconds":1783271635,"priority":1,"record_length":96,"hex_timestamp":"0000019f3345b838"} 
[2026-07-05 22:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517463296001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517463296001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:49:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517463296001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":122863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:49:10] local.INFO: GPS data processed {"connection_id":122863,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:49:10] local.INFO: Acknowledgment sent {"connection_id":122863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:49:41] local.INFO: TCP Data received {"connection_id":122863,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:49:41] local.INFO: Processing buffer {"connection_id":122863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:49:41] local.INFO: Packet analysis {"connection_id":122863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:49:41] local.INFO: Extracted packet for processing {"connection_id":122863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:49:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517538560001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:49:41] 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-07-05 22:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271936000,"timestamp_ms":1783271936000,"timestamp_seconds":1783271936,"priority":1,"record_length":96,"hex_timestamp":"0000019f334a5000"} 
[2026-07-05 22:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517538560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517538560001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:49:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:49:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517538560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":122863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:49:41] local.INFO: GPS data processed {"connection_id":122863,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:49:41] local.INFO: Acknowledgment sent {"connection_id":122863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:50:04] local.INFO: TCP Data received {"connection_id":122921,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:50:04] local.INFO: Processing buffer {"connection_id":122921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:50:04] local.INFO: IMEI packet received {"connection_id":122921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":122921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:50:09] local.INFO: TCP Data received {"connection_id":122921,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:50:09] local.INFO: Processing buffer {"connection_id":122921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:50:09] local.INFO: IMEI packet received {"connection_id":122921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":122921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:50:10] local.INFO: TCP Data received {"connection_id":122921,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:50:10] local.INFO: Processing buffer {"connection_id":122921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:50:10] local.INFO: Packet analysis {"connection_id":122921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:50:10] local.INFO: Extracted packet for processing {"connection_id":122921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517538560001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:50:10] 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-07-05 22:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271936000,"timestamp_ms":1783271936000,"timestamp_seconds":1783271936,"priority":1,"record_length":96,"hex_timestamp":"0000019f334a5000"} 
[2026-07-05 22:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517538560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517538560001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:50:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517538560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":122921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:50:10] local.INFO: GPS data processed {"connection_id":122921,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:50:10] local.INFO: Acknowledgment sent {"connection_id":122921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:50:29] local.INFO: TCP Data received {"connection_id":123602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:50:29] local.INFO: Processing buffer {"connection_id":123602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:50:29] local.INFO: IMEI packet received {"connection_id":123602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":123602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:50:41] local.INFO: TCP Data received {"connection_id":122921,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:50:41] local.INFO: Processing buffer {"connection_id":122921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:50:41] local.INFO: Packet analysis {"connection_id":122921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:50:41] local.INFO: Extracted packet for processing {"connection_id":122921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517538560001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:50:41] 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-07-05 22:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271936000,"timestamp_ms":1783271936000,"timestamp_seconds":1783271936,"priority":1,"record_length":96,"hex_timestamp":"0000019f334a5000"} 
[2026-07-05 22:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517538560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517538560001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:50:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517538560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":122921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:50:41] local.INFO: GPS data processed {"connection_id":122921,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:50:41] local.INFO: Acknowledgment sent {"connection_id":122921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:51:03] local.INFO: TCP Data received {"connection_id":122865,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:51:03] local.INFO: Processing buffer {"connection_id":122865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:51:03] local.INFO: IMEI packet received {"connection_id":122865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":122865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:51:08] local.INFO: TCP Data received {"connection_id":122865,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:51:08] local.INFO: Processing buffer {"connection_id":122865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:51:08] local.INFO: IMEI packet received {"connection_id":122865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 22:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":122865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:51:08] local.INFO: TCP Data received {"connection_id":124837,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:51:08] local.INFO: Processing buffer {"connection_id":124837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:51:08] local.INFO: IMEI packet received {"connection_id":124837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":124837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:51:09] local.INFO: TCP Data received {"connection_id":122865,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f333f6320012cb2a10007823b380045000025..."} 
[2026-07-05 22:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f333f6320012cb2a10007823b380045000025..."} 
[2026-07-05 22:51:09] local.INFO: Processing buffer {"connection_id":122865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f333f6320012cb2a10007823b380045000025..."} 
[2026-07-05 22:51:09] local.INFO: Packet analysis {"connection_id":122865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f333f"} 
[2026-07-05 22:51:09] local.INFO: Extracted packet for processing {"connection_id":122865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f333f"} 
[2026-07-05 22:51:09] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":69,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 22:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517356544001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 22:51:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 22:51:09] 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-07-05 22:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783271220000,"timestamp_ms":1783271220000,"timestamp_seconds":1783271220,"priority":1,"record_length":96,"hex_timestamp":"0000019f333f6320"} 
[2026-07-05 22:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-05 22:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 22:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 22:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 22:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 22:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517356544001,"66":25473,"184":206,"85":36096,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 22:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 22:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517356544001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:51:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:51:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 22:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517356544001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 22:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":122865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:51:10] local.INFO: GPS data processed {"connection_id":122865,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:51:10] local.INFO: Acknowledgment sent {"connection_id":122865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:51:14] local.INFO: TCP Data received {"connection_id":124837,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:51:14] local.INFO: Processing buffer {"connection_id":124837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:51:14] local.INFO: IMEI packet received {"connection_id":124837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":124837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:51:15] local.INFO: TCP Data received {"connection_id":124837,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:51:15] local.INFO: Processing buffer {"connection_id":124837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:51:15] local.INFO: Packet analysis {"connection_id":124837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:51:15] local.INFO: Extracted packet for processing {"connection_id":124837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:51:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:51: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-07-05 22:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517538560001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:51:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:51:15] 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-07-05 22:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783271936000,"timestamp_ms":1783271936000,"timestamp_seconds":1783271936,"priority":1,"record_length":96,"hex_timestamp":"0000019f334a5000"} 
[2026-07-05 22:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:51: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-07-05 22:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517538560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517538560001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:51:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:51:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517538560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":124837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:51:15] local.INFO: GPS data processed {"connection_id":124837,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:51:15] local.INFO: Acknowledgment sent {"connection_id":124837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:51:19] local.INFO: TCP Data received {"connection_id":124837,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:51:19] local.INFO: Processing buffer {"connection_id":124837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:51:19] local.INFO: Packet analysis {"connection_id":124837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:51:19] local.INFO: Extracted packet for processing {"connection_id":124837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:51:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517538560001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:51:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:51:19] 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-07-05 22:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783271936000,"timestamp_ms":1783271936000,"timestamp_seconds":1783271936,"priority":1,"record_length":96,"hex_timestamp":"0000019f334a5000"} 
[2026-07-05 22:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:51: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-07-05 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":124837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":124837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":124837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517538560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517538560001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:51:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:51:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:51:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517538560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":124837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:51:19] local.INFO: GPS data processed {"connection_id":124837,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:51:19] local.INFO: Acknowledgment sent {"connection_id":124837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:51:53] local.INFO: TCP Data received {"connection_id":122866,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:51:53] local.INFO: Processing buffer {"connection_id":122866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:51:53] local.INFO: IMEI packet received {"connection_id":122866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":122866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:52:04] local.INFO: TCP Data received {"connection_id":122867,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:52:04] local.INFO: Processing buffer {"connection_id":122867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:52:04] local.INFO: IMEI packet received {"connection_id":122867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":122867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:52:09] local.INFO: TCP Data received {"connection_id":122867,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:52:09] local.INFO: Processing buffer {"connection_id":122867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:52:09] local.INFO: IMEI packet received {"connection_id":122867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":122867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:52:10] local.INFO: TCP Data received {"connection_id":122867,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:52:10] local.INFO: Processing buffer {"connection_id":122867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:52:10] local.INFO: Packet analysis {"connection_id":122867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:52:10] local.INFO: Extracted packet for processing {"connection_id":122867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:52:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517538560001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:52:10] 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-07-05 22:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783271936000,"timestamp_ms":1783271936000,"timestamp_seconds":1783271936,"priority":1,"record_length":96,"hex_timestamp":"0000019f334a5000"} 
[2026-07-05 22:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517538560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517538560001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:52:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:52:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:52:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517538560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":122867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:52:10] local.INFO: GPS data processed {"connection_id":122867,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:52:10] local.INFO: Acknowledgment sent {"connection_id":122867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:52:42] local.INFO: TCP Data received {"connection_id":122867,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:52:42] local.INFO: Processing buffer {"connection_id":122867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:52:42] local.INFO: Packet analysis {"connection_id":122867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:52:42] local.INFO: Extracted packet for processing {"connection_id":122867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:52:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517538560001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:52:42] 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-07-05 22:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783271936000,"timestamp_ms":1783271936000,"timestamp_seconds":1783271936,"priority":1,"record_length":96,"hex_timestamp":"0000019f334a5000"} 
[2026-07-05 22:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":122867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":122867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":122867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517538560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517538560001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:52:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:52:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517538560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":122867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:52:42] local.INFO: GPS data processed {"connection_id":122867,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:52:42] local.INFO: Acknowledgment sent {"connection_id":122867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:53:03] local.INFO: TCP Data received {"connection_id":122922,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:53:03] local.INFO: Processing buffer {"connection_id":122922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:53:03] local.INFO: IMEI packet received {"connection_id":122922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":122922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:53:08] local.INFO: TCP Data received {"connection_id":122922,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:53:09] local.INFO: Processing buffer {"connection_id":122922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:53:09] local.INFO: IMEI packet received {"connection_id":122922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":122922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:53:09] local.INFO: TCP Data received {"connection_id":122922,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:53:09] local.INFO: Processing buffer {"connection_id":122922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:53:09] local.INFO: Packet analysis {"connection_id":122922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:53:09] local.INFO: Extracted packet for processing {"connection_id":122922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:53:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517538560001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:53:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:53:09] 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-07-05 22:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783271936000,"timestamp_ms":1783271936000,"timestamp_seconds":1783271936,"priority":1,"record_length":96,"hex_timestamp":"0000019f334a5000"} 
[2026-07-05 22:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22: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-07-05 22:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517538560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517538560001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:53:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:53:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:53:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517538560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":122922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:53:09] local.INFO: GPS data processed {"connection_id":122922,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:53:09] local.INFO: Acknowledgment sent {"connection_id":122922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:53:41] local.INFO: TCP Data received {"connection_id":122922,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:53:41] local.INFO: Processing buffer {"connection_id":122922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:53:41] local.INFO: Packet analysis {"connection_id":122922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:53:41] local.INFO: Extracted packet for processing {"connection_id":122922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517538560001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:53:41] 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-07-05 22:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783271936000,"timestamp_ms":1783271936000,"timestamp_seconds":1783271936,"priority":1,"record_length":96,"hex_timestamp":"0000019f334a5000"} 
[2026-07-05 22:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22: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-07-05 22:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517538560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517538560001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:53:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:53:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517538560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":122922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:53:41] local.INFO: GPS data processed {"connection_id":122922,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:53:41] local.INFO: Acknowledgment sent {"connection_id":122922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:54:03] local.INFO: TCP Data received {"connection_id":123603,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:54:03] local.INFO: Processing buffer {"connection_id":123603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:54:03] local.INFO: IMEI packet received {"connection_id":123603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":123603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:54:09] local.INFO: TCP Data received {"connection_id":123603,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:54:09] local.INFO: Processing buffer {"connection_id":123603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:54:09] local.INFO: IMEI packet received {"connection_id":123603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":123603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:54:12] local.INFO: TCP Data received {"connection_id":123603,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:54:12] local.INFO: Processing buffer {"connection_id":123603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334a5000012cb2a24007823a68004200c92a..."} 
[2026-07-05 22:54:12] local.INFO: Packet analysis {"connection_id":123603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:54:12] local.INFO: Extracted packet for processing {"connection_id":123603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334a"} 
[2026-07-05 22:54:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":66,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517538560001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:54: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-07-05 22:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783271936000,"timestamp_ms":1783271936000,"timestamp_seconds":1783271936,"priority":1,"record_length":96,"hex_timestamp":"0000019f334a5000"} 
[2026-07-05 22:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517538560001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517538560001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:54:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:54:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517538560001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":123603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:54:12] local.INFO: GPS data processed {"connection_id":123603,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:54:12] local.INFO: Acknowledgment sent {"connection_id":123603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:54:46] local.INFO: TCP Data received {"connection_id":123603,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:54:46] local.INFO: Processing buffer {"connection_id":123603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:54:46] local.INFO: Packet analysis {"connection_id":123603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:54:46] local.INFO: Extracted packet for processing {"connection_id":123603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:54:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":67,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:54: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-07-05 22:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517615616001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:54:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:54:46] 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-07-05 22:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783272237000,"timestamp_ms":1783272237000,"timestamp_seconds":1783272237,"priority":1,"record_length":96,"hex_timestamp":"0000019f334ee7c8"} 
[2026-07-05 22:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:54: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-07-05 22:54: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-07-05 22:54: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-07-05 22:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":123603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":123603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":123603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517615616001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517615616001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:54:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:54:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:54:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517615616001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":123603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:54:46] local.INFO: GPS data processed {"connection_id":123603,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:54:46] local.INFO: Acknowledgment sent {"connection_id":123603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:55:08] local.INFO: TCP Data received {"connection_id":124839,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:55:08] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:55:08] local.INFO: IMEI packet received {"connection_id":124839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":124839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:55:14] local.INFO: TCP Data received {"connection_id":124839,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:55:14] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:55:14] local.INFO: IMEI packet received {"connection_id":124839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":124839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:55:15] local.INFO: TCP Data received {"connection_id":124839,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:55:15] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:55:15] local.INFO: Packet analysis {"connection_id":124839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:55:15] local.INFO: Extracted packet for processing {"connection_id":124839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:55:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":67,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517615616001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:55:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:55:15] 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-07-05 22:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783272237000,"timestamp_ms":1783272237000,"timestamp_seconds":1783272237,"priority":1,"record_length":96,"hex_timestamp":"0000019f334ee7c8"} 
[2026-07-05 22:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517615616001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517615616001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:55:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:55:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:55:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517615616001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":124839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:55:15] local.INFO: GPS data processed {"connection_id":124839,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:55:15] local.INFO: Acknowledgment sent {"connection_id":124839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:55:46] local.INFO: TCP Data received {"connection_id":124839,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:55:46] local.INFO: Processing buffer {"connection_id":124839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:55:46] local.INFO: Packet analysis {"connection_id":124839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:55:46] local.INFO: Extracted packet for processing {"connection_id":124839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:55:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":67,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517615616001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:55:46] 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-07-05 22:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783272237000,"timestamp_ms":1783272237000,"timestamp_seconds":1783272237,"priority":1,"record_length":96,"hex_timestamp":"0000019f334ee7c8"} 
[2026-07-05 22:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:55: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-07-05 22:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517615616001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517615616001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:55:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:55:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517615616001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":124839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:55:46] local.INFO: GPS data processed {"connection_id":124839,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:55:46] local.INFO: Acknowledgment sent {"connection_id":124839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:56:03] local.INFO: TCP Data received {"connection_id":122926,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:56:03] local.INFO: Processing buffer {"connection_id":122926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:56:03] local.INFO: IMEI packet received {"connection_id":122926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":122926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:56:09] local.INFO: TCP Data received {"connection_id":122926,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:56:09] local.INFO: Processing buffer {"connection_id":122926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:56:09] local.INFO: IMEI packet received {"connection_id":122926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":122926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:56:10] local.INFO: TCP Data received {"connection_id":122926,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:56:10] local.INFO: Processing buffer {"connection_id":122926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:56:10] local.INFO: Packet analysis {"connection_id":122926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:56:10] local.INFO: Extracted packet for processing {"connection_id":122926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:56:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":67,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517615616001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:56:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:56:10] 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-07-05 22:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783272237000,"timestamp_ms":1783272237000,"timestamp_seconds":1783272237,"priority":1,"record_length":96,"hex_timestamp":"0000019f334ee7c8"} 
[2026-07-05 22:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517615616001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517615616001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:56:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:56:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517615616001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":122926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:56:10] local.INFO: GPS data processed {"connection_id":122926,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:56:10] local.INFO: Acknowledgment sent {"connection_id":122926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:56:41] local.INFO: TCP Data received {"connection_id":122926,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:56:41] local.INFO: Processing buffer {"connection_id":122926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:56:41] local.INFO: Packet analysis {"connection_id":122926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:56:41] local.INFO: Extracted packet for processing {"connection_id":122926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:56:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":67,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517615616001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:56:41] 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-07-05 22:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783272237000,"timestamp_ms":1783272237000,"timestamp_seconds":1783272237,"priority":1,"record_length":96,"hex_timestamp":"0000019f334ee7c8"} 
[2026-07-05 22:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22: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-07-05 22: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-07-05 22:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517615616001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517615616001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:56:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517615616001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":122926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:56:41] local.INFO: GPS data processed {"connection_id":122926,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:56:41] local.INFO: Acknowledgment sent {"connection_id":122926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:57:03] local.INFO: TCP Data received {"connection_id":124840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:57:03] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:57:03] local.INFO: IMEI packet received {"connection_id":124840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":124840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:57:08] local.INFO: TCP Data received {"connection_id":124840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:57:08] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:57:08] local.INFO: IMEI packet received {"connection_id":124840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":124840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:57:09] local.INFO: TCP Data received {"connection_id":124840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:57:09] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:57:09] local.INFO: Packet analysis {"connection_id":124840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:57:09] local.INFO: Extracted packet for processing {"connection_id":124840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:57:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":67,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517615616001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:57:09] 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-07-05 22:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783272237000,"timestamp_ms":1783272237000,"timestamp_seconds":1783272237,"priority":1,"record_length":96,"hex_timestamp":"0000019f334ee7c8"} 
[2026-07-05 22:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517615616001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517615616001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:57:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517615616001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":124840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:57:09] local.INFO: GPS data processed {"connection_id":124840,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:57:09] local.INFO: Acknowledgment sent {"connection_id":124840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:57:18] local.INFO: TCP Data received {"connection_id":122927,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:57:18] local.INFO: Processing buffer {"connection_id":122927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 22:57:18] local.INFO: IMEI packet received {"connection_id":122927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 22:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":122927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:57:40] local.INFO: TCP Data received {"connection_id":124840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:57:40] local.INFO: Processing buffer {"connection_id":124840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:57:40] local.INFO: Packet analysis {"connection_id":124840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:57:40] local.INFO: Extracted packet for processing {"connection_id":124840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:57:40] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":67,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517615616001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:57:40] 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-07-05 22:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783272237000,"timestamp_ms":1783272237000,"timestamp_seconds":1783272237,"priority":1,"record_length":96,"hex_timestamp":"0000019f334ee7c8"} 
[2026-07-05 22:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:57: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-07-05 22: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-07-05 22:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517615616001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517615616001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:57:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:57:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517615616001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":124840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:57:40] local.INFO: GPS data processed {"connection_id":124840,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:57:40] local.INFO: Acknowledgment sent {"connection_id":124840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:58:03] local.INFO: TCP Data received {"connection_id":123604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:58:03] local.INFO: Processing buffer {"connection_id":123604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:58:03] local.INFO: IMEI packet received {"connection_id":123604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":123604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:58:08] local.INFO: TCP Data received {"connection_id":123604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:58:08] local.INFO: Processing buffer {"connection_id":123604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:58:08] local.INFO: IMEI packet received {"connection_id":123604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":123604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:58:10] local.INFO: TCP Data received {"connection_id":123604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:58:10] local.INFO: Processing buffer {"connection_id":123604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:58:10] local.INFO: Packet analysis {"connection_id":123604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:58:10] local.INFO: Extracted packet for processing {"connection_id":123604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:58:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":67,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517615616001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:58:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:58:10] 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-07-05 22:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783272237000,"timestamp_ms":1783272237000,"timestamp_seconds":1783272237,"priority":1,"record_length":96,"hex_timestamp":"0000019f334ee7c8"} 
[2026-07-05 22:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517615616001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517615616001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:58:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:58:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517615616001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":123604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:58:10] local.INFO: GPS data processed {"connection_id":123604,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:58:10] local.INFO: Acknowledgment sent {"connection_id":123604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:58:41] local.INFO: TCP Data received {"connection_id":123604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:58:41] local.INFO: Processing buffer {"connection_id":123604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:58:41] local.INFO: Packet analysis {"connection_id":123604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:58:41] local.INFO: Extracted packet for processing {"connection_id":123604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:58:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":67,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517615616001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:58:41] 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-07-05 22:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783272237000,"timestamp_ms":1783272237000,"timestamp_seconds":1783272237,"priority":1,"record_length":96,"hex_timestamp":"0000019f334ee7c8"} 
[2026-07-05 22:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:58: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-07-05 22:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517615616001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517615616001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:58:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:58:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517615616001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":123604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:58:41] local.INFO: GPS data processed {"connection_id":123604,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:58:41] local.INFO: Acknowledgment sent {"connection_id":123604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:59:08] local.INFO: TCP Data received {"connection_id":122928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:59:08] local.INFO: Processing buffer {"connection_id":122928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:59:08] local.INFO: IMEI packet received {"connection_id":122928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 22:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":122928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 22:59:13] local.INFO: TCP Data received {"connection_id":122928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:59:14] local.INFO: Processing buffer {"connection_id":122928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 22:59:14] local.INFO: IMEI packet received {"connection_id":122928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 22:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":122928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 22:59:15] local.INFO: TCP Data received {"connection_id":122928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:59:15] local.INFO: Processing buffer {"connection_id":122928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:59:15] local.INFO: Packet analysis {"connection_id":122928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:59:15] local.INFO: Extracted packet for processing {"connection_id":122928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:59:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":67,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 22:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517615616001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:59:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:59:15] 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-07-05 22:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783272237000,"timestamp_ms":1783272237000,"timestamp_seconds":1783272237,"priority":1,"record_length":96,"hex_timestamp":"0000019f334ee7c8"} 
[2026-07-05 22:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 22:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 22:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517615616001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517615616001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:59:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:59:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517615616001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":122928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:59:15] local.INFO: GPS data processed {"connection_id":122928,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:59:15] local.INFO: Acknowledgment sent {"connection_id":122928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 22:59:19] local.INFO: TCP Data received {"connection_id":122928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:59:19] local.INFO: Processing buffer {"connection_id":122928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334ee7c8012cb2a24007823a68004300c92a..."} 
[2026-07-05 22:59:19] local.INFO: Packet analysis {"connection_id":122928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:59:19] local.INFO: Extracted packet for processing {"connection_id":122928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334e"} 
[2026-07-05 22:59:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":67,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 22: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-07-05 22:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517615616001,"note":"Value kept but may cause issues"} 
[2026-07-05 22:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 22:59:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 22:59:19] 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-07-05 22:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783272237000,"timestamp_ms":1783272237000,"timestamp_seconds":1783272237,"priority":1,"record_length":96,"hex_timestamp":"0000019f334ee7c8"} 
[2026-07-05 22:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 22:59: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-07-05 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 22:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 22: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-07-05 22:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 22:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 22:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 22:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 22:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 22:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 22:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 22:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517615616001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 22:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 22:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 22:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517615616001,"description":"Unknown IO ID 0"} 
[2026-07-05 22:59:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 22:59:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 22:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 22:59:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 22:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517615616001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 22:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":122928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 22:59:19] local.INFO: GPS data processed {"connection_id":122928,"processed":1,"errors":0,"total":1} 
[2026-07-05 22:59:19] local.INFO: Acknowledgment sent {"connection_id":122928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:00:03] local.INFO: TCP Data received {"connection_id":123605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:00:03] local.INFO: Processing buffer {"connection_id":123605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:00:03] local.INFO: IMEI packet received {"connection_id":123605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":123605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:00:08] local.INFO: TCP Data received {"connection_id":123605,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:00:08] local.INFO: Processing buffer {"connection_id":123605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:00:08] local.INFO: IMEI packet received {"connection_id":123605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":123605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:00:09] local.INFO: TCP Data received {"connection_id":123605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:00:09] local.INFO: Processing buffer {"connection_id":123605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:00:09] local.INFO: Packet analysis {"connection_id":123605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:00:09] local.INFO: Extracted packet for processing {"connection_id":123605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:00:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517692672001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:00:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:00:09] 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-07-05 23:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783272538000,"timestamp_ms":1783272538000,"timestamp_seconds":1783272538,"priority":1,"record_length":96,"hex_timestamp":"0000019f33537f90"} 
[2026-07-05 23:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":123605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":123605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":123605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517692672001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517692672001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:00:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:00:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517692672001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":123605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:00:10] local.INFO: GPS data processed {"connection_id":123605,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:00:10] local.INFO: Acknowledgment sent {"connection_id":123605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:00:25] local.INFO: TCP Data received {"connection_id":122929,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:00:25] local.INFO: Processing buffer {"connection_id":122929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:00:25] local.INFO: IMEI packet received {"connection_id":122929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":122929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:00:37] local.INFO: TCP Data received {"connection_id":122929,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:00:37] local.INFO: Processing buffer {"connection_id":122929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:00:37] local.INFO: IMEI packet received {"connection_id":122929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 23:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":122929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:00:40] local.INFO: TCP Data received {"connection_id":123605,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:00:40] local.INFO: Processing buffer {"connection_id":123605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:00:40] local.INFO: Packet analysis {"connection_id":123605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:00:40] local.INFO: Extracted packet for processing {"connection_id":123605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:00:40] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517692672001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:00:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:00:40] 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-07-05 23:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783272538000,"timestamp_ms":1783272538000,"timestamp_seconds":1783272538,"priority":1,"record_length":96,"hex_timestamp":"0000019f33537f90"} 
[2026-07-05 23:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":123605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":123605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":123605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517692672001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517692672001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:00:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:00:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517692672001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":123605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:00:41] local.INFO: GPS data processed {"connection_id":123605,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:00:41] local.INFO: Acknowledgment sent {"connection_id":123605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:01:38] local.INFO: TCP Data received {"connection_id":122869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:01:38] local.INFO: Processing buffer {"connection_id":122869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:01:38] local.INFO: IMEI packet received {"connection_id":122869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":122869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:01:43] local.INFO: TCP Data received {"connection_id":122869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:01:43] local.INFO: Processing buffer {"connection_id":122869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:01:43] local.INFO: IMEI packet received {"connection_id":122869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":122869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:01:45] local.INFO: TCP Data received {"connection_id":122869,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:01:45] local.INFO: Processing buffer {"connection_id":122869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:01:45] local.INFO: Packet analysis {"connection_id":122869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:01:45] local.INFO: Extracted packet for processing {"connection_id":122869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:01:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517692672001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:01:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:01:45] 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-07-05 23:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783272538000,"timestamp_ms":1783272538000,"timestamp_seconds":1783272538,"priority":1,"record_length":96,"hex_timestamp":"0000019f33537f90"} 
[2026-07-05 23:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":122869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":122869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":122869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517692672001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517692672001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:01:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:01:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517692672001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":122869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:01:45] local.INFO: GPS data processed {"connection_id":122869,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:01:45] local.INFO: Acknowledgment sent {"connection_id":122869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:02:08] local.INFO: TCP Data received {"connection_id":124841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:02:08] local.INFO: Processing buffer {"connection_id":124841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:02:08] local.INFO: IMEI packet received {"connection_id":124841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":124841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:02:13] local.INFO: TCP Data received {"connection_id":124841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:02:13] local.INFO: Processing buffer {"connection_id":124841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:02:13] local.INFO: IMEI packet received {"connection_id":124841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":124841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:02:14] local.INFO: TCP Data received {"connection_id":124841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:02:14] local.INFO: Processing buffer {"connection_id":124841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:02:14] local.INFO: Packet analysis {"connection_id":124841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:02:14] local.INFO: Extracted packet for processing {"connection_id":124841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:02:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517692672001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:02:14] 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-07-05 23:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783272538000,"timestamp_ms":1783272538000,"timestamp_seconds":1783272538,"priority":1,"record_length":96,"hex_timestamp":"0000019f33537f90"} 
[2026-07-05 23:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517692672001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517692672001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:02:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:02:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517692672001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":124841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:02:14] local.INFO: GPS data processed {"connection_id":124841,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:02:14] local.INFO: Acknowledgment sent {"connection_id":124841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:02:45] local.INFO: TCP Data received {"connection_id":124841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:02:45] local.INFO: Processing buffer {"connection_id":124841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:02:45] local.INFO: Packet analysis {"connection_id":124841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:02:45] local.INFO: Extracted packet for processing {"connection_id":124841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:02:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517692672001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:02:45] 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-07-05 23:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783272538000,"timestamp_ms":1783272538000,"timestamp_seconds":1783272538,"priority":1,"record_length":96,"hex_timestamp":"0000019f33537f90"} 
[2026-07-05 23:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517692672001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517692672001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:02:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517692672001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":124841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:02:45] local.INFO: GPS data processed {"connection_id":124841,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:02:45] local.INFO: Acknowledgment sent {"connection_id":124841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:03:03] local.INFO: TCP Data received {"connection_id":122871,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:03:03] local.INFO: Processing buffer {"connection_id":122871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:03:03] local.INFO: IMEI packet received {"connection_id":122871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":122871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:03:08] local.INFO: TCP Data received {"connection_id":122871,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:03:08] local.INFO: Processing buffer {"connection_id":122871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:03:08] local.INFO: IMEI packet received {"connection_id":122871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":122871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:03:09] local.INFO: TCP Data received {"connection_id":122871,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:03:09] local.INFO: Processing buffer {"connection_id":122871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:03:09] local.INFO: Packet analysis {"connection_id":122871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:03:09] local.INFO: Extracted packet for processing {"connection_id":122871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:03:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517692672001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:03:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:03:09] 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-07-05 23:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783272538000,"timestamp_ms":1783272538000,"timestamp_seconds":1783272538,"priority":1,"record_length":96,"hex_timestamp":"0000019f33537f90"} 
[2026-07-05 23:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517692672001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517692672001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:03:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:03:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:03:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517692672001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":122871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:03:09] local.INFO: GPS data processed {"connection_id":122871,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:03:09] local.INFO: Acknowledgment sent {"connection_id":122871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:03:40] local.INFO: TCP Data received {"connection_id":122871,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:03:40] local.INFO: Processing buffer {"connection_id":122871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:03:40] local.INFO: Packet analysis {"connection_id":122871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:03:40] local.INFO: Extracted packet for processing {"connection_id":122871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:03:40] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 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-07-05 23:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517692672001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:03:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:03:40] 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-07-05 23:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783272538000,"timestamp_ms":1783272538000,"timestamp_seconds":1783272538,"priority":1,"record_length":96,"hex_timestamp":"0000019f33537f90"} 
[2026-07-05 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-07-05 23:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:03: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-07-05 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-07-05 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-07-05 23:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":122871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":122871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":122871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517692672001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517692672001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:03:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:03:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517692672001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":122871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:03:40] local.INFO: GPS data processed {"connection_id":122871,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:03:40] local.INFO: Acknowledgment sent {"connection_id":122871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:04:03] local.INFO: TCP Data received {"connection_id":122872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:04:03] local.INFO: Processing buffer {"connection_id":122872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:04:03] local.INFO: IMEI packet received {"connection_id":122872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":122872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:04:08] local.INFO: TCP Data received {"connection_id":122872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:04:08] local.INFO: Processing buffer {"connection_id":122872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:04:08] local.INFO: IMEI packet received {"connection_id":122872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":122872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:04:09] local.INFO: TCP Data received {"connection_id":122872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:04:09] local.INFO: Processing buffer {"connection_id":122872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33537f90012cb2a24007823a68004500c929..."} 
[2026-07-05 23:04:09] local.INFO: Packet analysis {"connection_id":122872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:04:09] local.INFO: Extracted packet for processing {"connection_id":122872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3353"} 
[2026-07-05 23:04:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517692672001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:04:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:04:09] 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-07-05 23:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783272538000,"timestamp_ms":1783272538000,"timestamp_seconds":1783272538,"priority":1,"record_length":96,"hex_timestamp":"0000019f33537f90"} 
[2026-07-05 23:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517692672001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517692672001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:04:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:04:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517692672001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":122872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:04:09] local.INFO: GPS data processed {"connection_id":122872,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:04:09] local.INFO: Acknowledgment sent {"connection_id":122872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:04:40] local.INFO: TCP Data received {"connection_id":122872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:04:40] local.INFO: Processing buffer {"connection_id":122872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:04:40] local.INFO: Packet analysis {"connection_id":122872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:04:40] local.INFO: Extracted packet for processing {"connection_id":122872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:04:40] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517769728001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:04:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:04:40] 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-07-05 23:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783272839000,"timestamp_ms":1783272839000,"timestamp_seconds":1783272839,"priority":1,"record_length":96,"hex_timestamp":"0000019f33581758"} 
[2026-07-05 23:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:04:40] 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-07-05 23: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-07-05 23:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":122872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":122872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":122872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517769728001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517769728001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:04:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:04:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517769728001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":122872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:04:40] local.INFO: GPS data processed {"connection_id":122872,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:04:40] local.INFO: Acknowledgment sent {"connection_id":122872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:05:08] local.INFO: TCP Data received {"connection_id":122932,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:05:08] local.INFO: Processing buffer {"connection_id":122932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:05:08] local.INFO: IMEI packet received {"connection_id":122932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":122932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:05:13] local.INFO: TCP Data received {"connection_id":122932,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:05:13] local.INFO: Processing buffer {"connection_id":122932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:05:13] local.INFO: IMEI packet received {"connection_id":122932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":122932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:05:18] local.INFO: TCP Data received {"connection_id":122932,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:05:18] local.INFO: Processing buffer {"connection_id":122932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:05:18] local.INFO: Packet analysis {"connection_id":122932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:05:18] local.INFO: Extracted packet for processing {"connection_id":122932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:05:18] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517769728001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:05:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:05:18] 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-07-05 23:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783272839000,"timestamp_ms":1783272839000,"timestamp_seconds":1783272839,"priority":1,"record_length":96,"hex_timestamp":"0000019f33581758"} 
[2026-07-05 23:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:05:18] 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-07-05 23:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":122932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":122932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":122932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517769728001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517769728001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:05:18] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:05:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:05:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517769728001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":122932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:05:18] local.INFO: GPS data processed {"connection_id":122932,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:05:18] local.INFO: Acknowledgment sent {"connection_id":122932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:05:38] local.INFO: TCP Data received {"connection_id":122931,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:05:38] local.INFO: Processing buffer {"connection_id":122931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:05:38] local.INFO: IMEI packet received {"connection_id":122931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":122931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:05:49] local.INFO: TCP Data received {"connection_id":122932,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:05:49] local.INFO: Processing buffer {"connection_id":122932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:05:49] local.INFO: Packet analysis {"connection_id":122932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:05:49] local.INFO: Extracted packet for processing {"connection_id":122932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:05:49] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517769728001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:05:49] 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-07-05 23:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783272839000,"timestamp_ms":1783272839000,"timestamp_seconds":1783272839,"priority":1,"record_length":96,"hex_timestamp":"0000019f33581758"} 
[2026-07-05 23:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:05:49] 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-07-05 23:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517769728001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517769728001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:05:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:05:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517769728001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":122932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:05:49] local.INFO: GPS data processed {"connection_id":122932,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:05:49] local.INFO: Acknowledgment sent {"connection_id":122932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:06:03] local.INFO: TCP Data received {"connection_id":122874,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:06:03] local.INFO: Processing buffer {"connection_id":122874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:06:03] local.INFO: IMEI packet received {"connection_id":122874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":122874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:06:03] local.INFO: TCP Data received {"connection_id":122873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:06:03] local.INFO: Processing buffer {"connection_id":122873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:06:03] local.INFO: IMEI packet received {"connection_id":122873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":122873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:06:08] local.INFO: TCP Data received {"connection_id":122874,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:06:08] local.INFO: Processing buffer {"connection_id":122874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:06:08] local.INFO: IMEI packet received {"connection_id":122874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 23:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":122874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:06:08] local.INFO: TCP Data received {"connection_id":122873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:06:08] local.INFO: Processing buffer {"connection_id":122873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:06:08] local.INFO: IMEI packet received {"connection_id":122873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":122873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:06:09] local.INFO: TCP Data received {"connection_id":122874,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f334cd0a0012cb2a10007823b380045000025..."} 
[2026-07-05 23:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f334cd0a0012cb2a10007823b380045000025..."} 
[2026-07-05 23:06:09] local.INFO: Processing buffer {"connection_id":122874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f334cd0a0012cb2a10007823b380045000025..."} 
[2026-07-05 23:06:09] local.INFO: Packet analysis {"connection_id":122874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f334c"} 
[2026-07-05 23:06:09] local.INFO: Extracted packet for processing {"connection_id":122874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f334c"} 
[2026-07-05 23:06:09] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":69,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517583104001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 23:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 23:06:09] 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-07-05 23:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783272100000,"timestamp_ms":1783272100000,"timestamp_seconds":1783272100,"priority":1,"record_length":96,"hex_timestamp":"0000019f334cd0a0"} 
[2026-07-05 23:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 23:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 23:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 23:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 23:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 23:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517583104001,"66":25191,"184":206,"85":36096,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 23:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 23:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517583104001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:06:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 23:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517583104001,"power":25191,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 23:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":122874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:06:09] local.INFO: GPS data processed {"connection_id":122874,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:06:09] local.INFO: Acknowledgment sent {"connection_id":122874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:06:09] local.INFO: TCP Data received {"connection_id":122873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:06:09] local.INFO: Processing buffer {"connection_id":122873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:06:09] local.INFO: Packet analysis {"connection_id":122873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:06:09] local.INFO: Extracted packet for processing {"connection_id":122873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:06:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517769728001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:06:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:06:09] 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-07-05 23:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783272839000,"timestamp_ms":1783272839000,"timestamp_seconds":1783272839,"priority":1,"record_length":96,"hex_timestamp":"0000019f33581758"} 
[2026-07-05 23:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517769728001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517769728001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:06:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:06:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:06:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517769728001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":122873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:06:09] local.INFO: GPS data processed {"connection_id":122873,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:06:09] local.INFO: Acknowledgment sent {"connection_id":122873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:06:41] local.INFO: TCP Data received {"connection_id":122873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:06:41] local.INFO: Processing buffer {"connection_id":122873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:06:41] local.INFO: Packet analysis {"connection_id":122873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:06:41] local.INFO: Extracted packet for processing {"connection_id":122873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:06:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517769728001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:06:41] 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-07-05 23:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783272839000,"timestamp_ms":1783272839000,"timestamp_seconds":1783272839,"priority":1,"record_length":96,"hex_timestamp":"0000019f33581758"} 
[2026-07-05 23:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:06: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-07-05 23:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517769728001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517769728001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:06:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517769728001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":122873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:06:41] local.INFO: GPS data processed {"connection_id":122873,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:06:41] local.INFO: Acknowledgment sent {"connection_id":122873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:07:03] local.INFO: TCP Data received {"connection_id":123607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:07:03] local.INFO: Processing buffer {"connection_id":123607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:07:03] local.INFO: IMEI packet received {"connection_id":123607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":123607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:07:03] local.INFO: TCP Data received {"connection_id":123606,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:07:03] local.INFO: Processing buffer {"connection_id":123606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:07:03] local.INFO: IMEI packet received {"connection_id":123606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":123606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:07:08] local.INFO: TCP Data received {"connection_id":123606,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:07:08] local.INFO: Processing buffer {"connection_id":123606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:07:08] local.INFO: IMEI packet received {"connection_id":123606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":123606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:07:09] local.INFO: TCP Data received {"connection_id":123606,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:07:09] local.INFO: Processing buffer {"connection_id":123606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:07:09] local.INFO: Packet analysis {"connection_id":123606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:07:09] local.INFO: Extracted packet for processing {"connection_id":123606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:07:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517769728001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:07:09] 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-07-05 23:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783272839000,"timestamp_ms":1783272839000,"timestamp_seconds":1783272839,"priority":1,"record_length":96,"hex_timestamp":"0000019f33581758"} 
[2026-07-05 23:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":123606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":123606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":123606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517769728001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517769728001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:07:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517769728001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":123606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:07:09] local.INFO: GPS data processed {"connection_id":123606,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:07:09] local.INFO: Acknowledgment sent {"connection_id":123606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:07:23] local.INFO: TCP Data received {"connection_id":124844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:07:23] local.INFO: Processing buffer {"connection_id":124844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:07:23] local.INFO: IMEI packet received {"connection_id":124844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":124844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:07:40] local.INFO: TCP Data received {"connection_id":123606,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:07:40] local.INFO: Processing buffer {"connection_id":123606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:07:40] local.INFO: Packet analysis {"connection_id":123606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:07:40] local.INFO: Extracted packet for processing {"connection_id":123606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:07:40] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517769728001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:07:40] 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-07-05 23:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783272839000,"timestamp_ms":1783272839000,"timestamp_seconds":1783272839,"priority":1,"record_length":96,"hex_timestamp":"0000019f33581758"} 
[2026-07-05 23:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:07:40] 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-07-05 23: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-07-05 23:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":123606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":123606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":123606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517769728001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517769728001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:07:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517769728001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":123606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:07:40] local.INFO: GPS data processed {"connection_id":123606,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:07:40] local.INFO: Acknowledgment sent {"connection_id":123606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:08:03] local.INFO: TCP Data received {"connection_id":122933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:08:03] local.INFO: Processing buffer {"connection_id":122933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:08:03] local.INFO: IMEI packet received {"connection_id":122933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":122933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:08:08] local.INFO: TCP Data received {"connection_id":122933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:08:08] local.INFO: Processing buffer {"connection_id":122933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:08:08] local.INFO: IMEI packet received {"connection_id":122933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":122933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:08:10] local.INFO: TCP Data received {"connection_id":122933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:08:10] local.INFO: Processing buffer {"connection_id":122933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:08:10] local.INFO: Packet analysis {"connection_id":122933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:08:10] local.INFO: Extracted packet for processing {"connection_id":122933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:08:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517769728001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:08:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:08:10] 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-07-05 23:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783272839000,"timestamp_ms":1783272839000,"timestamp_seconds":1783272839,"priority":1,"record_length":96,"hex_timestamp":"0000019f33581758"} 
[2026-07-05 23:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517769728001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517769728001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:08:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:08:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:08:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517769728001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":122933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:08:10] local.INFO: GPS data processed {"connection_id":122933,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:08:10] local.INFO: Acknowledgment sent {"connection_id":122933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:08:41] local.INFO: TCP Data received {"connection_id":122933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:08:41] local.INFO: Processing buffer {"connection_id":122933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:08:41] local.INFO: Packet analysis {"connection_id":122933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:08:41] local.INFO: Extracted packet for processing {"connection_id":122933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:08:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517769728001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:08:41] 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-07-05 23:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783272839000,"timestamp_ms":1783272839000,"timestamp_seconds":1783272839,"priority":1,"record_length":96,"hex_timestamp":"0000019f33581758"} 
[2026-07-05 23:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:08: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-07-05 23: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-07-05 23:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517769728001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517769728001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:08:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:08:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517769728001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":122933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:08:41] local.INFO: GPS data processed {"connection_id":122933,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:08:41] local.INFO: Acknowledgment sent {"connection_id":122933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:09:03] local.INFO: TCP Data received {"connection_id":123608,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:09:03] local.INFO: Processing buffer {"connection_id":123608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:09:03] local.INFO: IMEI packet received {"connection_id":123608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":123608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:09:09] local.INFO: TCP Data received {"connection_id":123608,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:09:09] local.INFO: Processing buffer {"connection_id":123608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:09:09] local.INFO: IMEI packet received {"connection_id":123608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":123608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:09:10] local.INFO: TCP Data received {"connection_id":123608,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:09:10] local.INFO: Processing buffer {"connection_id":123608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33581758012cb2a24007823a68004600c92c..."} 
[2026-07-05 23:09:10] local.INFO: Packet analysis {"connection_id":123608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:09:10] local.INFO: Extracted packet for processing {"connection_id":123608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3358"} 
[2026-07-05 23:09:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":70,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517769728001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:09:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:09:10] 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-07-05 23:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783272839000,"timestamp_ms":1783272839000,"timestamp_seconds":1783272839,"priority":1,"record_length":96,"hex_timestamp":"0000019f33581758"} 
[2026-07-05 23:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517769728001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517769728001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:09:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:09:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:09:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517769728001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":123608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:09:10] local.INFO: GPS data processed {"connection_id":123608,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:09:10] local.INFO: Acknowledgment sent {"connection_id":123608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:09:41] local.INFO: TCP Data received {"connection_id":123608,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:09:41] local.INFO: Processing buffer {"connection_id":123608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:09:41] local.INFO: Packet analysis {"connection_id":123608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:09:41] local.INFO: Extracted packet for processing {"connection_id":123608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:09:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517846784001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:09:41] 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-07-05 23:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783273140000,"timestamp_ms":1783273140000,"timestamp_seconds":1783273140,"priority":1,"record_length":96,"hex_timestamp":"0000019f335caf20"} 
[2026-07-05 23:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:09: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-07-05 23: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-07-05 23:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517846784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517846784001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:09:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:09:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517846784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":123608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:09:41] local.INFO: GPS data processed {"connection_id":123608,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:09:41] local.INFO: Acknowledgment sent {"connection_id":123608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:10:08] local.INFO: TCP Data received {"connection_id":122875,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:10:08] local.INFO: Processing buffer {"connection_id":122875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:10:08] local.INFO: IMEI packet received {"connection_id":122875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":122875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:10:14] local.INFO: TCP Data received {"connection_id":122875,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:10:14] local.INFO: Processing buffer {"connection_id":122875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:10:14] local.INFO: IMEI packet received {"connection_id":122875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":122875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:10:15] local.INFO: TCP Data received {"connection_id":122875,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:10:15] local.INFO: Processing buffer {"connection_id":122875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:10:15] local.INFO: Packet analysis {"connection_id":122875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:10:15] local.INFO: Extracted packet for processing {"connection_id":122875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:10:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:10: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-07-05 23:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517846784001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:10:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:10:15] 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-07-05 23:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783273140000,"timestamp_ms":1783273140000,"timestamp_seconds":1783273140,"priority":1,"record_length":96,"hex_timestamp":"0000019f335caf20"} 
[2026-07-05 23:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:10: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-07-05 23:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517846784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517846784001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:10:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517846784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":122875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:10:15] local.INFO: GPS data processed {"connection_id":122875,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:10:15] local.INFO: Acknowledgment sent {"connection_id":122875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:10:46] local.INFO: TCP Data received {"connection_id":122875,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:10:46] local.INFO: Processing buffer {"connection_id":122875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:10:46] local.INFO: Packet analysis {"connection_id":122875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:10:46] local.INFO: Extracted packet for processing {"connection_id":122875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:10:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517846784001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:10:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:10:46] 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-07-05 23:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783273140000,"timestamp_ms":1783273140000,"timestamp_seconds":1783273140,"priority":1,"record_length":96,"hex_timestamp":"0000019f335caf20"} 
[2026-07-05 23:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:10:46] 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-07-05 23: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-07-05 23:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":122875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":122875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":122875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517846784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517846784001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:10:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:10:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517846784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":122875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:10:46] local.INFO: GPS data processed {"connection_id":122875,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:10:46] local.INFO: Acknowledgment sent {"connection_id":122875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:11:03] local.INFO: TCP Data received {"connection_id":123609,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:11:03] local.INFO: Processing buffer {"connection_id":123609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:11:03] local.INFO: IMEI packet received {"connection_id":123609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":123609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:11:09] local.INFO: TCP Data received {"connection_id":123609,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:11:09] local.INFO: Processing buffer {"connection_id":123609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:11:09] local.INFO: IMEI packet received {"connection_id":123609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":123609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:11:10] local.INFO: TCP Data received {"connection_id":123609,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:11:10] local.INFO: Processing buffer {"connection_id":123609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:11:10] local.INFO: Packet analysis {"connection_id":123609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:11:10] local.INFO: Extracted packet for processing {"connection_id":123609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:11:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517846784001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:11:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:11:10] 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-07-05 23:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783273140000,"timestamp_ms":1783273140000,"timestamp_seconds":1783273140,"priority":1,"record_length":96,"hex_timestamp":"0000019f335caf20"} 
[2026-07-05 23:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517846784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517846784001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:11:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:11:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517846784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":123609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:11:10] local.INFO: GPS data processed {"connection_id":123609,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:11:10] local.INFO: Acknowledgment sent {"connection_id":123609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:11:41] local.INFO: TCP Data received {"connection_id":123609,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:11:41] local.INFO: Processing buffer {"connection_id":123609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:11:41] local.INFO: Packet analysis {"connection_id":123609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:11:41] local.INFO: Extracted packet for processing {"connection_id":123609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:11:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 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-07-05 23:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517846784001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:11:41] 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-07-05 23:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783273140000,"timestamp_ms":1783273140000,"timestamp_seconds":1783273140,"priority":1,"record_length":96,"hex_timestamp":"0000019f335caf20"} 
[2026-07-05 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-07-05 23:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:11: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-07-05 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-07-05 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-07-05 23:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517846784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517846784001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:11:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:11:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517846784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":123609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:11:41] local.INFO: GPS data processed {"connection_id":123609,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:11:41] local.INFO: Acknowledgment sent {"connection_id":123609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:12:03] local.INFO: TCP Data received {"connection_id":123610,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:12:03] local.INFO: Processing buffer {"connection_id":123610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:12:03] local.INFO: IMEI packet received {"connection_id":123610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":123610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:12:09] local.INFO: TCP Data received {"connection_id":123610,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:12:09] local.INFO: Processing buffer {"connection_id":123610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:12:09] local.INFO: IMEI packet received {"connection_id":123610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":123610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:12:10] local.INFO: TCP Data received {"connection_id":123610,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:12:10] local.INFO: Processing buffer {"connection_id":123610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:12:10] local.INFO: Packet analysis {"connection_id":123610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:12:10] local.INFO: Extracted packet for processing {"connection_id":123610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:12:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517846784001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:12:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:12:10] 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-07-05 23:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783273140000,"timestamp_ms":1783273140000,"timestamp_seconds":1783273140,"priority":1,"record_length":96,"hex_timestamp":"0000019f335caf20"} 
[2026-07-05 23:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517846784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517846784001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:12:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:12:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517846784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":123610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:12:10] local.INFO: GPS data processed {"connection_id":123610,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:12:10] local.INFO: Acknowledgment sent {"connection_id":123610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:12:28] local.INFO: TCP Data received {"connection_id":124847,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:12:28] local.INFO: Processing buffer {"connection_id":124847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:12:28] local.INFO: IMEI packet received {"connection_id":124847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":124847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:12:41] local.INFO: TCP Data received {"connection_id":123610,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:12:41] local.INFO: Processing buffer {"connection_id":123610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:12:41] local.INFO: Packet analysis {"connection_id":123610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:12:41] local.INFO: Extracted packet for processing {"connection_id":123610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:12:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517846784001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:12:41] 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-07-05 23:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783273140000,"timestamp_ms":1783273140000,"timestamp_seconds":1783273140,"priority":1,"record_length":96,"hex_timestamp":"0000019f335caf20"} 
[2026-07-05 23:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:12: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-07-05 23: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-07-05 23:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517846784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517846784001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:12:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:12:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517846784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":123610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:12:41] local.INFO: GPS data processed {"connection_id":123610,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:12:41] local.INFO: Acknowledgment sent {"connection_id":123610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:13:03] local.INFO: TCP Data received {"connection_id":124848,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:13:03] local.INFO: Processing buffer {"connection_id":124848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:13:03] local.INFO: IMEI packet received {"connection_id":124848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":124848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:13:03] local.INFO: TCP Data received {"connection_id":124849,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:13:03] local.INFO: Processing buffer {"connection_id":124849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:13:03] local.INFO: IMEI packet received {"connection_id":124849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":124849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:13:08] local.INFO: TCP Data received {"connection_id":124849,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:13:08] local.INFO: Processing buffer {"connection_id":124849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:13:08] local.INFO: IMEI packet received {"connection_id":124849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":124849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:13:18] local.INFO: TCP Data received {"connection_id":124849,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:13:18] local.INFO: Processing buffer {"connection_id":124849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:13:18] local.INFO: Packet analysis {"connection_id":124849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:13:18] local.INFO: Extracted packet for processing {"connection_id":124849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:13:18] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517846784001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:13:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:13:18] 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-07-05 23:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1783273140000,"timestamp_ms":1783273140000,"timestamp_seconds":1783273140,"priority":1,"record_length":96,"hex_timestamp":"0000019f335caf20"} 
[2026-07-05 23:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:13:18] 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-07-05 23: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-07-05 23:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":124849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":124849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":124849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517846784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517846784001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:13:18] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:13:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:13:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517846784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":124849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:13:19] local.INFO: GPS data processed {"connection_id":124849,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:13:19] local.INFO: Acknowledgment sent {"connection_id":124849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:14:03] local.INFO: TCP Data received {"connection_id":122936,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:14:03] local.INFO: Processing buffer {"connection_id":122936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:14:03] local.INFO: IMEI packet received {"connection_id":122936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":122936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:14:09] local.INFO: TCP Data received {"connection_id":122936,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:14:09] local.INFO: Processing buffer {"connection_id":122936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:14:09] local.INFO: IMEI packet received {"connection_id":122936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":122936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:14:14] local.INFO: TCP Data received {"connection_id":122936,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:14:14] local.INFO: Processing buffer {"connection_id":122936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:14:14] local.INFO: IMEI packet received {"connection_id":122936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":122936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:14:17] local.INFO: TCP Data received {"connection_id":122936,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:14:17] local.INFO: Processing buffer {"connection_id":122936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:14:17] local.INFO: Packet analysis {"connection_id":122936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:14:17] local.INFO: Extracted packet for processing {"connection_id":122936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:14:17] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517846784001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:14:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:14:17] 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-07-05 23:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1783273140000,"timestamp_ms":1783273140000,"timestamp_seconds":1783273140,"priority":1,"record_length":96,"hex_timestamp":"0000019f335caf20"} 
[2026-07-05 23:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:14:17] 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-07-05 23:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":122936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":122936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":122936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517846784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517846784001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:14:17] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:14:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:14:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517846784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":122936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:14:17] local.INFO: GPS data processed {"connection_id":122936,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:14:17] local.INFO: Acknowledgment sent {"connection_id":122936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:14:19] local.INFO: TCP Data received {"connection_id":122936,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:14:19] local.INFO: Processing buffer {"connection_id":122936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f335caf20012cb2a24007823a68004800c92a..."} 
[2026-07-05 23:14:19] local.INFO: Packet analysis {"connection_id":122936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:14:19] local.INFO: Extracted packet for processing {"connection_id":122936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f335c"} 
[2026-07-05 23:14:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":72,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517846784001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:14:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:14:19] 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-07-05 23:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783273140000,"timestamp_ms":1783273140000,"timestamp_seconds":1783273140,"priority":1,"record_length":96,"hex_timestamp":"0000019f335caf20"} 
[2026-07-05 23:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:14: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-07-05 23:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517846784001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517846784001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:14:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:14:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:14:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517846784001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":122936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:14:19] local.INFO: GPS data processed {"connection_id":122936,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:14:19] local.INFO: Acknowledgment sent {"connection_id":122936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:15:03] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:03] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:03] local.INFO: IMEI packet received {"connection_id":124850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":124850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:15:13] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:13] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:13] local.INFO: IMEI packet received {"connection_id":124850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":124850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:15:14] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:14] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:14] local.INFO: IMEI packet received {"connection_id":124850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":124850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:15:19] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:19] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:15:19] local.INFO: IMEI packet received {"connection_id":124850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":124850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:15:20] local.INFO: TCP Data received {"connection_id":124850,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:15:20] local.INFO: Processing buffer {"connection_id":124850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:15:20] local.INFO: Packet analysis {"connection_id":124850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:15:20] local.INFO: Extracted packet for processing {"connection_id":124850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:15:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517923840001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:15:20] 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-07-05 23:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783273441000,"timestamp_ms":1783273441000,"timestamp_seconds":1783273441,"priority":1,"record_length":96,"hex_timestamp":"0000019f336146e8"} 
[2026-07-05 23:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":124850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":124850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517923840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517923840001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:15:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517923840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":124850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:15:20] local.INFO: GPS data processed {"connection_id":124850,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:15:20] local.INFO: Acknowledgment sent {"connection_id":124850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:16:03] local.INFO: TCP Data received {"connection_id":122876,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:16:03] local.INFO: Processing buffer {"connection_id":122876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:16:03] local.INFO: IMEI packet received {"connection_id":122876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":122876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:16:09] local.INFO: TCP Data received {"connection_id":122876,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:16:09] local.INFO: Processing buffer {"connection_id":122876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:16:09] local.INFO: IMEI packet received {"connection_id":122876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":122876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:16:10] local.INFO: TCP Data received {"connection_id":122876,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:16:10] local.INFO: Processing buffer {"connection_id":122876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:16:10] local.INFO: Packet analysis {"connection_id":122876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:16:10] local.INFO: Extracted packet for processing {"connection_id":122876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:16:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517923840001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:16:10] 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-07-05 23:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783273441000,"timestamp_ms":1783273441000,"timestamp_seconds":1783273441,"priority":1,"record_length":96,"hex_timestamp":"0000019f336146e8"} 
[2026-07-05 23:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517923840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517923840001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:16:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:16:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517923840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":122876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:16:10] local.INFO: GPS data processed {"connection_id":122876,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:16:10] local.INFO: Acknowledgment sent {"connection_id":122876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:16:41] local.INFO: TCP Data received {"connection_id":122876,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:16:41] local.INFO: Processing buffer {"connection_id":122876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:16:41] local.INFO: Packet analysis {"connection_id":122876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:16:41] local.INFO: Extracted packet for processing {"connection_id":122876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:16:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517923840001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:16:41] 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-07-05 23:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783273441000,"timestamp_ms":1783273441000,"timestamp_seconds":1783273441,"priority":1,"record_length":96,"hex_timestamp":"0000019f336146e8"} 
[2026-07-05 23:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:16: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-07-05 23: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-07-05 23:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517923840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517923840001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:16:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:16:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517923840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":122876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:16:41] local.INFO: GPS data processed {"connection_id":122876,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:16:41] local.INFO: Acknowledgment sent {"connection_id":122876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:17:03] local.INFO: TCP Data received {"connection_id":122938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:17:03] local.INFO: Processing buffer {"connection_id":122938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:17:03] local.INFO: IMEI packet received {"connection_id":122938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":122938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:17:09] local.INFO: TCP Data received {"connection_id":122938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:17:09] local.INFO: Processing buffer {"connection_id":122938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:17:09] local.INFO: IMEI packet received {"connection_id":122938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":122938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:17:10] local.INFO: TCP Data received {"connection_id":122938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:17:10] local.INFO: Processing buffer {"connection_id":122938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:17:10] local.INFO: Packet analysis {"connection_id":122938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:17:10] local.INFO: Extracted packet for processing {"connection_id":122938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:17:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517923840001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:17:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:17:10] 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-07-05 23:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783273441000,"timestamp_ms":1783273441000,"timestamp_seconds":1783273441,"priority":1,"record_length":96,"hex_timestamp":"0000019f336146e8"} 
[2026-07-05 23:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517923840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517923840001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:17:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:17:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517923840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":122938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:17:10] local.INFO: GPS data processed {"connection_id":122938,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:17:10] local.INFO: Acknowledgment sent {"connection_id":122938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:17:41] local.INFO: TCP Data received {"connection_id":122938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:17:41] local.INFO: Processing buffer {"connection_id":122938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:17:41] local.INFO: Packet analysis {"connection_id":122938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:17:41] local.INFO: Extracted packet for processing {"connection_id":122938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:17:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517923840001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:17:41] 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-07-05 23:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783273441000,"timestamp_ms":1783273441000,"timestamp_seconds":1783273441,"priority":1,"record_length":96,"hex_timestamp":"0000019f336146e8"} 
[2026-07-05 23:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23: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-07-05 23: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-07-05 23:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517923840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517923840001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:17:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517923840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":122938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:17:41] local.INFO: GPS data processed {"connection_id":122938,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:17:41] local.INFO: Acknowledgment sent {"connection_id":122938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:18:11] local.INFO: TCP Data received {"connection_id":122939,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:18:11] local.INFO: Processing buffer {"connection_id":122939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:18:11] local.INFO: IMEI packet received {"connection_id":122939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":122939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:18:13] local.INFO: TCP Data received {"connection_id":122939,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:18:13] local.INFO: Processing buffer {"connection_id":122939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:18:13] local.INFO: IMEI packet received {"connection_id":122939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":122939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:18:14] local.INFO: TCP Data received {"connection_id":122939,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:18:14] local.INFO: Processing buffer {"connection_id":122939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:18:14] local.INFO: Packet analysis {"connection_id":122939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:18:14] local.INFO: Extracted packet for processing {"connection_id":122939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:18:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517923840001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:18:14] 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-07-05 23:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783273441000,"timestamp_ms":1783273441000,"timestamp_seconds":1783273441,"priority":1,"record_length":96,"hex_timestamp":"0000019f336146e8"} 
[2026-07-05 23:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517923840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517923840001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:18:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:18:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517923840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":122939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:18:14] local.INFO: GPS data processed {"connection_id":122939,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:18:14] local.INFO: Acknowledgment sent {"connection_id":122939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:18:19] local.INFO: TCP Data received {"connection_id":122939,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:18:19] local.INFO: Processing buffer {"connection_id":122939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:18:19] local.INFO: Packet analysis {"connection_id":122939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:18:19] local.INFO: Extracted packet for processing {"connection_id":122939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:18:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517923840001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:18:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:18:19] 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-07-05 23:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783273441000,"timestamp_ms":1783273441000,"timestamp_seconds":1783273441,"priority":1,"record_length":96,"hex_timestamp":"0000019f336146e8"} 
[2026-07-05 23:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:18: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-07-05 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517923840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517923840001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:18:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:18:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:18:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517923840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":122939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:18:19] local.INFO: GPS data processed {"connection_id":122939,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:18:19] local.INFO: Acknowledgment sent {"connection_id":122939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:18:28] local.INFO: TCP Data received {"connection_id":123612,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:18:28] local.INFO: Processing buffer {"connection_id":123612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:18:28] local.INFO: IMEI packet received {"connection_id":123612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":123612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:19:03] local.INFO: TCP Data received {"connection_id":124852,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:19:03] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:19:03] local.INFO: IMEI packet received {"connection_id":124852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":124852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:19:09] local.INFO: TCP Data received {"connection_id":124852,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:19:09] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:19:09] local.INFO: IMEI packet received {"connection_id":124852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":124852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:19:10] local.INFO: TCP Data received {"connection_id":124852,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:19:10] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336146e8012cb2a24007823a68004900c92d..."} 
[2026-07-05 23:19:10] local.INFO: Packet analysis {"connection_id":124852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:19:10] local.INFO: Extracted packet for processing {"connection_id":124852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3361"} 
[2026-07-05 23:19:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":73,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517923840001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:19:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:19:10] 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-07-05 23:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783273441000,"timestamp_ms":1783273441000,"timestamp_seconds":1783273441,"priority":1,"record_length":96,"hex_timestamp":"0000019f336146e8"} 
[2026-07-05 23:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517923840001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517923840001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:19:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:19:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:19:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517923840001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":124852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:19:10] local.INFO: GPS data processed {"connection_id":124852,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:19:10] local.INFO: Acknowledgment sent {"connection_id":124852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:19:21] local.INFO: TCP Data received {"connection_id":122878,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:19:21] local.INFO: Processing buffer {"connection_id":122878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:19:21] local.INFO: IMEI packet received {"connection_id":122878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":122878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:19:42] local.INFO: TCP Data received {"connection_id":124852,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:19:42] local.INFO: Processing buffer {"connection_id":124852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:19:42] local.INFO: Packet analysis {"connection_id":124852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:19:42] local.INFO: Extracted packet for processing {"connection_id":124852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:19:42] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518000896001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:19:42] 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-07-05 23:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1783273742000,"timestamp_ms":1783273742000,"timestamp_seconds":1783273742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3365deb0"} 
[2026-07-05 23:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:19: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-07-05 23:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":124852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":124852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":124852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518000896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518000896001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:19:42] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:19:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518000896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":124852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:19:42] local.INFO: GPS data processed {"connection_id":124852,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:19:42] local.INFO: Acknowledgment sent {"connection_id":124852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:20:09] local.INFO: TCP Data received {"connection_id":122879,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:20:09] local.INFO: Processing buffer {"connection_id":122879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:20:09] local.INFO: IMEI packet received {"connection_id":122879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":122879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:20:13] local.INFO: TCP Data received {"connection_id":122879,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:20:13] local.INFO: Processing buffer {"connection_id":122879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:20:13] local.INFO: IMEI packet received {"connection_id":122879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":122879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:20:14] local.INFO: TCP Data received {"connection_id":122879,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:20:14] local.INFO: Processing buffer {"connection_id":122879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:20:14] local.INFO: Packet analysis {"connection_id":122879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:20:14] local.INFO: Extracted packet for processing {"connection_id":122879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:20:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518000896001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:20:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:20:14] 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-07-05 23:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783273742000,"timestamp_ms":1783273742000,"timestamp_seconds":1783273742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3365deb0"} 
[2026-07-05 23:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":122879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":122879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":122879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518000896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518000896001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:20:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:20:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:20:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518000896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":122879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:20:14] local.INFO: GPS data processed {"connection_id":122879,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:20:14] local.INFO: Acknowledgment sent {"connection_id":122879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:20:19] local.INFO: TCP Data received {"connection_id":122879,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:20:19] local.INFO: Processing buffer {"connection_id":122879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:20:19] local.INFO: Packet analysis {"connection_id":122879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:20:19] local.INFO: Extracted packet for processing {"connection_id":122879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:20:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 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-07-05 23:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518000896001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:20:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:20:19] 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-07-05 23:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783273742000,"timestamp_ms":1783273742000,"timestamp_seconds":1783273742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3365deb0"} 
[2026-07-05 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-07-05 23:20: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-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 23:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518000896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518000896001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:20:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:20:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518000896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":122879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:20:19] local.INFO: GPS data processed {"connection_id":122879,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:20:19] local.INFO: Acknowledgment sent {"connection_id":122879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:21:03] local.INFO: TCP Data received {"connection_id":124854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:21:03] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:21:03] local.INFO: IMEI packet received {"connection_id":124854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":124854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:21:08] local.INFO: TCP Data received {"connection_id":124854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:21:08] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:21:08] local.INFO: IMEI packet received {"connection_id":124854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":124854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:21:09] local.INFO: TCP Data received {"connection_id":124854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:21:09] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:21:09] local.INFO: Packet analysis {"connection_id":124854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:21:09] local.INFO: Extracted packet for processing {"connection_id":124854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518000896001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:21:09] 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-07-05 23:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783273742000,"timestamp_ms":1783273742000,"timestamp_seconds":1783273742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3365deb0"} 
[2026-07-05 23:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":124854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":124854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":124854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518000896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518000896001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:21:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:21:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518000896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":124854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:21:09] local.INFO: GPS data processed {"connection_id":124854,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:21:09] local.INFO: Acknowledgment sent {"connection_id":124854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:21:40] local.INFO: TCP Data received {"connection_id":124854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:21:40] local.INFO: Processing buffer {"connection_id":124854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:21:40] local.INFO: Packet analysis {"connection_id":124854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:21:40] local.INFO: Extracted packet for processing {"connection_id":124854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:21:40] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518000896001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:21:40] 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-07-05 23:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783273742000,"timestamp_ms":1783273742000,"timestamp_seconds":1783273742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3365deb0"} 
[2026-07-05 23:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23: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-07-05 23: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-07-05 23:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":124854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":124854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":124854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518000896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518000896001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:21:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:21:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518000896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":124854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:21:40] local.INFO: GPS data processed {"connection_id":124854,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:21:40] local.INFO: Acknowledgment sent {"connection_id":124854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:22:03] local.INFO: TCP Data received {"connection_id":122941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:22:03] local.INFO: Processing buffer {"connection_id":122941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:22:03] local.INFO: IMEI packet received {"connection_id":122941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":122941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:22:08] local.INFO: TCP Data received {"connection_id":122941,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:22:08] local.INFO: Processing buffer {"connection_id":122941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:22:08] local.INFO: IMEI packet received {"connection_id":122941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":122941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:22:09] local.INFO: TCP Data received {"connection_id":122941,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:22:09] local.INFO: Processing buffer {"connection_id":122941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:22:09] local.INFO: Packet analysis {"connection_id":122941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:22:09] local.INFO: Extracted packet for processing {"connection_id":122941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:22:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518000896001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:22:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:22:09] 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-07-05 23:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783273742000,"timestamp_ms":1783273742000,"timestamp_seconds":1783273742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3365deb0"} 
[2026-07-05 23:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518000896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518000896001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:22:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:22:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:22:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518000896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":122941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:22:09] local.INFO: GPS data processed {"connection_id":122941,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:22:09] local.INFO: Acknowledgment sent {"connection_id":122941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:22:43] local.INFO: TCP Data received {"connection_id":122941,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:22:43] local.INFO: Processing buffer {"connection_id":122941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:22:43] local.INFO: Packet analysis {"connection_id":122941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:22:43] local.INFO: Extracted packet for processing {"connection_id":122941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:22:43] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518000896001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:22:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:22:43] 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-07-05 23:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1783273742000,"timestamp_ms":1783273742000,"timestamp_seconds":1783273742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3365deb0"} 
[2026-07-05 23:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":122941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":122941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":122941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518000896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518000896001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:22:43] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:22:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518000896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":122941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:22:43] local.INFO: GPS data processed {"connection_id":122941,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:22:43] local.INFO: Acknowledgment sent {"connection_id":122941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:23:03] local.INFO: TCP Data received {"connection_id":122881,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:23:03] local.INFO: Processing buffer {"connection_id":122881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:23:03] local.INFO: IMEI packet received {"connection_id":122881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":122881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:23:09] local.INFO: TCP Data received {"connection_id":122881,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:23:09] local.INFO: Processing buffer {"connection_id":122881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:23:09] local.INFO: IMEI packet received {"connection_id":122881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":122881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:23:10] local.INFO: TCP Data received {"connection_id":122881,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:23:10] local.INFO: Processing buffer {"connection_id":122881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:23:10] local.INFO: Packet analysis {"connection_id":122881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:23:10] local.INFO: Extracted packet for processing {"connection_id":122881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:23:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518000896001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:23:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:23:10] 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-07-05 23:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783273742000,"timestamp_ms":1783273742000,"timestamp_seconds":1783273742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3365deb0"} 
[2026-07-05 23:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518000896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518000896001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:23:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:23:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:23:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518000896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":122881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:23:10] local.INFO: GPS data processed {"connection_id":122881,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:23:10] local.INFO: Acknowledgment sent {"connection_id":122881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:23:41] local.INFO: TCP Data received {"connection_id":122881,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:23:41] local.INFO: Processing buffer {"connection_id":122881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:23:41] local.INFO: Packet analysis {"connection_id":122881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:23:41] local.INFO: Extracted packet for processing {"connection_id":122881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:23:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518000896001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:23:41] 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-07-05 23:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783273742000,"timestamp_ms":1783273742000,"timestamp_seconds":1783273742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3365deb0"} 
[2026-07-05 23:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23: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-07-05 23: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-07-05 23:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518000896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518000896001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:23:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:23:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518000896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":122881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:23:41] local.INFO: GPS data processed {"connection_id":122881,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:23:41] local.INFO: Acknowledgment sent {"connection_id":122881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:24:09] local.INFO: TCP Data received {"connection_id":123613,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:24:09] local.INFO: Processing buffer {"connection_id":123613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:24:09] local.INFO: IMEI packet received {"connection_id":123613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":123613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:24:14] local.INFO: TCP Data received {"connection_id":123613,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:24:14] local.INFO: Processing buffer {"connection_id":123613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:24:14] local.INFO: IMEI packet received {"connection_id":123613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":123613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:24:15] local.INFO: TCP Data received {"connection_id":123613,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:24:15] local.INFO: Processing buffer {"connection_id":123613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:24:15] local.INFO: Packet analysis {"connection_id":123613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:24:15] local.INFO: Extracted packet for processing {"connection_id":123613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:24:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518000896001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:24:15] 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-07-05 23:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783273742000,"timestamp_ms":1783273742000,"timestamp_seconds":1783273742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3365deb0"} 
[2026-07-05 23:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518000896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518000896001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:24:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:24:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518000896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":123613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:24:15] local.INFO: GPS data processed {"connection_id":123613,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:24:15] local.INFO: Acknowledgment sent {"connection_id":123613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:24:19] local.INFO: TCP Data received {"connection_id":123613,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:24:19] local.INFO: Processing buffer {"connection_id":123613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3365deb0012cb2a24007823a68004c00c92c..."} 
[2026-07-05 23:24:19] local.INFO: Packet analysis {"connection_id":123613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:24:19] local.INFO: Extracted packet for processing {"connection_id":123613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3365"} 
[2026-07-05 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 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-07-05 23:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518000896001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:24:19] 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-07-05 23:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783273742000,"timestamp_ms":1783273742000,"timestamp_seconds":1783273742,"priority":1,"record_length":96,"hex_timestamp":"0000019f3365deb0"} 
[2026-07-05 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-07-05 23:24: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-07-05 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 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-07-05 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-07-05 23:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":123613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":123613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":123613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518000896001,"66":25321,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518000896001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:24:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518000896001,"power":25321,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":123613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:24:19] local.INFO: GPS data processed {"connection_id":123613,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:24:19] local.INFO: Acknowledgment sent {"connection_id":123613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:25:03] local.INFO: TCP Data received {"connection_id":122943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:25:03] local.INFO: Processing buffer {"connection_id":122943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:25:03] local.INFO: IMEI packet received {"connection_id":122943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":122943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:25:03] local.INFO: TCP Data received {"connection_id":122942,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:25:03] local.INFO: Processing buffer {"connection_id":122942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:25:03] local.INFO: IMEI packet received {"connection_id":122942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":122942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:25:08] local.INFO: TCP Data received {"connection_id":122943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:25:08] local.INFO: Processing buffer {"connection_id":122943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:25:08] local.INFO: IMEI packet received {"connection_id":122943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-05 23:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":122943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:25:08] local.INFO: TCP Data received {"connection_id":122942,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:25:08] local.INFO: Processing buffer {"connection_id":122942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:25:08] local.INFO: IMEI packet received {"connection_id":122942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":122942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:25:09] local.INFO: TCP Data received {"connection_id":122942,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:25:09] local.INFO: Processing buffer {"connection_id":122942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:25:09] local.INFO: Packet analysis {"connection_id":122942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:25:09] local.INFO: Extracted packet for processing {"connection_id":122942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:25:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518077952001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:25:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:25:09] 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-07-05 23:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783274043000,"timestamp_ms":1783274043000,"timestamp_seconds":1783274043,"priority":1,"record_length":96,"hex_timestamp":"0000019f336a7678"} 
[2026-07-05 23:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518077952001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518077952001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:25:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:25:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:25:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518077952001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":122942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:25:09] local.INFO: GPS data processed {"connection_id":122942,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:25:09] local.INFO: Acknowledgment sent {"connection_id":122942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:25:10] local.INFO: TCP Data received {"connection_id":122943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f335a78b8012cb2a10007823b380045000025..."} 
[2026-07-05 23:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f335a78b8012cb2a10007823b380045000025..."} 
[2026-07-05 23:25:10] local.INFO: Processing buffer {"connection_id":122943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f335a78b8012cb2a10007823b380045000025..."} 
[2026-07-05 23:25:10] local.INFO: Packet analysis {"connection_id":122943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f335a"} 
[2026-07-05 23:25:10] local.INFO: Extracted packet for processing {"connection_id":122943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f335a"} 
[2026-07-05 23:25:10] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975352,"longitude_deg":74.9904128,"latitude_deg":12.5975352,"altitude":69,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b38","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456517809664001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":132024795008073728,"note":"Value kept but may cause issues"} 
[2026-07-05 23:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458273280,"note":"Value kept but may cause issues"} 
[2026-07-05 23:25:10] 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-07-05 23:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783272995000,"timestamp_ms":1783272995000,"timestamp_seconds":1783272995,"priority":1,"record_length":96,"hex_timestamp":"0000019f335a78b8"} 
[2026-07-05 23:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-05 23:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 23:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-05 23:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-05 23:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-05 23:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456517809664001,"66":24973,"184":206,"85":36096,"24":0,"16":132024795008073728,"44":-5575174831458273280},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-05 23:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-05 23:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456517809664001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:25:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:25:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":132024795008073728,"km_value":132024795008073.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458273280,"description":"Unknown IO ID 44"} 
[2026-07-05 23:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456517809664001,"power":24973,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458273280}} 
[2026-07-05 23:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":122943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:25:10] local.INFO: GPS data processed {"connection_id":122943,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:25:10] local.INFO: Acknowledgment sent {"connection_id":122943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:25:41] local.INFO: TCP Data received {"connection_id":122942,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:25:41] local.INFO: Processing buffer {"connection_id":122942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:25:41] local.INFO: Packet analysis {"connection_id":122942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:25:41] local.INFO: Extracted packet for processing {"connection_id":122942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:25:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518077952001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:25:41] 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-07-05 23:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783274043000,"timestamp_ms":1783274043000,"timestamp_seconds":1783274043,"priority":1,"record_length":96,"hex_timestamp":"0000019f336a7678"} 
[2026-07-05 23:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23: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-07-05 23:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518077952001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518077952001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:25:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:25:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518077952001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":122942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:25:41] local.INFO: GPS data processed {"connection_id":122942,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:25:41] local.INFO: Acknowledgment sent {"connection_id":122942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:26:03] local.INFO: TCP Data received {"connection_id":123614,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:26:03] local.INFO: Processing buffer {"connection_id":123614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:26:03] local.INFO: IMEI packet received {"connection_id":123614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":123614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:26:09] local.INFO: TCP Data received {"connection_id":123614,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:26:09] local.INFO: Processing buffer {"connection_id":123614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:26:09] local.INFO: IMEI packet received {"connection_id":123614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":123614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:26:12] local.INFO: TCP Data received {"connection_id":123614,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:26:12] local.INFO: Processing buffer {"connection_id":123614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:26:12] local.INFO: Packet analysis {"connection_id":123614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:26:12] local.INFO: Extracted packet for processing {"connection_id":123614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:26:12] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518077952001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:26: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-07-05 23:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1783274043000,"timestamp_ms":1783274043000,"timestamp_seconds":1783274043,"priority":1,"record_length":96,"hex_timestamp":"0000019f336a7678"} 
[2026-07-05 23:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":123614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":123614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":123614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518077952001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518077952001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:26:12] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:26:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518077952001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":123614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:26:12] local.INFO: GPS data processed {"connection_id":123614,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:26:12] local.INFO: Acknowledgment sent {"connection_id":123614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:26:23] local.INFO: TCP Data received {"connection_id":122882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:26:23] local.INFO: Processing buffer {"connection_id":122882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:26:23] local.INFO: IMEI packet received {"connection_id":122882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":122882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:26:53] local.INFO: TCP Data received {"connection_id":123614,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:26:53] local.INFO: Processing buffer {"connection_id":123614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:26:53] local.INFO: Packet analysis {"connection_id":123614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:26:53] local.INFO: Extracted packet for processing {"connection_id":123614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:26:53] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518077952001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:26:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:26:53] 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-07-05 23:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1783274043000,"timestamp_ms":1783274043000,"timestamp_seconds":1783274043,"priority":1,"record_length":96,"hex_timestamp":"0000019f336a7678"} 
[2026-07-05 23:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":123614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":123614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":123614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518077952001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518077952001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:26:53] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:26:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518077952001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":123614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:26:53] local.INFO: GPS data processed {"connection_id":123614,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:26:53] local.INFO: Acknowledgment sent {"connection_id":123614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:27:09] local.INFO: TCP Data received {"connection_id":122946,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:27:09] local.INFO: Processing buffer {"connection_id":122946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:27:09] local.INFO: IMEI packet received {"connection_id":122946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":122946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:27:14] local.INFO: TCP Data received {"connection_id":122946,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:27:14] local.INFO: Processing buffer {"connection_id":122946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:27:14] local.INFO: IMEI packet received {"connection_id":122946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":122946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:27:15] local.INFO: TCP Data received {"connection_id":122946,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:27:15] local.INFO: Processing buffer {"connection_id":122946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:27:15] local.INFO: Packet analysis {"connection_id":122946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:27:15] local.INFO: Extracted packet for processing {"connection_id":122946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:27:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518077952001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:27:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:27:15] 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-07-05 23:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783274043000,"timestamp_ms":1783274043000,"timestamp_seconds":1783274043,"priority":1,"record_length":96,"hex_timestamp":"0000019f336a7678"} 
[2026-07-05 23:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518077952001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518077952001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:27:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:27:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:27:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518077952001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":122946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:27:15] local.INFO: GPS data processed {"connection_id":122946,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:27:15] local.INFO: Acknowledgment sent {"connection_id":122946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:27:19] local.INFO: TCP Data received {"connection_id":122946,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:27:19] local.INFO: Processing buffer {"connection_id":122946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:27:19] local.INFO: Packet analysis {"connection_id":122946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:27:19] local.INFO: Extracted packet for processing {"connection_id":122946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:27:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518077952001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:27:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:27:19] 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-07-05 23:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783274043000,"timestamp_ms":1783274043000,"timestamp_seconds":1783274043,"priority":1,"record_length":96,"hex_timestamp":"0000019f336a7678"} 
[2026-07-05 23:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:27: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-07-05 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518077952001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518077952001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:27:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:27:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:27:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518077952001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":122946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:27:19] local.INFO: GPS data processed {"connection_id":122946,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:27:19] local.INFO: Acknowledgment sent {"connection_id":122946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:28:04] local.INFO: TCP Data received {"connection_id":122947,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:28:04] local.INFO: Processing buffer {"connection_id":122947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:28:04] local.INFO: IMEI packet received {"connection_id":122947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":122947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:28:09] local.INFO: TCP Data received {"connection_id":122947,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:28:09] local.INFO: Processing buffer {"connection_id":122947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:28:09] local.INFO: IMEI packet received {"connection_id":122947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":122947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:28:10] local.INFO: TCP Data received {"connection_id":122947,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:28:10] local.INFO: Processing buffer {"connection_id":122947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:28:10] local.INFO: Packet analysis {"connection_id":122947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:28:10] local.INFO: Extracted packet for processing {"connection_id":122947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:28:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518077952001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:28:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:28:10] 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-07-05 23:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783274043000,"timestamp_ms":1783274043000,"timestamp_seconds":1783274043,"priority":1,"record_length":96,"hex_timestamp":"0000019f336a7678"} 
[2026-07-05 23:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518077952001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518077952001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:28:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:28:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518077952001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":122947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:28:10] local.INFO: GPS data processed {"connection_id":122947,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:28:10] local.INFO: Acknowledgment sent {"connection_id":122947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:28:41] local.INFO: TCP Data received {"connection_id":122947,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:28:41] local.INFO: Processing buffer {"connection_id":122947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:28:41] local.INFO: Packet analysis {"connection_id":122947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:28:41] local.INFO: Extracted packet for processing {"connection_id":122947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:28:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518077952001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:28:41] 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-07-05 23:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783274043000,"timestamp_ms":1783274043000,"timestamp_seconds":1783274043,"priority":1,"record_length":96,"hex_timestamp":"0000019f336a7678"} 
[2026-07-05 23:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:28: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-07-05 23:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518077952001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518077952001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:28:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518077952001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":122947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:28:41] local.INFO: GPS data processed {"connection_id":122947,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:28:41] local.INFO: Acknowledgment sent {"connection_id":122947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:29:03] local.INFO: TCP Data received {"connection_id":123616,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:29:03] local.INFO: Processing buffer {"connection_id":123616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:29:03] local.INFO: IMEI packet received {"connection_id":123616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":123616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:29:09] local.INFO: TCP Data received {"connection_id":123616,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:29:09] local.INFO: Processing buffer {"connection_id":123616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:29:09] local.INFO: IMEI packet received {"connection_id":123616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":123616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:29:10] local.INFO: TCP Data received {"connection_id":123616,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:29:10] local.INFO: Processing buffer {"connection_id":123616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:29:10] local.INFO: Packet analysis {"connection_id":123616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:29:10] local.INFO: Extracted packet for processing {"connection_id":123616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:29:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518077952001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:29:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:29:10] 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-07-05 23:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783274043000,"timestamp_ms":1783274043000,"timestamp_seconds":1783274043,"priority":1,"record_length":96,"hex_timestamp":"0000019f336a7678"} 
[2026-07-05 23:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518077952001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518077952001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:29:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:29:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518077952001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":123616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:29:10] local.INFO: GPS data processed {"connection_id":123616,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:29:10] local.INFO: Acknowledgment sent {"connection_id":123616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:29:41] local.INFO: TCP Data received {"connection_id":123616,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:29:41] local.INFO: Processing buffer {"connection_id":123616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336a7678012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:29:41] local.INFO: Packet analysis {"connection_id":123616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:29:41] local.INFO: Extracted packet for processing {"connection_id":123616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336a"} 
[2026-07-05 23:29:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518077952001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:29:41] 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-07-05 23:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783274043000,"timestamp_ms":1783274043000,"timestamp_seconds":1783274043,"priority":1,"record_length":96,"hex_timestamp":"0000019f336a7678"} 
[2026-07-05 23:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-05 23:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518077952001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518077952001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:29:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:29:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518077952001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":123616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:29:41] local.INFO: GPS data processed {"connection_id":123616,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:29:41] local.INFO: Acknowledgment sent {"connection_id":123616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:30:03] local.INFO: TCP Data received {"connection_id":122948,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:30:03] local.INFO: Processing buffer {"connection_id":122948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:30:03] local.INFO: IMEI packet received {"connection_id":122948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":122948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:30:09] local.INFO: TCP Data received {"connection_id":122948,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:30:09] local.INFO: Processing buffer {"connection_id":122948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:30:09] local.INFO: IMEI packet received {"connection_id":122948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":122948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:30:10] local.INFO: TCP Data received {"connection_id":122948,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:30:10] local.INFO: Processing buffer {"connection_id":122948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:30:10] local.INFO: Packet analysis {"connection_id":122948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:30:10] local.INFO: Extracted packet for processing {"connection_id":122948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:30:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518155008001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:30:10] 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-07-05 23:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783274344000,"timestamp_ms":1783274344000,"timestamp_seconds":1783274344,"priority":1,"record_length":96,"hex_timestamp":"0000019f336f0e40"} 
[2026-07-05 23:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518155008001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518155008001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:30:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518155008001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":122948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:30:10] local.INFO: GPS data processed {"connection_id":122948,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:30:10] local.INFO: Acknowledgment sent {"connection_id":122948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:30:41] local.INFO: TCP Data received {"connection_id":122948,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:30:41] local.INFO: Processing buffer {"connection_id":122948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:30:41] local.INFO: Packet analysis {"connection_id":122948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:30:41] local.INFO: Extracted packet for processing {"connection_id":122948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:30:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518155008001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:30:41] 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-07-05 23:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783274344000,"timestamp_ms":1783274344000,"timestamp_seconds":1783274344,"priority":1,"record_length":96,"hex_timestamp":"0000019f336f0e40"} 
[2026-07-05 23:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:30: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-07-05 23: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-07-05 23:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518155008001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518155008001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:30:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518155008001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":122948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:30:41] local.INFO: GPS data processed {"connection_id":122948,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:30:41] local.INFO: Acknowledgment sent {"connection_id":122948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:31:09] local.INFO: TCP Data received {"connection_id":122883,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:31:09] local.INFO: Processing buffer {"connection_id":122883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:31:09] local.INFO: IMEI packet received {"connection_id":122883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":122883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:31:14] local.INFO: TCP Data received {"connection_id":122883,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:31:14] local.INFO: Processing buffer {"connection_id":122883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:31:14] local.INFO: IMEI packet received {"connection_id":122883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":122883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:31:19] local.INFO: TCP Data received {"connection_id":122883,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:31:19] local.INFO: Processing buffer {"connection_id":122883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:31:19] local.INFO: IMEI packet received {"connection_id":122883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":122883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:31:20] local.INFO: TCP Data received {"connection_id":122883,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:31:20] local.INFO: Processing buffer {"connection_id":122883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:31:20] local.INFO: Packet analysis {"connection_id":122883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:31:20] local.INFO: Extracted packet for processing {"connection_id":122883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:31:20] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518155008001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:31:20] 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-07-05 23:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1783274344000,"timestamp_ms":1783274344000,"timestamp_seconds":1783274344,"priority":1,"record_length":96,"hex_timestamp":"0000019f336f0e40"} 
[2026-07-05 23:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:31:20] 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-07-05 23:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":122883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":122883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":122883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518155008001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518155008001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:31:20] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518155008001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":122883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:31:20] local.INFO: GPS data processed {"connection_id":122883,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:31:20] local.INFO: Acknowledgment sent {"connection_id":122883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:31:24] local.INFO: TCP Data received {"connection_id":122883,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:31:24] local.INFO: Processing buffer {"connection_id":122883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:31:24] local.INFO: Packet analysis {"connection_id":122883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:31:24] local.INFO: Extracted packet for processing {"connection_id":122883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:31:24] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518155008001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:31:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:31:24] 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-07-05 23:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1783274344000,"timestamp_ms":1783274344000,"timestamp_seconds":1783274344,"priority":1,"record_length":96,"hex_timestamp":"0000019f336f0e40"} 
[2026-07-05 23:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:31:24] 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-07-05 23:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":122883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":122883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":122883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518155008001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518155008001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:31:24] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:31:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:31:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518155008001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":122883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:31:24] local.INFO: GPS data processed {"connection_id":122883,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:31:24] local.INFO: Acknowledgment sent {"connection_id":122883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:31:43] local.INFO: TCP Data received {"connection_id":124858,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:31:43] local.INFO: Processing buffer {"connection_id":124858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:31:43] local.INFO: IMEI packet received {"connection_id":124858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":124858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:32:03] local.INFO: TCP Data received {"connection_id":124860,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:32:03] local.INFO: Processing buffer {"connection_id":124860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:32:03] local.INFO: IMEI packet received {"connection_id":124860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":124860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:32:04] local.INFO: TCP Data received {"connection_id":124859,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:32:04] local.INFO: Processing buffer {"connection_id":124859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:32:04] local.INFO: IMEI packet received {"connection_id":124859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":124859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:32:09] local.INFO: TCP Data received {"connection_id":124859,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:32:09] local.INFO: Processing buffer {"connection_id":124859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:32:09] local.INFO: IMEI packet received {"connection_id":124859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":124859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:32:10] local.INFO: TCP Data received {"connection_id":124859,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:32:10] local.INFO: Processing buffer {"connection_id":124859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:32:10] local.INFO: Packet analysis {"connection_id":124859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:32:10] local.INFO: Extracted packet for processing {"connection_id":124859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:32:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518155008001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:32:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:32:10] 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-07-05 23:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783274344000,"timestamp_ms":1783274344000,"timestamp_seconds":1783274344,"priority":1,"record_length":96,"hex_timestamp":"0000019f336f0e40"} 
[2026-07-05 23:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518155008001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518155008001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:32:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:32:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:32:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518155008001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":124859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:32:10] local.INFO: GPS data processed {"connection_id":124859,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:32:10] local.INFO: Acknowledgment sent {"connection_id":124859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:32:14] local.INFO: TCP Data received {"connection_id":124859,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:32:14] local.INFO: Processing buffer {"connection_id":124859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:32:14] local.INFO: Packet analysis {"connection_id":124859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:32:14] local.INFO: Extracted packet for processing {"connection_id":124859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:32:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518155008001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:32:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:32:14] 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-07-05 23:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783274344000,"timestamp_ms":1783274344000,"timestamp_seconds":1783274344,"priority":1,"record_length":96,"hex_timestamp":"0000019f336f0e40"} 
[2026-07-05 23:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:32:14] 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-07-05 23:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518155008001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518155008001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:32:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:32:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518155008001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":124859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:32:14] local.INFO: GPS data processed {"connection_id":124859,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:32:14] local.INFO: Acknowledgment sent {"connection_id":124859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:32:45] local.INFO: TCP Data received {"connection_id":124859,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:32:45] local.INFO: Processing buffer {"connection_id":124859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:32:45] local.INFO: Packet analysis {"connection_id":124859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:32:45] local.INFO: Extracted packet for processing {"connection_id":124859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:32:45] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518155008001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:32:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:32:45] 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-07-05 23:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1783274344000,"timestamp_ms":1783274344000,"timestamp_seconds":1783274344,"priority":1,"record_length":96,"hex_timestamp":"0000019f336f0e40"} 
[2026-07-05 23:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:32:45] 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-07-05 23:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":124859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":124859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":124859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518155008001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518155008001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:32:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:32:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518155008001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":124859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:32:45] local.INFO: GPS data processed {"connection_id":124859,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:32:45] local.INFO: Acknowledgment sent {"connection_id":124859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:33:03] local.INFO: TCP Data received {"connection_id":123619,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:33:03] local.INFO: Processing buffer {"connection_id":123619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:33:03] local.INFO: IMEI packet received {"connection_id":123619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":123619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:33:09] local.INFO: TCP Data received {"connection_id":123619,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:33:09] local.INFO: Processing buffer {"connection_id":123619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:33:09] local.INFO: IMEI packet received {"connection_id":123619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":123619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:33:10] local.INFO: TCP Data received {"connection_id":123619,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:33:10] local.INFO: Processing buffer {"connection_id":123619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:33:10] local.INFO: Packet analysis {"connection_id":123619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:33:10] local.INFO: Extracted packet for processing {"connection_id":123619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:33:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518155008001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:33:10] 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-07-05 23:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783274344000,"timestamp_ms":1783274344000,"timestamp_seconds":1783274344,"priority":1,"record_length":96,"hex_timestamp":"0000019f336f0e40"} 
[2026-07-05 23:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518155008001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518155008001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:33:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518155008001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":123619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:33:10] local.INFO: GPS data processed {"connection_id":123619,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:33:10] local.INFO: Acknowledgment sent {"connection_id":123619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:33:41] local.INFO: TCP Data received {"connection_id":123619,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:33:41] local.INFO: Processing buffer {"connection_id":123619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:33:41] local.INFO: Packet analysis {"connection_id":123619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:33:41] local.INFO: Extracted packet for processing {"connection_id":123619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:33:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518155008001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:33:41] 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-07-05 23:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783274344000,"timestamp_ms":1783274344000,"timestamp_seconds":1783274344,"priority":1,"record_length":96,"hex_timestamp":"0000019f336f0e40"} 
[2026-07-05 23:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:33: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-07-05 23: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-07-05 23:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518155008001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518155008001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:33:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:33:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518155008001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":123619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:33:41] local.INFO: GPS data processed {"connection_id":123619,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:33:41] local.INFO: Acknowledgment sent {"connection_id":123619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:34:03] local.INFO: TCP Data received {"connection_id":123620,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:34:03] local.INFO: Processing buffer {"connection_id":123620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:34:03] local.INFO: IMEI packet received {"connection_id":123620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":123620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:34:09] local.INFO: TCP Data received {"connection_id":123620,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:34:09] local.INFO: Processing buffer {"connection_id":123620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:34:09] local.INFO: IMEI packet received {"connection_id":123620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":123620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:34:10] local.INFO: TCP Data received {"connection_id":123620,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:34:10] local.INFO: Processing buffer {"connection_id":123620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:34:10] local.INFO: Packet analysis {"connection_id":123620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:34:10] local.INFO: Extracted packet for processing {"connection_id":123620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:34:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518155008001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:34:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:34:10] 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-07-05 23:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783274344000,"timestamp_ms":1783274344000,"timestamp_seconds":1783274344,"priority":1,"record_length":96,"hex_timestamp":"0000019f336f0e40"} 
[2026-07-05 23:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518155008001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518155008001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:34:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:34:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:34:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518155008001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":123620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:34:10] local.INFO: GPS data processed {"connection_id":123620,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:34:10] local.INFO: Acknowledgment sent {"connection_id":123620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:34:41] local.INFO: TCP Data received {"connection_id":123620,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:34:41] local.INFO: Processing buffer {"connection_id":123620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f336f0e40012cb2a24007823a68004c00c92b..."} 
[2026-07-05 23:34:41] local.INFO: Packet analysis {"connection_id":123620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:34:41] local.INFO: Extracted packet for processing {"connection_id":123620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f336f"} 
[2026-07-05 23:34:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":76,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518155008001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:34:41] 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-07-05 23:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783274344000,"timestamp_ms":1783274344000,"timestamp_seconds":1783274344,"priority":1,"record_length":96,"hex_timestamp":"0000019f336f0e40"} 
[2026-07-05 23:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23: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-07-05 23: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-07-05 23:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518155008001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518155008001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:34:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:34:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518155008001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":123620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:34:41] local.INFO: GPS data processed {"connection_id":123620,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:34:41] local.INFO: Acknowledgment sent {"connection_id":123620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:35:08] local.INFO: TCP Data received {"connection_id":122949,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:35:08] local.INFO: Processing buffer {"connection_id":122949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:35:08] local.INFO: IMEI packet received {"connection_id":122949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":122949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:35:14] local.INFO: TCP Data received {"connection_id":122949,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:35:14] local.INFO: Processing buffer {"connection_id":122949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:35:14] local.INFO: IMEI packet received {"connection_id":122949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":122949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:35:15] local.INFO: TCP Data received {"connection_id":122949,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:35:15] local.INFO: Processing buffer {"connection_id":122949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:35:15] local.INFO: Packet analysis {"connection_id":122949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:35:15] local.INFO: Extracted packet for processing {"connection_id":122949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:35:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":78,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:35: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-07-05 23:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518232064001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:35:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:35:15] 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-07-05 23:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783274645000,"timestamp_ms":1783274645000,"timestamp_seconds":1783274645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3373a608"} 
[2026-07-05 23:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:35: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-07-05 23:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518232064001,"66":25201,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518232064001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:35:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:35:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:35:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518232064001,"power":25201,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":122949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:35:15] local.INFO: GPS data processed {"connection_id":122949,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:35:15] local.INFO: Acknowledgment sent {"connection_id":122949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:35:49] local.INFO: TCP Data received {"connection_id":122949,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:35:49] local.INFO: Processing buffer {"connection_id":122949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:35:49] local.INFO: Packet analysis {"connection_id":122949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:35:49] local.INFO: Extracted packet for processing {"connection_id":122949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:35:49] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":78,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518232064001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:35:49] 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-07-05 23:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1783274645000,"timestamp_ms":1783274645000,"timestamp_seconds":1783274645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3373a608"} 
[2026-07-05 23:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":122949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":122949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":122949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518232064001,"66":25201,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518232064001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:35:49] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:35:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518232064001,"power":25201,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":122949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:35:49] local.INFO: GPS data processed {"connection_id":122949,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:35:49] local.INFO: Acknowledgment sent {"connection_id":122949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:36:03] local.INFO: TCP Data received {"connection_id":122950,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:36:03] local.INFO: Processing buffer {"connection_id":122950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:36:03] local.INFO: IMEI packet received {"connection_id":122950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":122950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:36:09] local.INFO: TCP Data received {"connection_id":122950,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:36:09] local.INFO: Processing buffer {"connection_id":122950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:36:09] local.INFO: IMEI packet received {"connection_id":122950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":122950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:36:10] local.INFO: TCP Data received {"connection_id":122950,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:36:10] local.INFO: Processing buffer {"connection_id":122950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:36:10] local.INFO: Packet analysis {"connection_id":122950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:36:10] local.INFO: Extracted packet for processing {"connection_id":122950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:36:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":78,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518232064001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:36:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:36:10] 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-07-05 23:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783274645000,"timestamp_ms":1783274645000,"timestamp_seconds":1783274645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3373a608"} 
[2026-07-05 23:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518232064001,"66":25201,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518232064001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:36:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:36:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518232064001,"power":25201,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":122950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:36:10] local.INFO: GPS data processed {"connection_id":122950,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:36:10] local.INFO: Acknowledgment sent {"connection_id":122950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:36:41] local.INFO: TCP Data received {"connection_id":122950,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:36:41] local.INFO: Processing buffer {"connection_id":122950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:36:41] local.INFO: Packet analysis {"connection_id":122950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:36:41] local.INFO: Extracted packet for processing {"connection_id":122950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:36:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":78,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518232064001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:36:41] 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-07-05 23:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783274645000,"timestamp_ms":1783274645000,"timestamp_seconds":1783274645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3373a608"} 
[2026-07-05 23:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:36: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-07-05 23: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-07-05 23:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518232064001,"66":25201,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518232064001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:36:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:36:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518232064001,"power":25201,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":122950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:36:41] local.INFO: GPS data processed {"connection_id":122950,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:36:41] local.INFO: Acknowledgment sent {"connection_id":122950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:37:03] local.INFO: TCP Data received {"connection_id":122884,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:37:03] local.INFO: Processing buffer {"connection_id":122884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:37:03] local.INFO: IMEI packet received {"connection_id":122884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":122884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:37:08] local.INFO: TCP Data received {"connection_id":122884,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:37:08] local.INFO: Processing buffer {"connection_id":122884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:37:08] local.INFO: IMEI packet received {"connection_id":122884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":122884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:37:09] local.INFO: TCP Data received {"connection_id":122884,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:37:09] local.INFO: Processing buffer {"connection_id":122884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:37:09] local.INFO: Packet analysis {"connection_id":122884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:37:09] local.INFO: Extracted packet for processing {"connection_id":122884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:37:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":78,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518232064001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:37:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:37:09] 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-07-05 23:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783274645000,"timestamp_ms":1783274645000,"timestamp_seconds":1783274645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3373a608"} 
[2026-07-05 23:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518232064001,"66":25201,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518232064001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:37:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:37:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518232064001,"power":25201,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":122884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:37:09] local.INFO: GPS data processed {"connection_id":122884,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:37:09] local.INFO: Acknowledgment sent {"connection_id":122884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:37:18] local.INFO: TCP Data received {"connection_id":124863,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:37:18] local.INFO: Processing buffer {"connection_id":124863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:37:18] local.INFO: IMEI packet received {"connection_id":124863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":124863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:37:41] local.INFO: TCP Data received {"connection_id":122884,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:37:41] local.INFO: Processing buffer {"connection_id":122884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:37:41] local.INFO: Packet analysis {"connection_id":122884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:37:41] local.INFO: Extracted packet for processing {"connection_id":122884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:37:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":78,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518232064001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:37:41] 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-07-05 23:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783274645000,"timestamp_ms":1783274645000,"timestamp_seconds":1783274645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3373a608"} 
[2026-07-05 23:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23: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-07-05 23: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-07-05 23:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518232064001,"66":25201,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518232064001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:37:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518232064001,"power":25201,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":122884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:37:41] local.INFO: GPS data processed {"connection_id":122884,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:37:41] local.INFO: Acknowledgment sent {"connection_id":122884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:38:03] local.INFO: TCP Data received {"connection_id":123621,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:38:03] local.INFO: Processing buffer {"connection_id":123621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:38:03] local.INFO: IMEI packet received {"connection_id":123621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":123621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:38:09] local.INFO: TCP Data received {"connection_id":122952,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:38:09] local.INFO: Processing buffer {"connection_id":122952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:38:09] local.INFO: IMEI packet received {"connection_id":122952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":122952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:38:14] local.INFO: TCP Data received {"connection_id":122952,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:38:14] local.INFO: Processing buffer {"connection_id":122952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:38:14] local.INFO: IMEI packet received {"connection_id":122952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":122952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:38:15] local.INFO: TCP Data received {"connection_id":122952,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:38:15] local.INFO: Processing buffer {"connection_id":122952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:38:15] local.INFO: Packet analysis {"connection_id":122952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:38:15] local.INFO: Extracted packet for processing {"connection_id":122952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:38:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":78,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518232064001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:38:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:38:15] 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-07-05 23:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783274645000,"timestamp_ms":1783274645000,"timestamp_seconds":1783274645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3373a608"} 
[2026-07-05 23:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518232064001,"66":25201,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518232064001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:38:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:38:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:38:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518232064001,"power":25201,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":122952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:38:15] local.INFO: GPS data processed {"connection_id":122952,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:38:15] local.INFO: Acknowledgment sent {"connection_id":122952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:38:19] local.INFO: TCP Data received {"connection_id":122952,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:38:19] local.INFO: Processing buffer {"connection_id":122952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:38:19] local.INFO: Packet analysis {"connection_id":122952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:38:19] local.INFO: Extracted packet for processing {"connection_id":122952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:38:19] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":78,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518232064001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:38:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:38:19] 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-07-05 23:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1783274645000,"timestamp_ms":1783274645000,"timestamp_seconds":1783274645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3373a608"} 
[2026-07-05 23:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:38: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-07-05 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":122952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":122952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":122952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518232064001,"66":25201,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518232064001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:38:19] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:38:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518232064001,"power":25201,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":122952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:38:19] local.INFO: GPS data processed {"connection_id":122952,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:38:19] local.INFO: Acknowledgment sent {"connection_id":122952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:39:03] local.INFO: TCP Data received {"connection_id":124865,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:39:03] local.INFO: Processing buffer {"connection_id":124865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:39:03] local.INFO: IMEI packet received {"connection_id":124865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":124865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:39:09] local.INFO: TCP Data received {"connection_id":124865,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:39:09] local.INFO: Processing buffer {"connection_id":124865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:39:09] local.INFO: IMEI packet received {"connection_id":124865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":124865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:39:10] local.INFO: TCP Data received {"connection_id":124865,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:39:10] local.INFO: Processing buffer {"connection_id":124865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:39:10] local.INFO: Packet analysis {"connection_id":124865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:39:10] local.INFO: Extracted packet for processing {"connection_id":124865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:39:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":78,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518232064001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:39:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:39:10] 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-07-05 23:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783274645000,"timestamp_ms":1783274645000,"timestamp_seconds":1783274645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3373a608"} 
[2026-07-05 23:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518232064001,"66":25201,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518232064001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:39:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:39:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:39:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518232064001,"power":25201,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":124865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:39:10] local.INFO: GPS data processed {"connection_id":124865,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:39:10] local.INFO: Acknowledgment sent {"connection_id":124865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:39:41] local.INFO: TCP Data received {"connection_id":124865,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:39:41] local.INFO: Processing buffer {"connection_id":124865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f3373a608012cb2a24007823a68004e00c92d..."} 
[2026-07-05 23:39:41] local.INFO: Packet analysis {"connection_id":124865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:39:41] local.INFO: Extracted packet for processing {"connection_id":124865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3373"} 
[2026-07-05 23:39:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":78,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518232064001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:39:41] 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-07-05 23:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783274645000,"timestamp_ms":1783274645000,"timestamp_seconds":1783274645,"priority":1,"record_length":96,"hex_timestamp":"0000019f3373a608"} 
[2026-07-05 23:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:39: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-07-05 23: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-07-05 23:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518232064001,"66":25201,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518232064001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:39:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:39:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518232064001,"power":25201,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":124865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:39:41] local.INFO: GPS data processed {"connection_id":124865,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:39:41] local.INFO: Acknowledgment sent {"connection_id":124865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:40:04] local.INFO: TCP Data received {"connection_id":122886,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:40:04] local.INFO: Processing buffer {"connection_id":122886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:40:04] local.INFO: IMEI packet received {"connection_id":122886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":122886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:40:08] local.INFO: TCP Data received {"connection_id":122886,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:40:08] local.INFO: Processing buffer {"connection_id":122886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:40:08] local.INFO: IMEI packet received {"connection_id":122886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":122886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:40:09] local.INFO: TCP Data received {"connection_id":122886,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:40:09] local.INFO: Processing buffer {"connection_id":122886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:40:09] local.INFO: Packet analysis {"connection_id":122886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:40:09] local.INFO: Extracted packet for processing {"connection_id":122886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:40:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518309120001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:40:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:40:09] 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-07-05 23:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783274946000,"timestamp_ms":1783274946000,"timestamp_seconds":1783274946,"priority":1,"record_length":96,"hex_timestamp":"0000019f33783dd0"} 
[2026-07-05 23:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 23:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518309120001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518309120001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:40:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:40:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518309120001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":122886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:40:09] local.INFO: GPS data processed {"connection_id":122886,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:40:09] local.INFO: Acknowledgment sent {"connection_id":122886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:40:40] local.INFO: TCP Data received {"connection_id":122886,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:40:40] local.INFO: Processing buffer {"connection_id":122886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:40:40] local.INFO: Packet analysis {"connection_id":122886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:40:40] local.INFO: Extracted packet for processing {"connection_id":122886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:40:40] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518309120001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:40:40] 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-07-05 23:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1783274946000,"timestamp_ms":1783274946000,"timestamp_seconds":1783274946,"priority":1,"record_length":96,"hex_timestamp":"0000019f33783dd0"} 
[2026-07-05 23:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 23:40:40] 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-07-05 23: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-07-05 23:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":122886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":122886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":122886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518309120001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518309120001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:40:40] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:40:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518309120001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":122886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:40:40] local.INFO: GPS data processed {"connection_id":122886,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:40:40] local.INFO: Acknowledgment sent {"connection_id":122886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:41:03] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:41:03] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:41:03] local.INFO: IMEI packet received {"connection_id":124866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":124866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:41:13] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:41:13] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:41:13] local.INFO: IMEI packet received {"connection_id":124866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":124866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:41:14] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:41:14] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:41:14] local.INFO: Packet analysis {"connection_id":124866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:41:14] local.INFO: Extracted packet for processing {"connection_id":124866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:41:14] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518309120001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:41:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:41:14] 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-07-05 23:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1783274946000,"timestamp_ms":1783274946000,"timestamp_seconds":1783274946,"priority":1,"record_length":96,"hex_timestamp":"0000019f33783dd0"} 
[2026-07-05 23:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 23:41:14] 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-07-05 23:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":124866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":124866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":124866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518309120001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518309120001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:41:14] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:41:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:41:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518309120001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":124866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:41:14] local.INFO: GPS data processed {"connection_id":124866,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:41:14] local.INFO: Acknowledgment sent {"connection_id":124866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:41:47] local.INFO: TCP Data received {"connection_id":124866,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:41:47] local.INFO: Processing buffer {"connection_id":124866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:41:47] local.INFO: Packet analysis {"connection_id":124866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:41:47] local.INFO: Extracted packet for processing {"connection_id":124866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:41:47] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518309120001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:41:47] 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-07-05 23:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1783274946000,"timestamp_ms":1783274946000,"timestamp_seconds":1783274946,"priority":1,"record_length":96,"hex_timestamp":"0000019f33783dd0"} 
[2026-07-05 23:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 23:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":124866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":124866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":124866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518309120001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518309120001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:41:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:41:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518309120001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":124866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:41:47] local.INFO: GPS data processed {"connection_id":124866,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:41:47] local.INFO: Acknowledgment sent {"connection_id":124866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:42:09] local.INFO: TCP Data received {"connection_id":124868,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:42:09] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:42:09] local.INFO: IMEI packet received {"connection_id":124868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":124868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:42:14] local.INFO: TCP Data received {"connection_id":124868,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:42:14] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:42:14] local.INFO: IMEI packet received {"connection_id":124868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":124868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:42:15] local.INFO: TCP Data received {"connection_id":124868,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:42:15] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:42:15] local.INFO: Packet analysis {"connection_id":124868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:42:15] local.INFO: Extracted packet for processing {"connection_id":124868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:42:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518309120001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:42:15] 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-07-05 23:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783274946000,"timestamp_ms":1783274946000,"timestamp_seconds":1783274946,"priority":1,"record_length":96,"hex_timestamp":"0000019f33783dd0"} 
[2026-07-05 23:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 23:42:15] 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-07-05 23:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":124868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518309120001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518309120001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:42:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:42:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518309120001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":124868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:42:15] local.INFO: GPS data processed {"connection_id":124868,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:42:15] local.INFO: Acknowledgment sent {"connection_id":124868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:42:46] local.INFO: TCP Data received {"connection_id":124868,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:42:46] local.INFO: Processing buffer {"connection_id":124868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:42:46] local.INFO: Packet analysis {"connection_id":124868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:42:46] local.INFO: Extracted packet for processing {"connection_id":124868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:42:46] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518309120001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:42:46] 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-07-05 23:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1783274946000,"timestamp_ms":1783274946000,"timestamp_seconds":1783274946,"priority":1,"record_length":96,"hex_timestamp":"0000019f33783dd0"} 
[2026-07-05 23:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 23:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":124868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":124868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518309120001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518309120001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:42:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:42:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518309120001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":124868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:42:46] local.INFO: GPS data processed {"connection_id":124868,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:42:46] local.INFO: Acknowledgment sent {"connection_id":124868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:43:03] local.INFO: TCP Data received {"connection_id":122890,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:43:03] local.INFO: Processing buffer {"connection_id":122890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:43:03] local.INFO: IMEI packet received {"connection_id":122890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":122890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:43:09] local.INFO: TCP Data received {"connection_id":122890,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:43:09] local.INFO: Processing buffer {"connection_id":122890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:43:09] local.INFO: IMEI packet received {"connection_id":122890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":122890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:43:10] local.INFO: TCP Data received {"connection_id":122890,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:43:10] local.INFO: Processing buffer {"connection_id":122890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:43:10] local.INFO: Packet analysis {"connection_id":122890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:43:10] local.INFO: Extracted packet for processing {"connection_id":122890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:43:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518309120001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:43:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:43:10] 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-07-05 23:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783274946000,"timestamp_ms":1783274946000,"timestamp_seconds":1783274946,"priority":1,"record_length":96,"hex_timestamp":"0000019f33783dd0"} 
[2026-07-05 23:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 23:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518309120001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518309120001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:43:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:43:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:43:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518309120001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":122890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:43:10] local.INFO: GPS data processed {"connection_id":122890,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:43:10] local.INFO: Acknowledgment sent {"connection_id":122890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:43:18] local.INFO: TCP Data received {"connection_id":122889,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:43:18] local.INFO: Processing buffer {"connection_id":122889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:43:18] local.INFO: IMEI packet received {"connection_id":122889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":122889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:43:41] local.INFO: TCP Data received {"connection_id":122890,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:43:41] local.INFO: Processing buffer {"connection_id":122890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:43:41] local.INFO: Packet analysis {"connection_id":122890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:43:41] local.INFO: Extracted packet for processing {"connection_id":122890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:43:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518309120001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:43:41] 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-07-05 23:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783274946000,"timestamp_ms":1783274946000,"timestamp_seconds":1783274946,"priority":1,"record_length":96,"hex_timestamp":"0000019f33783dd0"} 
[2026-07-05 23:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":113,"data_length":795,"current_offset":136} 
[2026-07-05 23:43: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-07-05 23: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-07-05 23:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518309120001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518309120001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:43:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:43:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518309120001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":122890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:43:41] local.INFO: GPS data processed {"connection_id":122890,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:43:41] local.INFO: Acknowledgment sent {"connection_id":122890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:44:03] local.INFO: TCP Data received {"connection_id":124869,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:44:03] local.INFO: Processing buffer {"connection_id":124869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:44:03] local.INFO: IMEI packet received {"connection_id":124869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":124869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:44:03] local.INFO: TCP Data received {"connection_id":124870,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:44:03] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:44:03] local.INFO: IMEI packet received {"connection_id":124870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":124870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:44:09] local.INFO: TCP Data received {"connection_id":124870,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:44:09] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:44:09] local.INFO: IMEI packet received {"connection_id":124870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":124870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:44:10] local.INFO: TCP Data received {"connection_id":124870,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:44:10] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:44:10] local.INFO: Packet analysis {"connection_id":124870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:44:10] local.INFO: Extracted packet for processing {"connection_id":124870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:44:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518309120001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:44:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:44:10] 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-07-05 23:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783274946000,"timestamp_ms":1783274946000,"timestamp_seconds":1783274946,"priority":1,"record_length":96,"hex_timestamp":"0000019f33783dd0"} 
[2026-07-05 23:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-05 23:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518309120001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518309120001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:44:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:44:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518309120001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":124870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:44:10] local.INFO: GPS data processed {"connection_id":124870,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:44:10] local.INFO: Acknowledgment sent {"connection_id":124870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:44:41] local.INFO: TCP Data received {"connection_id":124870,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:44:41] local.INFO: Processing buffer {"connection_id":124870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33783dd0012cb2a24007823a68004700c92d..."} 
[2026-07-05 23:44:41] local.INFO: Packet analysis {"connection_id":124870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:44:41] local.INFO: Extracted packet for processing {"connection_id":124870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3378"} 
[2026-07-05 23:44:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":71,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518309120001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:44:41] 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-07-05 23:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783274946000,"timestamp_ms":1783274946000,"timestamp_seconds":1783274946,"priority":1,"record_length":96,"hex_timestamp":"0000019f33783dd0"} 
[2026-07-05 23:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":113,"data_length":795,"current_offset":136} 
[2026-07-05 23:44: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-07-05 23: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-07-05 23:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518309120001,"66":25288,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518309120001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:44:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:44:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518309120001,"power":25288,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":124870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:44:41] local.INFO: GPS data processed {"connection_id":124870,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:44:41] local.INFO: Acknowledgment sent {"connection_id":124870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:45:03] local.INFO: TCP Data received {"connection_id":123622,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:45:03] local.INFO: Processing buffer {"connection_id":123622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:45:03] local.INFO: IMEI packet received {"connection_id":123622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":123622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:45:09] local.INFO: TCP Data received {"connection_id":123622,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:45:09] local.INFO: Processing buffer {"connection_id":123622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:45:09] local.INFO: IMEI packet received {"connection_id":123622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":123622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:45:10] local.INFO: TCP Data received {"connection_id":123622,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:45:10] local.INFO: Processing buffer {"connection_id":123622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:45:10] local.INFO: Packet analysis {"connection_id":123622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:45:10] local.INFO: Extracted packet for processing {"connection_id":123622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:45:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518386176001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:45:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:45:10] 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-07-05 23:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783275247000,"timestamp_ms":1783275247000,"timestamp_seconds":1783275247,"priority":1,"record_length":96,"hex_timestamp":"0000019f337cd598"} 
[2026-07-05 23:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 23:45: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-07-05 23:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518386176001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518386176001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:45:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:45:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518386176001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":123622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:45:10] local.INFO: GPS data processed {"connection_id":123622,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:45:10] local.INFO: Acknowledgment sent {"connection_id":123622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:45:41] local.INFO: TCP Data received {"connection_id":123622,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:45:41] local.INFO: Processing buffer {"connection_id":123622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:45:41] local.INFO: Packet analysis {"connection_id":123622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:45:41] local.INFO: Extracted packet for processing {"connection_id":123622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:45:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518386176001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:45:41] 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-07-05 23:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783275247000,"timestamp_ms":1783275247000,"timestamp_seconds":1783275247,"priority":1,"record_length":96,"hex_timestamp":"0000019f337cd598"} 
[2026-07-05 23:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23: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":200,"data_length":795,"current_offset":136} 
[2026-07-05 23:45: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-07-05 23: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-07-05 23:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518386176001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518386176001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:45:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518386176001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":123622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:45:41] local.INFO: GPS data processed {"connection_id":123622,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:45:41] local.INFO: Acknowledgment sent {"connection_id":123622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:46:04] local.INFO: TCP Data received {"connection_id":122892,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:46:04] local.INFO: Processing buffer {"connection_id":122892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:46:04] local.INFO: IMEI packet received {"connection_id":122892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":122892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:46:08] local.INFO: TCP Data received {"connection_id":122892,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:46:08] local.INFO: Processing buffer {"connection_id":122892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:46:08] local.INFO: IMEI packet received {"connection_id":122892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":122892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:46:34] local.INFO: TCP Data received {"connection_id":122892,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:46:34] local.INFO: Processing buffer {"connection_id":122892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:46:34] local.INFO: Packet analysis {"connection_id":122892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:46:34] local.INFO: Extracted packet for processing {"connection_id":122892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:46:34] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518386176001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:46:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:46:34] 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-07-05 23:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1783275247000,"timestamp_ms":1783275247000,"timestamp_seconds":1783275247,"priority":1,"record_length":96,"hex_timestamp":"0000019f337cd598"} 
[2026-07-05 23:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 23:46: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-07-05 23: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-07-05 23:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":122892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":122892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":122892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518386176001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518386176001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:46:34] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:46:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:46:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518386176001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":122892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:46:34] local.INFO: GPS data processed {"connection_id":122892,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:46:34] local.INFO: Acknowledgment sent {"connection_id":122892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:47:03] local.INFO: TCP Data received {"connection_id":122953,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:47:03] local.INFO: Processing buffer {"connection_id":122953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:47:03] local.INFO: IMEI packet received {"connection_id":122953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":122953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:47:09] local.INFO: TCP Data received {"connection_id":122953,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:47:09] local.INFO: Processing buffer {"connection_id":122953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:47:09] local.INFO: IMEI packet received {"connection_id":122953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":122953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:47:10] local.INFO: TCP Data received {"connection_id":122953,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:47:10] local.INFO: Processing buffer {"connection_id":122953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:47:10] local.INFO: Packet analysis {"connection_id":122953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:47:10] local.INFO: Extracted packet for processing {"connection_id":122953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:47:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518386176001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:47:10] 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-07-05 23:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783275247000,"timestamp_ms":1783275247000,"timestamp_seconds":1783275247,"priority":1,"record_length":96,"hex_timestamp":"0000019f337cd598"} 
[2026-07-05 23:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 23:47: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-07-05 23:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518386176001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518386176001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:47:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:47:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518386176001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":122953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:47:10] local.INFO: GPS data processed {"connection_id":122953,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:47:10] local.INFO: Acknowledgment sent {"connection_id":122953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:47:41] local.INFO: TCP Data received {"connection_id":122953,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:47:41] local.INFO: Processing buffer {"connection_id":122953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:47:41] local.INFO: Packet analysis {"connection_id":122953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:47:41] local.INFO: Extracted packet for processing {"connection_id":122953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:47:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518386176001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:47:41] 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-07-05 23:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783275247000,"timestamp_ms":1783275247000,"timestamp_seconds":1783275247,"priority":1,"record_length":96,"hex_timestamp":"0000019f337cd598"} 
[2026-07-05 23:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 23:47: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-07-05 23:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518386176001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518386176001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:47:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:47:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518386176001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":122953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:47:41] local.INFO: GPS data processed {"connection_id":122953,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:47:41] local.INFO: Acknowledgment sent {"connection_id":122953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:48:03] local.INFO: TCP Data received {"connection_id":122955,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:48:03] local.INFO: Processing buffer {"connection_id":122955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:48:03] local.INFO: IMEI packet received {"connection_id":122955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":122955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:48:09] local.INFO: TCP Data received {"connection_id":122955,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:48:09] local.INFO: Processing buffer {"connection_id":122955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:48:09] local.INFO: IMEI packet received {"connection_id":122955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":122955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:48:10] local.INFO: TCP Data received {"connection_id":122955,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:48:10] local.INFO: Processing buffer {"connection_id":122955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:48:10] local.INFO: Packet analysis {"connection_id":122955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:48:10] local.INFO: Extracted packet for processing {"connection_id":122955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:48:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518386176001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:48:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:48:10] 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-07-05 23:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783275247000,"timestamp_ms":1783275247000,"timestamp_seconds":1783275247,"priority":1,"record_length":96,"hex_timestamp":"0000019f337cd598"} 
[2026-07-05 23:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 23:48: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-07-05 23:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":122955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":122955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":122955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518386176001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518386176001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:48:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:48:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:48:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518386176001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":122955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:48:10] local.INFO: GPS data processed {"connection_id":122955,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:48:10] local.INFO: Acknowledgment sent {"connection_id":122955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:48:41] local.INFO: TCP Data received {"connection_id":122955,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:48:41] local.INFO: Processing buffer {"connection_id":122955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:48:41] local.INFO: Packet analysis {"connection_id":122955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:48:41] local.INFO: Extracted packet for processing {"connection_id":122955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:48:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 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-07-05 23:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518386176001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:48:41] 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-07-05 23:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783275247000,"timestamp_ms":1783275247000,"timestamp_seconds":1783275247,"priority":1,"record_length":96,"hex_timestamp":"0000019f337cd598"} 
[2026-07-05 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-07-05 23:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 23:48: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-07-05 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-07-05 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-07-05 23:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518386176001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518386176001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:48:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:48:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518386176001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":122955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:48:41] local.INFO: GPS data processed {"connection_id":122955,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:48:41] local.INFO: Acknowledgment sent {"connection_id":122955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:49:08] local.INFO: TCP Data received {"connection_id":122894,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:49:08] local.INFO: Processing buffer {"connection_id":122894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:49:08] local.INFO: IMEI packet received {"connection_id":122894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":122894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:49:14] local.INFO: TCP Data received {"connection_id":122894,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:49:14] local.INFO: Processing buffer {"connection_id":122894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:49:14] local.INFO: IMEI packet received {"connection_id":122894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":122894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:49:15] local.INFO: TCP Data received {"connection_id":122894,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:49:15] local.INFO: Processing buffer {"connection_id":122894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:49:15] local.INFO: Packet analysis {"connection_id":122894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:49:15] local.INFO: Extracted packet for processing {"connection_id":122894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:49:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:49: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-07-05 23:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518386176001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:49:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:49:15] 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-07-05 23:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783275247000,"timestamp_ms":1783275247000,"timestamp_seconds":1783275247,"priority":1,"record_length":96,"hex_timestamp":"0000019f337cd598"} 
[2026-07-05 23:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 23:49:15] 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-07-05 23:49: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-07-05 23:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":122894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":122894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":122894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518386176001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518386176001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:49:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:49:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:49:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518386176001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":122894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:49:15] local.INFO: GPS data processed {"connection_id":122894,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:49:15] local.INFO: Acknowledgment sent {"connection_id":122894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:49:22] local.INFO: TCP Data received {"connection_id":122894,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:49:22] local.INFO: Processing buffer {"connection_id":122894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f337cd598012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:49:22] local.INFO: Packet analysis {"connection_id":122894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:49:22] local.INFO: Extracted packet for processing {"connection_id":122894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f337c"} 
[2026-07-05 23:49:22] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518386176001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:49:22] 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-07-05 23:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1783275247000,"timestamp_ms":1783275247000,"timestamp_seconds":1783275247,"priority":1,"record_length":96,"hex_timestamp":"0000019f337cd598"} 
[2026-07-05 23:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-05 23:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":122894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":122894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":122894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518386176001,"66":25223,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518386176001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:49:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:49:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518386176001,"power":25223,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":122894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:49:22] local.INFO: GPS data processed {"connection_id":122894,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:49:22] local.INFO: Acknowledgment sent {"connection_id":122894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:49:24] local.INFO: TCP Data received {"connection_id":124871,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:49:24] local.INFO: Processing buffer {"connection_id":124871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:49:24] local.INFO: IMEI packet received {"connection_id":124871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":124871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:50:03] local.INFO: TCP Data received {"connection_id":123625,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:50:03] local.INFO: Processing buffer {"connection_id":123625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:50:03] local.INFO: IMEI packet received {"connection_id":123625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":123625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:50:04] local.INFO: TCP Data received {"connection_id":123626,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:50:04] local.INFO: Processing buffer {"connection_id":123626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:50:04] local.INFO: IMEI packet received {"connection_id":123626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":123626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:50:09] local.INFO: TCP Data received {"connection_id":123626,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:50:09] local.INFO: Processing buffer {"connection_id":123626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:50:09] local.INFO: IMEI packet received {"connection_id":123626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":123626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:50:10] local.INFO: TCP Data received {"connection_id":123626,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:50:10] local.INFO: Processing buffer {"connection_id":123626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:50:10] local.INFO: Packet analysis {"connection_id":123626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3381"} 
[2026-07-05 23:50:10] local.INFO: Extracted packet for processing {"connection_id":123626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3381"} 
[2026-07-05 23:50:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518463232001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:50:10] 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-07-05 23:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783275548000,"timestamp_ms":1783275548000,"timestamp_seconds":1783275548,"priority":1,"record_length":96,"hex_timestamp":"0000019f33816d60"} 
[2026-07-05 23:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:50:10] 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-07-05 23:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":123626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":123626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":123626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518463232001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518463232001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:50:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:50:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518463232001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":123626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:50:10] local.INFO: GPS data processed {"connection_id":123626,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:50:10] local.INFO: Acknowledgment sent {"connection_id":123626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:50:41] local.INFO: TCP Data received {"connection_id":123626,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:50:41] local.INFO: Processing buffer {"connection_id":123626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:50:41] local.INFO: Packet analysis {"connection_id":123626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3381"} 
[2026-07-05 23:50:41] local.INFO: Extracted packet for processing {"connection_id":123626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3381"} 
[2026-07-05 23:50:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518463232001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:50:41] 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-07-05 23:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783275548000,"timestamp_ms":1783275548000,"timestamp_seconds":1783275548,"priority":1,"record_length":96,"hex_timestamp":"0000019f33816d60"} 
[2026-07-05 23:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:50:41] 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-07-05 23: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:50: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-07-05 23: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-07-05 23:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":123626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":123626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":123626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518463232001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518463232001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:50:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:50:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518463232001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":123626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:50:41] local.INFO: GPS data processed {"connection_id":123626,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:50:41] local.INFO: Acknowledgment sent {"connection_id":123626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:51:03] local.INFO: TCP Data received {"connection_id":122895,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:51:03] local.INFO: Processing buffer {"connection_id":122895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:51:03] local.INFO: IMEI packet received {"connection_id":122895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":122895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:51:08] local.INFO: TCP Data received {"connection_id":122895,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:51:08] local.INFO: Processing buffer {"connection_id":122895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:51:08] local.INFO: IMEI packet received {"connection_id":122895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":122895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:51:09] local.INFO: TCP Data received {"connection_id":122895,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:51:09] local.INFO: Processing buffer {"connection_id":122895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:51:09] local.INFO: Packet analysis {"connection_id":122895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3381"} 
[2026-07-05 23:51:09] local.INFO: Extracted packet for processing {"connection_id":122895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3381"} 
[2026-07-05 23:51:09] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518463232001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:51:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:51:09] 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-07-05 23:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1783275548000,"timestamp_ms":1783275548000,"timestamp_seconds":1783275548,"priority":1,"record_length":96,"hex_timestamp":"0000019f33816d60"} 
[2026-07-05 23:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:51:09] 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-07-05 23:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":122895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":122895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":122895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518463232001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518463232001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:51:09] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:51:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:51:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518463232001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":122895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:51:09] local.INFO: GPS data processed {"connection_id":122895,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:51:09] local.INFO: Acknowledgment sent {"connection_id":122895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:51:41] local.INFO: TCP Data received {"connection_id":122895,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:51:41] local.INFO: Processing buffer {"connection_id":122895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33816d60012cb2a24007823a68004400c92d..."} 
[2026-07-05 23:51:41] local.INFO: Packet analysis {"connection_id":122895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3381"} 
[2026-07-05 23:51:41] local.INFO: Extracted packet for processing {"connection_id":122895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3381"} 
[2026-07-05 23:51:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":68,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518463232001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:51:41] 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-07-05 23:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783275548000,"timestamp_ms":1783275548000,"timestamp_seconds":1783275548,"priority":1,"record_length":96,"hex_timestamp":"0000019f33816d60"} 
[2026-07-05 23:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:51:41] 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-07-05 23: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":135,"data_length":795,"current_offset":136} 
[2026-07-05 23:51: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-07-05 23: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-07-05 23:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":122895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":122895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":122895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518463232001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518463232001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:51:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:51:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518463232001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":122895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:51:41] local.INFO: GPS data processed {"connection_id":122895,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:51:41] local.INFO: Acknowledgment sent {"connection_id":122895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:52:03] local.INFO: TCP Data received {"connection_id":122957,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:52:03] local.INFO: Processing buffer {"connection_id":122957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:52:03] local.INFO: IMEI packet received {"connection_id":122957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":122957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:52:19] local.INFO: TCP Data received {"connection_id":122957,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:52:19] local.INFO: Processing buffer {"connection_id":122957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:52:19] local.INFO: IMEI packet received {"connection_id":122957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":122957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:52:19] local.INFO: TCP Data received {"connection_id":122957,"ip":"42.106.6.39","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-05 23:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122957,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-05 23:52:19] local.INFO: Processing buffer {"connection_id":122957,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-05 23:52:19] local.INFO: IMEI packet received {"connection_id":122957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":122957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:55:33] local.INFO: TCP Data received {"connection_id":124873,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:55:33] local.INFO: Processing buffer {"connection_id":124873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:55:33] local.INFO: IMEI packet received {"connection_id":124873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":124873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:56:03] local.INFO: TCP Data received {"connection_id":122899,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":122899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:56:03] local.INFO: Processing buffer {"connection_id":122899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-05 23:56:03] local.INFO: IMEI packet received {"connection_id":122899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-05 23:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":122899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:57:24] local.INFO: TCP Data received {"connection_id":123630,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:57:24] local.INFO: Processing buffer {"connection_id":123630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:57:24] local.INFO: IMEI packet received {"connection_id":123630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":123630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:57:25] local.INFO: TCP Data received {"connection_id":123630,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:57:25] local.INFO: Processing buffer {"connection_id":123630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:57:25] local.INFO: Packet analysis {"connection_id":123630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3386"} 
[2026-07-05 23:57:25] local.INFO: Extracted packet for processing {"connection_id":123630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3386"} 
[2026-07-05 23:57:25] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518540288001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:57:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:57:25] 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-07-05 23:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1783275849000,"timestamp_ms":1783275849000,"timestamp_seconds":1783275849,"priority":1,"record_length":96,"hex_timestamp":"0000019f33860528"} 
[2026-07-05 23:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":123630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":123630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":123630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518540288001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518540288001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:57:25] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:57:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518540288001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":123630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:57:25] local.INFO: GPS data processed {"connection_id":123630,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:57:25] local.INFO: Acknowledgment sent {"connection_id":123630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:58:08] local.INFO: TCP Data received {"connection_id":123632,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:58:08] local.INFO: Processing buffer {"connection_id":123632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:58:08] local.INFO: IMEI packet received {"connection_id":123632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":123632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:58:14] local.INFO: TCP Data received {"connection_id":123632,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:58:14] local.INFO: Processing buffer {"connection_id":123632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:58:14] local.INFO: IMEI packet received {"connection_id":123632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":123632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:58:15] local.INFO: TCP Data received {"connection_id":123632,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:58:15] local.INFO: Processing buffer {"connection_id":123632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:58:15] local.INFO: Packet analysis {"connection_id":123632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3386"} 
[2026-07-05 23:58:15] local.INFO: Extracted packet for processing {"connection_id":123632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3386"} 
[2026-07-05 23:58:15] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518540288001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:58:15] 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-07-05 23:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1783275849000,"timestamp_ms":1783275849000,"timestamp_seconds":1783275849,"priority":1,"record_length":96,"hex_timestamp":"0000019f33860528"} 
[2026-07-05 23:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-05 23:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":123632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":123632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":123632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518540288001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518540288001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:58:15] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:58:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:58:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518540288001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":123632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:58:15] local.INFO: GPS data processed {"connection_id":123632,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:58:15] local.INFO: Acknowledgment sent {"connection_id":123632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:58:57] local.INFO: TCP Data received {"connection_id":123632,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":123632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:58:57] local.INFO: Processing buffer {"connection_id":123632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:58:57] local.INFO: Packet analysis {"connection_id":123632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3386"} 
[2026-07-05 23:58:57] local.INFO: Extracted packet for processing {"connection_id":123632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3386"} 
[2026-07-05 23:58:57] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23: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-07-05 23:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518540288001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:58:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:58:57] 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-07-05 23:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1783275849000,"timestamp_ms":1783275849000,"timestamp_seconds":1783275849,"priority":1,"record_length":96,"hex_timestamp":"0000019f33860528"} 
[2026-07-05 23:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:58:57] 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-07-05 23:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23: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-07-05 23:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":123632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":123632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":123632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518540288001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518540288001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:58:57] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:58:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518540288001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":123632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:58:57] local.INFO: GPS data processed {"connection_id":123632,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:58:57] local.INFO: Acknowledgment sent {"connection_id":123632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:59:03] local.INFO: TCP Data received {"connection_id":124876,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:59:03] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:59:03] local.INFO: IMEI packet received {"connection_id":124876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-05 23:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":124876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-05 23:59:09] local.INFO: TCP Data received {"connection_id":124876,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:59:09] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-05 23:59:09] local.INFO: IMEI packet received {"connection_id":124876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-05 23:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":124876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-05 23:59:10] local.INFO: TCP Data received {"connection_id":124876,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:59:10] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:59:10] local.INFO: Packet analysis {"connection_id":124876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3386"} 
[2026-07-05 23:59:10] local.INFO: Extracted packet for processing {"connection_id":124876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3386"} 
[2026-07-05 23:59:10] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518540288001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:59:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:59:10] 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-07-05 23:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1783275849000,"timestamp_ms":1783275849000,"timestamp_seconds":1783275849,"priority":1,"record_length":96,"hex_timestamp":"0000019f33860528"} 
[2026-07-05 23:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:59:10] 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-07-05 23:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-05 23:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":124876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":124876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":124876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518540288001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518540288001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:59:10] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:59:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518540288001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":124876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:59:10] local.INFO: GPS data processed {"connection_id":124876,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:59:10] local.INFO: Acknowledgment sent {"connection_id":124876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-05 23:59:41] local.INFO: TCP Data received {"connection_id":124876,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":124876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:59:41] local.INFO: Processing buffer {"connection_id":124876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f33860528012cb2a24007823a68004500c92c..."} 
[2026-07-05 23:59:41] local.INFO: Packet analysis {"connection_id":124876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f3386"} 
[2026-07-05 23:59:41] local.INFO: Extracted packet for processing {"connection_id":124876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f3386"} 
[2026-07-05 23:59:41] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975144,"longitude_deg":74.9904448,"latitude_deg":12.5975144,"altitude":69,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823a68","is_valid_coordinates":true} 
[2026-07-05 23:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-05 23:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456518540288001,"note":"Value kept but may cause issues"} 
[2026-07-05 23:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":339218634456956928,"note":"Value kept but may cause issues"} 
[2026-07-05 23:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737438208,"note":"Value kept but may cause issues"} 
[2026-07-05 23:59:41] 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-07-05 23:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1783275849000,"timestamp_ms":1783275849000,"timestamp_seconds":1783275849,"priority":1,"record_length":96,"hex_timestamp":"0000019f33860528"} 
[2026-07-05 23:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-05 23:59:41] 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-07-05 23:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-05 23:59: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-07-05 23:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-05 23:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-05 23:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-05 23:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":124876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-05 23:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":124876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":124876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-05 23:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-05 23:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-05 23:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-05 23:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456518540288001,"66":25299,"184":206,"85":36096,"24":0,"16":339218634456956928,"44":-5574822987737438208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-05 23:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-05 23:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-05 23:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456518540288001,"description":"Unknown IO ID 0"} 
[2026-07-05 23:59:41] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-05 23:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-05 23:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":339218634456956928,"km_value":339218634456956.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-05 23:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737438208,"description":"Unknown IO ID 44"} 
[2026-07-05 23:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456518540288001,"power":25299,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737438208}} 
[2026-07-05 23:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":124876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":437137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-05 23:59:41] local.INFO: GPS data processed {"connection_id":124876,"processed":1,"errors":0,"total":1} 
[2026-07-05 23:59:41] local.INFO: Acknowledgment sent {"connection_id":124876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
